Skip to main content
GET
/
corridas
/
{id}
/
condutor
/
posicao
Consultar posição do condutor na corrida
curl --request GET \
  --url https://api-vendas.taximachine.com.br/api/v2/integracao/corridas/{id}/condutor/posicao \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'api-key: <api-key>'
{
  "success": true,
  "data": {
    "lat_condutor": "-23.256762417",
    "lng_condutor": "-45.896997749"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

api-key
string
header
required

Obrigatório. Sua chave API.

Path Parameters

id
integer
required

Identificador interno da corrida.

Response

200 - application/json

Sucesso

The response is of type object.