PUT api/manage/shang/{shg_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shg_id

integer

Required

Body Parameters

md_EditmoldShang
NameDescriptionTypeAdditional information
shg_name

string

Required

String length: inclusive between 0 and 50

sizes

Collection of md_createMoldShang

None.

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:
<md_EditmoldShang xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Mold">
  <shg_name>sample string 1</shg_name>
  <sizes>
    <md_createMoldShang>
      <size>1</size>
      <weight>2</weight>
    </md_createMoldShang>
    <md_createMoldShang>
      <size>1</size>
      <weight>2</weight>
    </md_createMoldShang>
  </sizes>
</md_EditmoldShang>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.