PUT api/manage/operator/line/edit/{line_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
line_id

integer

Required

Body Parameters

md_operator_line_edit
NameDescriptionTypeAdditional information
line_name

string

None.

operators

Collection of md_operator_line_op_edit

None.

Request Formats

application/json, text/json

Sample:
{
  "line_name": "sample string 1",
  "operators": [
    {
      "op_id": 1,
      "pos_code": "sample string 2"
    },
    {
      "op_id": 1,
      "pos_code": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<md_operator_line_edit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Operator">
  <line_name>sample string 1</line_name>
  <operators>
    <md_operator_line_op_edit>
      <op_id>1</op_id>
      <pos_code>sample string 2</pos_code>
    </md_operator_line_op_edit>
    <md_operator_line_op_edit>
      <op_id>1</op_id>
      <pos_code>sample string 2</pos_code>
    </md_operator_line_op_edit>
  </operators>
</md_operator_line_edit>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.