POST api/Shipping/Order/OrderTracking/UpdateOrderDetailTrackingQuantity

This will allow Updating the Order Detail Tracking Number Quantity and to send an AutoResponder

Request Information

URI Parameters

None.

Body Parameters

Collection of TrackingImportQuantityViewModel
NameDescriptionTypeAdditional information
OrderDetailId

integer

None.

TrackingId

string

None.

Quantity

integer

None.

SendAR

boolean

None.

ShipmethodID

integer

None.

ThirdPartyShippingCode

string

None.

Request Formats

application/xml, text/xml

Sample:
<ListOfTrackingImportQuantityViewModel>
  <TrackingImportQuantityViewModel>
    <OrderDetailId>1</OrderDetailId>
    <TrackingId>sample string 2</TrackingId>
    <Quantity>3</Quantity>
    <SendAR>True</SendAR>
    <ShipmethodID>5</ShipmethodID>
    <ThirdPartyShippingCode>sample string 6</ThirdPartyShippingCode>
  </TrackingImportQuantityViewModel>
  <TrackingImportQuantityViewModel>
    <OrderDetailId>1</OrderDetailId>
    <TrackingId>sample string 2</TrackingId>
    <Quantity>3</Quantity>
    <SendAR>True</SendAR>
    <ShipmethodID>5</ShipmethodID>
    <ThirdPartyShippingCode>sample string 6</ThirdPartyShippingCode>
  </TrackingImportQuantityViewModel>
</ListOfTrackingImportQuantityViewModel>

application/json, text/json

Sample:
[
  {
    "OrderDetailId": 1,
    "TrackingId": "sample string 2",
    "Quantity": 3,
    "SendAR": true,
    "ShipmethodID": 5,
    "ThirdPartyShippingCode": "sample string 6"
  },
  {
    "OrderDetailId": 1,
    "TrackingId": "sample string 2",
    "Quantity": 3,
    "SendAR": true,
    "ShipmethodID": 5,
    "ThirdPartyShippingCode": "sample string 6"
  }
]

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.