GET api/WebApiOdata/GetMyAccountAllotmentSetByShopperID?shopperID={shopperID}&providerID={providerID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopperID | integer |
Required |
|
providerID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AllotmentSetViewModelName | Description | Type | Additional information |
---|---|---|---|
SCProductID | integer |
None. |
|
AllotmentSetID | integer |
None. |
|
ProductName | string |
None. |
|
Allotment | integer |
None. |
|
CurrentAllotment | integer |
None. |
|
NextRenewalDate | date |
None. |
|
ProductUrl | string |
None. |
|
AllotmentSetName | string |
None. |
|
ProductSetID | integer |
None. |
|
ProductsAllotmentSetViewModel | Collection of ProductsAllotmentViewModel |
None. |
|
NextRenewalDateString | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "SCProductID": 1, "AllotmentSetID": 2, "ProductName": "sample string 3", "Allotment": 4, "CurrentAllotment": 5, "NextRenewalDate": "1/22/2025", "ProductUrl": "sample string 6", "AllotmentSetName": "sample string 7", "ProductSetID": 1, "ProductsAllotmentSetViewModel": [ { "SCProductID": 1, "ProductName": "sample string 2", "ProductUrl": "sample string 3" }, { "SCProductID": 1, "ProductName": "sample string 2", "ProductUrl": "sample string 3" } ], "NextRenewalDateString": "1/22/2025" }, { "SCProductID": 1, "AllotmentSetID": 2, "ProductName": "sample string 3", "Allotment": 4, "CurrentAllotment": 5, "NextRenewalDate": "1/22/2025", "ProductUrl": "sample string 6", "AllotmentSetName": "sample string 7", "ProductSetID": 1, "ProductsAllotmentSetViewModel": [ { "SCProductID": 1, "ProductName": "sample string 2", "ProductUrl": "sample string 3" }, { "SCProductID": 1, "ProductName": "sample string 2", "ProductUrl": "sample string 3" } ], "NextRenewalDateString": "1/22/2025" } ]
application/xml, text/xml
Sample:
<ArrayOfAllotmentSetViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <AllotmentSetViewModel> <Allotment>4</Allotment> <AllotmentSetID>2</AllotmentSetID> <AllotmentSetName>sample string 7</AllotmentSetName> <CurrentAllotment>5</CurrentAllotment> <NextRenewalDate>2025-01-22T14:05:59.9722078+00:00</NextRenewalDate> <ProductName>sample string 3</ProductName> <ProductSetID>1</ProductSetID> <ProductUrl>sample string 6</ProductUrl> <ProductsAllotmentSetViewModel> <ProductsAllotmentViewModel> <ProductName>sample string 2</ProductName> <ProductUrl>sample string 3</ProductUrl> <SCProductID>1</SCProductID> </ProductsAllotmentViewModel> <ProductsAllotmentViewModel> <ProductName>sample string 2</ProductName> <ProductUrl>sample string 3</ProductUrl> <SCProductID>1</SCProductID> </ProductsAllotmentViewModel> </ProductsAllotmentSetViewModel> <SCProductID>1</SCProductID> </AllotmentSetViewModel> <AllotmentSetViewModel> <Allotment>4</Allotment> <AllotmentSetID>2</AllotmentSetID> <AllotmentSetName>sample string 7</AllotmentSetName> <CurrentAllotment>5</CurrentAllotment> <NextRenewalDate>2025-01-22T14:05:59.9722078+00:00</NextRenewalDate> <ProductName>sample string 3</ProductName> <ProductSetID>1</ProductSetID> <ProductUrl>sample string 6</ProductUrl> <ProductsAllotmentSetViewModel> <ProductsAllotmentViewModel> <ProductName>sample string 2</ProductName> <ProductUrl>sample string 3</ProductUrl> <SCProductID>1</SCProductID> </ProductsAllotmentViewModel> <ProductsAllotmentViewModel> <ProductName>sample string 2</ProductName> <ProductUrl>sample string 3</ProductUrl> <SCProductID>1</SCProductID> </ProductsAllotmentViewModel> </ProductsAllotmentSetViewModel> <SCProductID>1</SCProductID> </AllotmentSetViewModel> </ArrayOfAllotmentSetViewModel>