# Get location information. **GET /locations/{code}** Sample request: `GET /locations/FRLEH` ## Servers - https://soget-api-integration.azure-api.net/api-referential-unitary/v1: https://soget-api-integration.azure-api.net/api-referential-unitary/v1 () ## Parameters ### Path parameters - **code** (string) Location code ## Responses ### 200 Successful operation #### Body: application/json (object) - **code** (string | null) Code of the location - **name** (string | null) Name of the location - **type** (integer(int32)) Type of location - **country** (string | null) Three letter code of country - **parent** (string | null) Code of the parent location
eg. Parent of MTDF (Terminal de France) is FRLEH (Le Havre) - **Additional properties are NOT allowed** () ### 400 Unexpected error #### Body: application/json (object) - **status** (string | null) Error status - **timestamp** (string(date-time)) Error date - **code** (string | null) Error code
- R101 : The container size type is unfound.
- R102 : The country code is unfound.
- R103 : The document type is unfound.
- R104 : The location code is unfound.
- R105 : The location type is unfound.
- R106 : The packaging code is unfound.
- R107 : The transport mode is unfound.
- R108 : The transport mean type is unfound.
- R109 : The event type is unfound.
- R110 : The UN/LOCODE is unfound.
- R111 : The actor is unfound.
- R112 : The dangerous code is unfound. - **message** (string | null) Error message - **Additional properties are NOT allowed** () [Powered by Bump.sh](https://bump.sh)