POST api/EquipmentLease/Maintenance/T/SetRepair/Start
(跨平台方法) 设置一个装备开始维修。
Request Information
URI Parameters
None.
Body Parameters
ELEquipmentRepairParmName | Description | Type | Additional information |
---|---|---|---|
billnum |
单号 char(20) |
string |
Required Max length: 20 |
depotid |
仓库ID char(4) |
string |
Required Max length: 4 |
happentdate |
送修日期 char(8) |
string |
Max length: 8 |
happenttime |
送修时间 char(6) |
string |
Max length: 6 |
userloginname |
送修用户/完成维修用户 char(20) |
string |
Required Max length: 20 |
company |
维修单位 varchar(100) |
string |
Max length: 100 |
equipmentid |
装备ID |
integer |
Required |
equipmentuniqueid |
装备唯一ID varchar(10) |
string |
Max length: 10 |
equipmentuniquecode |
装备唯一码 varchar(20) |
string |
Max length: 20 |
equipmentname |
装备名称 varchar(50) |
string |
Max length: 50 |
equipmenttype |
装备类型 char(1) |
string |
Required Max length: 1 |
categorycode |
装备类别 char(6) |
string |
Required |
categoryname |
装备类别名称 varchar(50) |
string |
Max length: 50 |
unit |
单位 varchar(10) |
string |
Max length: 10 |
managementmode |
管理方式 char(1) |
string |
Required Max length: 1 |
barcodes |
条码 varchar(20) |
string |
Max length: 20 |
specs |
规格 varchar(50) |
string |
Max length: 50 |
producingareas |
产地 varchar(50) |
string |
Max length: 50 |
qualitystandards |
质量标准 varchar(200) |
string |
Max length: 200 |
amount |
数量 int |
integer |
Required |
Request Formats
application/json, text/json
{ "billnum": "sample string 1", "depotid": "sample string 2", "happentdate": "sample string 3", "happenttime": "sample string 4", "userloginname": "sample string 5", "company": "sample string 6", "equipmentid": 7, "equipmentuniqueid": "sample string 8", "equipmentuniquecode": "sample string 9", "equipmentname": "sample string 10", "equipmenttype": "sample string 11", "categorycode": "sample string 12", "categoryname": "sample string 13", "unit": "sample string 14", "managementmode": "sample string 15", "barcodes": "sample string 16", "specs": "sample string 17", "producingareas": "sample string 18", "qualitystandards": "sample string 19", "amount": 20 }
application/xml, text/xml
<ELEquipmentRepairParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <amount>20</amount> <barcodes>sample string 16</barcodes> <billnum>sample string 1</billnum> <categorycode>sample string 12</categorycode> <categoryname>sample string 13</categoryname> <company>sample string 6</company> <depotid>sample string 2</depotid> <equipmentid>7</equipmentid> <equipmentname>sample string 10</equipmentname> <equipmenttype>sample string 11</equipmenttype> <equipmentuniquecode>sample string 9</equipmentuniquecode> <equipmentuniqueid>sample string 8</equipmentuniqueid> <happentdate>sample string 3</happentdate> <happenttime>sample string 4</happenttime> <managementmode>sample string 15</managementmode> <producingareas>sample string 18</producingareas> <qualitystandards>sample string 19</qualitystandards> <specs>sample string 17</specs> <unit>sample string 14</unit> <userloginname>sample string 5</userloginname> </ELEquipmentRepairParm>
application/x-www-form-urlencoded
Sample not available.
application/bson
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
(跨平台方法) 设置一个装备开始维修。
CommonOperationResultName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
{ "errcode": 1, "errmsg": "sample string 2", "tag": "sample string 3" }
application/xml, text/xml
<CommonOperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>sample string 3</tag> </CommonOperationResult>
application/bson
Binary JSON content. See http://bsonspec.org for details.