GET api/WebApiOdata/GetShopperAllotmentHistory?shopperID={shopperID}&providerID={providerID}&allotmentSetID={allotmentSetID}&fromdate={fromdate}&todate={todate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopperID | integer |
Required |
|
providerID | integer |
Default value is 0 |
|
allotmentSetID | integer |
Default value is 0 |
|
fromdate | string |
Default value is |
|
todate | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Collection of MyAccountAllotmentHistoryName | Description | Type | Additional information |
---|---|---|---|
AllotmentHistoryID | integer |
None. |
|
AllotmentSetGroupName | string |
None. |
|
Date | date |
None. |
|
ShopperID | integer |
None. |
|
AllotmentSetID | integer |
None. |
|
AllotmentSetGroupID | integer |
None. |
|
AllotmentSetName | string |
None. |
|
PreviousQuantity | integer |
None. |
|
AdjustedQuantity | integer |
None. |
|
AdjustmentType | integer |
None. |
|
LastestQuantity | integer |
None. |
|
Reason | string |
None. |
|
CreatedUserName | string |
None. |
|
AdjustMentName | string |
None. |
|
DateDisplay | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "AllotmentHistoryID": 1, "AllotmentSetGroupName": "sample string 2", "Date": "1/22/2025", "ShopperID": 4, "AllotmentSetID": 5, "AllotmentSetGroupID": 6, "AllotmentSetName": "sample string 7", "PreviousQuantity": 8, "AdjustedQuantity": 9, "AdjustmentType": 10, "LastestQuantity": 11, "Reason": "sample string 12", "CreatedUserName": "sample string 13", "AdjustMentName": "sample string 14", "DateDisplay": "1/22/2025 1:40:51 PM" }, { "AllotmentHistoryID": 1, "AllotmentSetGroupName": "sample string 2", "Date": "1/22/2025", "ShopperID": 4, "AllotmentSetID": 5, "AllotmentSetGroupID": 6, "AllotmentSetName": "sample string 7", "PreviousQuantity": 8, "AdjustedQuantity": 9, "AdjustmentType": 10, "LastestQuantity": 11, "Reason": "sample string 12", "CreatedUserName": "sample string 13", "AdjustMentName": "sample string 14", "DateDisplay": "1/22/2025 1:40:51 PM" } ]
application/xml, text/xml
Sample:
<ArrayOfMyAccountAllotmentHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Shoppers"> <MyAccountAllotmentHistory> <AdjustMentName>sample string 14</AdjustMentName> <AdjustedQuantity>9</AdjustedQuantity> <AdjustmentType>10</AdjustmentType> <AllotmentHistoryID>1</AllotmentHistoryID> <AllotmentSetGroupID>6</AllotmentSetGroupID> <AllotmentSetGroupName>sample string 2</AllotmentSetGroupName> <AllotmentSetID>5</AllotmentSetID> <AllotmentSetName>sample string 7</AllotmentSetName> <CreatedUserName>sample string 13</CreatedUserName> <Date>2025-01-22T13:40:51.8476509+00:00</Date> <LastestQuantity>11</LastestQuantity> <PreviousQuantity>8</PreviousQuantity> <Reason>sample string 12</Reason> <ShopperID>4</ShopperID> </MyAccountAllotmentHistory> <MyAccountAllotmentHistory> <AdjustMentName>sample string 14</AdjustMentName> <AdjustedQuantity>9</AdjustedQuantity> <AdjustmentType>10</AdjustmentType> <AllotmentHistoryID>1</AllotmentHistoryID> <AllotmentSetGroupID>6</AllotmentSetGroupID> <AllotmentSetGroupName>sample string 2</AllotmentSetGroupName> <AllotmentSetID>5</AllotmentSetID> <AllotmentSetName>sample string 7</AllotmentSetName> <CreatedUserName>sample string 13</CreatedUserName> <Date>2025-01-22T13:40:51.8476509+00:00</Date> <LastestQuantity>11</LastestQuantity> <PreviousQuantity>8</PreviousQuantity> <Reason>sample string 12</Reason> <ShopperID>4</ShopperID> </MyAccountAllotmentHistory> </ArrayOfMyAccountAllotmentHistory>