Railcar API
Report wagon damage (full snapshot)
Report each wagon’s complete set of open defects. Each wagon in the body replaces everything ARMS shows for that wagon; ARMS never merges it with earlier messages.
Usage notes:
- An empty
defectslist means the wagon has no open defects (repaired). - The wagon’s colour is its worst defect severity: red > blue > white.
- A wagon whose defects already match what ARMS shows is a no-op: nothing is written, no
wagon_damagedevent is emitted, and the result haschanged: false. Resending is always safe. - The whole request is one transaction: a validation error (400) writes nothing.
- A
wagon_damagedevent is emitted only for changed wagons with exactly one inbound or online inventory record (equipmentKnown: true). - A missing permission returns 401.
POST
Authorizations
Your ARMS API key
Email of a user assigned to the appropriate user group
Query Parameters
Carrier identifier; required for all endpoints
Optional user group context
Body
application/json
Request body for reporting wagon damage. The whole request is applied or rejected as one unit.
Response
OK
One entry per wagon, in request order.