POST api/production/equipment/AddRelateEquipment

添加关联生产设备信息--需要移除

请求信息

URI 参数

None.

Body 参数

关联信息

RelateEquipmentEditModel
名称说明类型其他信息
Id

生产设备Id

string

None.

RelateId

关联Id

string

None.

RelateType

关联类型

RelateEquipmentTypes

None.

请求格式

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "RelateId": "sample string 2",
  "RelateType": 0
}

application/xml, text/xml

Sample:
<RelateEquipmentEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZJ.GX.Application.IBLL">
  <Id>sample string 1</Id>
  <RelateId>sample string 2</RelateId>
  <RelateType>BasicProcess</RelateType>
</RelateEquipmentEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

响应信息

响应说明

ResponseEx
名称说明类型其他信息
StatusCode

状态码

ResponseStatusCode

None.

Message

信息

string

None.

Data

数据

Object

None.

响应格式

application/json, text/json

Sample:
{
  "StatusCode": 0,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResponseEx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZJ.GX.Application.WebApi.Models">
  <Data />
  <Message>sample string 1</Message>
  <StatusCode>OK</StatusCode>
</ResponseEx>