Skip to main content
POST
/
t
/
v1
/
arrive-train
Arrive train
curl --request POST \
  --url https://api-lg-k-h1.arms.cedarai.com/t/v1/arrive-train \
  --header 'Carrier: <carrier>' \
  --header 'Content-Type: application/json' \
  --header 'x-arms-api-key: <api-key>' \
  --header 'x-arms-assume-user: <api-key>' \
  --data '
{
  "work_order_id": "12345",
  "track_id": 67890,
  "is_front": true,
  "serving_location_id": 11111,
  "exception": "Delayed arrival due to weather",
  "timestamp": "2024-01-15T10:30:00.000Z"
}
'
{}

Authorizations

x-arms-api-key
string
header
required
x-arms-assume-user
string
header
required

Headers

Carrier
string
required

Carrier ID

Body

application/json

Request message for recording a train arrival at a specific track. Used when a train arrives at a station or location to begin operations.

Request message for recording a train arrival at a specific track. Used when a train arrives at a station or location to begin operations.

workOrderId
string
required
trackId
string<int64>
required
isFront
boolean
required
customerLocationId
string<int64>
servingLocationId
string<int64>
exception
string
timestamp
string<date-time>

Response

A successful response.

The response is of type object.