PUT api/material/setting/PutMaterialTyp

Request Information

URI Parameters

None.

Body Parameters

m_put_material
NameDescriptionTypeAdditional information
mat_type_id

integer

Required

type_name

string

Required

Request Formats

application/json, text/json

Sample:
{
  "mat_type_id": 1,
  "type_name": "sample string 2"
}

application/xml, text/xml

Sample:
<m_put_material xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Material">
  <mat_type_id>1</mat_type_id>
  <type_name>sample string 2</type_name>
</m_put_material>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.