POST api2/InventoryManagement/Prototype/CLG/ItemCategory/AddItemCategory

Request Information

URI Parameters

None.

Body Parameters

ItemCategoryModel
NameDescriptionTypeAdditional information
CategoryId

integer

None.

CategoryDescription

string

None.

Void

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "CategoryDescription": "sample string 2",
  "Void": true
}

application/xml, text/xml

Sample:
<ItemCategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JCDHAPI.Controllers.InventoryManagement.Prototype.CLG.Models">
  <CategoryDescription>sample string 2</CategoryDescription>
  <CategoryId>1</CategoryId>
  <Void>true</Void>
</ItemCategoryModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.