PUT api/order/Order/{orderId}/TransferOwnership

Transfers ownership of an Order to a different Rep or a Customer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderId

Primary identifier for the Order

integer

Required

Body Parameters

TransferOwnershipViewModel
NameDescriptionTypeAdditional information
RepDID

string

Required

CustomerDID

string

None.

Request Formats

application/xml, text/xml

Sample:
<TransferOwnershipViewModel>
  <RepDID>sample string 1</RepDID>
  <CustomerDID>sample string 2</CustomerDID>
</TransferOwnershipViewModel>

application/json, text/json

Sample:
{
  "RepDID": "sample string 1",
  "CustomerDID": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/xml, text/xml, application/json, text/json

Sample:

Sample not available.