POST api/ReturnOrder/CreateReturnOrder?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
CreateReturnOrderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | globally unique identifier |
None. |
|
| OrderType | string |
None. |
|
| Remark | string |
None. |
|
| OrderDate | string |
None. |
|
| ProductList | Collection of RTOrderitem |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerID": "1ab82ea9-1af5-4756-9848-672c736843d8",
"OrderType": "sample string 2",
"Remark": "sample string 3",
"OrderDate": "sample string 4",
"ProductList": [
{
"DtlType": "sample string 1",
"TID": "ceca5436-6e6a-418d-bf28-2a9b95610594",
"ProductName": "sample string 3",
"ProductCount": 4.0
},
{
"DtlType": "sample string 1",
"TID": "ceca5436-6e6a-418d-bf28-2a9b95610594",
"ProductName": "sample string 3",
"ProductCount": 4.0
}
]
}
application/xml, text/xml
Sample:
<CreateReturnOrderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity">
<CustomerID>1ab82ea9-1af5-4756-9848-672c736843d8</CustomerID>
<OrderDate>sample string 4</OrderDate>
<OrderType>sample string 2</OrderType>
<ProductList>
<RTOrderitem>
<DtlType>sample string 1</DtlType>
<ProductCount>4</ProductCount>
<ProductName>sample string 3</ProductName>
<TID>ceca5436-6e6a-418d-bf28-2a9b95610594</TID>
</RTOrderitem>
<RTOrderitem>
<DtlType>sample string 1</DtlType>
<ProductCount>4</ProductCount>
<ProductName>sample string 3</ProductName>
<TID>ceca5436-6e6a-418d-bf28-2a9b95610594</TID>
</RTOrderitem>
</ProductList>
<Remark>sample string 3</Remark>
</CreateReturnOrderDto>
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>