http://api.cnxs.us-east-1.elasticbeanstalk.com/
v1
"Authorization: bearer {API_KEY}"
Atributo
Type
extra
name
string
company_id
integer
email
string
phone
string
document
string
rg, cpf
expire_date
datetime
2019-04-01 03:00:00
active
boolean
language
string
pt-BR, es, en
get '/users' ?company_id=
get '/users/:id'
post '/users'
put '/users/:id'
delete '/users/:id'
Atributo
Type
extra
name
string
owner_id
integer
id de usuário proprietário desta empresa
financial_id
integer
id da empresa Financeira / Pagante
email
string
phone
string
document
string
cpf, cpnj
get '/companies'
put '/companies/:id'
post '/companies'
put '/companies/:id'
delete '/companies/:id'
Atributo
Type
extra
name
string
company_id
integer
plate
string
mark
string
car_model
string
year
string
color
string
fuel
string
fipe
string
código na tabela FIPE
description
text
active
boolena
get '/vehicles' ?company_id=
get '/vehicles/:id'
post '/vehicles'
put '/vehicles/:id'
delete '/vehicles/:id'
Model Tracker - Rastreador
Atributo
Type
extra
uin
string
UIN / IMEI do rastreador
company_id
integer
owner_id
integer
Id do usuário proprietario
name
string
description
text
Anotações gerais
active
boolena
get '/trackers' ?company_id=
get '/trackers/:uin'
post '/trackers'
put '/trackers/:uin'
delete '/trackers/:id'