General Trafegus Webservice Guidelines:
http://customer.ip.address:port/ws_rest/public/api/viagem
http://customer.ip.address:port/ws_rest/public/api/transportador
http://customer.ip.address:port/ws_rest/public/api/embarcador
http://customer.ip.address:port/ws_rest/public/api/motorista
http://customer.ip.address:port/ws_rest/public/api/veiculo
http://customer.ip.address:port/ws_rest/public/api/pgr
http://customer.ip.address:port/ws_rest/public/api/ajudante
http://customer.ip.address:port/ws_rest/public/api/viagem/IdViagem
http://customer.ip.address:port/ws_rest/public/api/transportador/IdTransportador
http://customer.ip.address:port/ws_rest/public/api/embarcador/IdEmbarcador
http://customer.ip.address:port/ws_rest/public/api/motorista/IdMotorista
http://customer.ip.address:port/ws_rest/public/api/veiculo/IdVeiculo
http://customer.ip.address:port/ws_rest/public/api/ajudante/IdAjudante
http://customer.ip.address:port/ws_rest/public/api/pgr/IdPGR
Return carrier(s) information
To consult a specific carrier, add the ID(CPF)/CNPJ at the url:Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/transportador/123456
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/transportador?UltCodigo=123456
Note: When requested only one carrier the "transportador" key return will be just an object, not an array.
JSON Return
Return Shipper(s) Information
To consult a specific Shipper, add the CNPJ at the url:Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/embarcador/123456
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/embarcador?UltCodigo=123456
Note: When requested only one Shipper the "embarcador" key return will be just an object, not an array.
JSON Return
Return Driver(s) Information
To consult a specific driver, add the ID(CPF) at the url:Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/motorista/123456
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/motorista?UltCodigo=123456
Note: When requested only one driver the "motorista" key return will be just an object, not an array.
JSON Return
Return Assistant(s) Information
To consult a specific assistant, add the ID(CPF) at the url:Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/ajudante/123456
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/ajudante?UltCodigo=123456
Note: When requested only one assistant the "ajudante" key return will be just an object, not an array.
JSON Return
Return Vehicle(s) Information
To consult a specific vehicle, add the ID(PLACA) at the url:Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/veiculo/ABC0001
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/veiculo?UltCodigo=123456
Note: When requested only one vehicle the "veiculo" key return will be just an object, not an array.
JSON Return
Returns PGR(s) Information
Parameter | Required | Description |
---|---|---|
UltCodigo | YES | Id (id) of the last PGR. |
Documento | YES | Vehicle Carrier CNPJ. |
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/pgr/123456
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/pgr?UltCodigo=123456&Documento=010329231
Note: When requested only one PGR the "pgr" key return will be just an object, not an array.
JSON Return
Returns Shipment(s) Information
To consult a specific shipment, add the shipment id at the URL:Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/viagem/123456
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/viagem?UltCodigo=123456
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/viagem?DataFinalizacao=10/09/2018
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/viagem?DataInicioI=09/10/2018&DataInicioF=10/10/2018
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/viagem?DataEfetivacao=09/10/2018
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/viagem?DataFinalizacaoI=09/10/2018&DataFinalizacaoF=10/10/2018
Note: When requested only one shipment the "viagem" key return will be just an object, not an array.
JSON Return
Returns Invoices Information
Parameter | Required | Description |
---|---|---|
Viagem | YES | Shipment ID. |
Documento | YES | Company Document ID (CPF/CNPJ) associated to the shipment. |
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/viagemnotafiscal/123
Note: When requested only one invoice the "notasFiscais" key return will be just an object, not an array.
JSON Returns
[POST] http://customer.ip.address:port/ws_rest/public/api/viagem
Parameters to be sent:
Parameter | Level | Type | Required | Description |
---|---|---|---|---|
viag_codigo_externo | 0 | Integer | NO | Customer Shipment ID |
viag_ttra_codigo | 0 | Integer | YES | Transport Type (Check Constants In Documentation) |
viag_pgpg_codigo | 1 | Integer | YES | PGR for Shipment Control |
viag_carregado | 0 | String(1) | NO | Loaded Vehicle (Y/N) |
documento_transportador | 0 | String(30) | YES | Cargo Carrier Document ID (CPF/CNPJ) |
cnpj_emba | 0 | String(30) | NO | Cargo Shipper's CNPJ |
viag_numero_manifesto | 0 | String(100) | NO | Packing List Number |
viag_valor_merc_especifica | 0 | Float | NO | Specific Commodity Value |
viag_valor_merc_nao_especifica | 0 | Float | NO | Non-specific Commodity Value |
viag_previsao_inicio | 0 | Datetime (01/06/2015 00:00:00) | NO | Start Forecast Date/Time |
viag_previsao_fim | 0 | Datetime (01/06/2015 00:00:00) | NO | End Forecast Date/Time |
viag_valor_carga | 0 | Float | NO | Total Value of Charge |
viag_valor_ddr | 0 | Float | NO | DDR Value |
viag_peso_total | 0 | Float | NO | Total Weight of Cargo |
viag_distancia | 0 | Float | NO | Shipment Distance in KM |
viag_codigo_pai | 0 | Integer | NO | "Parent Shipment" Code |
viag_descricao_carga | 0 | String(500) | NO | Cargo Description |
viag_observacao | 0 | String(500) | NO | Shipment Observation |
viag_justificativa_liberacao | 0 | String(500) | NO | Shipment Release Justification |
ignorar_regras_pgrs | 0 | list (array) | NO | List of PGR items that should be ignored in PGR validation. To check which items can be ignored, consult the Trafegus technical team. |
veiculos | 0 | list (array) | YES | Vehicle Information, Can Associate Several In This Array |
placa | 1 | String(10) | YES | Shipment Vehicles Plate |
nro_liberacao | 1 | Integer | NO | Vehicle Release Number |
escolta | 1 | String(1) | NO | Escorting Vehicle (Y / N) |
quantidade_embarcada | 0 | Integer | NO | Amount Shipped to Vehicle |
motoristas | 1 | list (array) | NO | Driver Information, Can Associate Several In This Array |
cpf_moto | 1 | String(20) | NO | Shipment Driver ID(CPF) |
nro_liberacao | 1 | Integer | NO | Driver Release Number |
contatos | 1 | List (array) | NO | Driver contacts, can associate several in this array |
1 | String(100) | NO | Contact Email | |
fone1 | 1 | String(30) | NO | Contact Phone |
radio | 1 | String(50) | NO | Contact Radio |
ajudantes | 0 | List (Array) | NO | Assistants, Can Associate Several In This Array |
cpf_ajudante | 1 | String(20) | NO | Assistant ID(CPF) |
nro_liberacao | 1 | Integer | NO | Release Number |
contatos | 1 | List (Array) | NO | Assistant Contacts, Can Associate Several In This Array |
1 | String(100) | NO | Contact Email | |
fone1 | 1 | String(30) | NO | Contact Phone |
radio | 1 | String(50) | NO | Contact Radio |
terminais | 0 | List (Array) | NO | Shipment Terminals, Can Associate Several In This Array |
term_numero_terminal | 1 | String(30) | NO | Terminal Number |
tecn_tecnologia | 1 | String(50) | NO | Telematic |
tope_descricao | 1 | String(50) | NO | Operation Type |
tipos_produtos | 0 | List (Array) | NO | Shipment Product Types, Can Associate Several In This Array |
produto | 1 | String(50) | NO | Product Type |
valor | 1 | Float | NO | Shipment Product Value |
temperatura | 1 | object | NO | Temperature Control |
descricao | 1 | String(100) | NO | Temperature Description |
de | 1 | Integer | NO | Initial Temperature Range |
ate | 1 | Integer | NO | Final Temperature Range |
sensores | 1 | Integer | NO | Enter 0 to Apply to All Sensors |
sensor_01 | 1 | String(1) | NO | Applies Sensor Range 1 (Y / N) |
sensor_02 | 1 | String(1) | NO | Applies Sensor Range 2 (Y / N) |
sensor_03 | 1 | String(1) | NO | Applies Sensor Range 3 (Y / N) |
sensor_04 | 1 | String(1) | NO | Applies Sensor Range 4 (Y / N) |
sensor_05 | 1 | String(1) | NO | Applies Sensor Range 5 (Y / N) |
sensor_06 | 1 | String(1) | NO | Applies Sensor Range 6 (Y / N) |
sensor_07 | 1 | String(1) | NO | Applies Sensor Range 7 (Y / N) |
sensor_08 | 1 | String(1) | NO | Applies Sensor Range 8 (Y / N) |
sensor_09 | 1 | String(1) | NO | Applies Sensor Range 9 (Y / N) |
sensor_10 | 1 | String(1) | NO | Applies Sensor Range 10 (Y / N) |
rota_codigo | 0 | Integer | YES | Route Code |
coordenadas | 0 | String | YES | Route Encrypted Polyline in Google Maps Format |
rota_descricao | 0 | String | YES | Route Description |
origem | 0 | object | YES | Shipment Origin Information |
vloc_descricao | 1 | String(200) | YES | Description of Origin Place |
logradouro | 1 | String(200) | NO | Origin Street |
complemento | 1 | String(100) | NO | Origin Street Complement |
cep | 1 | String(8) | NO | Street's ZIP(CEP) Code (Use as an aid not to duplicate) |
numero | 1 | String(10) | NO | Origin Street Number |
bairro | 1 | String(100) | NO | Origin Neighborhood |
cida_descricao_ibge | 1 | String(100) | NO | City of Origin or IBGE Code (of city) |
sigla_estado | 1 | String(2) | NO | Acronym UF (State of the City) |
pais | 1 | String(50) | NO | Country |
refe_latitude | 1 | Float | NO | Origin Latitude |
refe_longitude | 1 | Float | NO | Origin Longitude |
refe_raio | 1 | Float | NO | Origin Radius |
refe_km | 1 | String(10) | NO | Origin Place in KM of highway |
refe_bandeira | 1 | String(50) | NO | Origin Place Flag |
associar_transportador | 1 | String(1) | NO | Associate as Carrier Origin (Y / N) |
contatos | 1 | List (Array) | NO | Origin Place Contacts |
2 | String(100) | NO | Contact Email | |
fone1 | 2 | String(30) | NO | Contact Phone |
radio | 2 | String(50) | NO | Contact Radio |
viag_data_consolidacao | 2 | Datetime (01/06/2015 00:00:00) | NO | Shipment Consolidation Date |
previsao_chegada | 2 | Datetime (01/06/2015 00:00:00) | NO | Expected Arrival at Origin |
previsao_inicio_espera | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Waiting Start Forecast |
previsao_fim_espera | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Waiting End Forecast |
previsao_inicio_carregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Charge Start Forecast |
previsao_fim_carregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Charge End Forecast |
previsao_inicio_descarregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Discharging Start Forecast |
previsao_fim_descarregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Discharging End Forecast |
previsao_saida | 2 | Datetime (01/06/2015 00:00:00) | NO | Exit Origin Forecast |
conhecimentos | 1 | List (Array) | NO | Shipment Bill of Lading Information |
vlco_numero | 2 | String(50) | YES | Bill of Lading Number |
vlco_cpf_cnpj | 2 | String(30) | NO | Bill of Lading Customer Document (CPF/CNPJ) |
vlco_valor | 2 | Float | YES | Bill of Lading Value |
notas_fiscais | 2 | List (Array) | NO | Bill of Lading Invoice Information |
vnfi_numero | 3 | String(20) | YES | Invoice Number |
vnfi_pedido | 3 | String(20) | NO | InvoiceOrder Number |
vnfi_valor | 3 | Float | YES | Invoice Monetary Value |
vnfi_data_fat | 3 | Datetime (01/06/2015 00:00:00) | NO | Invoice Billing Date |
vnfi_observacao | 3 | String(5000) | NO | Invoice Notes |
produtos | 3 | List (Array) | NO | Invoice Products/Items |
vpro_descricao | 4 | String(50) | YES | Invoice Product Description |
vpro_tipo | 4 | String(50) | YES | Product Type |
vpro_quantidade | 4 | Integer | YES | Product Amount |
vpro_valor | 4 | Float | YES | Product Value |
locais | 0 | List (Array) | NO | Shipment Locations, Can Associate Several In This Array |
vloc_descricao | 1 | String(200) | YES | Origin Place Description |
tipo_parada | 1 | integer | NO | Inform the code of the "stop type" of the place "Ex: 1 - If the place is a Stop, 2 - If the place is a Collection...", consult the method "Stop type parameters" present in the documentation |
tipo_local | 1 | integer | NO | Inform the code of the "type of location" of the location "Ex: 1 - If the location is an Area of risk, 2 - If the location is an allowed point...", consult the method "Type of location parameters" present in the documentation |
logradouro | 1 | String(200) | NO | Origin Street |
complemento | 1 | String(100) | NO | Origin Street Complement |
cep | 1 | String(8) | NO | Street's ZIP(CEP) Code (Use as an aid not to duplicate) |
numero | 1 | String(10) | NO | Origin Street Number |
bairro | 1 | String(100) | NO | Origin Neighborhood |
cida_descricao_ibge | 1 | String(100) | NO | City of Origin or IBGE Code (of city) |
sigla_estado | 1 | String(2) | NO | Acronym UF |
pais | 1 | String(50) | NO | Country |
refe_latitude | 1 | Float | NO | Origin Latitude |
refe_longitude | 1 | Float | NO | Origin Longitude |
refe_raio | 1 | Float | NO | Origin Radius |
refe_km | 1 | String(10) | NO | Origin Place in KM of highway |
refe_bandeira | 1 | String(50) | NO | Origin Place Flag |
associar_transportador | 1 | String(1) | NO | Associate as Carrier Origin (Y / N) |
contatos | 1 | List (Array) | NO | Origin Place Contacts |
2 | String(100) | NO | Contact Email | |
fone1 | 2 | String(30) | NO | Contact Phone |
radio | 2 | String(50) | NO | Contact Radio |
previsao_chegada | 2 | Datetime (01/06/2015 00:00:00) | NO | Expected Arrival at Origin |
previsao_inicio_espera | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Waiting Start Forecast |
previsao_fim_espera | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Waiting End Forecast |
previsao_inicio_carregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Charge Start Forecast |
previsao_fim_carregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Charge End Forecast |
previsao_inicio_descarregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Discharging Start Forecast |
previsao_fim_descarregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Discharging End Forecast |
previsao_saida | 2 | Datetime (01/06/2015 00:00:00) | NO | Exit Origin Forecast |
conhecimentos | 1 | List (Array) | NO | Shipment Bill of Lading Information |
vlco_numero | 2 | String(50) | YES | Bill of Lading Number |
vlco_cpf_cnpj | 2 | String(30) | NO | Bill of Lading Customer Document |
vlco_valor | 2 | Float | YES | Bill of Lading Value |
notas_fiscais | 2 | List (Array) | NO | Bill of Lading Invoice Information |
vnfi_numero | 3 | String(20) | YES | Invoice Number |
vnfi_pedido | 3 | String(20) | NO | Client Order Number |
vnfi_valor | 3 | Float | YES | Invoice Value |
vnfi_data_fat | 3 | Datetime (01/06/2015 00:00:00) | NO | Invoice Billing Date |
vnfi_observacao | 3 | String(5000) | NO | Invoice Notes |
produtos | 3 | List (Array) | NO | Invoice Products |
vpro_descricao | 4 | String(50) | YES | Invoice Product Description |
vpro_tipo | 4 | String(50) | YES | Product Type |
vpro_quantidade | 4 | Integer | YES | Product Quantity |
vpro_valor | 4 | Float | YES | Product Value |
destino | 0 | object | YES | Shipment Destination Information |
vloc_descricao | 1 | String(200) | YES | Origin Place Description |
logradouro | 1 | String(200) | NO | Origin Street |
complemento | 1 | String(100) | NO | Origin Street Complement |
cep | 1 | String(8) | NO | Street's ZIP(CEP) Code (Use as an aid not to duplicate) |
numero | 1 | String(10) | NO | Origin Street Number |
bairro | 1 | String(100) | NO | Origin Neighborhood |
cida_descricao_ibge | 1 | String(100) | NO | City of Origin or IBGE Code (of city) |
sigla_estado | 1 | String(2) | NO | Acronym UF |
pais | 1 | String(50) | NO | Country |
refe_latitude | 1 | Float | NO | Origin Latitude |
refe_longitude | 1 | Float | NO | Origin Longitude |
refe_raio | 1 | Float | NO | Origin Radius |
refe_km | 1 | String(10) | NO | Origin Place in KM of highway |
refe_bandeira | 1 | String(50) | NO | Origin Place Flag |
associar_transportador | 1 | String(1) | NO | Associate as Carrier Origin (Y / N) |
contatos | 1 | List (Array) | NO | Origin Place Contacts |
2 | String(100) | NO | Contact Email | |
fone1 | 2 | String(30) | NO | Contact Phone |
radio | 2 | String(50) | NO | Contact Radio |
previsao_chegada | 2 | Datetime (01/06/2015 00:00:00) | NO | Expected Arrival at Origin |
previsao_inicio_espera | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Waiting Start Forecast |
previsao_fim_espera | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Waiting End Forecast |
previsao_inicio_carregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Charge Start Forecast |
previsao_fim_carregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Charge End Forecast |
previsao_inicio_descarregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Discharging Start Forecast |
previsao_fim_descarregamento | 2 | Datetime (01/06/2015 00:00:00) | NO | Origin Discharging End Forecast |
previsao_saida | 2 | Datetime (01/06/2015 00:00:00) | NO | Exit Origin Forecast |
conhecimentos | 1 | List (Array) | NO | Shipment Bill of Lading Information |
vlco_numero | 2 | String(50) | YES | Bill of Lading Number |
vlco_cpf_cnpj | 2 | String(30) | NO | Bill of Lading Customer Document |
vlco_valor | 2 | Float | YES | Bill of Lading Value |
notas_fiscais | 2 | List (Array) | NO | Bill of Lading Invoices Information |
vnfi_numero | 3 | String(20) | YES | Invoice Number |
vnfi_pedido | 3 | String(20) | NO | Order Number |
vnfi_valor | 3 | Float | YES | Invoice Monetary Value |
vnfi_data_fat | 3 | Datetime (01/06/2015 00:00:00) | NO | Invoice Billing Date |
vnfi_observacao | 3 | String(5000) | NO | Invoice Notes |
produtos | 3 | List (Array) | NO | Invoice Products |
vpro_descricao | 4 | String(50) | YES | Invoice Product Description |
vpro_tipo | 4 | String(50) | YES | Product Type |
vpro_quantidade | 4 | Integer | YES | Product Quantity |
vpro_valor | 4 | Float | YES | Product Monetary Value |
simular_sm | 0 | Boolean | NO | Defines whether to generate an SM or just do a simulation to record the data |
Notes:
The "Level" column represents the alignment of XML / JSON tags and their sublevels.
For shipments sent without automatic routing and without route, only with locations, if the geolocator does not find any location, it will be registered in the shipment with latitude/longitude zero and will return "warning" for information.
JSON submission example for Trafegus system shipments (This method allows multiple shipments to be sent).
[POST] http://customer.ip.address:port/ws_rest/public/api/transportador
Parameters to be sent:
Parameter | Type | Required | Description | |
---|---|---|---|---|
documento_transportador | text (30) | YES | Carrier ID(CPF)/CNPJ | |
nome | Text (50) | YES | Carrier Name | |
razao_social | Text (100) | NO | Carrier Corporate Name | |
ie_rg | Text (20) | NO | RG (natural person) or IE (legal entity) | |
logradouro | Text (200) | NO | Description of the Street | |
cep | Text (8) | NO | Street ZIP(CEP) Code | |
numero | Text (50) | NO | Street Number | |
complemento | Text (100) | NO | Street Neighborhood Description | |
bairro | Text (100) | NO | Street Neighborhood Description | |
cidade | Text (100) | NO | City of Origin or IBGE Code (according to IBGE standard table) | |
sigla_estado | Text (2) | NO | Street State Acronym | |
pais | Text (50) | NO | Country | |
documento_matriz | Text (30) | NO | Carrier Matrix ID(CPF)/CNPJ | |
senha | Texto (20) | NO | Carrier Password | |
roteiriza_automatico_sm | Integer | NO | Uses Automatic Routing in SM (0 no, 1 yes) | |
associa_motorista_sm | Integer | NO | Automatically Associate Drivers With the SM Carrier (0 no, 1 yes). Enter "1" by default. | |
associa_veiculo_sm | Integer | NO | Automatically Associate Vehicles With SM Carrier (0 no, 1 yes). Enter "1" by default. | |
contatos | List (Array) | NO | Driver Contacts | |
String(100) | NO | Contact Email | ||
fone1 | String(30) | NO | Contact Phone | |
Texto | String(100) | NO | Contact Name | |
embarcadores | List (Array) | NO | Shipper to link |
Request to send Carrier's data:
Return on Success:
Return on Error:
[POST] http://customer.ip.address:port/ws_rest/public/api/embarcador
Parameters to be sent:
Parameter | Type | Required | Description | |
---|---|---|---|---|
cnpj_embarcador | Text (30) | YES | Shippers CNPJ | |
nome | Text (50) | YES | Shippers Name | |
razao_social | Text (100) | NO | Shippers Corporate Name | |
ie | Text (20) | NO | Shippers State Registration | |
logradouro | Text (200) | NO | Street Description | |
cep | Text (8) | NO | Street ZIP(CEP) Code | |
numero | Text (50) | NO | Street Street Number | |
complemento | Text (100) | NO | Street Neighborhood Description | |
bairro | Text (100) | NO | Street Neighborhood Description | |
cidade | Text (100) | NO | City of Origin or IBGE Code (according to IBGE standard table) | |
sigla_estado | Text (2) | NO | Street State Acronym | |
pais | Text (50) | NO | Country | |
cnpj_matriz | Text (30) | NO | Shippers Matrix ID(CPF)/CNPJ | |
roteiriza_automatico_sm | Integer | NO | Uses Automatic Routing in SM (0 no, 1 yes) | |
associa_motorista_sm | Integer | NO | Automatically Associate Drivers With the SM Carrier (0 no, 1 yes). Enter "1" by default. | |
associa_veiculo_sm | Integer | NO | Automatically Associate Vehicles With SM Carrier (0 no, 1 yes). Enter "1" by default. |
Request to send Shipper's data:
Return on Success:
Return on Error:
[POST] http://customer.ip.address:port/ws_rest/public/api/motorista
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
cpf_motorista | 0 | Text (20) | YES | Drivers ID(CPF) |
nome | 0 | Text (50) | YES | Drivers Name |
rg | 0 | Text (20) | NO | Drives RG |
logradouro | 0 | Text (200) | NO | Street Description |
cep | 0 | Text (8) | NO | Street ZIP(CEP) Code |
numero | 0 | Text (50) | NO | Street Street Number |
complemento | 0 | Text (100) | NO | Street Neighborhood Description |
bairro | 0 | Text (100) | NO | Street Neighborhood Description |
cidade | 0 | Text (100) | NO | Hometown or IBGE id (according to IBGE standard table) |
sigla_estado | 0 | Text (2) | NO | Street State Acronym |
pais | 0 | Text (50) | NO | Country |
nro_cnh | 0 | Text (25) | NO | Driver's CNH Number |
categoria_cnh | 0 | Text (10) | NO | Driver's CNH Category |
validade_cnh | 0 | Datetime (01/06/2015 00:00:00) | NO | Driver's CNH Validity |
senha | 0 | Text (15) | NO | Driver Password |
vigilante | 0 | Text (1) | NO | Vigilant (Y/N) |
nro_cnv | 0 | Integer | NO | Driver's CNV Number |
validade_cnv | 0 | Datetime (01/06/2015 00:00:00) | NO | CNV Validity |
nome_pai | 0 | String(100) | NO | Father's name |
nome_mae | 0 | String(100) | NO | Mother's name |
estado_civil | String(1) | NO | C: MARRIED S: SINGLE D: DIVORCED V: WIDOWER |
|
moto_registro_cnh | String(12) | NO | CNH Registration Number | |
moto_orgao_emissor_cnh | String(10) | NO | CNH Issuing Agency | |
moto_data_primeira_habilitacao | 0 | Datetime (01/06/2015 00:00:00) | NO | Date of First License |
moto_data_emissao | 0 | Datetime (01/06/2015 00:00:00) | NO | CNH Issue Date |
data_nasc | 0 | Datetime (01/06/2015 00:00:00) | NO | Birth Date |
rg_emissor | 0 | String(10) | NO | RG Issuing Agency |
rg_uf | 0 | String(2) | NO | RG Issuing Acronym Sender |
naturalidade_descricao_ibge | 0 | String(100) | NO | Hometown or IBGE Code (according to IBGE standard table) |
naturalidade_uf_sigla | 0 | String(2) | NO | Acronym State Naturalness |
cnh_seg | 0 | String(11) | NO | CNH Security Number |
cnh_uf | 0 | String(2) | NO | CNH Issuing Acronym Sender |
transportador | 0 | List (Array) | NO | Array of Carriers, Being Able to Associate Several in This Array |
documento_transportador | 1 | Text (30) | NO | Carriers ID(CPF)/CNPJ |
vinculo_contratual | 1 | Integer | NO | Type of Carrier Link. 1=fixed; 2=Aggregate; 3=Third |
contatos | 1 | List (Array) | NO | Driver Contacts, Can Associate Several In This Array |
1 | String(100) | NO | Contact Email | |
fone1 | 1 | String(30) | NO | Contact Phone |
Texto | 1 | String(100) | NO | Contact Name |
Request to send Driver's data:
Return on Success:
[POST] http://customer.ip.address:port/ws_rest/public/api/ajudante
The submit JSON is identical to the JSON in the Method SearchAssistant. (Multiple objects can be sent)
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
cpf_ajudante | 1 | String(20) | YES | Assistant ID(CPF) |
nome | 1 | String(50) | YES | Persons Name |
rg | 1 | String(20) | NO | Assistant RG |
logradouro | 1 | String(200) | NO | Street Description |
cep | 1 | String(8) | NO | Street ZIP(CEP) Code |
numero | 1 | String(50) | NO | Street Street Number |
complemento | 1 | String(100) | NO | Street Neighborhood Description |
bairro | 1 | String(100) | NO | Street Neighborhood Description |
cidade | 1 | String(100) | NO | City Description or City IBGE Code |
sigla_estado | 1 | String(2) | NO | Street State Acronym |
pais | 1 | String(50) | NO | Country |
nome_pai | 1 | String(100) | NO | Father's Name |
nome_mae | 1 | String(100) | NO | Mother's Name |
data_nasc | 1 | Datetime (01/06/2015 00:00:00) | NO | Date of Birth |
rg_emissor | 1 | String(10) | NO | RG Issuing Agency |
estado_civil | 1 | String(1) | NO | C: MARRIED S: SINGLE D: DIVORCED V: WIDOWER |
rg_uf | 1 | String(2) | NO | RG Sender State Acronym |
naturalidade_descricao_ibge | 1 | String(100) | NO | Hometown or IBGE Code (according to IBGE standard table) |
naturalidade_uf_sigla | 1 | String(2) | NO | Acronym State Naturalness |
contatos | 1 | List (Array) | NO | Assistant Contacts, Can Associate Several In This Array |
2 | String(100) | NO | Contact Email | |
fone1 | 2 | String(30) | NO | Contact Phone |
Texto | 2 | String(100) | NO | Contact name |
transportador | 1 | List (Array) | NO | Array of Carriers, Being Able to Associate Several in This Array |
documento_transportador | 2 | Text (30) | NO | Carriers ID(CPF)/CNPJ |
Return on Success
Return on Error:
[POST] http://customer.ip.address:port/ws_rest/public/api/veiculo
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
placa | 0 | Text (10) | YES | Vehicle License Plate |
tipo_veiculo | 0 | inteiro | YES | Vehicle Type. 1 = Cart; 2 = Tractor unit; 3 = Truck; 4 = Motorcycle; 5 = Loader; 6 = Ride Utility; |
frota | 0 | Text (10) | NO | Vehicle Fleet |
renavam | 0 | Text (10) | NO | Vehicle RENAVAM |
chassi | 0 | Text (50) | NO | Vehicle Chassis |
estacao_gr | 0 | Integer | NO | Tracking Station |
veic_pgpg_codigo | 0 | Integer | NO | PGR Code |
documento_proprietario | 0 | Text (30) | NO | Vehicle Owner's ID(CPF) / CNPJ |
documento_transportador | 0 | Text (30) | NO | Vehicle Carrier ID (CPF) / CNPJ |
documento_gestor | 0 | Text (30) | NO | Vehicle Fleet Manager ID(CPF) |
senha_proprietario | 0 | Text (20) | NO | Vehicle Owner Password |
senha_coacao | 0 | Text (20) | NO | Vehicle Duress Password |
modelo | 0 | Text (50) | NO | Vehicle Model |
marca | 0 | Text (50) | NO | Vehicle Brand |
cpf_motorista | 0 | Text (20) | NO | Vehicle Driver ID(CPF) |
ano_fabricacao | 0 | Text (4) | NO | Vehicle Manufacture Year |
ano_modelo | 0 | Text (4) | NO | Vehicle Model Year |
cor | 0 | Text (20) | NO | Vehicle Color |
tamanho | 0 | numeric | NO | Vehicle Size |
cidade_emplacamento | 0 | Text (100) | NO | City Plating or IBGE Code (according to IBGE standard table) |
sigla_estado | 0 | Text (2) | NO | Acronym UF (State of the City) |
pais | 0 | Text (50) | NO | Country |
telefone | 0 | Text (20) | NO | Vehicle Phone |
antt | 0 | Text (50) | NO | Vehicle ANTT |
rntc | 0 | Text (10) | NO | Vehicle RNTC |
crlv | 0 | Integer | NO | Vehicle CRLV |
capacidade_maxima | 0 | Integer | NO | Load Capacity |
unidade_medida | 0 | Constant | NO |
FAR = BUNDLE LIT = LITER QUI = KG PAL = PALLET MEC = CUBIC_METER QUI = KILOS UVO = VOLUME_UNITS |
tipo_unidade_medida | 0 | Constant | NO |
CAX = BOXES PAL = PALLETS |
tipo_carroceria | 0 | Constant | NO |
1 = AMBULANCE 2 = FANLIGHT 3 = SHIELDED 4 = BUGGY 5 = CLOSED CABIN 6 = OPEN CABIN 8 = CONVERTIBLE 9 = VAN 10 = JEEP 11 = TRAILER 12 = MOTORCYCLES 13 = SIDER |
combustivel | 0 | Constant | NO |
0 = GASOLINE 1 = ETHANOL 2 = DIESEL 3 = FLEX |
data_emissao | 0 | Datetime (01/06/2015 00:00:00) | NO | Document Issue Date |
observacao_veiculo | 0 | Text (5000) | NO | Vehicle Observation |
terminais | 0 | List (Array) | NO | Vehicle Terminals |
numero | 1 | Text (30) | NO | Vehicle Terminal Number |
tecnologia | 1 | String(50) | NO | Telematic |
cod_versao_tecnologia | 1 | Integer | NO | Technology version code. Priority will be given to this field when informed, otherwise the "technology" field will be used to search for the terminal. |
transportadores | 0 | List (Array) | NO | Carrier |
documento_transportador | 1 | Text (30) | NO | Carrier ID(CPF)/CNPJ |
vinculo_contratual | 1 | Integer | NO | Type of Link to the Carrier. 1=fixed; 2=Aggregate; 3=Third |
lista_observacao | 0 | list (array) | NO | Observations |
Request to send Vehicle's data:
Return on Success:
[POST] http://customer.ip.address:port/ws_rest/public/api/eventos
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
events | 0 | Array | YES | JSON main tag. |
tipo_evento | 1 | Integer | YES | Fixed Code, According to The Table of Types of Events That Can Be Generated. |
descricao | 1 | Text (100) | YES | Description of The Generated Event |
placa | 1 | Text (10) | YES | Vehicle License Plate |
numero_terminal | 1 | Text (30) | YES | Vehicle Device Number |
tecnologia | 1 | Text (50) | YES | Device Telematic Description |
data_bordo | 1 | Datetime (2018-10-02 11:34:29) | YES | Event Date on Board |
posicao | 1 | Text (200) | YES | Description of Event Location Position |
latitude | 1 | Text (15) | YES | Event Local Latitude |
longitude | 1 | Text (15) | YES | Event Local Longitude |
codigo_viagem | 1 | Integer | NO | Shipment ID |
Request to send Event's data:
Return on Success:
[POST] http://ip.do.cliente:porta/ws_rest/public/api/eventos/greenmile
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
0 | Array | Yes | Main json array | |
identificador | 1 | text(100) | Yes | From-to identifier of vehicles registered in the Green Mile license plate association wizard |
tipo_evento | 1 | text(10) | Yes | Event code that will be generated |
data_evento | 1 | text(50) | Yes | Event date, string must start in the format DD/MM/YYYY HH:MM |
latitude | 1 | text(19) | Yes | Location Latitude |
longitude | 1 | text(19) | Yes | Longitude of location |
Request to Send Event's Green Mile data:
Return in case of Success:
Return on Success, with exceptions:
Return in case of Error:
[POST] http://customer.ip.address:port/ws_rest/public/api/rota
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
rotas | 0 | Array | YES | JSON Main Tag. |
descricao | 1 | Text (500) | YES | Route Description |
distancia | 1 | Real | NO | Route Distance (Required When Entered Coordinates) |
coordenadas | 1 | Text | NO | Route Encrypted Polyline in Google Maps Format |
pontos_rota | 2 | Array | YES | Route Points |
descricao_local | 2 | Text (200) | YES | Place Description |
tipo_local | 2 | Integer | YES | Stop Type (Available in Stop Type Parameters) |
latitude | 2 | Text (15) | NO | Place Latitude |
longitude | 2 | Text (15) | NO | Place Longitude |
logradouro | 2 | Text (200) | NO | Place Street |
complemento | 2 | Text (100) | NO | Place Street Complement |
cep | 2 | Text (8) | NO | Place Street ZIP(CEP) Code |
numero | 2 | Text (50) | NO | Place Number |
bairro | 2 | Text (100) | NO | Place Neighborhood |
cidade_descricao_ibge | 2 | Text (100) | NO | City Description or IBGE Code |
sigla_estado | 2 | Text (2) | NO | Place Street State Acronym |
pais | 2 | Text (50) | NO | Country |
raio | 2 | real | NO | Place Radius |
valores_frete | 1 | Array | NO | Freight values for the route. |
tipo_veiculo | 2 | Integer | YES | Vehicle type. |
tipo_carroceria | 2 | Integer | YES | Body type. |
valor_frete_fechado | 2 | float | NO | Closed freight value. |
valor_frete | 2 | float | NO | Freight value. |
valor_pedagio | 2 | float | NO | Toll value. |
valor_ajudante | 2 | float | NO | Helper value. |
valor_motorista_adicional | 2 | float | NO | Additional driver fee. |
valor_fiscais_adicionais | 2 | float | NO | Tax value. |
valor_km_adicionais | 2 | float | NO | Additional KM value. |
You must enter Latitude and Longitude, otherwise enter all other data for the detail of the street. |
Request to send Route's data:
Return on Success:
[POST] http://customer.ip.address:port/ws_rest/public/api/pgr
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
pgr | 0 | Array | YES | JSON Main Tag. |
descricao | 1 | Text (100) | YES | PGR Description |
pgr_padrao | 1 | Integer | NO | Default PGR to Use as Template for Cloning Detail and Action Settings |
valor_minimo | 1 | Real | NO | PGR Minimum Value |
valor_maximo_especifico | 1 | Real | NO | PGR Specific Maximum Value |
valor_total | 1 | Real | NO | PGR Total Maximum Value |
grau_risco | 1 | Integer | NO | 1 = Very High; 2 = High; 3 = Medium; 4 = Low; 5 = Not Relevant |
versoes | 2 | Array | NO | Telematics Versions |
codigo_versao_tecnologia | 2 | Integer | NO | Telematic Version According to SearchTelematicVersions [GET] Method |
sublimites | 2 | Array | NO | Product Sublimite |
tipo_produto | 2 | Text (50) | NO | Product Type Description |
valor_maximo | 2 | Real | NO | Maximum Value of This Product Type |
Request to send PGR's data:
Return on Success:
[POST] http://customer.ip.address:port/ws_rest/public/api/historico-pesquisa
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
TipoObjeto | 1 | Text (2) | YES | Search Object Type (Available in The Documentation on The Search Object Type) |
Documento | 1 | Text (50) | YES | Search Owner Carrier Document |
Objeto | 1 | Text (50) | YES | Research Object (License Plate / CPF / CNPJ) |
Status | 1 | Text (2) | YES | Research Status (Available in The Search Status Documentation) |
TipoValidade | 1 | Text (2) | YES | Research Expiration Type by Date or Shipment, Listed in "DT" or "VI" |
FornecedorPesquisa | 1 | Integer | YES | Research Provider (Available in The Documentation From The Search Provider) |
NumeroLiberacao | 1 | Text (50) | NO | Research Number Description |
DataValidade | 1 | Datetime (2018-10-02 11:34:29) | NO | Research Expiration Date |
Request to send Research's data:
Note: If the carrier and the object are not linked, a link will be created automatically upon successful request. This applies to the types "MO", "VC", "VM", and "AJ".
[POST] http://customer.ip.address:port/ws_rest/public/api/area
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
areas | 0 | Array | YES | JSON main tag. |
area_descricao | 1 | Text (200) | YES | Area description. |
classe_referencia | 1 | Text (50) | YES | Reference class description. |
area_pontos | 1 | Array | YES | List of geographic points. Minimum 3 points |
latitude | 2 | Text (15) | YES | Point Latitude. |
longitude | 2 | Text (15) | YES | Point Longitude. |
Request to send Points data:
Return on Success:
[POST] http://customer.ip.address:port/ws_rest/public/api/naoconformidademotorista
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
doc_cliente_suspensao | 0 | string | YES | CNPJ/CPF company generating the suspension. |
cpf_motorista | 0 | string | YES | Driver's CPF for the suspension. |
bloqueado_ate | 0 | Date/Time | NO | Deadline for the suspension to be effective. Retroactive dates to the suspension creation date are not allowed. Format: DD/MM/YYYY HH:MM |
necessita_liberacao | 0 | string | NO | Parameter for driver release, accepting only 3 values: "NAO" (no), "ELEARNING" (e-learning), and "PRESENCIAL" (in-person) |
doc_transportador | 0 | string | NO | CNPJ/CPF carrier sending the request. |
motivo_suspensao | 0 | Array | NO | Array of suspension reasons descriptions listed on the web environment |
descricao | 1 | string | NO | Suspension reason description |
observacao | 0 | string (200) | NO | Non-Conformity observation. |
motivo_interno | 0 | string (200) | NO | Non-Conformity internal reason. |
codigo_modulo_elearning | 0 | integer | YES | E-Learning Module Code (obtained from the GET /moduloelearning method). This field is mandatory if the "necessita_liberacao" tag is filled as "E-LEARNING". |
Request to send Driver Non-Conformity data:
Return on Success:
[POST] http://customer.ip.address:port/ws_rest/public/api/moduloselearning
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
nome_modulo | 0 | string | YES | E-Learning Module name. |
status | 0 | string | YES | E-Learning Module status, accepting values "ATIVO" (active) or "INATIVO" (inactive). |
Request to send E-Learning Modules:
Return on Success:
Method responsible for registering new Checklists.
[POST] http://ip.do.cliente:porta/ws_rest/public/api/checklist
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
ativo | 0 | String(1) | No | If the checklist will be active (Y, N) |
aprovado | 0 | String(1) | No | If the Checklist will be approved (Y, N) |
env_email | 0 | String(1) | No | Send data by email (Y, N) |
placa | 0 | String(10) | Yes | Motor vehicle license plate |
terminal | 0 | Object | Yes | Terminal data |
numero_terminal | 1 | String(10) | Yes | Terminal number |
versao_tecnologia | 1 | Integer | Yes | Technology version |
placa_carreta | 0 | String(10) | No | Trailer plate, send only one trailer |
documento_proprietario | 0 | String(14) | Yes | Vehicle owner |
documento_solicitante | 0 | String(14) | No | Checklist requester |
cpf_motorista | 0 | String(11) | No | Driver's document |
cod_viagem | 0 | Integer | No | Trip code |
responsavel | 0 | String(100) | No | Responsible for the Checklist |
tipo_checklist | 0 | String(2) | Yes | RO: Routine, PM: Post-maintenance, PC: Preload, TF: Cold Test |
data_validade | 0 | Datetime(dd/mm/YYY H:i:s) | Yes | Checklist expiration date |
documento_transportador | 0 | String(14) | Yes | Carrier document |
documento_embarcador | 0 | String(14) | Yes | Shipper's document |
motivo_recusa | 0 | String(200) | No | Reason for refusing the checklist |
acessorios | 0 | Array | No | Accessory data list |
codigo | 1 | Integer | Yes | Accessory code |
instalado | 1 | String(1) | No | Installed(Y, N) |
funcionando | 1 | String(1) | No | Working(Y, N) |
problema | 1 | String(50) | No | Problem description |
perifericos | 0 | Array | No | Peripheral data list |
codigo | 1 | Integer | Yes | Peripheral code |
instalado | 1 | String(1) | No | Installed(Y, N) |
funcionando | 1 | String(1) | No | Working(Y, N) |
problema | 1 | String(50) | No | Problem description |
Request to send data
Return in case of success:
Return in case of error:
Method responsible for registering new Users and update Users.
[POST] http://ip.do.cliente:porta/ws_rest/public/api/usuario
Parameters to be sent to register new user:
Parameter | Group | Type | Mandatory | Description |
---|---|---|---|---|
login | 0 | string(20) | Yes | User Login |
senha | 0 | string(30) | Yes | User Password |
documento_empresa | 0 | string(30) | Yes | User Company CPF/CNPJ |
codigo_perfil | 0 | integer | No | User Profile Code |
0 | string(10) | No | User Email | |
pessoa | 0 | object | - | Person Data |
nome | 1 | string(10) | Yes | User Name |
documento | 1 | string(10) | Yes | User CPF/CNPJ |
telefone | 1 | string(10) | No | User Phone |
Request to send data
Success Response:
Error Examples:
Validation Error:
Parameters to be sent to edit a user:
Parameter | Group | Type | Mandatory | Description |
---|---|---|---|---|
login | 0 | string(20) | Yes | User Login |
senha | 0 | string(30) | Yes | User Password |
documento_empresa | 0 | string(30) | Yes | User Company CPF/CNPJ |
codigo_perfil | 0 | integer | No | User Profile Code |
0 | string(10) | No | User Email | |
tempoSessaoWeb | 0 | integer | No | |
ativoPrestor | 0 | string(1) | No | Active Prestador |
ativoEC | 0 | string(1) | No | Active EC |
pessoa | 0 | object | - | Person Data |
nome | 1 | string(50) | Name | |
documento | 1 | string(14) | Yes | User CPF/CNPJ |
id | 1 | integer | No | |
status | 1 | integer | No | Status |
planoGr | 1 | integer | No | Plano GR |
cpf | 1 | string(14) | No | CPF |
cnpj | 1 | string(18) | No | CNPJ |
rg | 1 | string(20) | No | RG |
orgaoEmissor | 1 | string(10) | No | Issuing Agency |
estadoEmissorRg | 1 | integer | No | RG Issuing State |
sexo | 1 | integer | No | Gender |
dataNascimento | 1 | date (01/01/2000) | No | Birth Date |
dataAdmissao | 1 | date (01/01/2000) | No | Admission Date |
telefone | 1 | string(30) | No | Phone |
1 | string(255) | No | ||
nomeMae | 1 | string(100) | No | Mother's Name |
nomePai | 1 | string(100) | No | Father's Name |
empresa | 1 | integer | No | Company |
perfil | 1 | integer | No | Profile |
grupoVisualizacao | 1 | integer | No | Visualization Group |
ativoPrestor | 1 | string(1) | No | Active Prestor |
ativoEC | 1 | string(1) | No | Active EC |
identificadorEC | 1 | string(9) | No | EC Identifier |
tabelaEventosTipoOperacao_length | 1 | integer | No | Length of Event Type Operation Table |
tabelaEventosOperador_length | 1 | integer | No | Length of Operator Event Table |
tabelaEventosSupervisor_length | 1 | integer | No | Length of Supervisor Event Table |
Request to send data
Success Response:
Error Examples:
Validation Error:
[POST] http://ip.of.client:port/ws_rest/public/api/planogr/duplicar
Parameters to be sent:
Parameter | Type | Mandatory | Description |
---|---|---|---|
pgr | Int | Yes | Main JSON tag |
descricao | text (100) | No | Description of PGR |
Request for sending PGR data:
Success Response:
[PUT] http://customer.ip.address:port/ws_rest/public/api/viagem/IdViagem
It has the same parameters as the Send Shipment method. However, the id "IdViagem" must be sent.
It is not allowed to change more than one record at a time, so this information should not be sent within an array..
It is not allowed to change completed shipments, if the shipment is started will only change the Route or Places and the PGR of the shipment, if the shipment is scheduled you can change all fields of the shipment.
[PUT] http://customer.ip.address:port/ws_rest/public/api/viagem/IdViagem
Request to Update SM's/Shipment's Status:
The statuses allowed to change the shipment are: 1 = Effective; 2 = Canceled; 5 = Finished (any other ids will be rejected by the webservice).
It is not allowed to change more than one record at a time, so this information should not be sent within an array.
[PUT] http://customer.ip.address:port/ws_rest/public/api/viagemnotafiscal/IdNotaFiscal
Invoice Status Request::
The date format must be the same as the example above (any other formats will be rejected by the webservice).
It is not allowed to change more than one record at a time, so this information should not be sent within an array.
[PUT] http://customer.ip.address:port/ws_rest/public/api/rota/{route_id}
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
rotas | 0 | Object | YES | Main JSON Tag |
descricao | 1 | Text (200) | NO | Route Description |
identificador | 1 | Text (20) | NO | Route Identifier |
documento_dono | 1 | Text (20) | NO | Route Owner Document Number |
distancia | 1 | Real | NO | Route Distance (Mandatory when Coordinates are informed) |
coordenadas | 1 | Text | NO | Route Polyline in GoogleMaps format |
pontos_rota | 2 | Array | NO | Route Points |
descricao_local | 2 | Text (200) | NO | Location Description |
tipo_local | 2 | Integer | NO | Stop Type (available in Stop Type Parameters) |
latitude | 2 | Text (15) | NO | Location Latitude |
longitude | 2 | Text (15) | NO | Location Longitude |
logradouro | 2 | Text (200) | NO | Location Street |
complemento | 2 | Text (100) | NO | Street Complement |
cep | 2 | Text (8) | NO | Location Street ZIP Code |
numero | 2 | Text (50) | NO | Location Number |
bairro | 2 | Text (100) | NO | Location Neighborhood |
cidade_descricao_ibge | 2 | Text (100) | NO | City Description or IBGE Code |
sigla_estado | 2 | Text (2) | NO | Street State Abbreviation |
pais | 2 | Text (50) | NO | Country |
raio | 2 | Real | NO | Radius |
velocidade_media | 1 | Real | NO | Average Speed |
tempo_total_parado | 1 | Real | NO | Total Stop Time(min) |
tempo_tolerancia_atraso | 1 | Real | NO | Delay Tolerance Time(min) |
valores_frete | 1 | Array | NO | Freight Values |
tipo_veiculo | 2 | Integer | YES | Vehicle Type |
tipo_carroceria | 2 | Integer | YES | Bodywork Type |
valor_frete_fechado | 2 | Real | NO | Closed Freight Value |
valor_frete | 2 | Real | NO | Freight Value |
valor_pedagio | 2 | Real | NO | Toll Value |
valor_ajudante | 2 | Real | NO | Assistant Value |
valor_motorista_adicional | 2 | Real | NO | Additional Driver Value |
valor_fiscais_adicionais | 2 | Real | NO | Additional Fiscal Value |
valor_km_adicionais | 2 | Real | NO | Additional KM Value |
It is necessary to inform Latitude and Longitude, otherwise inform all other data for the street detail. |
Request to send Route data:
Return in case of Success
[PUT] http://customer.ip.address:port/ws_rest/public/api/transportador/IdTransportador
It has the same parameters as the Send Carrier method. However, the id "IdTransportador" must be sent.
It is not allowed to change more than one record at a time, so this information should not be sent within an array.
[PUT] http://customer.ip.address:port/ws_rest/public/api/embarcador/IdEmbarcador
It has the same parameters as the SendShipper method. However, the id "IdEmbarcador" must be sent.
It is not allowed to change more than one record at a time, so this information should not be sent within an array.
[PUT] http://customer.ip.address:port/ws_rest/public/api/motorista/IdMotorista
It has the same parameters as the SendDriver method. However, the id "IdMotorista" must be sent.
It is not allowed to change more than one record at a time, so this information should not be sent within an array.
[PUT] http://customer.ip.address:port/ws_rest/public/api/ajudante/IdAjudante
It has the same parameters as the SendAssistant method. However, the id "IdAjudante" must be sent.
It is not allowed to change more than one record at a time, so this information should not be sent within an array.
[PUT] http://customer.ip.address:port/ws_rest/public/api/veiculo/Placa
It has the same parameters as the SendVehicle method. However, the id "Placa" must be sent.
It is not allowed to change more than one record at a time, so this information should not be sent within an array.
[PUT] http://customer.ip.address:port/ws_rest/public/api/naoconformidademotorista/Non-ConformityCode
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
doc_cliente_suspensao | 0 | string | YES | CNPJ/CPF company generating the suspension. |
cpf_motorista | 0 | string | YES | Driver's CPF for the suspension. |
situacao | 0 | string | NO | non-Conformity status, wich can be: "BLOQUEADO", "LIBERADO", "LIBERADO PARA UMA SM" |
bloqueado_ate | 0 | Date/Time | NO | Deadline for the suspension to be effective. Retroactive dates to the suspension creation date are not allowed. Format: DD/MM/YYYY HH:MM |
necessita_liberacao | 0 | string | NO | Parameter for driver release, accepting only 3 values: "NAO" (no), "ELEARNING" (e-learning), and "PRESENCIAL" (in-person) |
doc_transportador | 0 | string | NO | CNPJ/CPF carrier sending the request. |
motivo_suspensao | 0 | Array | NO | Array of suspension reasons descriptions listed on the web environment |
descricao | 1 | string | NO | Suspension reason description |
observacao | 0 | string (200) | NO | Non-Conformity observation. |
motivo_interno | 0 | string (200) | NO | Non-Conformity internal reason. |
codigo_modulo_elearning | 0 | integer | YES | E-Learning Module Code (obtained from the GET /moduloelearning method). This field is mandatory if the "necessita_liberacao" tag is filled as "E-LEARNING". |
Request to update Driver Non-Conformity data:
Return on Success:
[PUT] http://customer.ip.address:port/ws_rest/public/api/moduloselearning/ELearningModuleCode
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
nome_modulo | 0 | string | YES | E-Learning Module name. |
status | 0 | string | YES | E-Learning Module status, accepting values "ATIVO" (active) or "INATIVO" (inactive). |
Request to update E-Learning Modules:
Return on Success:
[POST] http://client.ip:port/ws_rest/public/api/terminais
Parameters to be sent:
Parameter | Group | Type | Mandatory | Description |
---|---|---|---|---|
Array of objects | 0 | Array | Yes | Array of terminal objects |
terminal | 1 | Object | Yes | Terminal object |
codigo | 2 | int4 | Yes* | Terminal code in the Trafegus database; Mandatory if the "number" and "version_code" fields are not entered |
numero | 2 | varchar(30) | Yes* | Terminal number on the Trafegus base; Mandatory if the "code" field is not provided |
codigo_versao | 2 | int4 | Yes* | Technology version code in the Trafegus database; Mandatory if the "code" field is not provided |
ativo | 2 | varchar(1) | Yes | Active/inactive information to be updated on the terminal. Accepts "Y" or "N" regardless of upper or lower case |
Request for terminal activation/inactivation:
Return in case of success:
Return in case of Error:
Return in case of Success/Error:
Returns Positions information.
To query the positions of a specific vehicle, the following parameters must be entered in the URL:Parameter | Type | Required | Description |
---|---|---|---|
IdPosicao: | integer | Yes | Id (id) of the last position received (to fetch the ones after this id). |
Documento | text | No | Vehicle Carrier Document |
Documento | list(array) | No | Vehicle Carrier Document. Limit of 10 documents |
DocumentosProp | list(array) | No | Vehicle Owner Document. Limit of 10 documents |
Placa: | text | No | Vehicle License Plate |
Placas: | list(array) | No | Vehicle License Plates. Limit of 30 Plates. |
Qtde: | integer | No | Amount of record to be received (maximum 1000 if not entered maximum by default is 1000). |
CodViag: | integer | No | Shipment ID |
DataCadastroI: | date | No | Start Date (DD / MM / YYYY format) for registration period filter. |
DataCadastroF: | date | No | End Date (DD / MM / YYYY format) for registration period filter. |
SomenteUltimaPosicao: | integer | No | Search only the last position of the vehicle(s). (0 no, 1 yes) |
[GET] http://customer.ip.address:port/ws_rest/public/api/posicaoVeiculo?IdPosicao=999&Placa=ABC1234&DataCadastroI=01/05/2019&DataCadastroF=31/05/2019
[GET] http://customer.ip.address:port/ws_rest/public/api/posicaoVeiculo?IdPosicao=999&Placa=ABC1234
[GET] http://customer.ip.address:port/ws_rest/public/api/posicaoVeiculo?IdPosicao=999
It's highly recommended to insert the period filter.
JSON Return:
Returns Positions information
Parameters to be informed in the query:Parameter | Required | Description |
---|---|---|
IdPosicao: | YES | Id of the last location received (to fetch the ones after this id). |
Documento | YES | Vehicle Carrier CNPJ |
NumeroTerminal | NO | Device Number |
Tecnologia | NO | Device Telematic |
Qtde: | NO | Amount of Record to Be Received (maximum 1000 if not entered maximum by default is 1000). |
CodViag: | NO | Shipment ID. |
[GET] http://customer.ip.address:port/ws_rest/public/api/posicaoVeiculo?IdPosicao=01&NumeroTerminal=ONX0001&Tecnologia=ONIXSAT
[GET] http://customer.ip.address:port/ws_rest/public/api/posicaoVeiculo?IdPosicao=999
JSON Return
Returns Positions information
To query the positions of a specific vehicle, the following parameters must be entered in the URL:Parameter | Required | Description |
---|---|---|
IdPosicao: | YES | Id (id) of The Last Position Received (to fetch the ones after this id). |
Documento | YES | Vehicle Carrier CNPJ |
Placa: | NO | Vehicle License Plate |
Qtde: | NO | Amount of Record to Be Received (maximum 1000 if not entered maximum by default is 1000). |
CodViag: | NO | Shipment ID. |
[GET] http://customer.ip.address:port/ws_rest/public/api/ultimaPosicaoVeiculo?IdPosicao=999&Placa=ABC1234
[GET] http://customer.ip.address:port/ws_rest/public/api/ultimaPosicaoVeiculo?IdPosicao=999
JSON Return
Returns Positions information
Parameters to be informed in the query:Parameter | Required | Description |
---|---|---|
IdPosicao: | YES | Id of The Last Position Received (to fetch the ones after this id). |
Documento | YES | Vehicle Carrier CNPJ |
NumeroTerminal | NO | Terminal Number That is Positioning |
Tecnologia | NO | Device Telematic |
Qtde: | NO | Amount of Record To Be Received (maximum 1000 if not entered maximum by default is 1000). |
CodViag: | NO | Shipment ID. |
[GET] http://customer.ip.address:port/ws_rest/public/api/ultimaPosicaoVeiculo?IdPosicao=01&NumeroTerminal=ONX0001&Tecnologia=ONIXSAT
[GET] http://customer.ip.address:port/ws_rest/public/api/ultimaPosicaoVeiculo?IdPosicao=999
JSON Return
Return the last peripherals values
Parameters to be informed in the query:Parameter | Required | Description |
---|---|---|
Documento | NO | CPF/CNPJ Carrier of the vehicle (if traveling) or owner (not traveling) |
Placa | NO | Vehicle plate |
Qtde | NO | Number of records to be returned |
GrupoVisualizacao | NO | Optional filter to apply or not a filter per vehicle display group. Values 1= Apply Group. 0 = Do not apply. If this parameter is not entered, the visualization group filter will not be applied. |
PerifericosPadroes | NO | Optional filter in list format (array) to define which peripherals you want to return |
UltCodigo | NO | Code of the last record inserted (to search for records after this code). |
[GET]
http://ip.do.cliente:porta/ws_rest/public/api/ultimoperiferico
[GET] http://ip.do.cliente:porta/ws_rest/public/api/ultimoperiferico?Documento=111&PerifericosPadroes=[11,23,65]&Qtde=100&GrupoVisualizacao=1
JSON Return
Method to returns information about the vehicles tracking sensors.
For querying tracking sensors data of an specific vehicle must be informed the following parameter in the URL:Parameter | Required | Description |
---|---|---|
Placa: | YES | Tractor Unit Plate. |
UltCodigo: | YES | Id of the last record received (to fetch the records after this id in the next request). |
PlacaCarreta: | NO | Cart Plate |
NroTerminal: | NO | Tracker ID |
Perifericos: | NO | Array of default alerts IDs (obtained in the method BuscaListaPerifericoPadrao); |
DataCadastroI: | NO | Initial Date (format DD/MM/YYYY)for filtering the period of the alerts registration. |
DataCadastroF: | NO | Final date (format DD/MM/YYYY) for filtering the period of the alerts registration. |
[GET] http://ip.do.client:porta/ws_rest/public/api/periferico?UltCodigo=100&Placa=ABC1234
[GET] http://ip.do.client:porta/ws_rest/public/api/periferico?UltCodigo=100&Placa=ABC1234&PlacaCarreta=CAR2323&NroTerminal=188212&Perifericos=[20,25,31]&DataCadastroI=01/02/2021&DataCadastroF=02/02/2021
JSON Response
Method to return the default alert list pre-registered in the Trafegus system.
For querying the full list of Trafegus default alerts, the following parameters can be informed optionally in the URL:Parameter | Required | Description |
---|---|---|
Codigo: | NO | Trafegus default alert ID. |
Descricao: | NO | Default alert description. |
[GET] http://ip.do.cliente:porta/ws_rest/public/api/eventoperifericopadrao
[GET] http://ip.do.cliente:porta/ws_rest/public/api/eventoperifericopadrao?codigo=32
JSON Response
Returns Information about Telematics Versions
Parameters to Be Informed in The Query:Parameter | Required | Description |
---|---|---|
Tecnologia | NO | Telematic Description |
[GET] http://customer.ip.address:port/ws_rest/public/api/versaoTecnologia?Tecnologia=ONIXSAT
[GET] http://customer.ip.address:port/ws_rest/public/api/versaoTecnologia
JSON Return
Returns information about Consumer User Company Routes
Parameters to Be Informed in The Query:Parameter | Required | Description |
---|---|---|
UltCodigo | NO | Last Route ID Received (to fetch the ones after this id). |
RotaCodigo | NO | Route ID |
valores_frete | NO | Add route freight values |
At least one of the mentioned parameters must be passed, if the search is batch (UltCodigo) the batch is limited to 100 records. |
[GET] http://customer.ip.address:port/ws_rest/public/api/rota?RotaCodigo=123
[GET] http://customer.ip.address:port/ws_rest/public/api/rota?UltCodigo=1
[GET] http://ip.do.cliente:porta/ws_rest/public/api/rota?valores_frete=S
JSON Return
Returns information about events generated on the Trafegus system.
Parameters to be informed in the query:Parameter | Required | Description |
---|---|---|
UltCodigo | YES | Last event id Received (to fetch the ones after this id). |
Placa | NO | Vehicle License Plate |
CodViag | NO | Shipment ID |
tipoEvento | NO | The code of some event type |
[GET] http://customer.ip.address:port/ws_rest/public/api/eventos?UltCodigo=1&Placa=PLA0001&CodViag=141
[GET] http://customer.ip.address:port/ws_rest/public/api/eventos?UltCodigo=1
[GET]
http://costumer.ip.adress/ws_rest/public/api/eventos?UltCodigo=1&tipoEvento=[32, 18]
JSON Return
Returns information about the Non-Conformity generated in the Trafegus system
Parameters to be informed in the query:Parameter | Required | Description |
---|---|---|
UltCodigo | YES | Last Non-Conformity ID Received (to fetch later registers than this id). |
Placa | NO | Vehicle License Plate |
CodViag | NO | Shipment ID |
[GET] http://customer.ip.address:port/ws_rest/public/api/naoconformidades?UltCodigo=1&Placa=PLA0001&CodViag=141
[GET] http://customer.ip.address:port/ws_rest/public/api/naoconformidades?UltCodigo=1
JSON Return
Return Tracking Station(s) Information
Example to query tracking stations:Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/estacaoRastreamento
JSON Return
Returns Research(s) Information
Parameters to be informed in the query:Parameter | Required | Description |
---|---|---|
UltCodigo | YES | Last Research id Received (to fetch the ones after this id). |
Documento | NO | Research Owner Document |
Objeto | NO | Research Object (License Plate/ID(CPF)/CNPJ) |
To search for a specific Object you must also enter the Research Owner Document |
[GET] http://customer.ip.address:port/ws_rest/public/api/historico-pesquisa?UltCodigo=1
JSON Return
Returns fleet data information
Required:Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/frota?Documento=08879885554
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/frota?Tipo=UPOS
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/frota?DataInicio=01/01/2019 00:00:00&DataFim=02/01/2019 00:00:00
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/frota?Documento=08879885554&Tipo=UPOS&DataInicio=01/01/2019 00:00:00&DataFim=02/01/2019 00:00:00
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/frota?CodViag=123456
Ex: [GET] http://customer.ip.address:port/ws_rest/public/api/frota?Placa=PLA0001
JSON Return
[POST] http://customer.ip.address:port/ws_rest/public/api/v1/pesquisa
Parameters to be sent:
Parameter | Group | Type | Required | Description |
---|---|---|---|---|
TipoObjeto | 1 | Text (2) | YES | Search Object Type (available in the documentation on the Search Object Type) |
Documento | 1 | Text (50) | YES | Research Owner Carrier Document |
Objeto | 1 | Text (50) | YES | Research Object (License Plate / ID(CPF) / CNPJ) |
Renovacao | 1 | Text (1) | YES | Research Renewal (Y / N) |
Request to Submit Research Data:
Returns Research(s) Information
Parameters to be informed in the query:Parameter | Required | Description |
---|---|---|
Tipo | YES | Search Object Type (available in the documentation on the Search Object Type) |
Documento | <YES | Research Owner Document |
Objeto | YES | Research Object (License Plate/ID(CPF)/CNPJ) |
[GET] http://customer.ip.address:port/ws_rest/public/api/consulta?UltCodigo=1
JSON Return
Returns Information about the Place Status.
Parameters to be informed in the query:Parameter | Required | Description |
---|---|---|
local | NO | Place Code |
viagem | NO | Shipment ID |
[GET] http://customer.ip.address:port/ws_rest/public/api/baixalocal?UltCodigo=1
JSON Return
Returns information about the Driver Non-Conformity generated in the Trafegus system
Parameters to be informed in the query:Parameter | Required | Description |
---|---|---|
ultimoCodigo | NO | Last Driver Non-Conformity ID Received (to fetch later registers than this id). |
cpfMotorista | NO | Driver's CPF Document |
documentoClienteSupensao | NO | Suspension Client CPF/CNPJ Document |
documentoTransportador | NO | Carrier CNPJ Document |
[GET] http://customer.ip.address:port/ws_rest/public/api/naoconformidademotorista?UltCodigo=1
JSON Return
Returns information about the E-Learning Modules generated in the Trafegus system
Example to query E-Learning Modules:[GET]
http://customer.ip.address:port/ws_rest/public/api/moduloselearning
JSON Return
Return CheckList(s) information
Parameters to be informed in the query:Parameter | Required | Description |
---|---|---|
UltCodigo | YES | Last Code to Be Send |
DataCadastroI | NO | Initial Registration Date |
DataCadastroF | NO | Final Registration Date |
veiculo | NO | Vehicle Code |
BuscarAlteracoes | NO | Instead of Filtering by CheckList Code, Filters by Change Code |
IncluirDetalhes | NO | Returns CheckList and Terminal Items |
[GET] http://customer.ip.address:port/ws_rest/public/api/checkList
JSON Return
Returns System Logs Information
Query Filters:Parameter | Required | Description |
---|---|---|
sessao | NO | Session Code |
chave | NO | Key Code |
limit | NO | Maximum number of records to List |
offset | NO | Records offset from the first |
[GET] http://customer.ip.address:port/ws_rest/public/api/sistemaregistro
JSON Return
Fetches the Macros and Mensagens Livres sent by the terminal.
Query Filters:Parameter | Required | Description |
---|---|---|
numero_terminal | Yes¹ | Terminal number |
versao_tecnologia | Yes² | Version code of the terminal's telematic |
tecnologia | Yes² | Name of the terminal's telematic |
terminais | Yes¹ | Array for filtering by multiple terminals and telematics, in the format:
[["terminal_number_1", "telematic_1"], ["terminal_number_2", "telematic_2"], ["terminal_number_n", "telematic_n"]] |
documento_proprietario | Yes³ | If provided, only macros sent by vehicles whose owner matches the specified document (the document can be either a CPF or CNPJ) |
texto | No | If this parameter is provided, it will return macros that contain the specified text (matches the 'texto' field, not the 'descrição' field) |
data_ultima_posicao | No | If this parameter is provided, only macros sent after this date will be returned (format yyyy-mm-dd hh:mm:ss) |
codigo_ultima_posicao | No | If provided, only macros sent after the macro with this code will be returned |
tipo_informacao | No | If provided, only messages of the specified type (MACRO or MENSAGEM) will be returned. If this filter is not provided, both MACRO and MENSAGEM information will be returned. |
placa | No | If provided, only messages sent by the vehicle corresponding to the specified plate will be returned. |
limit | No | Maximum number of records to be returned |
offset | No | Starting record to be returned |
¹ - It is mandatory to provide either the terminal and technology list or the terminal number ² - It is mandatory to provide either the technology name or the technology version code, if the terminal array is not provided ³ - It is mandatory to provide the owner's document if the terminal array, technology name, or technology version code is not provided
Ex: [GET]
http://ip.do.cliente:porta/ws_rest/public/api/macro?numero_terminal=12345&versao_tecnologia=36&limit=100
A list of objects in the following format
JSON Response
Returns a list of terminals according to the filters used in the request.
To perform a terminal query, simply consult the url:Ex1: [GET]
http://client.ip:port/ws_rest/public/api/terminais
Ex2: [GET]
http://client.ip:port/ws_rest/public/api/terminais?ultCodigo=1360&descricao_tecnologia=descExemplo&ativo=s&codigo=100524&numero=ABC123&codigo_versao=6724&codigo_tecnologia=1
Parameter | Mandatory | Description |
---|---|---|
ultCodigo | No | Last code returned, to consult from this code forward. Request is limited to 1000 return records. |
codigo | No | Terminal code in the Trafegus database. |
numero | No | Terminal number in the Trafegus base. |
codigo_versao | No | Technology version code in the Trafegus database. |
codigo_tecnologia | No | Technology code in the Trafegus database. |
descricao_tecnologia | No | Description of the technology in the Trafegus base, the The search will be carried out in such a way that the description of the technology contains the description informed in the parameter, without considering capital letters or lowercase. |
ativo | No | Terminal status in the Trafegus base. Accepts "Y" or "N" without considering upper or lower case. |
JSON Success Return
Returns driver overnight information.
Parameter | Required | Description |
---|---|---|
data_inicio | YES | Start date of driver point. |
data_fim | YES | End date of driver point. |
cpf_motorista | NO | Driver's CPF. |
doc_transportador | NO | Transporter CPF/CNPJ. |
placa | NO | Vehicle plate. |
Ex: [GET] http://ip.do.cliente:porta/ws_rest/public/api/BuscarDadosPernoite?cpf_motorista=00000000000
Ex: [GET] http://ip.do.cliente:porta/ws_rest/public/api/BuscarDadosPernoite?placa=MTG1234
Ex: [GET] http://ip.do.cliente:porta/ws_rest/public/api/BuscarDadosPernoite?doc_transportador=00000000000100
JSON Response
Returns data from an invoice, the data returned comes from an external API.
The search only refers to an invoice, informing the invoice key:Ex: [GET] http://ip.do.cliente:porta/ws_rest/public/api/consultadadosnf/123456
Successful JSON return
Returns in case of error or invoice not found
Location type to associate with the Carrier, used in the tipo_local parameter
Parameters to be sent
Code | Description |
---|---|
1 | RISK AREA |
2 | ALLOWED POINT |
3 | PROHIBITED POINT |
4 | ORIGIN |
5 | DESTINATION |
6 | DELIVERY |
7 | COLLECT |
8 | SAFE PLACE |
9 | CRITICAL AREA |
14 | CUSTOMS |
Stop type used at shipment locations, referenced in tipo_parada parameter
Parameters to be sent
Code | Description |
---|---|
1 | STOP |
2 | COLLECT |
3 | DELIVERY |
4 | ORIGIN |
5 | DESTINATION |
6 | MEAL |
7 | OVERNIGHT STAY |
8 | PASSAGE |
9 | CUSTOMS |
10 | MATRIX |
11 | MAINTENANCE |
12 | SUPPLY |
13 | SUPERVISION |
14 | POLICE |
15 | FERRY |
16 | PORT |
17 | Custom Waypoint |
18 | Invoice Exchange |
Vehicle Type Used in Vehicle Registration
Parameters to be sent
Code | Description |
---|---|
1 | Cart |
2 | Tractor Unit |
3 | TRUCK |
4 | Motorcycle |
5 | LOAD UTILITY |
6 | UTILITY TOUR |
Constants Used for Research Providers
Code | Description |
---|---|
1 | OTNET |
2 | CENTURY |
3 | TRAFEGUS PESQUISA |
4 | TELECONSULT (BUONNY) |
5 | PROTEGEGR |
6 | GSAT |
7 | GLOBAL5 |
9 | TRUST |
10 | GUEP |
11 | PAMCARY |
12 | SAFETY |
13 | ULTRACAD |
14 | REPENSE |
8 | OTHERS / NOT INTEGRATED |
Constants used for Search Status
Code | Description |
---|---|
IN | ACCORDING TO INSURANCE RULES |
NI | DISAGREEING WITH INSURANCE RULES |
PE | IN RESEARCH |
DI | INCONSISTENT DATA |
BL | OBJECT BELONGS TO MANAGER BLACKList |
Constants Used for Search Object Types
Code | Description |
---|---|
MO | DRIVER |
VC | REEL VEHICLE |
VM | MOTOR VEHICLE |
TR | CARRIER |
AJ | ASSISTANT |
Constants Used for Shipment Types of Transportation
Code | Description |
---|---|
1 | TRANSFER |
2 | DISTRIBUTION |
3 | RAW MATERIAL |
4 | MIXED |
5 | REGRESS |
6 | NATIONAL |
7 | EXPORT |
8 | IMPORT |
9 | CIRCUIT |