DeliveryVehicle
Modelo DeliveryVehicle
{
"id": 1,
"name": "Bicicleta",
"created_at": "2020-09-23 01:21:51",
"updated_at": "2020-09-23 01:21:51"
}
Insertar DeliveryVehicle
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/delivery-vehicles |
Authorization |
{
"name": "required|string|max:32"
}
Listar DeliveryVehicle
{info} Soporta:
Paginación
Filters
Carga dinámica
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/delivery-vehicles |
Authorization |
Listar DeliveryVehicle de BranchGroup
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/branch-groups/{branchGroupId}/delivery-vehicles |
Authorization |
Listar DeliveryVehicle de Provider
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/providers/{providerId}/delivery-vehicles |
Authorization |
Mostrar DeliveryVehicle
{info} Soporta:
Carga dinámica
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/delivery-vehicles/{deliveryVehicleId} |
Authorization |
Actualizar DeliveryVehicle
Método |
URI |
Cabeceras |
PATCH |
/companies/{companyId}/delivery-vehicles/{deliveryVehicleId} |
Authorization |
{
"name": "string|max:32"
}
Vincular DeliveryVehicle
Vincular DeliveryVehicle de BranchGroup
Método |
URI |
Cabeceras |
PUT |
/companies/{companyId}/branch-groups/{branchGroupId}/delivery-vehicles/{deliveryVehicleId} |
Authorization |
Vincular DeliveryVehicle de Provider
Método |
URI |
Cabeceras |
PUT |
/companies/{companyId}/providers/{providerId}/delivery-vehicles/{deliveryVehicleId} |
Authorization |
Desvincular DeliveryVehicle
Desvincular DeliveryVehicle de BranchGroup
Método |
URI |
Cabeceras |
DELETE |
/companies/{companyId}/branch-groups/{branchGroupId}/delivery-vehicles/{deliveryVehicleId} |
Authorization |
Desvincular DeliveryVehicle de Provider
Método |
URI |
Cabeceras |
DELETE |
/companies/{companyId}/providers/{providerId}/delivery-vehicles/{deliveryVehicleId} |
Authorization |
Sincronizar DeliveryVehicle
Sincronizar DeliveryVehicle de BranchGroup
Método |
URI |
Cabeceras |
PUT |
/companies/{companyId}/branch-groups/{branchGroupId}/delivery-vehicles |
Authorization |
Sincronizar DeliveryVehicle de Provider
Método |
URI |
Cabeceras |
PUT |
/companies/{companyId}/providers/{providerId}/delivery-vehicles |
Authorization |
[
"integer"
]
Eliminar DeliveryVehicle
Método |
URI |
Cabeceras |
DELETE |
/companies/{companyId}/delivery-vehicles/{deliveryVehicleId} |
Authorization |
Enlaces de DeliveryVehicle