POST api/InvPackingType/Save

Request Information

URI Parameters

None.

Body Parameters

InvPackingType
NameDescriptionTypeAdditional information
Id

integer

None.

PackTypeCode

string

None.

PackTypeDesc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PackTypeCode": "sample string 2",
  "PackTypeDesc": "sample string 3"
}

application/xml, text/xml

Sample:
<InvPackingType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Inventory">
  <Id>1</Id>
  <PackTypeCode>sample string 2</PackTypeCode>
  <PackTypeDesc>sample string 3</PackTypeDesc>
</InvPackingType>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>