POST api/manage/shang

Request Information

URI Parameters

None.

Body Parameters

m_createShang
NameDescriptionTypeAdditional information
shg_name

string

Required

sizes

Collection of md_createMoldShang

Required

Request Formats

application/json, text/json

Sample:
{
  "shg_name": "sample string 1",
  "sizes": [
    {
      "size": 1,
      "weight": 2.0
    },
    {
      "size": 1,
      "weight": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<m_createShang xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.WebAPI.Models.Mold">
  <shg_name>sample string 1</shg_name>
  <sizes xmlns:d2p1="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Mold">
    <d2p1:md_createMoldShang>
      <d2p1:size>1</d2p1:size>
      <d2p1:weight>2</d2p1:weight>
    </d2p1:md_createMoldShang>
    <d2p1:md_createMoldShang>
      <d2p1:size>1</d2p1:size>
      <d2p1:weight>2</d2p1:weight>
    </d2p1:md_createMoldShang>
  </sizes>
</m_createShang>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.