POST api/Ship/ActivateOrder

Use to activate an order from a quote status, you can also update contents

Request Information

URI Parameters

None.

Body Parameters

ActivateOrderParm
NameDescriptionTypeAdditional information
UserGUID

Unique system generated user identifier

string

None.

TrackingNumber

Tracking number associated with the shipment

string

None.

Contents

Contents of the shipment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Contents": "sample string 3",
  "TrackingNumber": "sample string 2",
  "UserGUID": "sample string 1"
}

application/xml, text/xml

Sample:
<ActivateOrderParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Shipper.Models">
  <Contents>sample string 3</Contents>
  <TrackingNumber>sample string 2</TrackingNumber>
  <UserGUID>sample string 1</UserGUID>
</ActivateOrderParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActivateOrderResp
NameDescriptionTypeAdditional information
IsSuccessful

Method call was successful (true) or failed (false)

boolean

None.

ErrorMessage

Error message if method call failed for any reason

string

None.

ShipmentNumber

Unique system generated shipment number

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorMessage": "sample string 2",
  "IsSuccessful": true,
  "ShipmentNumber": 3
}

application/xml, text/xml

Sample:
<ActivateOrderResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Shipper.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
  <ShipmentNumber>3</ShipmentNumber>
</ActivateOrderResp>