Task History
Author: Rohit Agnihotri
22 views
GET
Task History
{{URL}}/api/task/history
HEADERS
Accept
application/json
None
Content-Type
application/json
None
Authorization
{{TOKEN}}
None
client
{{CLIENT}}
None
Example Request
- Task History
Example Response
{- data: {
- tasks: [
- {
- id: 3134
- order_id: 1490
- dependent_task_id: null
- task_type_id: 1
- location_id: 379
- appointment_duration: null
- task_status: "4"
- allocation_type: "a"
- created_at: "2023-03-24T07:08:13.000000Z"
- barcode: null
- location: {
- id: 379
- latitude: "30.74105170"
- longitude: "76.77901500"
- short_name: null
- address: "Sector 17, Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-03-29T09:09:20.000000Z"
- updated_at: "2023-03-24T07:07:08.000000Z"
- phone_number: "0000000000"
- email: "xxxxx@support.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
} - tasktype: {
- id: 1
- name: "Pickup"
} - order: {
- id: 1490
- customer_id: 52
- driver_id: 141
- recipient_phone: "0000000000"
- Recipient_email: "admin@example.com"
- task_description: "Order From :Plog Electronics"
- auto_alloction: "a"
- order_time: "2023-03-24 07:08:13"
- status: "completed"
- cash_to_be_collected: "185.00"
- amount: "185.00"
- driver_cost: "1.10"
- task_images: [
] - unique_id: "mF6SXA"
- call_back_url: "{{DispatchUrl}}/dispatch-order-status-update/97641d4c5daf4ea"
- actual_distance: "1.70"
- actual_time: "4.00"
- is_restricted: 0
- vendor_id: 7
- order_vendor_id: 8
- sync_order_id: 9
- order_number: "47751229"
- dbname: "ace"
- customer: {
- id: 52
- name: "dlvrd"
- email: "admin@example.com"
- phone_number: "0000000000"
- dial_code: null
- address: null
- status: "Active"
- created_at: "2022-03-11T11:03:45.000000Z"
- updated_at: "2023-03-24T07:08:13.000000Z"
- sync_customer_id: 1
- user_icon: "{{ImageUrl}}/insecure/fill/512/512/ce/0/plain/{{S3Url}}/default/default_image.png@webp"
} - task: [
- {
- id: 3134
- order_id: 1490
- dependent_task_id: null
- task_type_id: 1
- location_id: 379
- appointment_duration: null
- pricing_rule_id: null
- distance: null
- assigned_time: "2023-03-24 07:08:13"
- accepted_time: null
- declined_time: null
- started_time: null
- reached_time: null
- failed_time: null
- cancelled_time: null
- cancelled_by_admin_id: 0
- Completed_time: null
- task_status: "4"
- allocation_type: "a"
- created_at: "2023-03-24T07:08:13.000000Z"
- updated_at: "2023-03-24T07:09:25.000000Z"
- proof_image: null
- proof_signature: "{{{S3Url}}/assets/client_003c58a1/orders641d4ca5036eb.png/TTiSmdY2R4cvfOAugqP0s0bqpPmJpBRC7pdhnhzk.png"
- note: "ddd"
- barcode: null
- task_order: 0
- quantity: null
- alcoholic_item: 0
- proof_face: null
- bag_qrcode: null
- warehouse_id: null
- current_lat: null
- current_long: null
- is_return: 0
- location: {
- id: 379
- latitude: "30.74105170"
- longitude: "76.77901500"
- short_name: null
- address: "Sector 17, Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-03-29T09:09:20.000000Z"
- updated_at: "2023-03-24T07:07:08.000000Z"
- phone_number: "0000000000"
- email: "xxxxx@support.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
}
} - {
- id: 3135
- order_id: 1490
- dependent_task_id: 3134
- task_type_id: 2
- location_id: 475
- appointment_duration: null
- pricing_rule_id: null
- distance: null
- assigned_time: "2023-03-24 07:08:13"
- accepted_time: null
- declined_time: null
- started_time: null
- reached_time: null
- failed_time: null
- cancelled_time: null
- cancelled_by_admin_id: 0
- Completed_time: null
- task_status: "4"
- allocation_type: "a"
- created_at: "2023-03-24T07:08:13.000000Z"
- updated_at: "2023-03-24T07:11:53.000000Z"
- proof_image: null
- proof_signature: null
- note: ""
- barcode: null
- task_order: 0
- quantity: null
- alcoholic_item: 0
- proof_face: null
- bag_qrcode: null
- warehouse_id: null
- current_lat: null
- current_long: null
- is_return: 0
- location: {
- id: 475
- latitude: "30.73331480"
- longitude: "76.77941790"
- short_name: null
- address: "Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-04-29T11:46:24.000000Z"
- updated_at: "2023-03-24T06:06:03.000000Z"
- phone_number: "0000000000"
- email: "admin@example.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
}
}
]
} - backgroundColor: "#FF7E79"
- blur: 1
- click: false
- marginTop: 20.472727272727273
} - {
- id: 3135
- order_id: 1490
- dependent_task_id: 3134
- task_type_id: 2
- location_id: 475
- appointment_duration: null
- task_status: "4"
- allocation_type: "a"
- created_at: "2023-03-24T07:08:13.000000Z"
- barcode: null
- location: {
- id: 475
- latitude: "30.73331480"
- longitude: "76.77941790"
- short_name: null
- address: "Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-04-29T11:46:24.000000Z"
- updated_at: "2023-03-24T06:06:03.000000Z"
- phone_number: "0000000000"
- email: "admin@example.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
} - tasktype: {
- id: 2
- name: "Drop"
} - order: {
- id: 1490
- customer_id: 52
- driver_id: 141
- recipient_phone: "0000000000"
- Recipient_email: "admin@example.com"
- task_description: "Order From :Plog Electronics"
- auto_alloction: "a"
- order_time: "2023-03-24 07:08:13"
- status: "completed"
- cash_to_be_collected: "185.00"
- amount: "185.00"
- driver_cost: "1.10"
- task_images: [
] - unique_id: "mF6SXA"
- call_back_url: "{{DispatchUrl}}/dispatch-order-status-update/97641d4c5daf4ea"
- actual_distance: "1.70"
- actual_time: "4.00"
- is_restricted: 0
- vendor_id: 7
- order_vendor_id: 8
- sync_order_id: 9
- order_number: "47751229"
- dbname: "ace"
- customer: {
- id: 52
- name: "dlvrd"
- email: "admin@example.com"
- phone_number: "0000000000"
- dial_code: null
- address: null
- status: "Active"
- created_at: "2022-03-11T11:03:45.000000Z"
- updated_at: "2023-03-24T07:08:13.000000Z"
- sync_customer_id: 1
- user_icon: "{{ImageUrl}}/insecure/fill/512/512/ce/0/plain/{{S3Url}}/default/default_image.png@webp"
} - task: [
- {
- id: 3134
- order_id: 1490
- dependent_task_id: null
- task_type_id: 1
- location_id: 379
- appointment_duration: null
- pricing_rule_id: null
- distance: null
- assigned_time: "2023-03-24 07:08:13"
- accepted_time: null
- declined_time: null
- started_time: null
- reached_time: null
- failed_time: null
- cancelled_time: null
- cancelled_by_admin_id: 0
- Completed_time: null
- task_status: "4"
- allocation_type: "a"
- created_at: "2023-03-24T07:08:13.000000Z"
- updated_at: "2023-03-24T07:09:25.000000Z"
- proof_image: null
- proof_signature: "{{{S3Url}}/assets/client_003c58a1/orders641d4ca5036eb.png/TTiSmdY2R4cvfOAugqP0s0bqpPmJpBRC7pdhnhzk.png"
- note: "ddd"
- barcode: null
- task_order: 0
- quantity: null
- alcoholic_item: 0
- proof_face: null
- bag_qrcode: null
- warehouse_id: null
- current_lat: null
- current_long: null
- is_return: 0
- location: {
- id: 379
- latitude: "30.74105170"
- longitude: "76.77901500"
- short_name: null
- address: "Sector 17, Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-03-29T09:09:20.000000Z"
- updated_at: "2023-03-24T07:07:08.000000Z"
- phone_number: "0000000000"
- email: "xxxxx@support.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
}
} - {
- id: 3135
- order_id: 1490
- dependent_task_id: 3134
- task_type_id: 2
- location_id: 475
- appointment_duration: null
- pricing_rule_id: null
- distance: null
- assigned_time: "2023-03-24 07:08:13"
- accepted_time: null
- declined_time: null
- started_time: null
- reached_time: null
- failed_time: null
- cancelled_time: null
- cancelled_by_admin_id: 0
- Completed_time: null
- task_status: "4"
- allocation_type: "a"
- created_at: "2023-03-24T07:08:13.000000Z"
- updated_at: "2023-03-24T07:11:53.000000Z"
- proof_image: null
- proof_signature: null
- note: ""
- barcode: null
- task_order: 0
- quantity: null
- alcoholic_item: 0
- proof_face: null
- bag_qrcode: null
- warehouse_id: null
- current_lat: null
- current_long: null
- is_return: 0
- location: {
- id: 475
- latitude: "30.73331480"
- longitude: "76.77941790"
- short_name: null
- address: "Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-04-29T11:46:24.000000Z"
- updated_at: "2023-03-24T06:06:03.000000Z"
- phone_number: "0000000000"
- email: "admin@example.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
}
}
]
} - backgroundColor: "#FF7E79"
- blur: 0.5
- click: true
- marginTop: 0
} - {
- id: 3132
- order_id: 1489
- dependent_task_id: null
- task_type_id: 1
- location_id: 379
- appointment_duration: null
- task_status: "5"
- allocation_type: "a"
- created_at: "2023-03-24T07:07:08.000000Z"
- barcode: null
- location: {
- id: 379
- latitude: "30.74105170"
- longitude: "76.77901500"
- short_name: null
- address: "Sector 17, Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-03-29T09:09:20.000000Z"
- updated_at: "2023-03-24T07:07:08.000000Z"
- phone_number: "0000000000"
- email: "xxxxx@support.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
} - tasktype: {
- id: 1
- name: "Pickup"
} - order: {
- id: 1489
- customer_id: 52
- driver_id: 141
- recipient_phone: "0000000000"
- Recipient_email: "admin@example.com"
- task_description: "Order From :Plog Electronics"
- auto_alloction: "a"
- order_time: "2023-03-24 07:07:08"
- status: "failed"
- cash_to_be_collected: "183.00"
- amount: "183.00"
- driver_cost: "1.10"
- task_images: [
] - unique_id: "vVql34"
- call_back_url: "{{DispatchUrl}}/dispatch-order-status-update/77641d4c1be5b02"
- actual_distance: "1.70"
- actual_time: "4.00"
- is_restricted: 0
- vendor_id: 7
- order_vendor_id: 6
- sync_order_id: 7
- order_number: "77382226"
- dbname: "ace"
- customer: {
- id: 52
- name: "dlvrd"
- email: "admin@example.com"
- phone_number: "0000000000"
- dial_code: null
- address: null
- status: "Active"
- created_at: "2022-03-11T11:03:45.000000Z"
- updated_at: "2023-03-24T07:08:13.000000Z"
- sync_customer_id: 1
- user_icon: "{{ImageUrl}}/insecure/fill/512/512/ce/0/plain/{{S3Url}}/default/default_image.png@webp"
} - task: [
- {
- id: 3132
- order_id: 1489
- dependent_task_id: null
- task_type_id: 1
- location_id: 379
- appointment_duration: null
- pricing_rule_id: null
- distance: null
- assigned_time: "2023-03-24 07:07:08"
- accepted_time: null
- declined_time: null
- started_time: null
- reached_time: null
- failed_time: null
- cancelled_time: null
- cancelled_by_admin_id: 0
- Completed_time: null
- task_status: "5"
- allocation_type: "a"
- created_at: "2023-03-24T07:07:08.000000Z"
- updated_at: "2023-03-24T07:17:31.000000Z"
- proof_image: null
- proof_signature: null
- note: "Driver/Vehicle Incident"
- barcode: null
- task_order: 0
- quantity: null
- alcoholic_item: 0
- proof_face: null
- bag_qrcode: null
- warehouse_id: null
- current_lat: null
- current_long: null
- is_return: 0
- location: {
- id: 379
- latitude: "30.74105170"
- longitude: "76.77901500"
- short_name: null
- address: "Sector 17, Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-03-29T09:09:20.000000Z"
- updated_at: "2023-03-24T07:07:08.000000Z"
- phone_number: "0000000000"
- email: "xxxxx@support.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
}
} - {
- id: 3133
- order_id: 1489
- dependent_task_id: 3132
- task_type_id: 2
- location_id: 475
- appointment_duration: null
- pricing_rule_id: null
- distance: null
- assigned_time: "2023-03-24 07:07:08"
- accepted_time: null
- declined_time: null
- started_time: null
- reached_time: null
- failed_time: null
- cancelled_time: null
- cancelled_by_admin_id: 0
- Completed_time: null
- task_status: "5"
- allocation_type: "a"
- created_at: "2023-03-24T07:07:08.000000Z"
- updated_at: "2023-03-24T07:17:31.000000Z"
- proof_image: null
- proof_signature: null
- note: "Driver/Vehicle Incident"
- barcode: null
- task_order: 0
- quantity: null
- alcoholic_item: 0
- proof_face: null
- bag_qrcode: null
- warehouse_id: null
- current_lat: null
- current_long: null
- is_return: 0
- location: {
- id: 475
- latitude: "30.73331480"
- longitude: "76.77941790"
- short_name: null
- address: "Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-04-29T11:46:24.000000Z"
- updated_at: "2023-03-24T06:06:03.000000Z"
- phone_number: "0000000000"
- email: "admin@example.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
}
}
]
} - backgroundColor: "#76D6FF"
- blur: 1
- click: false
- marginTop: 20.472727272727273
} - {
- id: 3133
- order_id: 1489
- dependent_task_id: 3132
- task_type_id: 2
- location_id: 475
- appointment_duration: null
- task_status: "5"
- allocation_type: "a"
- created_at: "2023-03-24T07:07:08.000000Z"
- barcode: null
- location: {
- id: 475
- latitude: "30.73331480"
- longitude: "76.77941790"
- short_name: null
- address: "Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-04-29T11:46:24.000000Z"
- updated_at: "2023-03-24T06:06:03.000000Z"
- phone_number: "0000000000"
- email: "admin@example.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
} - tasktype: {
- id: 2
- name: "Drop"
} - order: {
- id: 1489
- customer_id: 52
- driver_id: 141
- recipient_phone: "0000000000"
- Recipient_email: "admin@example.com"
- task_description: "Order From :Plog Electronics"
- auto_alloction: "a"
- order_time: "2023-03-24 07:07:08"
- status: "failed"
- cash_to_be_collected: "183.00"
- amount: "183.00"
- driver_cost: "1.10"
- task_images: [
] - unique_id: "vVql34"
- call_back_url: "{{DispatchUrl}}/dispatch-order-status-update/77641d4c1be5b02"
- actual_distance: "1.70"
- actual_time: "4.00"
- is_restricted: 0
- vendor_id: 7
- order_vendor_id: 6
- sync_order_id: 7
- order_number: "77382226"
- dbname: "ace"
- customer: {
- id: 52
- name: "dlvrd"
- email: "admin@example.com"
- phone_number: "0000000000"
- dial_code: null
- address: null
- status: "Active"
- created_at: "2022-03-11T11:03:45.000000Z"
- updated_at: "2023-03-24T07:08:13.000000Z"
- sync_customer_id: 1
- user_icon: "{{ImageUrl}}/insecure/fill/512/512/ce/0/plain/{{S3Url}}/default/default_image.png@webp"
} - task: [
- {
- id: 3132
- order_id: 1489
- dependent_task_id: null
- task_type_id: 1
- location_id: 379
- appointment_duration: null
- pricing_rule_id: null
- distance: null
- assigned_time: "2023-03-24 07:07:08"
- accepted_time: null
- declined_time: null
- started_time: null
- reached_time: null
- failed_time: null
- cancelled_time: null
- cancelled_by_admin_id: 0
- Completed_time: null
- task_status: "5"
- allocation_type: "a"
- created_at: "2023-03-24T07:07:08.000000Z"
- updated_at: "2023-03-24T07:17:31.000000Z"
- proof_image: null
- proof_signature: null
- note: "Driver/Vehicle Incident"
- barcode: null
- task_order: 0
- quantity: null
- alcoholic_item: 0
- proof_face: null
- bag_qrcode: null
- warehouse_id: null
- current_lat: null
- current_long: null
- is_return: 0
- location: {
- id: 379
- latitude: "30.74105170"
- longitude: "76.77901500"
- short_name: null
- address: "Sector 17, Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-03-29T09:09:20.000000Z"
- updated_at: "2023-03-24T07:07:08.000000Z"
- phone_number: "0000000000"
- email: "xxxxx@support.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
}
} - {
- id: 3133
- order_id: 1489
- dependent_task_id: 3132
- task_type_id: 2
- location_id: 475
- appointment_duration: null
- pricing_rule_id: null
- distance: null
- assigned_time: "2023-03-24 07:07:08"
- accepted_time: null
- declined_time: null
- started_time: null
- reached_time: null
- failed_time: null
- cancelled_time: null
- cancelled_by_admin_id: 0
- Completed_time: null
- task_status: "5"
- allocation_type: "a"
- created_at: "2023-03-24T07:07:08.000000Z"
- updated_at: "2023-03-24T07:17:31.000000Z"
- proof_image: null
- proof_signature: null
- note: "Driver/Vehicle Incident"
- barcode: null
- task_order: 0
- quantity: null
- alcoholic_item: 0
- proof_face: null
- bag_qrcode: null
- warehouse_id: null
- current_lat: null
- current_long: null
- is_return: 0
- location: {
- id: 475
- latitude: "30.73331480"
- longitude: "76.77941790"
- short_name: null
- address: "Chandigarh, India"
- post_code: ""
- customer_id: 52
- created_at: "2022-04-29T11:46:24.000000Z"
- updated_at: "2023-03-24T06:06:03.000000Z"
- phone_number: "0000000000"
- email: "admin@example.com"
- location_status: 1
- due_after: "00:00:00"
- due_before: "00:00:00"
- flat_no: null
- warehouse_id: null
}
}
]
} - backgroundColor: "#76D6FF"
- blur: 0.5
- click: true
- marginTop: 0
}
] - totalCashCollected: 1.1
} - status: 200
- message: "success"
}
Still stuck? How can we help?
How can we help?
A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.