VM-API-LOGISTICA

VM-API-LOGISTICA
Operaciones
Pedidos

API para traer los pedidos

Obtener el estado de los pedidos
POST /api/pedido

Authentication

Oauth2

Request body

Filtro para el estado de los pedidos

Examples

Ejemplo de Pedidos

{
    "fecha": "2020-01-13",
    "hora": "10:00:00",
    "datos": {
        "idPedido": "9629",
        "tipoDoc": "1",
        "numDoc": "46310483"
    }
}

Responses

200 200

EXITO

204 204

NO EXISTEN DATOS

401 401

TOKEN INVÁLIDO

500 500

ERROR INTERNO

Objetos de Entrada
FilterPedido
Object
fecha
string
Example:
2020-01-13
hora
string
Example:
10:00:00
datos
Object
idPedido
string
Example:
9629
tipoDoc
string
Enumeration:
1

DNI

2

CARNET EXTRANJERIA

numDoc
string
Example:
46310483
Objetos de Salida
ResponsePedido
Object
fecha
string
Example:
2019-11-28
hora
string
Example:
16:07:58
codigoRespuesta
string
Example:
00
mensajeRespuesta
string
Example:
EXITO
operacion
string
Example:
abonos
Response204
Object
fecha
string
Example:
2019-11-28
hora
string
Example:
16:07:58
codigoRespuesta
string
Example:
15
mensajeRespuesta
string
Example:
NO EXISTEN DATOS
operacion
string
Example:
abonos
datos
string
Example:
{}
Response401
Object
fecha
string
Example:
2019-11-28
hora
string
Example:
16:07:58
codigoRespuesta
string
Example:
12
mensajeRespuesta
string
Example:
TOKEN INVÁLIDO
operacion
string
Example:
abonos
datos
string
Example:
{}
Response500
Object
fecha
string
Example:
2019-11-28
hora
string
Example:
16:07:58
codigoRespuesta
string
Example:
10
mensajeRespuesta
string
Example:
ERROR INTERNO
operacion
string
Example:
abonos
datos
string
Example:
{}
DatosPedidoStat
Object
objDatosPedido
lstHistorialPedido
Array of Pedido
DatosPedido
Object
idPedido
integer
Example:
9629
emailUsuario
string
Example:
carlos.vendemas@gmail.com
nombreUsuario
string
Example:
PRUEBA VENDEMAS
direccion
string
Example:
ES UNA PRUEBA
idEstadoPedido
integer
Example:
1
fechaPedido
string
Example:
Mar 28, 2019 11:18:23 AM
idTipoPago
integer
Example:
1
nombreTipoPago
string
Example:
EN LINEA
idTipoDocPago
integer
Example:
1
nombreTipoDocPago
string
Example:
FACTURA
idTipoProducto
integer
Example:
1
nombreTipoProducto
string
Example:
POKET
monto
number
Example:
175
totalReprogramaciones
integer
Example:
0
departamento
string
Example:
LIMA
provincia
string
Example:
LIMA
distrito
string
Example:
MIRAFLORES
Pedido
Object
estadoPedido
integer
Example:
1
fechaDetPedido
string
Example:
28/03/2019
lineaDetPedido
string
Example:
Pedido recibido por almacén
icoEstadoPedido
string
Example:
ico-almacen.png