POST order/OrderManage/OneKeyTook

Request Information

URI Parameters

None.

Body Parameters

ModifyOrderParam
NameDescriptionTypeAdditional information
UserID

integer

None.

StippleGuid

globally unique identifier

None.

ExpCode

string

None.

OrderID

integer

None.

OrderCode

string

Required

IsNeedPay

integer

None.

ExpNo

string

None.

ReceiptNumber

string

None.

PayType

integer

None.

MonthCode

string

None.

Sender

OrderSenderParam

None.

Receiver

OrderReceiverParam

None.

Goods

OrderGoodsParam

Required

DestinatioArea

string

Required

PackageCode

string

None.

GetStaffGuid

globally unique identifier

None.

GetStaffCode

string

None.

GetStaffName

string

None.

Cost

decimal number

None.

Number

integer

None.

Weight

decimal number

None.

CodAmount

decimal number

None.

AddService

Collection of OrderAddServiceParam

None.

ReturnFee

decimal number

None.

PackingFee

decimal number

None.

InsuranceFee

decimal number

None.

InsuranceAmount

decimal number

None.

OtherCost

decimal number

None.

IsApp

boolean

None.

NeedDestination

boolean

None.

OrderTime

date

None.

Remark

string

None.

ExpType

integer

None.

RealNameType

integer

None.

Soures

integer

None.

SenderLat

string

None.

SenderLng

string

None.

Version

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "StippleGuid": "da69cb07-1e3d-4d83-9736-e1d7b01430bb",
  "ExpCode": "sample string 1",
  "OrderID": 1,
  "OrderCode": "sample string 2",
  "IsNeedPay": 1,
  "ExpNo": "sample string 3",
  "ReceiptNumber": "sample string 4",
  "PayType": 1,
  "MonthCode": "sample string 5",
  "Sender": {
    "SenderID": 1,
    "OrderCode": "sample string 1",
    "Company": "sample string 2",
    "Name": "sample string 3",
    "PostCode": "sample string 4",
    "ProvinceCode": "sample string 5",
    "ProvinceName": "sample string 6",
    "CityCode": "sample string 7",
    "CityName": "sample string 8",
    "ExpAreaCode": "sample string 9",
    "ExpAraeName": "sample string 10",
    "AddressArea": "sample string 11",
    "Telephone": "sample string 12",
    "MobilePhone": "sample string 13",
    "CreateTime": "2019-10-18T19:59:58.6308972+08:00",
    "StreeCode": "sample string 14",
    "StreeName": "sample string 15",
    "ExpCode": "sample string 16",
    "UserID": 17,
    "IDCard": "sample string 18",
    "SenderRemark": "sample string 19"
  },
  "Receiver": {
    "ReceiverID": 1,
    "OrderCode": "sample string 1",
    "Company": "sample string 2",
    "Name": "sample string 3",
    "PostCode": "sample string 4",
    "ProvinceCode": "sample string 5",
    "ProvinceName": "sample string 6",
    "CityCode": "sample string 7",
    "CityName": "sample string 8",
    "ExpAreaCode": "sample string 9",
    "ExpAraeName": "sample string 10",
    "AddressArea": "sample string 11",
    "Telephone": "sample string 12",
    "MobilePhone": "sample string 13",
    "CreateTime": "2019-10-18T19:59:58.6319013+08:00",
    "StreeCode": "sample string 14",
    "StreeName": "sample string 15",
    "ExpCode": "sample string 16",
    "UserID": 17
  },
  "Goods": {
    "GoodsID": 1,
    "OrderCode": "sample string 1",
    "Name": "sample string 2",
    "Code": "sample string 3",
    "Price": 1.0,
    "Number": 1,
    "Volume": 1.0,
    "Weight": 1.0,
    "Remark": "sample string 4"
  },
  "DestinatioArea": "sample string 6",
  "PackageCode": "sample string 7",
  "GetStaffGuid": "a0e733df-72f5-4edc-ac7f-29f0fe03d60d",
  "GetStaffCode": "sample string 8",
  "GetStaffName": "sample string 9",
  "Cost": 1.0,
  "Number": 1,
  "Weight": 1.0,
  "CodAmount": 1.0,
  "AddService": [
    {
      "ServiceID": 1,
      "OrderCode": "sample string 1",
      "Name": "sample string 2",
      "Value": "sample string 3",
      "CustomerID": "sample string 4",
      "Remark": "sample string 5",
      "CreateTime": "2019-10-18T19:59:58.6348149+08:00",
      "UserID": 1,
      "ExpCode": "sample string 6"
    },
    {
      "ServiceID": 1,
      "OrderCode": "sample string 1",
      "Name": "sample string 2",
      "Value": "sample string 3",
      "CustomerID": "sample string 4",
      "Remark": "sample string 5",
      "CreateTime": "2019-10-18T19:59:58.6348149+08:00",
      "UserID": 1,
      "ExpCode": "sample string 6"
    }
  ],
  "ReturnFee": 1.0,
  "PackingFee": 1.0,
  "InsuranceFee": 1.0,
  "InsuranceAmount": 1.0,
  "OtherCost": 1.0,
  "IsApp": true,
  "NeedDestination": true,
  "OrderTime": "2019-10-18T19:59:58.6348149+08:00",
  "Remark": "sample string 12",
  "ExpType": 1,
  "RealNameType": 1,
  "Soures": 1,
  "SenderLat": "sample string 13",
  "SenderLng": "sample string 14",
  "Version": "sample string 15"
}

application/xml, text/xml

Sample:
<ModifyOrderParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kdfafa.Order.Model.Param">
  <_ChangedMappingProperties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
  <_ChangedProperties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
  <AddService>
    <OrderAddServiceParam>
      <_ChangedMappingProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
      <_ChangedProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
      <CreateTime>2019-10-18T19:59:58.6348149+08:00</CreateTime>
      <CustomerID>sample string 4</CustomerID>
      <ExpCode>sample string 6</ExpCode>
      <Name>sample string 2</Name>
      <OrderCode>sample string 1</OrderCode>
      <Remark>sample string 5</Remark>
      <ServiceID>1</ServiceID>
      <UserID>1</UserID>
      <Value>sample string 3</Value>
    </OrderAddServiceParam>
    <OrderAddServiceParam>
      <_ChangedMappingProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
      <_ChangedProperties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
      <CreateTime>2019-10-18T19:59:58.6348149+08:00</CreateTime>
      <CustomerID>sample string 4</CustomerID>
      <ExpCode>sample string 6</ExpCode>
      <Name>sample string 2</Name>
      <OrderCode>sample string 1</OrderCode>
      <Remark>sample string 5</Remark>
      <ServiceID>1</ServiceID>
      <UserID>1</UserID>
      <Value>sample string 3</Value>
    </OrderAddServiceParam>
  </AddService>
  <CodAmount>1</CodAmount>
  <Cost>1</Cost>
  <DestinatioArea>sample string 6</DestinatioArea>
  <ExpCode>sample string 1</ExpCode>
  <ExpNo>sample string 3</ExpNo>
  <ExpType>1</ExpType>
  <GetStaffCode>sample string 8</GetStaffCode>
  <GetStaffGuid>a0e733df-72f5-4edc-ac7f-29f0fe03d60d</GetStaffGuid>
  <GetStaffName>sample string 9</GetStaffName>
  <Goods>
    <_ChangedMappingProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
    <_ChangedProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
    <Code>sample string 3</Code>
    <GoodsID>1</GoodsID>
    <Name>sample string 2</Name>
    <Number>1</Number>
    <OrderCode>sample string 1</OrderCode>
    <Price>1</Price>
    <Remark>sample string 4</Remark>
    <Volume>1</Volume>
    <Weight>1</Weight>
  </Goods>
  <InsuranceAmount>1</InsuranceAmount>
  <InsuranceFee>1</InsuranceFee>
  <IsApp>true</IsApp>
  <IsNeedPay>1</IsNeedPay>
  <MonthCode>sample string 5</MonthCode>
  <NeedDestination>true</NeedDestination>
  <Number>1</Number>
  <OrderCode>sample string 2</OrderCode>
  <OrderID>1</OrderID>
  <OrderTime>2019-10-18T19:59:58.6348149+08:00</OrderTime>
  <OtherCost>1</OtherCost>
  <PackageCode>sample string 7</PackageCode>
  <PackingFee>1</PackingFee>
  <PayType>1</PayType>
  <RealNameType>1</RealNameType>
  <ReceiptNumber>sample string 4</ReceiptNumber>
  <Receiver>
    <_ChangedMappingProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
    <_ChangedProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
    <AddressArea>sample string 11</AddressArea>
    <CityCode>sample string 7</CityCode>
    <CityName>sample string 8</CityName>
    <Company>sample string 2</Company>
    <CreateTime>2019-10-18T19:59:58.6319013+08:00</CreateTime>
    <ExpAraeName>sample string 10</ExpAraeName>
    <ExpAreaCode>sample string 9</ExpAreaCode>
    <ExpCode>sample string 16</ExpCode>
    <MobilePhone>sample string 13</MobilePhone>
    <Name>sample string 3</Name>
    <OrderCode>sample string 1</OrderCode>
    <PostCode>sample string 4</PostCode>
    <ProvinceCode>sample string 5</ProvinceCode>
    <ProvinceName>sample string 6</ProvinceName>
    <ReceiverID>1</ReceiverID>
    <StreeCode>sample string 14</StreeCode>
    <StreeName>sample string 15</StreeName>
    <Telephone>sample string 12</Telephone>
    <UserID>17</UserID>
  </Receiver>
  <Remark>sample string 12</Remark>
  <ReturnFee>1</ReturnFee>
  <Sender>
    <_ChangedMappingProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
    <_ChangedProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/KJFrame.Entity" />
    <AddressArea>sample string 11</AddressArea>
    <CityCode>sample string 7</CityCode>
    <CityName>sample string 8</CityName>
    <Company>sample string 2</Company>
    <CreateTime>2019-10-18T19:59:58.6308972+08:00</CreateTime>
    <ExpAraeName>sample string 10</ExpAraeName>
    <ExpAreaCode>sample string 9</ExpAreaCode>
    <ExpCode>sample string 16</ExpCode>
    <IDCard>sample string 18</IDCard>
    <MobilePhone>sample string 13</MobilePhone>
    <Name>sample string 3</Name>
    <OrderCode>sample string 1</OrderCode>
    <PostCode>sample string 4</PostCode>
    <ProvinceCode>sample string 5</ProvinceCode>
    <ProvinceName>sample string 6</ProvinceName>
    <SenderID>1</SenderID>
    <SenderRemark>sample string 19</SenderRemark>
    <StreeCode>sample string 14</StreeCode>
    <StreeName>sample string 15</StreeName>
    <Telephone>sample string 12</Telephone>
    <UserID>17</UserID>
  </Sender>
  <SenderLat>sample string 13</SenderLat>
  <SenderLng>sample string 14</SenderLng>
  <Soures>1</Soures>
  <StippleGuid>da69cb07-1e3d-4d83-9736-e1d7b01430bb</StippleGuid>
  <UserID>1</UserID>
  <Version>sample string 15</Version>
  <Weight>1</Weight>
</ModifyOrderParam>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ModifyOrderParam'.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
Code

DMSComplete

None.

DebugMsg

string

None.

Message

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "DebugMsg": "sample string 1",
  "Message": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kdfafa.Order.Common.BLL.Model">
  <Code>Succeed</Code>
  <DebugMsg>sample string 1</DebugMsg>
  <Message>sample string 2</Message>
  <Result />
</ApiResult>