Fetches location data from the db. If request body is empty then all location items are returned.
| stringSearch | string A general string search param. Is matched against locode, location name and portcode. |
{- "stringSearch": "string"
}[- {
- "locode": "string",
- "createdOn": null,
- "lastUpdatedOn": null,
- "locationNameWithDiacritics": "string",
- "locationNameWithoutDiacritics": "string",
- "countryCode": "string",
- "type": 0,
- "coordinates": {
- "latitude": null,
- "longitude": null
}, - "UNECEFunctions": [
- "string"
], - "portFacilities": [
- {
- "name": "string",
- "description": "string",
- "code": "string",
- "coordinates": {
- "latitude": null,
- "longitude": null
}
}
]
}
]