SmartGare
API referenceEndpoints

Get a bay conflict

Returns one clash by id, open or resolved, with both windows as planned and as compared, and the buffer and rule version that widened them. **Required permission:** `traffic.assignment:read`

GET/traffic/v1/bay-conflicts/{id}

Returns one clash by id, open or resolved, with both windows as planned and as compared, and the buffer and rule version that widened them.

Required permission: traffic.assignment:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

curl -X GET "https://example.com/traffic/v1/bay-conflicts/string"
{  "bay_id": "string",  "buffer_combination": {    "combination": "LARGER_OF_THE_TWO",    "rule_version_id": "string"  },  "ends_at": "2019-08-24T14:15:22Z",  "first": {    "buffer": {      "after_seconds": 0,      "before_seconds": 0,      "rule_version_id": "string",      "source": "SCOPED"    },    "compared_from": "2019-08-24T14:15:22Z",    "compared_until": "2019-08-24T14:15:22Z",    "hold_id": "string",    "planned_from": "2019-08-24T14:15:22Z",    "planned_until": "2019-08-24T14:15:22Z",    "scheduled_departure_id": "string"  },  "flagged_at": "2019-08-24T14:15:22Z",  "flagged_by": "string",  "id": "string",  "resolution": "REASSIGNED",  "resolved_at": "2019-08-24T14:15:22Z",  "resolved_by": "string",  "resolved_by_bay_assignment_id": "string",  "resolved_reason": "string",  "second": {    "buffer": {      "after_seconds": 0,      "before_seconds": 0,      "rule_version_id": "string",      "source": "SCOPED"    },    "compared_from": "2019-08-24T14:15:22Z",    "compared_until": "2019-08-24T14:15:22Z",    "hold_id": "string",    "planned_from": "2019-08-24T14:15:22Z",    "planned_until": "2019-08-24T14:15:22Z",    "scheduled_departure_id": "string"  },  "starts_at": "2019-08-24T14:15:22Z",  "status": "OPEN",  "type": "BAY_ASSIGNMENT_OVERLAPS"}