Query container events based on given search criteria.
GET {{baseUrl}}/containertags/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>&tag-id=<string>&tag-id=<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 carrier. | |
Flight-number | string | The (numeric part of) flight number of operating airline. | |
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. | |
tag-id | string | One or more bag-tag-ids. If searching for events of a bagTag pass in bag-tag-id and all merged-bag-tag-id to find all events, even merged ones. | |
tag-id | string | One or more bag-tag-ids. If searching for events of a bagTag pass in bag-tag-id and all merged-bag-tag-id to find all events, even merged ones. | |
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":"REGISTER","source":"TRA Scanner 12","timestamp":"1991-01-19T19:42:56.264Z","type":"REGISTRATION","location":"TRA_14","container-number":"irure ad consectetur nisi","container-type":"ULD","container-subtype":"AKE","commodity-code":"BTA1"},"event-type":"ad sint","segments":[{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"pariatur eiusmod","origin-date":"2010-08-12","origin-iata-code":"AAA","operational-suffix":"B"},"sequence-number":14471562},{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"in labore ad enim","origin-date":"1948-10-09","origin-iata-code":"AAA","operational-suffix":"B"},"sequence-number":40394085}],"tag":"AKE12345678","meta":{"created-at":"1995-08-11T00:10:24.532Z","created-by":{"user-id":"irure velit aliquip in","user-name":"do consequat ut laborum"},"modified-count":2197149,"modified-at":"2017-01-16T11:59:36.178Z","tag-id":"EFGH-5678"},"tag-id":"EFGH-5678","secondary-identifiers":[{"created":"1991-07-19T18:47:38.499Z","identifier":"aute et tempor consectetur","source":"eiusmod exercitation"},{"created":"2008-10-10T23:26:15.899Z","identifier":"exercitatio","source":"id esse adipisicing"}]},{"activity":{"function":"REGISTER","source":"TRA Scanner 12","timestamp":"1959-10-03T15:33:25.159Z","type":"REGISTRATION","location":"TRA_14","container-number":"quis enim cillum velit","container-type":"ULD","container-subtype":"AKE","commodity-code":"BTA1"},"event-type":"amet Ex","segments":[{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"vo","origin-date":"1990-02-02","origin-iata-code":"AAA","operational-suffix":"B"},"sequence-number":51099857},{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"est enim magna Duis","origin-date":"2019-06-29","origin-iata-code":"AAA","operational-suffix":"B"},"sequence-number":91848758}],"tag":"AKE12345678","meta":{"created-at":"1993-09-23T20:33:34.287Z","created-by":{"user-id":"culpa et","user-name":"incididunt nostrud"},"modified-count":90709558,"modified-at":"1959-04-24T11:32:04.122Z","tag-id":"EFGH-5678"},"tag-id":"EFGH-5678","secondary-identifiers":[{"created":"2000-09-22T06:38:19.176Z","identifier":"in minim","source":"do nul"},{"created":"1952-12-20T07:09:41.806Z","identifier":"in adipisicing dolor culpa occaecat","source":"aliquip volupt"}]}]