List Delivery Order
List Delivery Order with pagination and filter
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 |
origin_address.city | Name of Origin City | origin_address.city desc |
destination_address.name | Name of Destination Address | destination_address.name desc |
destination_address.city | Name of Destination City | destination_address.city 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 |
origin_address.city |
destination_address.name |
destination_address.city |
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
page integer
search string
sorts string[]
Responses
- 200
- 400
- 401
desc
application/json
application/octet-stream
Schema
Example (from schema)
Schema
metadata object
data object
{
"metadata": {
"count": 0,
"page": 0,
"total_count": 0,
"total_page": 0
},
"data": {
"paginated_result": [
{
"base_uuid": "string",
"parent_uuid": "string",
"reference_number": "string",
"id": "string",
"number": "string",
"is_late": true,
"customer": {
"id": "string",
"name": "string"
},
"shipped_customer": {
"id": "string",
"name": "string"
},
"billed_customer": {
"id": "string",
"name": "string"
},
"marketing_user": {
"id": 0,
"name": "string"
},
"fleet_task": {
"id": "string",
"number": "string",
"driver_user": {
"id": 0,
"name": "string"
},
"vehicle": {
"id": 0,
"license_plate": "string"
}
},
"origin_address": {
"city": "string",
"id": 0,
"name": "string",
"full_name": "string",
"geolocation": "string",
"geolocation_type": "string"
},
"destination_address": {
"city": "string",
"id": 0,
"name": "string",
"full_name": "string",
"geolocation": "string",
"geolocation_type": "string"
},
"expected_pickup_on": "string",
"expected_delivered_on": "string",
"vendor": {
"id": "string",
"name": "string"
},
"load_count": 0,
"load_weight": 0,
"load_volume": 0,
"created_on": "string",
"created_by": "string",
"canceled_reason": "string",
"rescheduled_reason": "string",
"shipment_number": "string",
"external_reference_number": "string",
"user_definition_fields": [
{
"key": "udf1",
"name": "string",
"type": "NUMBER",
"value": {}
}
],
"timestamp": {
"picked_on": "string",
"delivered_on": "string"
}
}
],
"ids": [
"string"
]
}
}
Schema
Example (from schema)
Schema
metadata object
data object
{
"metadata": {
"count": 0,
"page": 0,
"total_count": 0,
"total_page": 0
},
"data": {
"paginated_result": [
{
"base_uuid": "string",
"parent_uuid": "string",
"reference_number": "string",
"id": "string",
"number": "string",
"is_late": true,
"customer": {
"id": "string",
"name": "string"
},
"shipped_customer": {
"id": "string",
"name": "string"
},
"billed_customer": {
"id": "string",
"name": "string"
},
"marketing_user": {
"id": 0,
"name": "string"
},
"fleet_task": {
"id": "string",
"number": "string",
"driver_user": {
"id": 0,
"name": "string"
},
"vehicle": {
"id": 0,
"license_plate": "string"
}
},
"origin_address": {
"city": "string",
"id": 0,
"name": "string",
"full_name": "string",
"geolocation": "string",
"geolocation_type": "string"
},
"destination_address": {
"city": "string",
"id": 0,
"name": "string",
"full_name": "string",
"geolocation": "string",
"geolocation_type": "string"
},
"expected_pickup_on": "string",
"expected_delivered_on": "string",
"vendor": {
"id": "string",
"name": "string"
},
"load_count": 0,
"load_weight": 0,
"load_volume": 0,
"created_on": "string",
"created_by": "string",
"canceled_reason": "string",
"rescheduled_reason": "string",
"shipment_number": "string",
"external_reference_number": "string",
"user_definition_fields": [
{
"key": "udf1",
"name": "string",
"type": "NUMBER",
"value": {}
}
],
"timestamp": {
"picked_on": "string",
"delivered_on": "string"
}
}
],
"ids": [
"string"
]
}
}
Bad Request
application/json
application/octet-stream
Schema
Example (from schema)
Schema
errors
errors_v2 object
message string
{
"errors": {},
"errors_v2": {
"formatted": {},
"issues": [
{
"code": "string",
"expected": {},
"message": "string",
"path": [
"string"
],
"received": {}
}
]
},
"message": "string"
}
Schema
Example (from schema)
Schema
errors
errors_v2 object
message string
{
"errors": {},
"errors_v2": {
"formatted": {},
"issues": [
{
"code": "string",
"expected": {},
"message": "string",
"path": [
"string"
],
"received": {}
}
]
},
"message": "string"
}
Unauthorized
GET /delivery-order
Authorization
name: Authorizationtype: apiKeyin: header
Request
Request
curl / cURL
curl -L -X GET 'https://api-dev.mceasy.com/order/api/web/v1/delivery-order' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
python / requests
curl -L -X GET 'https://api-dev.mceasy.com/order/api/web/v1/delivery-order' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
go / native
curl -L -X GET 'https://api-dev.mceasy.com/order/api/web/v1/delivery-order' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
nodejs / axios
curl -L -X GET 'https://api-dev.mceasy.com/order/api/web/v1/delivery-order' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
ruby / Net::HTTP
curl -L -X GET 'https://api-dev.mceasy.com/order/api/web/v1/delivery-order' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
csharp / RestSharp
curl -L -X GET 'https://api-dev.mceasy.com/order/api/web/v1/delivery-order' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
php / cURL
curl -L -X GET 'https://api-dev.mceasy.com/order/api/web/v1/delivery-order' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
java / OkHttp
curl -L -X GET 'https://api-dev.mceasy.com/order/api/web/v1/delivery-order' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
powershell / RestMethod
curl -L -X GET 'https://api-dev.mceasy.com/order/api/web/v1/delivery-order' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'