List DeliveryOrder
Available Filter
Value Type | Example |
---|---|
string | DO-0001 |
date | 2010-02-02T20:23:05+07:00 |
float | 90.345 |
Operator Type | Description |
---|---|
gte | Greater Than or Equal |
gt | Greater Than |
lte | Lower Than or Equal |
lt | Lower Than |
eq | Equal |
Field Type | Value Type |
---|---|
number | string |
shipped_customer.id | string |
shipped_customer.name | string |
billed_customer.id | string |
billed_customer.name | string |
customer.id | string |
customer.name | string |
marketing_user.id | number |
marketing_user.name | string |
fleet_task.id | string |
fleet_task.number | string |
fleet_task.vehicle.license_plate | string |
origin_address.id | number |
origin_address.name | string |
destination_address.id | number |
destination_address.name | string |
expected_pickup_on | date |
expected_delivered_on | date |
load_count | float |
load_weight | float |
load_volume | float |
status.name | string |
vendor.id | string |
vendor.name | string |
created_on | date |
created_by | string |
updated_on | date |
Example Filter
Field Type | Operator | Value |
---|---|---|
number | eq | DO-0090 |
shipped_customer.id | eq | dbffb68c-f5ab-4ec4-83fd-91ca6bc1d1df |
shipped_customer.name | eq | Robert |
billed_customer.id | eq | dbffb68c-f5ab-4ec4-83fd-91ca6bc1d1df |
billed_customer.name | eq | Robert |
customer.id | eq | dbffb68c-f5ab-4ec4-83fd-91ca6bc1d1df |
customer.name | eq | JNE |
marketing_user.id | eq | 12 |
marketing_user.name | eq | Robert |
fleet_task.id | eq | dbffb68c-f5ab-4ec4-83fd-91ca6bc1d1df |
fleet_task.number | eq | FO-1234 |
origin_address.name | eq | Sumatra |
destination_address.name | eq | Sulawesi |
expected_pickup_on | lt | 2023-02-02T20:13:05+07:00 |
expected_delivered_on | lt | 2023-02-02T20:13:05+07:00 |
load_count | lt | 1324.670 |
load_weight | gte | 2000 |
load_volume | lte | 200000 |
status | eq | Draft |
created_on | lt | 2023-02-02T20:13:05+07:00 |
created_by | eq | Admin |
updated_on | gt | 2022-02-02T20:23:05+07:00 |
Available Sort
Operator Type | Description |
---|---|
asc | Smallest to Largest |
desc | Largest to Smallest |
Field | Description | Example |
---|---|---|
number | Number of Delivery Order | number asc |
shipped_customer.name | Name of Shipped Customer | shipped_customer.name asc |
customer.name | Name of Customer | customer.name asc |
billed_customer.name | Name of Billed Customer | billed_customer.name asc |
marketing_user.name | Name of Marketing User | marketing_user.name desc |
fleet_task.number | Number of Fleet Task | fleet_task.number desc |
fleet_task.vehicle.license_plate | License Plate of Fleet Task Vehicle | fleet_task.number desc |
origin_address.name | Name of Origin Address | origin_address.name desc |
destination_address.name | Name of Destination Address | destination_address.name desc |
expected_pickup_on | Expected Pickup Date | expected_pickup_on asc |
expected_delivered_on | Expected Delivery Date | expected_delivered_on desc |
load_count | Total Count of Loads | load_count desc |
load_weight | Total Weight of Loads | load_weight desc |
load_volume | Total Volume of Loads | load_volume desc |
status.name | Name of Status | status.name desc |
created_on | Delivery Order Created At | created_on desc |
created_by | Delivery Order Created By | created_by desc |
updated_on | Delivery Order Updated On | updated_on desc |
Available Search
Field |
---|
number |
customer.name |
marketing_user.name |
fleet_task.number |
origin_address.name |
destination_address.name |
status |
created_by |
shipped_customer.name |
billed_customer.name |
fleet_task.vehicle.license_plate |
Query Parameters
filters string[]
format string
Possible values: [excel
, json
]
limit integer required
Possible values: >= 1
page integer required
Possible values: >= 1
search string
sorts string[]
Responses
- 200
- 400
- 401
- 403
- 404
desc
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
data object
ids array
paginated_result object[]
billed_customer object
id string
name string
canceled_reason string
created_by string
created_on string
customer object
id string
name string
destination_address object
id integer
name string
expected_delivered_on string
expected_pickup_on string
fleet_task object
driver_user object
id integer
name string
id string
number string
vehicle object
id integer
license_plate string
id string
load_count integer
load_volume number
load_weight number
marketing_user object
id integer
name string
number string
origin_address object
id integer
name string
shipped_customer object
id string
name string
status object
color string
name string
vendor object
id string
name string
metadata object
count integer
page integer
total_count integer
total_page integer
{
"data": {
"ids": [
null
],
"paginated_result": [
{
"billed_customer": {
"id": "string",
"name": "string"
},
"canceled_reason": "string",
"created_by": "string",
"created_on": "string",
"customer": {
"id": "string",
"name": "string"
},
"destination_address": {
"id": 0,
"name": "string"
},
"expected_delivered_on": "string",
"expected_pickup_on": "string",
"fleet_task": {
"driver_user": {
"id": 0,
"name": "string"
},
"id": "string",
"number": "string",
"vehicle": {
"id": 0,
"license_plate": "string"
}
},
"id": "string",
"load_count": 0,
"load_volume": 0,
"load_weight": 0,
"marketing_user": {
"id": 0,
"name": "string"
},
"number": "string",
"origin_address": {
"id": 0,
"name": "string"
},
"shipped_customer": {
"id": "string",
"name": "string"
},
"status": {
"color": "string",
"name": "string"
},
"vendor": {
"id": "string",
"name": "string"
}
}
]
},
"metadata": {
"count": 0,
"page": 0,
"total_count": 0,
"total_page": 0
}
}
Bad Request
application/json
Schema
Example (from schema)
Schema
errors
message string
{
"errors": {},
"message": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
errors
message string
{
"errors": {},
"message": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
errors
message string
{
"errors": {},
"message": "string"
}
Not Found
Loading...