Get Location by ID

​

Retrieves an existing Location by its unique identifier. Returns the location details including current status and bound charge information.

Path Parameters
  • id
    Type: string Format: uuid
    required

    Unique identifier of the location

Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/api/loc/{id}
curl http://localhost:8080/api/loc/2a8cbd7d-0c7b-4a69-a1e1-4a19e8b7a2aa \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "id": "string",
  "location": "string",
  "tipoCob": "cob",
  "status": "ACTIVE",
  "txid": "string",
  "criacao": "2026-09-16T19:14:18.660Z"
}