POST api/GetChangesV1_1
Provides status change logs for the shipments.
Request Information
URI Parameters
None.
Body Parameters
Request that contains WS_Key, Start (Optional, must match with an exact Start date that was returned from any previous call.), End (Optional, must match with an exact Start date and End date that was returned from any previous call.), SetInitialTimeStamp (Optional, mark a new timestamp with the current date)
TwoShipAPI.Controllers.GetChangesRequestName | Description | Type | Additional information |
---|---|---|---|
WS_Key | string |
None. |
|
Start | date |
None. |
|
End | date |
None. |
|
SetInitialTimeStamp | boolean |
None. |
Request Formats
application/json, text/json
{ "WS_Key": "sample string 1", "Start": "2024-04-19T04:08:01.2675168-04:00", "End": "2024-04-19T04:08:01.2675168-04:00", "SetInitialTimeStamp": true }
application/xml, text/xml
<GetChangesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TwoShipAPI.Controllers"> <End>2024-04-19T04:08:01.2675168-04:00</End> <SetInitialTimeStamp>true</SetInitialTimeStamp> <Start>2024-04-19T04:08:01.2675168-04:00</Start> <WS_Key>sample string 1</WS_Key> </GetChangesRequest>
application/x-www-form-urlencoded
Response Information
Resource Description
The shipments that have changed status since the last call of this service or for the given timeframe. The timeframe for the returned shipments list is also returned.
WS_Repository.Models.Responses.Ship.GetChangesResponseName | Description | Type | Additional information |
---|---|---|---|
Shipments |
Shipments that have changed in 2Ship in the returned timeframe |
Collection of WS_Repository.Models.Responses.Ship.CarrierShipResponse |
None. |
Start |
Start date and time for the returned change set |
date |
None. |
End |
End date and time for the returned change set |
date |
None. |