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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
providerID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AllotmentSetGroup
NameDescriptionTypeAdditional information
AllotmentSetGroupID

integer

None.

Name

string

None.

DisplayName

string

None.

StartRule

integer

None.

ProviderID

integer

None.

Status

boolean

None.

Deleted

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

StartDate

string

None.

AllotmentSetGroupSets

Collection of AllotmentSetGroupSet

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "AllotmentSetGroupID": 1,
    "Name": "sample string 2",
    "DisplayName": "sample string 3",
    "StartRule": 4,
    "ProviderID": 5,
    "Status": true,
    "Deleted": true,
    "CreatedBy": 8,
    "CreatedDate": "9/19/2024",
    "ModifiedBy": 1,
    "ModifiedDate": "9/19/2024",
    "StartDate": "sample string 10",
    "AllotmentSetGroupSets": [
      {
        "AllotmentSetGroupSetID": 1,
        "AllotmentSetID": 2,
        "AllotmentSetGroupID": 3,
        "RenewalPeriod": 4,
        "Allotment": 5,
        "DurationUnit": 6,
        "isRenewalRequired": true,
        "isChanged": true,
        "ChangedDate": "9/19/2024",
        "AllotmentSetActualPeriodValue": 4,
        "PreviousDurationUnit": 6
      },
      {
        "AllotmentSetGroupSetID": 1,
        "AllotmentSetID": 2,
        "AllotmentSetGroupID": 3,
        "RenewalPeriod": 4,
        "Allotment": 5,
        "DurationUnit": 6,
        "isRenewalRequired": true,
        "isChanged": true,
        "ChangedDate": "9/19/2024",
        "AllotmentSetActualPeriodValue": 4,
        "PreviousDurationUnit": 6
      }
    ]
  },
  {
    "AllotmentSetGroupID": 1,
    "Name": "sample string 2",
    "DisplayName": "sample string 3",
    "StartRule": 4,
    "ProviderID": 5,
    "Status": true,
    "Deleted": true,
    "CreatedBy": 8,
    "CreatedDate": "9/19/2024",
    "ModifiedBy": 1,
    "ModifiedDate": "9/19/2024",
    "StartDate": "sample string 10",
    "AllotmentSetGroupSets": [
      {
        "AllotmentSetGroupSetID": 1,
        "AllotmentSetID": 2,
        "AllotmentSetGroupID": 3,
        "RenewalPeriod": 4,
        "Allotment": 5,
        "DurationUnit": 6,
        "isRenewalRequired": true,
        "isChanged": true,
        "ChangedDate": "9/19/2024",
        "AllotmentSetActualPeriodValue": 4,
        "PreviousDurationUnit": 6
      },
      {
        "AllotmentSetGroupSetID": 1,
        "AllotmentSetID": 2,
        "AllotmentSetGroupID": 3,
        "RenewalPeriod": 4,
        "Allotment": 5,
        "DurationUnit": 6,
        "isRenewalRequired": true,
        "isChanged": true,
        "ChangedDate": "9/19/2024",
        "AllotmentSetActualPeriodValue": 4,
        "PreviousDurationUnit": 6
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfAllotmentSetGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities.Products">
  <AllotmentSetGroup>
    <AllotmentSetGroupID>1</AllotmentSetGroupID>
    <AllotmentSetGroupSets>
      <AllotmentSetGroupSet>
        <Allotment>5</Allotment>
        <AllotmentSetGroupID>3</AllotmentSetGroupID>
        <AllotmentSetGroupSetID>1</AllotmentSetGroupSetID>
        <AllotmentSetID>2</AllotmentSetID>
        <ChangedDate>2024-09-19T08:40:31.2007265+00:00</ChangedDate>
        <DurationUnit>6</DurationUnit>
        <RenewalPeriod>4</RenewalPeriod>
        <isChanged>true</isChanged>
        <isRenewalRequired>true</isRenewalRequired>
      </AllotmentSetGroupSet>
      <AllotmentSetGroupSet>
        <Allotment>5</Allotment>
        <AllotmentSetGroupID>3</AllotmentSetGroupID>
        <AllotmentSetGroupSetID>1</AllotmentSetGroupSetID>
        <AllotmentSetID>2</AllotmentSetID>
        <ChangedDate>2024-09-19T08:40:31.2007265+00:00</ChangedDate>
        <DurationUnit>6</DurationUnit>
        <RenewalPeriod>4</RenewalPeriod>
        <isChanged>true</isChanged>
        <isRenewalRequired>true</isRenewalRequired>
      </AllotmentSetGroupSet>
    </AllotmentSetGroupSets>
    <CreatedBy>8</CreatedBy>
    <CreatedDate>2024-09-19T08:40:31.2007265+00:00</CreatedDate>
    <Deleted>true</Deleted>
    <DisplayName>sample string 3</DisplayName>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2024-09-19T08:40:31.2007265+00:00</ModifiedDate>
    <Name>sample string 2</Name>
    <ProviderID>5</ProviderID>
    <StartDate>sample string 10</StartDate>
    <StartRule>4</StartRule>
    <Status>true</Status>
  </AllotmentSetGroup>
  <AllotmentSetGroup>
    <AllotmentSetGroupID>1</AllotmentSetGroupID>
    <AllotmentSetGroupSets>
      <AllotmentSetGroupSet>
        <Allotment>5</Allotment>
        <AllotmentSetGroupID>3</AllotmentSetGroupID>
        <AllotmentSetGroupSetID>1</AllotmentSetGroupSetID>
        <AllotmentSetID>2</AllotmentSetID>
        <ChangedDate>2024-09-19T08:40:31.2007265+00:00</ChangedDate>
        <DurationUnit>6</DurationUnit>
        <RenewalPeriod>4</RenewalPeriod>
        <isChanged>true</isChanged>
        <isRenewalRequired>true</isRenewalRequired>
      </AllotmentSetGroupSet>
      <AllotmentSetGroupSet>
        <Allotment>5</Allotment>
        <AllotmentSetGroupID>3</AllotmentSetGroupID>
        <AllotmentSetGroupSetID>1</AllotmentSetGroupSetID>
        <AllotmentSetID>2</AllotmentSetID>
        <ChangedDate>2024-09-19T08:40:31.2007265+00:00</ChangedDate>
        <DurationUnit>6</DurationUnit>
        <RenewalPeriod>4</RenewalPeriod>
        <isChanged>true</isChanged>
        <isRenewalRequired>true</isRenewalRequired>
      </AllotmentSetGroupSet>
    </AllotmentSetGroupSets>
    <CreatedBy>8</CreatedBy>
    <CreatedDate>2024-09-19T08:40:31.2007265+00:00</CreatedDate>
    <Deleted>true</Deleted>
    <DisplayName>sample string 3</DisplayName>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2024-09-19T08:40:31.2007265+00:00</ModifiedDate>
    <Name>sample string 2</Name>
    <ProviderID>5</ProviderID>
    <StartDate>sample string 10</StartDate>
    <StartRule>4</StartRule>
    <Status>true</Status>
  </AllotmentSetGroup>
</ArrayOfAllotmentSetGroup>