YardTrailerRelink

POST /api/yard/{yardId}/carrier/{carrierId}/trailer-number/{trailerNumber}/movement-relink

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

Path parameters

Responses

POST /api/yard/{yardId}/carrier/{carrierId}/trailer-number/{trailerNumber}/movement-relink
curl \
 -X POST http://127.0.0.1:8080/api/yard/{yardId}/carrier/{carrierId}/trailer-number/{trailerNumber}/movement-relink
Response examples (200)
{
  "changed_movements": [
    {
      "movement_id": 42
    }
  ]
}