POST api/production/cutting/rawmaterial-store/addMaterial

Request Information

URI Parameters

None.

Body Parameters

Collection of m_ct_addMaterial_store
NameDescriptionTypeAdditional information
mat_id

integer

None.

mat_name

string

None.

location

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "mat_id": 1,
    "mat_name": "sample string 2",
    "location": "sample string 3"
  },
  {
    "mat_id": 1,
    "mat_name": "sample string 2",
    "location": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfm_ct_addMaterial_store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Cutting">
  <m_ct_addMaterial_store>
    <location>sample string 3</location>
    <mat_id>1</mat_id>
    <mat_name>sample string 2</mat_name>
  </m_ct_addMaterial_store>
  <m_ct_addMaterial_store>
    <location>sample string 3</location>
    <mat_id>1</mat_id>
    <mat_name>sample string 2</mat_name>
  </m_ct_addMaterial_store>
</ArrayOfm_ct_addMaterial_store>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.