POST api/ReturnOrder/CreateReturnOrderV2?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
创建门店退货V2
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
CreateReturnOrderDtoV2| Name | Description | Type | Additional information |
|---|---|---|---|
| TID | string |
None. |
|
| CustomerID | globally unique identifier |
None. |
|
| OrderType | string |
None. |
|
| Remark | string |
None. |
|
| OrderDate | string |
None. |
|
| ProductList | Collection of RTOrderitemV2 |
None. |
Request Formats
application/json, text/json
Sample:
{
"TID": "sample string 1",
"CustomerID": "9bf968ce-1d0f-407b-9c54-4b07669ed395",
"OrderType": "sample string 3",
"Remark": "sample string 4",
"OrderDate": "sample string 5",
"ProductList": [
{
"StrengthOfGift": "sample string 1",
"TID": "d9fa2a80-5ea7-47b5-9f0a-850eacead883",
"ProductName": "sample string 3",
"ProductCount": 4.0
},
{
"StrengthOfGift": "sample string 1",
"TID": "d9fa2a80-5ea7-47b5-9f0a-850eacead883",
"ProductName": "sample string 3",
"ProductCount": 4.0
}
]
}
application/xml, text/xml
Sample:
<CreateReturnOrderDtoV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity">
<CustomerID>9bf968ce-1d0f-407b-9c54-4b07669ed395</CustomerID>
<OrderDate>sample string 5</OrderDate>
<OrderType>sample string 3</OrderType>
<ProductList>
<CreateReturnOrderDtoV2.RTOrderitemV2>
<ProductCount>4</ProductCount>
<ProductName>sample string 3</ProductName>
<StrengthOfGift>sample string 1</StrengthOfGift>
<TID>d9fa2a80-5ea7-47b5-9f0a-850eacead883</TID>
</CreateReturnOrderDtoV2.RTOrderitemV2>
<CreateReturnOrderDtoV2.RTOrderitemV2>
<ProductCount>4</ProductCount>
<ProductName>sample string 3</ProductName>
<StrengthOfGift>sample string 1</StrengthOfGift>
<TID>d9fa2a80-5ea7-47b5-9f0a-850eacead883</TID>
</CreateReturnOrderDtoV2.RTOrderitemV2>
</ProductList>
<Remark>sample string 4</Remark>
<TID>sample string 1</TID>
</CreateReturnOrderDtoV2>
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>