PUT api/manage/operator/edit/{op_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
op_id

integer

Required

Body Parameters

md_operator_edit
NameDescriptionTypeAdditional information
op_code_id

string

None.

finger_id

string

None.

factory_id

byte

None.

department_id

integer

None.

name

string

None.

abilities

Collection of md_operator_skill_edit

None.

leader_id

integer

None.

operator_type_code

string

None.

employee_type

string

None.

salary

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "op_code_id": "sample string 1",
  "finger_id": "sample string 2",
  "factory_id": 64,
  "department_id": 1,
  "name": "sample string 3",
  "abilities": [
    {
      "skill_type_id": 64
    },
    {
      "skill_type_id": 64
    }
  ],
  "leader_id": 1,
  "operator_type_code": "sample string 4",
  "employee_type": "sample string 5",
  "salary": 1
}

application/xml, text/xml

Sample:
<md_operator_edit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Operator">
  <abilities>
    <md_operator_skill_edit>
      <skill_type_id>64</skill_type_id>
    </md_operator_skill_edit>
    <md_operator_skill_edit>
      <skill_type_id>64</skill_type_id>
    </md_operator_skill_edit>
  </abilities>
  <department_id>1</department_id>
  <employee_type>sample string 5</employee_type>
  <factory_id>64</factory_id>
  <finger_id>sample string 2</finger_id>
  <leader_id>1</leader_id>
  <name>sample string 3</name>
  <op_code_id>sample string 1</op_code_id>
  <operator_type_code>sample string 4</operator_type_code>
  <salary>1</salary>
</md_operator_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_edit'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.