POST api/Admin/RetailSuccessStore/StoreInventoryCounts?guid={guid}&repDID={repDID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
guid

string

Required

repDID

string

Required

Body Parameters

RetailSuccessStoreInventoryCountReturn
NameDescriptionTypeAdditional information
records

Collection of RetailSuccessStoreInventoryCount

None.

totalRecords

integer

None.

currentOffset

integer

None.

pageSize

integer

None.

nextPageOffset

integer

None.

previousPageOffset

integer

None.

totalPages

integer

None.

currentPage

integer

None.

StoreExists

boolean

None.

Request Formats

application/xml, text/xml

Sample:
<RetailSuccessStoreInventoryCountReturn>
  <Records>
    <RetailSuccessStoreInventoryCount>
      <Sku>sample string 1</Sku>
      <Quantity>sample string 2</Quantity>
      <ItemNumber>sample string 3</ItemNumber>
      <Description>sample string 4</Description>
    </RetailSuccessStoreInventoryCount>
    <RetailSuccessStoreInventoryCount>
      <Sku>sample string 1</Sku>
      <Quantity>sample string 2</Quantity>
      <ItemNumber>sample string 3</ItemNumber>
      <Description>sample string 4</Description>
    </RetailSuccessStoreInventoryCount>
  </Records>
  <TotalRecords>1</TotalRecords>
  <CurrentOffset>2</CurrentOffset>
  <PageSize>3</PageSize>
  <NextPageOffset>1</NextPageOffset>
  <PreviousPageOffset>1</PreviousPageOffset>
  <TotalPages>4</TotalPages>
  <CurrentPage>5</CurrentPage>
  <StoreExists>True</StoreExists>
</RetailSuccessStoreInventoryCountReturn>

application/json, text/json

Sample:
{
  "records": [
    {
      "sku": "sample string 1",
      "quantity": "sample string 2",
      "itemNumber": "sample string 3",
      "description": "sample string 4"
    },
    {
      "sku": "sample string 1",
      "quantity": "sample string 2",
      "itemNumber": "sample string 3",
      "description": "sample string 4"
    }
  ],
  "totalRecords": 1,
  "currentOffset": 2,
  "pageSize": 3,
  "nextPageOffset": 1,
  "previousPageOffset": 1,
  "totalPages": 4,
  "currentPage": 5,
  "StoreExists": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'RetailSuccessStoreInventoryCountReturn'.

Response Information

Resource Description

RetailSuccessStoreInventoryUploadReturn
NameDescriptionTypeAdditional information
SuccessfullyUploaded

integer

None.

Duplicates

Collection of string

None.

NotExists

Collection of string

None.

NotResellable

Collection of string

None.

EmptyValues

Collection of string

None.

Total

integer

None.

ErrorMessage

string

None.

Response Formats

application/xml, text/xml

Sample:
<RetailSuccessStoreInventoryUploadReturn>
  <SuccessfullyUploaded>1</SuccessfullyUploaded>
  <Duplicates>
    <String>sample string 1</String>
    <String>sample string 2</String>
  </Duplicates>
  <NotExists>
    <String>sample string 1</String>
    <String>sample string 2</String>
  </NotExists>
  <NotResellable>
    <String>sample string 1</String>
    <String>sample string 2</String>
  </NotResellable>
  <EmptyValues>
    <String>sample string 1</String>
    <String>sample string 2</String>
  </EmptyValues>
  <Total>2</Total>
  <ErrorMessage>sample string 3</ErrorMessage>
</RetailSuccessStoreInventoryUploadReturn>

application/json, text/json

Sample:
{
  "SuccessfullyUploaded": 1,
  "Duplicates": [
    "sample string 1",
    "sample string 2"
  ],
  "NotExists": [
    "sample string 1",
    "sample string 2"
  ],
  "NotResellable": [
    "sample string 1",
    "sample string 2"
  ],
  "EmptyValues": [
    "sample string 1",
    "sample string 2"
  ],
  "Total": 2,
  "ErrorMessage": "sample string 3"
}