POST api/ReturnOrder/ExecuteReturnOrder?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
执行门店退货
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DomainId |
域Id |
globally unique identifier |
None. |
| AccountId |
账户Id |
globally unique identifier |
None. |
| PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
ExecuteReturnOrderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| TID | globally unique identifier |
None. |
|
| ProductList | Collection of ExecRTOrderitem |
None. |
|
| Images | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TID": "58d8eaac-d887-47a2-8ad9-4e92a2bee335",
"ProductList": [
{
"DtlType": "sample string 1",
"ProductID": "ed515f5c-d949-4064-b3c4-79f759e924bc",
"ProductName": "sample string 3",
"ExecProductCount": 4.0
},
{
"DtlType": "sample string 1",
"ProductID": "ed515f5c-d949-4064-b3c4-79f759e924bc",
"ProductName": "sample string 3",
"ExecProductCount": 4.0
}
],
"Images": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ExecuteReturnOrderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity">
<Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Images>
<ProductList>
<ExecRTOrderitem>
<DtlType>sample string 1</DtlType>
<ExecProductCount>4</ExecProductCount>
<ProductID>ed515f5c-d949-4064-b3c4-79f759e924bc</ProductID>
<ProductName>sample string 3</ProductName>
</ExecRTOrderitem>
<ExecRTOrderitem>
<DtlType>sample string 1</DtlType>
<ExecProductCount>4</ExecProductCount>
<ProductID>ed515f5c-d949-4064-b3c4-79f759e924bc</ProductID>
<ProductName>sample string 3</ProductName>
</ExecRTOrderitem>
</ProductList>
<TID>58d8eaac-d887-47a2-8ad9-4e92a2bee335</TID>
</ExecuteReturnOrderDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ReturnCode |
None. |
|
| Message | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 1",
"Data": true
}
application/xml, text/xml
Sample:
<ResultModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data>true</Data> <Message>sample string 1</Message> </ResultModelOfboolean>