POST api/Item/Create

Request Information

URI Parameters

None.

Body Parameters

ItemMaster_Add_Model
NameDescriptionTypeAdditional information
ItemID

integer

None.

MaterialTypeID

integer

None.

ItemCategoryID

integer

None.

ItemGroupID

integer

None.

ItemTypeID

integer

None.

ItemClassID

integer

None.

ItemShapeID

integer

None.

ItemCode

string

None.

ItemName

string

None.

Remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemID": 1,
  "MaterialTypeID": 2,
  "ItemCategoryID": 3,
  "ItemGroupID": 4,
  "ItemTypeID": 5,
  "ItemClassID": 6,
  "ItemShapeID": 7,
  "ItemCode": "sample string 8",
  "ItemName": "sample string 9",
  "Remarks": "sample string 10"
}

application/xml, text/xml

Sample:
<ItemMaster_Add_Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP.Model.Master">
  <ItemCategoryID>3</ItemCategoryID>
  <ItemClassID>6</ItemClassID>
  <ItemCode>sample string 8</ItemCode>
  <ItemGroupID>4</ItemGroupID>
  <ItemID>1</ItemID>
  <ItemName>sample string 9</ItemName>
  <ItemShapeID>7</ItemShapeID>
  <ItemTypeID>5</ItemTypeID>
  <MaterialTypeID>2</MaterialTypeID>
  <Remarks>sample string 10</Remarks>
</ItemMaster_Add_Model>

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.