Skip to main content
GET
/
corridas
/
empresas
/
{id}
/
centros-custo
Listar centros de custo da empresa
curl --request GET \
  --url https://api-vendas.taximachine.com.br/api/v2/integracao/corridas/empresas/{id}/centros-custo \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'api-key: <api-key>'
{
  "success": true,
  "data": [
    {
      "id": "1",
      "nome": "Administrativo",
      "limite_mensal": "10000.00"
    },
    {
      "id": "25",
      "nome": "CEO",
      "limite_mensal": "1500000.00"
    }
  ]
}

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 da empresa.

Query Parameters

pagina
integer

Página da listagem.

limite
integer

Quantidade de registros por página.

Response

200 - application/json

Sucesso

The response is of type object.