GET api/ng/workshop/getuserproductlist

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of UserProductListModel
NameDescriptionTypeAdditional information
ProductID

integer

None.

ProductName

string

None.

Description

string

None.

ListPictureUrl

string

None.

LandingPageUrl

string

None.

DateProgramStart

date

None.

DateRegistrationStart

date

None.

UserPrograms

Collection of UserProgramModel

None.

ProgramPackages

Collection of ProgramPackageModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductID": 1,
    "ProductName": "sample string 2",
    "Description": "sample string 3",
    "ListPictureUrl": "sample string 4",
    "LandingPageUrl": "sample string 5",
    "DateProgramStart": "2021-04-19T20:52:40.1610046-04:00",
    "DateRegistrationStart": "2021-04-19T20:52:40.1610046-04:00",
    "UserPrograms": [
      {
        "ProgramID": 1,
        "ProgramName": "sample string 2",
        "Description": "sample string 3",
        "UserProgramID": 4,
        "DateProgramStart": "2021-04-19T20:52:40.1610046-04:00",
        "DateAccessEnd": "2021-04-19T20:52:40.1610046-04:00",
        "CanExtend": true
      },
      {
        "ProgramID": 1,
        "ProgramName": "sample string 2",
        "Description": "sample string 3",
        "UserProgramID": 4,
        "DateProgramStart": "2021-04-19T20:52:40.1610046-04:00",
        "DateAccessEnd": "2021-04-19T20:52:40.1610046-04:00",
        "CanExtend": true
      }
    ],
    "ProgramPackages": [
      {
        "ProductID": 1,
        "ProgramID": 2,
        "ProgramName": "sample string 3",
        "Description": "sample string 4",
        "MaxSeats": 5,
        "SoldSeats": 6,
        "ProgramPriceEuro": 7.0
      },
      {
        "ProductID": 1,
        "ProgramID": 2,
        "ProgramName": "sample string 3",
        "Description": "sample string 4",
        "MaxSeats": 5,
        "SoldSeats": 6,
        "ProgramPriceEuro": 7.0
      }
    ]
  },
  {
    "ProductID": 1,
    "ProductName": "sample string 2",
    "Description": "sample string 3",
    "ListPictureUrl": "sample string 4",
    "LandingPageUrl": "sample string 5",
    "DateProgramStart": "2021-04-19T20:52:40.1610046-04:00",
    "DateRegistrationStart": "2021-04-19T20:52:40.1610046-04:00",
    "UserPrograms": [
      {
        "ProgramID": 1,
        "ProgramName": "sample string 2",
        "Description": "sample string 3",
        "UserProgramID": 4,
        "DateProgramStart": "2021-04-19T20:52:40.1610046-04:00",
        "DateAccessEnd": "2021-04-19T20:52:40.1610046-04:00",
        "CanExtend": true
      },
      {
        "ProgramID": 1,
        "ProgramName": "sample string 2",
        "Description": "sample string 3",
        "UserProgramID": 4,
        "DateProgramStart": "2021-04-19T20:52:40.1610046-04:00",
        "DateAccessEnd": "2021-04-19T20:52:40.1610046-04:00",
        "CanExtend": true
      }
    ],
    "ProgramPackages": [
      {
        "ProductID": 1,
        "ProgramID": 2,
        "ProgramName": "sample string 3",
        "Description": "sample string 4",
        "MaxSeats": 5,
        "SoldSeats": 6,
        "ProgramPriceEuro": 7.0
      },
      {
        "ProductID": 1,
        "ProgramID": 2,
        "ProgramName": "sample string 3",
        "Description": "sample string 4",
        "MaxSeats": 5,
        "SoldSeats": 6,
        "ProgramPriceEuro": 7.0
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserProductListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <UserProductListModel>
    <DateProgramStart>2021-04-19T20:52:40.1610046-04:00</DateProgramStart>
    <DateRegistrationStart>2021-04-19T20:52:40.1610046-04:00</DateRegistrationStart>
    <Description>sample string 3</Description>
    <LandingPageUrl>sample string 5</LandingPageUrl>
    <ListPictureUrl>sample string 4</ListPictureUrl>
    <ProductID>1</ProductID>
    <ProductName>sample string 2</ProductName>
    <ProgramPackages>
      <ProgramPackageModel>
        <Description>sample string 4</Description>
        <MaxSeats>5</MaxSeats>
        <ProductID>1</ProductID>
        <ProgramID>2</ProgramID>
        <ProgramName>sample string 3</ProgramName>
        <ProgramPriceEuro>7</ProgramPriceEuro>
        <SoldSeats>6</SoldSeats>
      </ProgramPackageModel>
      <ProgramPackageModel>
        <Description>sample string 4</Description>
        <MaxSeats>5</MaxSeats>
        <ProductID>1</ProductID>
        <ProgramID>2</ProgramID>
        <ProgramName>sample string 3</ProgramName>
        <ProgramPriceEuro>7</ProgramPriceEuro>
        <SoldSeats>6</SoldSeats>
      </ProgramPackageModel>
    </ProgramPackages>
    <UserPrograms>
      <UserProgramModel>
        <CanExtend>true</CanExtend>
        <DateAccessEnd>2021-04-19T20:52:40.1610046-04:00</DateAccessEnd>
        <DateProgramStart>2021-04-19T20:52:40.1610046-04:00</DateProgramStart>
        <Description>sample string 3</Description>
        <ProgramID>1</ProgramID>
        <ProgramName>sample string 2</ProgramName>
        <UserProgramID>4</UserProgramID>
      </UserProgramModel>
      <UserProgramModel>
        <CanExtend>true</CanExtend>
        <DateAccessEnd>2021-04-19T20:52:40.1610046-04:00</DateAccessEnd>
        <DateProgramStart>2021-04-19T20:52:40.1610046-04:00</DateProgramStart>
        <Description>sample string 3</Description>
        <ProgramID>1</ProgramID>
        <ProgramName>sample string 2</ProgramName>
        <UserProgramID>4</UserProgramID>
      </UserProgramModel>
    </UserPrograms>
  </UserProductListModel>
  <UserProductListModel>
    <DateProgramStart>2021-04-19T20:52:40.1610046-04:00</DateProgramStart>
    <DateRegistrationStart>2021-04-19T20:52:40.1610046-04:00</DateRegistrationStart>
    <Description>sample string 3</Description>
    <LandingPageUrl>sample string 5</LandingPageUrl>
    <ListPictureUrl>sample string 4</ListPictureUrl>
    <ProductID>1</ProductID>
    <ProductName>sample string 2</ProductName>
    <ProgramPackages>
      <ProgramPackageModel>
        <Description>sample string 4</Description>
        <MaxSeats>5</MaxSeats>
        <ProductID>1</ProductID>
        <ProgramID>2</ProgramID>
        <ProgramName>sample string 3</ProgramName>
        <ProgramPriceEuro>7</ProgramPriceEuro>
        <SoldSeats>6</SoldSeats>
      </ProgramPackageModel>
      <ProgramPackageModel>
        <Description>sample string 4</Description>
        <MaxSeats>5</MaxSeats>
        <ProductID>1</ProductID>
        <ProgramID>2</ProgramID>
        <ProgramName>sample string 3</ProgramName>
        <ProgramPriceEuro>7</ProgramPriceEuro>
        <SoldSeats>6</SoldSeats>
      </ProgramPackageModel>
    </ProgramPackages>
    <UserPrograms>
      <UserProgramModel>
        <CanExtend>true</CanExtend>
        <DateAccessEnd>2021-04-19T20:52:40.1610046-04:00</DateAccessEnd>
        <DateProgramStart>2021-04-19T20:52:40.1610046-04:00</DateProgramStart>
        <Description>sample string 3</Description>
        <ProgramID>1</ProgramID>
        <ProgramName>sample string 2</ProgramName>
        <UserProgramID>4</UserProgramID>
      </UserProgramModel>
      <UserProgramModel>
        <CanExtend>true</CanExtend>
        <DateAccessEnd>2021-04-19T20:52:40.1610046-04:00</DateAccessEnd>
        <DateProgramStart>2021-04-19T20:52:40.1610046-04:00</DateProgramStart>
        <Description>sample string 3</Description>
        <ProgramID>1</ProgramID>
        <ProgramName>sample string 2</ProgramName>
        <UserProgramID>4</UserProgramID>
      </UserProgramModel>
    </UserPrograms>
  </UserProductListModel>
</ArrayOfUserProductListModel>