POST api/SimpleActivity?accountId={accountId}

Control de Actividad Logística Simple

Request Información

URI Parámetros

NameDescriptionTypeAdditional information
accountId

Id Cuenta Cliente

globally unique identifier

Required

Body Parámetros

SimpleActivityB2B
NameDescriptionTypeAdditional information
B2BId

Id de actividad Id interno del sistema origen

string

None.

IdRef

Id Referencia / Nro. de Viaje / Nro. de Servicio / Nro. de Hoja de Ruta ( gesruta : VIAJE/SERVICIO )

string

None.

Date

Fecha

date

None.

ActivityTypeCode

Código de Tipo de Viaje / Actividad. Se deben dar de Alta en el menu : Logistica/Configuración/Operación/Tipo de Viajes

string

None.

Remarks

Detalles / Observaciones generrales

string

None.

DriverB2BId

Id de chofer VALIDACIÓN : Debe existir previamente en el sistema

string

None.

VehicleB2BId

Id de Vehículo VALIDACIÓN : Debe existir previamente en el sistema y debe estar asignado a un localizador.

string

None.

DeliveryNoteIdRef

Nro de Nota de evío / Albaran Uno o varios

string

None.

DeliveryNoteRemarks

Detalle del envío, de lo transportado.

string

None.

DeliveryNoteBulks

Cantidad de bultos

integer

None.

DeliveryNotePallets

Cantidad de pallets

integer

None.

DeliveryNoteWeight

Peso (kgrs)

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "B2BId": "sample string 1",
  "IdRef": "sample string 2",
  "Date": "2026-11-12T04:07:03.9665484+01:00",
  "ActivityTypeCode": "sample string 4",
  "Remarks": "sample string 5",
  "DriverB2BId": "sample string 6",
  "VehicleB2BId": "sample string 7",
  "DeliveryNoteIdRef": "sample string 8",
  "DeliveryNoteRemarks": "sample string 9",
  "DeliveryNoteBulks": 10,
  "DeliveryNotePallets": 11,
  "DeliveryNoteWeight": 12
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SimpleActivityB2B'.

Response Information

Resource Description

SimpleActivityB2BResult
NameDescriptionTypeAdditional information
Data

Actividad

SimpleActivityB2B

None.

Error

Error

boolean

None.

ErrorCode

Código de Error

string

None.

ErrorDescription

Descripción del Error

string

None.

Warnings

Alertas sobre posibles problemas, correciones, mejoras en la información enviada.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "B2BId": "sample string 1",
    "IdRef": "sample string 2",
    "Date": "2026-11-12T04:07:03.9821742+01:00",
    "ActivityTypeCode": "sample string 4",
    "Remarks": "sample string 5",
    "DriverB2BId": "sample string 6",
    "VehicleB2BId": "sample string 7",
    "DeliveryNoteIdRef": "sample string 8",
    "DeliveryNoteRemarks": "sample string 9",
    "DeliveryNoteBulks": 10,
    "DeliveryNotePallets": 11,
    "DeliveryNoteWeight": 12
  },
  "Error": true,
  "ErrorCode": "sample string 2",
  "ErrorDescription": "sample string 3",
  "Warnings": "sample string 4"
}