POST api/pu-moldStore

Request Information

URI Parameters

None.

Body Parameters

Collection of m_moldStore_c
NameDescriptionTypeAdditional information
mold_id

integer

Required

size

integer

Required

mold_serial

string

None.

location_id

integer

Required

mold_amount

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "mold_id": 1,
    "size": 2,
    "mold_serial": "sample string 3",
    "location_id": 1,
    "mold_amount": 4
  },
  {
    "mold_id": 1,
    "size": 2,
    "mold_serial": "sample string 3",
    "location_id": 1,
    "mold_amount": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfm_moldStore_c xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.PU.MoldStore">
  <m_moldStore_c>
    <location_id>1</location_id>
    <mold_amount>4</mold_amount>
    <mold_id>1</mold_id>
    <mold_serial>sample string 3</mold_serial>
    <size>2</size>
  </m_moldStore_c>
  <m_moldStore_c>
    <location_id>1</location_id>
    <mold_amount>4</mold_amount>
    <mold_id>1</mold_id>
    <mold_serial>sample string 3</mold_serial>
    <size>2</size>
  </m_moldStore_c>
</ArrayOfm_moldStore_c>

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.