PUT api/manage/cutter/{cutter_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cutter_id

integer

Required

Body Parameters

m_editCutter
NameDescriptionTypeAdditional information
cutter_code

string

Required

String length: inclusive between 0 and 50

cutter_type

string

Matching regular expression pattern: ^([USD]){1}$

status

string

None.

capacity

Collection of md_editModelCutterCapacity

None.

Request Formats

application/json, text/json

Sample:
{
  "cutter_code": "sample string 1",
  "cutter_type": "sample string 2",
  "status": "sample string 3",
  "capacity": [
    {
      "capacity": 1.0,
      "cutter_size": 2
    },
    {
      "capacity": 1.0,
      "cutter_size": 2
    }
  ]
}

application/xml, text/xml

Sample:
<m_editCutter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.WebAPI.Models.Cutter">
  <capacity xmlns:d2p1="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Cutter">
    <d2p1:md_editModelCutterCapacity>
      <d2p1:capacity>1</d2p1:capacity>
      <d2p1:cutter_size>2</d2p1:cutter_size>
    </d2p1:md_editModelCutterCapacity>
    <d2p1:md_editModelCutterCapacity>
      <d2p1:capacity>1</d2p1:capacity>
      <d2p1:cutter_size>2</d2p1:cutter_size>
    </d2p1:md_editModelCutterCapacity>
  </capacity>
  <cutter_code>sample string 1</cutter_code>
  <cutter_type>sample string 2</cutter_type>
  <status>sample string 3</status>
</m_editCutter>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.