Location service. (1.0.0)

Download OpenAPI specification:

License: MIT

API for the location service.

Location

Fetches location data from the db. If request body is empty then all location items are returned.

Fetches location data from the db. If request body is empty then all location items are returned.

Authorizations:
None
Request Body schema: application/json
optional
stringSearch
string

A general string search param. Is matched against locode, location name and portcode.

Responses

Request samples

Content type
application/json
{
  • "stringSearch": "string"
}

Response samples

Content type
application/json
[
  • {
    }
]

Checks if locode exists in db.

Checks if locode exists in db.

Authorizations:
None
query Parameters
locode
required
string

Locode to check.

Responses

Response samples

Content type
application/json
true