feat(v1:vehicles): Adding vehicles search by company_name and filters
This commit is contained in:
@@ -448,6 +448,7 @@ __This endpoint is only valid for carriers.__
|
||||
- state,
|
||||
- status,
|
||||
- destino
|
||||
- $sort[ field ] : -1/1 ; Sort result by field name
|
||||
- `GET /global/find` : Find a list of elements (from all the system) with any of the following fields:
|
||||
- company, (company id)
|
||||
- categories,
|
||||
@@ -464,6 +465,9 @@ __This endpoint is only valid for carriers.__
|
||||
- state,
|
||||
- status,
|
||||
- destino
|
||||
- company_name[$regex] : Regex string to find company_name
|
||||
- company_name[$options] : Regex options from MongoDB filter description
|
||||
- $sort[ field ] : -1/1 ; Sort result by field name
|
||||
- `POST /new` : Creates a new element.
|
||||
- `PATCH /:id` : Updates data from specific element.
|
||||
- `DELETE /:id` : Delete element from company. Returns the element data.
|
||||
|
||||
Reference in New Issue
Block a user