Saltar al contenido principal
Version: ProX

Transportista

POST 

/api/dispatch-carrier

Su propósito es registrar la información básica de un transporte directo entre el remitente y el destinatario, usualmente cuando el transporte lo realiza una sola persona o entidad.

Ejemplo:

Request

Body

required

  1. JSON A ENVIAR

    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: 2024-12-12
    hora_de_emisiontime
    Example: 10:11:11
    fecha_de_trasladodate
    Example: 2024-12-12
    unidad_peso_totalstring
    Example: KGM
    peso_totalnumber
    Example: 30
    observacionesstring
    Example: aaaaaaaaaaaaaaa
    indicador_de_transbordoboolean
    Example: false

    datos_remitente

    object

    required

    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

    vehiculo

    object

    numero_de_placastring
    Example: FDA574
    modelostring
    Example: MODELO 2
    marcastring
    Example: HYUNDAI
    certificado_habilitacion_vehicularstring
    Example: 98745613212

    direcciones_proveedores

    object

    remitente

    object

    direccionstring
    Example: Av. 2 de Mayo
    ubigeostring
    Example: 150101

    destinatario

    object

    direccionstring
    Example: Ac. Manco capac
    ubigeostring
    Example: 150115
    numero_de_placastringrequired
    Example: A011254

    items

    object[]

    required

  • Array [

  • 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

JSON RESPUESTA

Schema

    successboolean
    Example: true

    data

    object

    numberstring
    Example: V001-15
    filenamestring
    Example: 11111111111-31-V001-15
    external_idstring
    Example: e6ed6e38-a44f-427d-9c3d-3026feb6b0e0