GET api/WebApiOdata/GetShopperAllotmentHistory?shopperID={shopperID}&providerID={providerID}&allotmentSetID={allotmentSetID}&fromdate={fromdate}&todate={todate}

Request Information

URI Parameters

NameDescriptionTypeAdditional 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 MyAccountAllotmentHistory
NameDescriptionTypeAdditional 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": "9/19/2024",
    "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": "9/19/2024 8:44:14 AM"
  },
  {
    "AllotmentHistoryID": 1,
    "AllotmentSetGroupName": "sample string 2",
    "Date": "9/19/2024",
    "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": "9/19/2024 8:44:14 AM"
  }
]

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>2024-09-19T08:44:14.2105658+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>2024-09-19T08:44:14.2105658+00:00</Date>
    <LastestQuantity>11</LastestQuantity>
    <PreviousQuantity>8</PreviousQuantity>
    <Reason>sample string 12</Reason>
    <ShopperID>4</ShopperID>
  </MyAccountAllotmentHistory>
</ArrayOfMyAccountAllotmentHistory>