POST api/LocationCategory

Request Information

URI Parameters

None.

Body Parameters

LocationCategoryClass
NameDescriptionTypeAdditional information
LocationCategoryID

integer

None.

LocationID

integer

None.

CategoryID

integer

None.

Description

string

None.

OrderInLocation

integer

None.

UpdatedAt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationCategoryID": 1,
  "LocationID": null,
  "CategoryID": null,
  "Description": "sample string 2",
  "OrderInLocation": null,
  "UpdatedAt": null
}

application/xml, text/xml

Sample:
<LocationCategoryClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService">
  <UpdatedAt xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService.Models" />
  <CategoryID i:nil="true" />
  <Description>sample string 2</Description>
  <LocationCategoryID>1</LocationCategoryID>
  <LocationID i:nil="true" />
  <OrderInLocation i:nil="true" />
</LocationCategoryClass>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LocationCategoryClass
NameDescriptionTypeAdditional information
LocationCategoryID

integer

None.

LocationID

integer

None.

CategoryID

integer

None.

Description

string

None.

OrderInLocation

integer

None.

UpdatedAt

date

None.

Response Formats

application/json, text/json

Sample:
{
  "LocationCategoryID": 1,
  "LocationID": null,
  "CategoryID": null,
  "Description": "sample string 2",
  "OrderInLocation": null,
  "UpdatedAt": null
}

application/xml, text/xml

Sample:
<LocationCategoryClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService">
  <UpdatedAt xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService.Models" />
  <CategoryID i:nil="true" />
  <Description>sample string 2</Description>
  <LocationCategoryID>1</LocationCategoryID>
  <LocationID i:nil="true" />
  <OrderInLocation i:nil="true" />
</LocationCategoryClass>