GET
/locations/{code}
curl \
-X GET https://soget-api-integration.azure-api.net/api-referential-unitary/v1/locations/{code} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Ocp-Apim-Subscription-Key: $API_KEY"
Response examples (200)
{
"code": "FRLEH",
"name": "Le Havre",
"type": 248,
"country": "FRA",
"parent": "FRLEH"
}
Response examples (400)
{
"status": "400",
"timestamp": "2022-10-18T14:53:52.239Z",
"code": "R001",
"message": "Information not found."
}