Transportista | Pagador Flete
POST/api/dispatch-carrier
Aquí se muestra el proceso para generar Transportista con flete
Ejemplo:
- Método: POST
- URL: https://empresa1.demo3pro6.ibu.pe/api/dispatch-carrier
- TOKEN: HOHYgwd4atPalTxqi2IIspythpLAU7eP239oByfjk9VuveiOpfUTm4Yg0Szt
Request
- application/json
- application/xml
- application/x-www-form-urlencoded
Body
required
- JSON A ENVIAR
Array [
]
datos_del_emisor
object
required
codigo_paisstring
Example:
PE
ubigeostring
Example:
150101
direccionstring
Example:
Av. 2 de Mayo
correo_electronicostring
Example:
demo@gmail.com
telefonostring
Example:
427-1148
codigo_del_domicilio_fiscalstring
Example:
0000
serie_documentostringrequired
Example:
V001
numero_documentostring
Example:
#
codigo_tipo_documentostring
Example:
31
fecha_de_emisiondate
Example:
2022-12-14
hora_de_emisiontime
Example:
10:11:11
fecha_de_trasladodate
Example:
2022-12-02
unidad_peso_totalstring
Example:
KGM
peso_totalnumber
Example:
30
observacionesstring
Example:
aaaaaaaaaaaaaaa
indicador_de_transbordoboolean
Example:
false
datos_remitente
object
codigo_tipo_documento_identidadstring
Example:
6
descripcion_tipo_documento_identidadstring
Example:
RUC
numero_documentostring
Example:
20601274133
apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.
nombre_comercialstring
Example:
EMPRESA XYZ
datos_destinatario
object
codigo_tipo_documento_identidadstring
Example:
6
descripcion_tipo_documento_identidadstring
Example:
RUC
numero_documentostring
Example:
20601274133
apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.
nombre_comercialstring
Example:
EMPRESA XYZ
chofer
object
required
codigo_tipo_documento_identidadstring
Example:
1
numero_documentostring
Example:
41784439
nombresstring
Example:
JUAN
apellidosstring
Example:
PEREZ
numero_licenciastring
Example:
Q41784439
numero_de_placastring
Example:
A011254
items
object[]
codigo_internostring
Example:
prueba
cantidadnumber
Example:
2
pagador_flete
object
indicador_pagador_fletestring
Example:
Remitente
codigo_tipo_documento_identidadstring
Example:
1
descripcion_tipo_documento_identidadstring
Example:
RUC
numerostring
Example:
20810001281
nombresstring
Example:
EMPRESA DEMO SAC
Body
required
- JSON A ENVIAR
Array [
]
datos_del_emisor
object
required
codigo_paisstring
Example:
PE
ubigeostring
Example:
150101
direccionstring
Example:
Av. 2 de Mayo
correo_electronicostring
Example:
demo@gmail.com
telefonostring
Example:
427-1148
codigo_del_domicilio_fiscalstring
Example:
0000
serie_documentostringrequired
Example:
V001
numero_documentostring
Example:
#
codigo_tipo_documentostring
Example:
31
fecha_de_emisiondate
Example:
2022-12-14
hora_de_emisiontime
Example:
10:11:11
fecha_de_trasladodate
Example:
2022-12-02
unidad_peso_totalstring
Example:
KGM
peso_totalnumber
Example:
30
observacionesstring
Example:
aaaaaaaaaaaaaaa
indicador_de_transbordoboolean
Example:
false
datos_remitente
object
codigo_tipo_documento_identidadstring
Example:
6
descripcion_tipo_documento_identidadstring
Example:
RUC
numero_documentostring
Example:
20601274133
apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.
nombre_comercialstring
Example:
EMPRESA XYZ
datos_destinatario
object
codigo_tipo_documento_identidadstring
Example:
6
descripcion_tipo_documento_identidadstring
Example:
RUC
numero_documentostring
Example:
20601274133
apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.
nombre_comercialstring
Example:
EMPRESA XYZ
chofer
object
required
codigo_tipo_documento_identidadstring
Example:
1
numero_documentostring
Example:
41784439
nombresstring
Example:
JUAN
apellidosstring
Example:
PEREZ
numero_licenciastring
Example:
Q41784439
numero_de_placastring
Example:
A011254
items
object[]
codigo_internostring
Example:
prueba
cantidadnumber
Example:
2
pagador_flete
object
indicador_pagador_fletestring
Example:
Remitente
codigo_tipo_documento_identidadstring
Example:
1
descripcion_tipo_documento_identidadstring
Example:
RUC
numerostring
Example:
20810001281
nombresstring
Example:
EMPRESA DEMO SAC
Body
required
- JSON A ENVIAR
Array [
]
datos_del_emisor
object
required
codigo_paisstring
Example:
PE
ubigeostring
Example:
150101
direccionstring
Example:
Av. 2 de Mayo
correo_electronicostring
Example:
demo@gmail.com
telefonostring
Example:
427-1148
codigo_del_domicilio_fiscalstring
Example:
0000
serie_documentostringrequired
Example:
V001
numero_documentostring
Example:
#
codigo_tipo_documentostring
Example:
31
fecha_de_emisiondate
Example:
2022-12-14
hora_de_emisiontime
Example:
10:11:11
fecha_de_trasladodate
Example:
2022-12-02
unidad_peso_totalstring
Example:
KGM
peso_totalnumber
Example:
30
observacionesstring
Example:
aaaaaaaaaaaaaaa
indicador_de_transbordoboolean
Example:
false
datos_remitente
object
codigo_tipo_documento_identidadstring
Example:
6
descripcion_tipo_documento_identidadstring
Example:
RUC
numero_documentostring
Example:
20601274133
apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.
nombre_comercialstring
Example:
EMPRESA XYZ
datos_destinatario
object
codigo_tipo_documento_identidadstring
Example:
6
descripcion_tipo_documento_identidadstring
Example:
RUC
numero_documentostring
Example:
20601274133
apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.
nombre_comercialstring
Example:
EMPRESA XYZ
chofer
object
required
codigo_tipo_documento_identidadstring
Example:
1
numero_documentostring
Example:
41784439
nombresstring
Example:
JUAN
apellidosstring
Example:
PEREZ
numero_licenciastring
Example:
Q41784439
numero_de_placastring
Example:
A011254
items
object[]
codigo_internostring
Example:
prueba
cantidadnumber
Example:
2
pagador_flete
object
indicador_pagador_fletestring
Example:
Remitente
codigo_tipo_documento_identidadstring
Example:
1
descripcion_tipo_documento_identidadstring
Example:
RUC
numerostring
Example:
20810001281
nombresstring
Example:
EMPRESA DEMO SAC
Responses
- 200
- 400
- 422
JSON RESPUESTA
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
successboolean
Example:
true
data
object
numberstring
Example:
V001-11
filenamestring
Example:
11111111111-09-V001-11
external_idstring
Example:
b8f5e270-f264-4017-a00f-7a3f7cb59862
{
"success": true,
"data": {
"number": "V001-11",
"filename": "11111111111-09-V001-11",
"external_id": "b8f5e270-f264-4017-a00f-7a3f7cb59862"
}
}
- Schema
- Example (from schema)
Schema
successboolean
Example:
true
data
object
numberstring
Example:
V001-11
filenamestring
Example:
11111111111-09-V001-11
external_idstring
Example:
b8f5e270-f264-4017-a00f-7a3f7cb59862
<root>
<success>true</success>
<data>
<number>V001-11</number>
<filename>11111111111-09-V001-11</filename>
<external_id>b8f5e270-f264-4017-a00f-7a3f7cb59862</external_id>
</data>
</root>
Invalid input
Validation exception