POST api/ReturnOrder/CreateReturnOrderV2?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}

创建门店退货V2

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DomainId

域Id

globally unique identifier

None.

AccountId

账户Id

globally unique identifier

None.

PersonId

人员Id

globally unique identifier

None.

Body Parameters

CreateReturnOrderDtoV2
NameDescriptionTypeAdditional 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": "87795d97-3580-48fb-aa83-064b2b2181fc",
  "OrderType": "sample string 3",
  "Remark": "sample string 4",
  "OrderDate": "sample string 5",
  "ProductList": [
    {
      "StrengthOfGift": "sample string 1",
      "TID": "1f1bad49-ddf9-4c5c-917e-13588f369327",
      "ProductName": "sample string 3",
      "ProductCount": 4.0
    },
    {
      "StrengthOfGift": "sample string 1",
      "TID": "1f1bad49-ddf9-4c5c-917e-13588f369327",
      "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>87795d97-3580-48fb-aa83-064b2b2181fc</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>1f1bad49-ddf9-4c5c-917e-13588f369327</TID>
    </CreateReturnOrderDtoV2.RTOrderitemV2>
    <CreateReturnOrderDtoV2.RTOrderitemV2>
      <ProductCount>4</ProductCount>
      <ProductName>sample string 3</ProductName>
      <StrengthOfGift>sample string 1</StrengthOfGift>
      <TID>1f1bad49-ddf9-4c5c-917e-13588f369327</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
NameDescriptionTypeAdditional 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>