POST api/InventoryAutoship/AutoShipItemCategory

Method to return a list of AutoShipItemCategoryViewModel.

Request Information

URI Parameters

None.

Body Parameters

parameters to get the autoship item categories

InventoryAutoShipInputViewModel
NameDescriptionTypeAdditional information
RepID

integer

None.

RepDID

string

None.

CustomerDID

string

None.

CustomerID

integer

None.

LocaleID

integer

None.

ShipCountry

string

None.

SearchString

string

None.

ProductID

string

None.

CategoryID

integer

None.

AutoShipPeriodTypeID

integer

None.

AutoShipScheduleID

integer

None.

Request Formats

application/xml, text/xml

Sample:
<InventoryAutoShipInputViewModel>
  <RepID>1</RepID>
  <RepDID>sample string 1</RepDID>
  <CustomerDID>sample string 2</CustomerDID>
  <CustomerID>1</CustomerID>
  <LocaleID>3</LocaleID>
  <ShipCountry>sample string 4</ShipCountry>
  <SearchString>sample string 5</SearchString>
  <ProductID>sample string 6</ProductID>
  <CategoryID>1</CategoryID>
  <AutoShipPeriodTypeID>1</AutoShipPeriodTypeID>
  <AutoShipScheduleID>1</AutoShipScheduleID>
</InventoryAutoShipInputViewModel>

application/json, text/json

Sample:
{
  "RepID": 1,
  "RepDID": "sample string 1",
  "CustomerDID": "sample string 2",
  "CustomerID": 1,
  "LocaleID": 3,
  "ShipCountry": "sample string 4",
  "SearchString": "sample string 5",
  "ProductID": "sample string 6",
  "CategoryID": 1,
  "AutoShipPeriodTypeID": 1,
  "AutoShipScheduleID": 1
}

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 'InventoryAutoShipInputViewModel'.

Response Information

Resource Description

Get a list of AutoShipItemCategory

Collection of AutoShipItemCategoryViewModel
NameDescriptionTypeAdditional information
CategoryID

integer

None.

Category

string

None.

SortOrder

integer

None.

CategoryOriginal

string

None.

CategoryDefault

string

None.

Response Formats

application/xml, text/xml, application/json, text/json

Sample:

Sample not available.