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
CreateReturnOrderDtoName | 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": "0f3005d5-6764-4c7b-af89-1831caaa5420", "OrderType": "sample string 2", "Remark": "sample string 3", "OrderDate": "sample string 4", "ProductList": [ { "DtlType": "sample string 1", "TID": "897163a0-6d36-4fa8-83af-6b9f74d26585", "ProductName": "sample string 3", "ProductCount": 4.0 }, { "DtlType": "sample string 1", "TID": "897163a0-6d36-4fa8-83af-6b9f74d26585", "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>0f3005d5-6764-4c7b-af89-1831caaa5420</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>897163a0-6d36-4fa8-83af-6b9f74d26585</TID> </RTOrderitem> <RTOrderitem> <DtlType>sample string 1</DtlType> <ProductCount>4</ProductCount> <ProductName>sample string 3</ProductName> <TID>897163a0-6d36-4fa8-83af-6b9f74d26585</TID> </RTOrderitem> </ProductList> <Remark>sample string 3</Remark> </CreateReturnOrderDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBooleanName | 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>