POST api/SaleOrder/CreateImposeOrder

Request Information

URI Parameters

None.

Body Parameters

InputCreateOrderItemModel
NameDescriptionTypeAdditional information
AccessToken

string

None.

saleOrderNo

string

None.

productId

globally unique identifier

None.

propertyInfos

Collection of PropertyInfo

None.

imposeUrlPath

string

None.

companyId

string

None.

commpanyKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccessToken": "sample string 1",
  "saleOrderNo": "sample string 2",
  "productId": "df1805dc-e8b8-4d66-b782-7e43f28ac3d6",
  "propertyInfos": [
    {
      "groupid": "sample string 1",
      "key": "sample string 2",
      "vaule": "sample string 3",
      "componentType": "sample string 4"
    },
    {
      "groupid": "sample string 1",
      "key": "sample string 2",
      "vaule": "sample string 3",
      "componentType": "sample string 4"
    }
  ],
  "imposeUrlPath": "sample string 4",
  "companyId": "sample string 5",
  "commpanyKey": "sample string 6"
}

application/xml, text/xml

Sample:
<InputCreateOrderItemModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Business.Core.Models.Input">
  <commpanyKey xmlns="http://schemas.datacontract.org/2004/07/Lib.KuaiDiCore.Zto.Model.Input">sample string 6</commpanyKey>
  <companyId xmlns="http://schemas.datacontract.org/2004/07/Lib.KuaiDiCore.Zto.Model.Input">sample string 5</companyId>
  <AccessToken>sample string 1</AccessToken>
  <imposeUrlPath>sample string 4</imposeUrlPath>
  <productId>df1805dc-e8b8-4d66-b782-7e43f28ac3d6</productId>
  <propertyInfos>
    <PropertyInfo>
      <componentType>sample string 4</componentType>
      <groupid>sample string 1</groupid>
      <key>sample string 2</key>
      <vaule>sample string 3</vaule>
    </PropertyInfo>
    <PropertyInfo>
      <componentType>sample string 4</componentType>
      <groupid>sample string 1</groupid>
      <key>sample string 2</key>
      <vaule>sample string 3</vaule>
    </PropertyInfo>
  </propertyInfos>
  <saleOrderNo>sample string 2</saleOrderNo>
</InputCreateOrderItemModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

InvokeResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Code": 3
}

application/xml, text/xml

Sample:
<InvokeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBuyer.Api.Models.Result">
  <Code>3</Code>
  <Message>sample string 2</Message>
  <Success>true</Success>
</InvokeResult>