Query container events based on given search criteria.
GET {{baseUrl}}/containertags/:id/events?tag=<string>&from=<string>&to=<string>&carrier=<string>&flight-number=<string>&operational-suffix=<string>&origin-date=<string>&origin-iata-code=<string>&destination-iata-code=<string>&event-type=<string>&event-function=<string>&secondary-identifier=<string>&location=<string>&source=<string>&max-results=<integer>
If no query parameter is set the search will be reduced to the last 24 hours. If no maxResult is set a maximum of 1000 records will be returned.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
tag | string | The tag number of the container tag. | |
from | string | The start point of the interval in UTC. e.g. 2020-01-31T12:30:00.000Z. If used the from and the to parameter has to be set. | |
to | string | The end point of the interval in UTC. e.g. 2020-01-31T12:30:00.000Z. If used the from and the to parameter has to be set. | |
carrier | string | IATA code of the operating carrierv. | |
flight-number | string | The (numeric part of) flight number of operating airlinev. | |
operational-suffix | string | Used to distinguish two flights having the same flight number and departing from their respective Origin Stations on the same date. | |
origin-date | string | The day of operation, i.e. local day of schedule off-block time in UTC at first departure airport of flight. e.g. 2020-01-31T12:30:00.000Z. | |
origin-iata-code | string | The IATA code of the departure airport. | |
destination-iata-code | string | The IATA code of the arrival airport. | |
event-type | string | The event type: | |
event-function | string | The event function: | |
secondary-identifier | string | A secondary identifier given to the container tag. | |
location | string | Location of the event to search for. | |
source | string | Source of the event to search for. | |
max-results | string | The maximum number of results. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"activity":{"function":"\u003cstring\u003e","source":"TRA Scanner 12","timestamp":"\u003cdateTime\u003e","type":"\u003cstring\u003e","location":"TRA_14","container-number":"\u003cstring\u003e","container-type":"ULD","container-subtype":"AKE","commodity-code":"BTA1"},"event-type":"\u003cstring\u003e","segments":[{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"\u003cstring\u003e","origin-date":"\u003cdate\u003e","origin-iata-code":"AAA","operational-suffix":"B"},"sequence-number":"\u003cinteger\u003e"},{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"\u003cstring\u003e","origin-date":"\u003cdate\u003e","origin-iata-code":"AAA","operational-suffix":"B"},"sequence-number":"\u003cinteger\u003e"}],"tag":"AKE12345678","meta":{"created-at":"2004-09-15T17:27:36.814Z","created-by":{"user-id":"ex proident minim commodo","user-name":"proident labore aute"},"modified-count":16392206,"modified-at":"1994-03-05T11:08:38.515Z","tag-id":"EFGH-5678"},"tag-id":"EFGH-5678","secondary-identifiers":[{"created":"\u003cdateTime\u003e","identifier":"\u003cstring\u003e","source":"\u003cstring\u003e"}]},{"activity":{"function":"\u003cstring\u003e","source":"TRA Scanner 12","timestamp":"\u003cdateTime\u003e","type":"\u003cstring\u003e","location":"TRA_14","container-number":"\u003cstring\u003e","container-type":"ULD","container-subtype":"AKE","commodity-code":"BTA1"},"event-type":"\u003cstring\u003e","segments":[{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"\u003cstring\u003e","origin-date":"\u003cdate\u003e","origin-iata-code":"AAA","operational-suffix":"B"},"sequence-number":"\u003cinteger\u003e"},{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"\u003cstring\u003e","origin-date":"\u003cdate\u003e","origin-iata-code":"AAA","operational-suffix":"B"},"sequence-number":"\u003cinteger\u003e"}],"tag":"AKE12345678","meta":{"created-at":"1989-08-22T07:09:42.248Z","created-by":{"user-id":"consequat ullamco est dolor","user-name":"voluptate anim ipsum ex Lorem"},"modified-count":-23010738,"modified-at":"1992-12-04T07:49:11.497Z","tag-id":"EFGH-5678"},"tag-id":"EFGH-5678","secondary-identifiers":[{"created":"\u003cdateTime\u003e","identifier":"\u003cstring\u003e","source":"\u003cstring\u003e"}]}]