POST api/Servo/EquipmentLease/Locker/YouXin/Info
Request Information
URI Parameters
None.
Body Parameters
ELLockerInfoUpdateParm| Name | Description | Type | Additional information |
|---|---|---|---|
| EquipmentUniqueCode | string |
Required Max length: 20 |
|
| LockerType | string |
Max length: 50 |
|
| LockerImei | string |
Max length: 20 |
|
| LockerSerialId | string |
Max length: 50 |
|
| LockerState | string |
Max length: 1 |
|
| LockerStateName | string |
Max length: 50 |
|
| LockerBattaryRate | integer |
None. |
|
| LockerVersion | string |
Max length: 50 |
|
| LastAccessTime | date |
None. |
|
| LastReturnTime | date |
None. |
|
| LastedUpCmd | string |
Max length: 500 |
|
| LastedDownCmd | string |
Max length: 500 |
Request Formats
application/json, text/json
Sample:
{
"EquipmentUniqueCode": "sample string 1",
"LockerType": "sample string 2",
"LockerImei": "sample string 3",
"LockerSerialId": "sample string 4",
"LockerState": "sample string 5",
"LockerStateName": "sample string 6",
"LockerBattaryRate": 7,
"LockerVersion": "sample string 8",
"LastAccessTime": "2026-11-02T12:56:21.4800614+08:00",
"LastReturnTime": "2026-11-02T12:56:21.4800614+08:00",
"LastedUpCmd": "sample string 9",
"LastedDownCmd": "sample string 10"
}
application/xml, text/xml
Sample:
<ELLockerInfoUpdateParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Common.ELDevices"> <EquipmentUniqueCode>sample string 1</EquipmentUniqueCode> <LastAccessTime>2026-11-02T12:56:21.4800614+08:00</LastAccessTime> <LastReturnTime>2026-11-02T12:56:21.4800614+08:00</LastReturnTime> <LastedDownCmd>sample string 10</LastedDownCmd> <LastedUpCmd>sample string 9</LastedUpCmd> <LockerBattaryRate>7</LockerBattaryRate> <LockerImei>sample string 3</LockerImei> <LockerSerialId>sample string 4</LockerSerialId> <LockerState>sample string 5</LockerState> <LockerStateName>sample string 6</LockerStateName> <LockerType>sample string 2</LockerType> <LockerVersion>sample string 8</LockerVersion> </ELLockerInfoUpdateParm>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
CommonOperationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
| errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
| tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": "sample string 3"
}
application/xml, text/xml
Sample:
<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
Sample:
Binary JSON content. See http://bsonspec.org for details.