Skip to content

Update an individual action of a stop in a Load Track

Request

Bodyapplication/jsonrequired
partnerIdinteger, (int64)required

This is a unique integer id that is assigned to the Partner system to identify the Partner system by the Load Track system. This has to be sent on each webservice call.

loadTrackExternalIdnumberrequired

The unique identifier of the Load in the Partner system

accountIdstring, >= 8 charactersrequired

Unique identifier of the Agent in the Broker System that entered the Load Track. This accountId has to be encrypted with the shared secret of the partner. This shared secret will be shared during the integration process

stopobject(stop)required
curl -i -X PUT \
  https://developer.truckertools.com/_mock/apis/manageactionofstop/loadtrackservice/LTLstopAction \
  -H 'Content-Type: application/json' \
  -d '{
    "partnerId": 0,
    "loadTrackExternalId": 0,
    "accountId": "stringst",
    "stop": {
      "orderNumber": 1,
      "action": {
        "name": "string",
        "required": false,
        "isLastAction": false,
        "item": "trailer",
        "id": "string",
        "oldId": "string"
      }
    }
  }'

Responses

successfully update load track stop action

Bodyapplication/json
statusbooleanrequired

flag to indicate service response status i.e true or false

Default:false
timeStampstringrequired

server timestamp

loadIdinteger

unique id in TT system. This is not provided in case of error

numberOfStopsinteger

Number of stops in this load track. This will not be provided in case of an error

errorCodeinteger

Error code. This will not be provided in case of successful creation or update of Load Track

Enum:101104105301406407
errorMessagestring

A short description of the error. This will not be provided in case of successful creation or update of Load Track

Enum:"Account not found""Partner not found""Load Track not found""Invalid parameters""Can’t update action as the action is already taken or the stop is complete""Can’t delete action as the action is already taken or the stop is complete"
Response
{ "status": false, "timeStamp": "string", "loadId": 0, "numberOfStops": 0, "errorCode": 101, "errorMessage": "Account not found" }