POST api/EquipmentLease/DepotTransfer/Bill/Add
添加一个调拨单
Request Information
URI Parameters
None.
Body Parameters
ELDepotTransferBillParmName | Description | Type | Additional information |
---|---|---|---|
BillNum |
单号 |
string |
Required Max length: 20 Min length: 20 |
HappenDate |
调拨日期 |
string |
Required Max length: 8 Min length: 8 |
HappenTime |
调拨时间 |
string |
Required Max length: 6 Min length: 6 |
DepotOutID |
调出仓库ID |
string |
Required Max length: 4 Min length: 4 |
DepotInID |
调入仓库ID |
string |
Required Max length: 4 Min length: 4 |
UserLoginName |
操作用户 |
string |
Required Max length: 20 |
Memory |
备注 |
string |
Required Max length: 100 |
Details |
调拨单明细 |
Collection of ELDepotTransferBillDetailParm |
None. |
Request Formats
application/json, text/json
Sample:
{ "BillNum": "sample string 1", "HappenDate": "sample string 2", "HappenTime": "sample string 3", "DepotOutID": "sample string 4", "DepotInID": "sample string 5", "UserLoginName": "sample string 6", "Memory": "sample string 7", "Details": [ { "BillNum": "sample string 1", "DetailId": 2, "EquipmentID": 3, "EquipmentUniqueID": "sample string 4", "EquipmentUniqueCode": "sample string 5", "EquipmentName": "sample string 6", "EquipmentType": "sample string 7", "CategoryCode": "sample string 8", "Unit": "sample string 9", "ManagementMode": "sample string 10", "Value": 11.0, "Specs": "sample string 12", "ProducingAreas": "sample string 13", "QualityStandards": "sample string 14", "Amount": 15 }, { "BillNum": "sample string 1", "DetailId": 2, "EquipmentID": 3, "EquipmentUniqueID": "sample string 4", "EquipmentUniqueCode": "sample string 5", "EquipmentName": "sample string 6", "EquipmentType": "sample string 7", "CategoryCode": "sample string 8", "Unit": "sample string 9", "ManagementMode": "sample string 10", "Value": 11.0, "Specs": "sample string 12", "ProducingAreas": "sample string 13", "QualityStandards": "sample string 14", "Amount": 15 } ] }
application/xml, text/xml
Sample:
<ELDepotTransferBillParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <BillNum>sample string 1</BillNum> <DepotInID>sample string 5</DepotInID> <DepotOutID>sample string 4</DepotOutID> <Details> <ELDepotTransferBillDetailParm> <Amount>15</Amount> <BillNum>sample string 1</BillNum> <CategoryCode>sample string 8</CategoryCode> <DetailId>2</DetailId> <EquipmentID>3</EquipmentID> <EquipmentName>sample string 6</EquipmentName> <EquipmentType>sample string 7</EquipmentType> <EquipmentUniqueCode>sample string 5</EquipmentUniqueCode> <EquipmentUniqueID>sample string 4</EquipmentUniqueID> <ManagementMode>sample string 10</ManagementMode> <ProducingAreas>sample string 13</ProducingAreas> <QualityStandards>sample string 14</QualityStandards> <Specs>sample string 12</Specs> <Unit>sample string 9</Unit> <Value>11</Value> </ELDepotTransferBillDetailParm> <ELDepotTransferBillDetailParm> <Amount>15</Amount> <BillNum>sample string 1</BillNum> <CategoryCode>sample string 8</CategoryCode> <DetailId>2</DetailId> <EquipmentID>3</EquipmentID> <EquipmentName>sample string 6</EquipmentName> <EquipmentType>sample string 7</EquipmentType> <EquipmentUniqueCode>sample string 5</EquipmentUniqueCode> <EquipmentUniqueID>sample string 4</EquipmentUniqueID> <ManagementMode>sample string 10</ManagementMode> <ProducingAreas>sample string 13</ProducingAreas> <QualityStandards>sample string 14</QualityStandards> <Specs>sample string 12</Specs> <Unit>sample string 9</Unit> <Value>11</Value> </ELDepotTransferBillDetailParm> </Details> <HappenDate>sample string 2</HappenDate> <HappenTime>sample string 3</HappenTime> <Memory>sample string 7</Memory> <UserLoginName>sample string 6</UserLoginName> </ELDepotTransferBillParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
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
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.