GET api/WebApiOdata/GetAllAllotmentSets?providerID={providerID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AllotmentSetName | Description | Type | Additional 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": "1/22/2025", "ModifiedBy": 1, "ModifiedDate": "1/22/2025", "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": "1/22/2025", "ModifiedBy": 1, "ModifiedDate": "1/22/2025", "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>2025-01-22T14:02:44.9581245+00:00</CreatedDate> <Deleted>true</Deleted> <DisplayName>sample string 4</DisplayName> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2025-01-22T14:02:44.9581245+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>2025-01-22T14:02:44.9581245+00:00</CreatedDate> <Deleted>true</Deleted> <DisplayName>sample string 4</DisplayName> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2025-01-22T14:02:44.9581245+00:00</ModifiedDate> <Name>sample string 3</Name> <ProviderID>2</ProviderID> <Status>true</Status> </AllotmentSet> </ArrayOfAllotmentSet>