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:
PEubigeostring
Example:
150101direccionstring
Example:
Av. 2 de Mayocorreo_electronicostring
Example:
demo@gmail.comtelefonostring
Example:
427-1148codigo_del_domicilio_fiscalstring
Example:
0000serie_documentostringrequired
Example:
V001numero_documentostring
Example:
#codigo_tipo_documentostring
Example:
31fecha_de_emisiondate
Example:
2022-12-14hora_de_emisiontime
Example:
10:11:11fecha_de_trasladodate
Example:
2022-12-02unidad_peso_totalstring
Example:
KGMpeso_totalnumber
Example:
30observacionesstring
Example:
aaaaaaaaaaaaaaaindicador_de_transbordoboolean
Example:
falsedatos_remitente
object
codigo_tipo_documento_identidadstring
Example:
6descripcion_tipo_documento_identidadstring
Example:
RUCnumero_documentostring
Example:
20601274133apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.nombre_comercialstring
Example:
EMPRESA XYZdatos_destinatario
object
codigo_tipo_documento_identidadstring
Example:
6descripcion_tipo_documento_identidadstring
Example:
RUCnumero_documentostring
Example:
20601274133apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.nombre_comercialstring
Example:
EMPRESA XYZchofer
object
required
codigo_tipo_documento_identidadstring
Example:
1numero_documentostring
Example:
41784439nombresstring
Example:
JUANapellidosstring
Example:
PEREZnumero_licenciastring
Example:
Q41784439numero_de_placastring
Example:
A011254items
object[]
codigo_internostring
Example:
pruebacantidadnumber
Example:
2pagador_flete
object
indicador_pagador_fletestring
Example:
Remitentecodigo_tipo_documento_identidadstring
Example:
1descripcion_tipo_documento_identidadstring
Example:
RUCnumerostring
Example:
20810001281nombresstring
Example:
EMPRESA DEMO SACBody
required
- JSON A ENVIAR
Array [
]
datos_del_emisor
object
required
codigo_paisstring
Example:
PEubigeostring
Example:
150101direccionstring
Example:
Av. 2 de Mayocorreo_electronicostring
Example:
demo@gmail.comtelefonostring
Example:
427-1148codigo_del_domicilio_fiscalstring
Example:
0000serie_documentostringrequired
Example:
V001numero_documentostring
Example:
#codigo_tipo_documentostring
Example:
31fecha_de_emisiondate
Example:
2022-12-14hora_de_emisiontime
Example:
10:11:11fecha_de_trasladodate
Example:
2022-12-02unidad_peso_totalstring
Example:
KGMpeso_totalnumber
Example:
30observacionesstring
Example:
aaaaaaaaaaaaaaaindicador_de_transbordoboolean
Example:
falsedatos_remitente
object
codigo_tipo_documento_identidadstring
Example:
6descripcion_tipo_documento_identidadstring
Example:
RUCnumero_documentostring
Example:
20601274133apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.nombre_comercialstring
Example:
EMPRESA XYZdatos_destinatario
object
codigo_tipo_documento_identidadstring
Example:
6descripcion_tipo_documento_identidadstring
Example:
RUCnumero_documentostring
Example:
20601274133apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.nombre_comercialstring
Example:
EMPRESA XYZchofer
object
required
codigo_tipo_documento_identidadstring
Example:
1numero_documentostring
Example:
41784439nombresstring
Example:
JUANapellidosstring
Example:
PEREZnumero_licenciastring
Example:
Q41784439numero_de_placastring
Example:
A011254items
object[]
codigo_internostring
Example:
pruebacantidadnumber
Example:
2pagador_flete
object
indicador_pagador_fletestring
Example:
Remitentecodigo_tipo_documento_identidadstring
Example:
1descripcion_tipo_documento_identidadstring
Example:
RUCnumerostring
Example:
20810001281nombresstring
Example:
EMPRESA DEMO SACBody
required
- JSON A ENVIAR
Array [
]
datos_del_emisor
object
required
codigo_paisstring
Example:
PEubigeostring
Example:
150101direccionstring
Example:
Av. 2 de Mayocorreo_electronicostring
Example:
demo@gmail.comtelefonostring
Example:
427-1148codigo_del_domicilio_fiscalstring
Example:
0000serie_documentostringrequired
Example:
V001numero_documentostring
Example:
#codigo_tipo_documentostring
Example:
31fecha_de_emisiondate
Example:
2022-12-14hora_de_emisiontime
Example:
10:11:11fecha_de_trasladodate
Example:
2022-12-02unidad_peso_totalstring
Example:
KGMpeso_totalnumber
Example:
30observacionesstring
Example:
aaaaaaaaaaaaaaaindicador_de_transbordoboolean
Example:
falsedatos_remitente
object
codigo_tipo_documento_identidadstring
Example:
6descripcion_tipo_documento_identidadstring
Example:
RUCnumero_documentostring
Example:
20601274133apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.nombre_comercialstring
Example:
EMPRESA XYZdatos_destinatario
object
codigo_tipo_documento_identidadstring
Example:
6descripcion_tipo_documento_identidadstring
Example:
RUCnumero_documentostring
Example:
20601274133apellidos_y_nombres_o_razon_socialstring
Example:
EMPRESA XYZ S.A.nombre_comercialstring
Example:
EMPRESA XYZchofer
object
required
codigo_tipo_documento_identidadstring
Example:
1numero_documentostring
Example:
41784439nombresstring
Example:
JUANapellidosstring
Example:
PEREZnumero_licenciastring
Example:
Q41784439numero_de_placastring
Example:
A011254items
object[]
codigo_internostring
Example:
pruebacantidadnumber
Example:
2pagador_flete
object
indicador_pagador_fletestring
Example:
Remitentecodigo_tipo_documento_identidadstring
Example:
1descripcion_tipo_documento_identidadstring
Example:
RUCnumerostring
Example:
20810001281nombresstring
Example:
EMPRESA DEMO SACResponses
- 200
- 400
- 422
JSON RESPUESTA
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
successboolean
Example:
truedata
object
numberstring
Example:
V001-11filenamestring
Example:
11111111111-09-V001-11external_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:
truedata
object
numberstring
Example:
V001-11filenamestring
Example:
11111111111-09-V001-11external_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