POST api/ProductionType/Save

Request Information

URI Parameters

None.

Body Parameters

ProductionType
NameDescriptionTypeAdditional information
Id

integer

None.

ProductionTypeCode

string

None.

ProductionTypeDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProductionTypeCode": "sample string 2",
  "ProductionTypeDescription": "sample string 3"
}

application/xml, text/xml

Sample:
<ProductionType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Production">
  <Id>1</Id>
  <ProductionTypeCode>sample string 2</ProductionTypeCode>
  <ProductionTypeDescription>sample string 3</ProductionTypeDescription>
</ProductionType>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.