POST api/sale/salescontract/TransferDelivery
转移货期
请求信息
URI 参数
None.
Body 参数
SalesContractDeliveryTransferModel名称 | 说明 | 类型 | 其他信息 |
---|---|---|---|
FromDeliveryId |
转出货期Id |
string |
Required |
ToDeliveryId |
转入货期Id |
string |
Required |
DataType |
数据类型 1 - 产品 2 - 部件 3 - 零件 |
integer |
Required |
ProductId |
产品Id |
string |
Required |
AssemblyId |
部件Id DataType=2,则必传 |
string |
None. |
PartId |
零件Id DataType=3,则必传 |
string |
None. |
AssemblyPath |
部件路径 |
string |
None. |
Quantity |
数量 |
integer |
Required |
请求格式
application/json, text/json
Sample:
{ "FromDeliveryId": "sample string 1", "ToDeliveryId": "sample string 2", "DataType": 3, "ProductId": "sample string 4", "AssemblyId": "sample string 5", "PartId": "sample string 6", "AssemblyPath": "sample string 7", "Quantity": 8 }
application/xml, text/xml
Sample:
<SalesContractDeliveryTransferModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZJ.GX.Application.IBLL"> <AssemblyId>sample string 5</AssemblyId> <AssemblyPath>sample string 7</AssemblyPath> <DataType>3</DataType> <FromDeliveryId>sample string 1</FromDeliveryId> <PartId>sample string 6</PartId> <ProductId>sample string 4</ProductId> <Quantity>8</Quantity> <ToDeliveryId>sample string 2</ToDeliveryId> </SalesContractDeliveryTransferModel>
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>