POST api/OrderAssigned/SaveAssigned?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}

管理人员指派订单

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

AssignedVM
NameDescriptionTypeAdditional information
DeliveryAccountID

globally unique identifier

None.

DeliveryOrderList

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "DeliveryAccountID": "f88152a3-4d9b-4942-bbde-bfade0085cb7",
  "DeliveryOrderList": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<AssignedVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.OrderAssigned.ViewModel">
  <DeliveryAccountID>f88152a3-4d9b-4942-bbde-bfade0085cb7</DeliveryAccountID>
  <DeliveryOrderList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </DeliveryOrderList>
</AssignedVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfAssignOrderResult
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

AssignOrderResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 200,
  "Message": "sample string 1",
  "Data": {
    "IsCreateDeliveryTask": true
  }
}

application/xml, text/xml

Sample:
<ResultModelOfAssignOrderResultI2e8w6Tj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility">
  <Code>Success</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.OrderAssigned.ActionResults">
    <d2p1:IsCreateDeliveryTask>true</d2p1:IsCreateDeliveryTask>
  </Data>
  <Message>sample string 1</Message>
</ResultModelOfAssignOrderResultI2e8w6Tj>