GET api/WebApiOdata/GetAllAllotmentSets?providerID={providerID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
providerID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AllotmentSet
NameDescriptionTypeAdditional information
AllotmentSetID

integer

None.

ProviderID

integer

None.

Name

string

None.

DisplayName

string

None.

Status

boolean

None.

Deleted

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

AllotmentSetProducts

Collection of AllotmentSetProduct

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "AllotmentSetID": 1,
    "ProviderID": 2,
    "Name": "sample string 3",
    "DisplayName": "sample string 4",
    "Status": true,
    "Deleted": true,
    "CreatedBy": 7,
    "CreatedDate": "9/19/2024",
    "ModifiedBy": 1,
    "ModifiedDate": "9/19/2024",
    "AllotmentSetProducts": [
      {
        "AllotmentSetProductID": 1,
        "AllotmentSetID": 2,
        "SCProductID": 3
      },
      {
        "AllotmentSetProductID": 1,
        "AllotmentSetID": 2,
        "SCProductID": 3
      }
    ]
  },
  {
    "AllotmentSetID": 1,
    "ProviderID": 2,
    "Name": "sample string 3",
    "DisplayName": "sample string 4",
    "Status": true,
    "Deleted": true,
    "CreatedBy": 7,
    "CreatedDate": "9/19/2024",
    "ModifiedBy": 1,
    "ModifiedDate": "9/19/2024",
    "AllotmentSetProducts": [
      {
        "AllotmentSetProductID": 1,
        "AllotmentSetID": 2,
        "SCProductID": 3
      },
      {
        "AllotmentSetProductID": 1,
        "AllotmentSetID": 2,
        "SCProductID": 3
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfAllotmentSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities.Products">
  <AllotmentSet>
    <AllotmentSetID>1</AllotmentSetID>
    <AllotmentSetProducts>
      <AllotmentSetProduct>
        <AllotmentSetID>2</AllotmentSetID>
        <AllotmentSetProductID>1</AllotmentSetProductID>
        <SCProductID>3</SCProductID>
      </AllotmentSetProduct>
      <AllotmentSetProduct>
        <AllotmentSetID>2</AllotmentSetID>
        <AllotmentSetProductID>1</AllotmentSetProductID>
        <SCProductID>3</SCProductID>
      </AllotmentSetProduct>
    </AllotmentSetProducts>
    <CreatedBy>7</CreatedBy>
    <CreatedDate>2024-09-19T08:34:34.8052571+00:00</CreatedDate>
    <Deleted>true</Deleted>
    <DisplayName>sample string 4</DisplayName>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2024-09-19T08:34:34.8052571+00:00</ModifiedDate>
    <Name>sample string 3</Name>
    <ProviderID>2</ProviderID>
    <Status>true</Status>
  </AllotmentSet>
  <AllotmentSet>
    <AllotmentSetID>1</AllotmentSetID>
    <AllotmentSetProducts>
      <AllotmentSetProduct>
        <AllotmentSetID>2</AllotmentSetID>
        <AllotmentSetProductID>1</AllotmentSetProductID>
        <SCProductID>3</SCProductID>
      </AllotmentSetProduct>
      <AllotmentSetProduct>
        <AllotmentSetID>2</AllotmentSetID>
        <AllotmentSetProductID>1</AllotmentSetProductID>
        <SCProductID>3</SCProductID>
      </AllotmentSetProduct>
    </AllotmentSetProducts>
    <CreatedBy>7</CreatedBy>
    <CreatedDate>2024-09-19T08:34:34.8052571+00:00</CreatedDate>
    <Deleted>true</Deleted>
    <DisplayName>sample string 4</DisplayName>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2024-09-19T08:34:34.8052571+00:00</ModifiedDate>
    <Name>sample string 3</Name>
    <ProviderID>2</ProviderID>
    <Status>true</Status>
  </AllotmentSet>
</ArrayOfAllotmentSet>