id | integer | optional |
Task
GET
/get_tasks
Definition
Path Parameters
Query String
lang | string Validation default: en | required |
user_api_hash | string Validation default: $2y$10$5RACGMNxUdz3h1ug9yAttu95U2acugM0YG1K5wx01ZrNMvpL6BWMS | required |
search_device_id | integer | optional |
search_task_status | integer | optional |
search_time_from | string Validation format: date-time | optional |
search_time_to | string Validation format: date-time | optional |
search_invoice_number | string | optional |
Responses
object | ||
status | integer | optional |
items | object | optional |
total | integer | optional |
per_page | integer | optional |
current_page | integer | optional |
last_page | integer | optional |
from | integer | optional |
to | integer | optional |
data |
array[object]
Validation
{Task} |
optional |
id | integer | optional |
device_id | integer | optional |
title | string | optional |
comment | string | optional |
priority | integer | optional |
status | integer | optional |
pickup_address | string | optional |
pickup_address_lat | number | optional |
pickup_address_lng | number | optional |
pickup_time_from |
string
Validation
format: date-time |
optional |
pickup_time_to |
string
Validation
format: date-time |
optional |
delivery_address | string | optional |
delivery_address_lat | number | optional |
delivery_address_lng | number | optional |
delivery_time_from |
string
Validation
format: date-time |
optional |
delivery_time_to |
string
Validation
format: date-time |
optional |
statuses | array[object] | optional |
url | string | optional |
object | ||
status | integer | optional |
errors | object | optional |
{ "status": 0, "errors": {} }
object | ||
status | integer | optional |
error | string | optional |
{ "status": 0, "error": "No language selected." }
GET
/get_task/{id}
Definition
Query String
lang | string Validation default: en | required |
user_api_hash | string Validation default: $2y$10$5RACGMNxUdz3h1ug9yAttu95U2acugM0YG1K5wx01ZrNMvpL6BWMS | required |
Responses
object | ||
status | integer | optional |
item |
object
Validation
{Task} |
optional |
id | integer | optional |
device_id | integer | optional |
title | string | optional |
comment | string | optional |
priority | integer | optional |
status | integer | optional |
pickup_address | string | optional |
pickup_address_lat | number | optional |
pickup_address_lng | number | optional |
pickup_time_from |
string
Validation
format: date-time |
optional |
pickup_time_to |
string
Validation
format: date-time |
optional |
delivery_address | string | optional |
delivery_address_lat | number | optional |
delivery_address_lng | number | optional |
delivery_time_from |
string
Validation
format: date-time |
optional |
delivery_time_to |
string
Validation
format: date-time |
optional |
statuses | array[object] | optional |
object | ||
status | integer | optional |
errors | object | optional |
{ "status": 0, "errors": {} }
object | ||
status | integer | optional |
error | string | optional |
{ "status": 0, "error": "No language selected." }
POST
/add_task
Definition
Query String
lang | string Validation default: en | required |
user_api_hash | string Validation default: $2y$10$5RACGMNxUdz3h1ug9yAttu95U2acugM0YG1K5wx01ZrNMvpL6BWMS | required |
Request Body
Responses
object | ||
status | integer | optional |
item |
object
Validation
{Task} |
optional |
id | integer | optional |
device_id | integer | optional |
title | string | optional |
comment | string | optional |
priority | integer | optional |
status | integer | optional |
pickup_address | string | optional |
pickup_address_lat | number | optional |
pickup_address_lng | number | optional |
pickup_time_from |
string
Validation
format: date-time |
optional |
pickup_time_to |
string
Validation
format: date-time |
optional |
delivery_address | string | optional |
delivery_address_lat | number | optional |
delivery_address_lng | number | optional |
delivery_time_from |
string
Validation
format: date-time |
optional |
delivery_time_to |
string
Validation
format: date-time |
optional |
statuses | array[object] | optional |
object | ||
status | integer | optional |
errors | object | optional |
{ "status": 0, "errors": {} }
object | ||
status | integer | optional |
error | string | optional |
{ "status": 0, "error": "No language selected." }
POST
/edit_task/{id}
Definition
Path Parameters
id | integer | optional |
Query String
lang | string Validation default: en | required |
user_api_hash | string Validation default: $2y$10$5RACGMNxUdz3h1ug9yAttu95U2acugM0YG1K5wx01ZrNMvpL6BWMS | required |
POST
/destroy_task
Definition
Query String
lang | string Validation default: en | required |
user_api_hash | string Validation default: $2y$10$5RACGMNxUdz3h1ug9yAttu95U2acugM0YG1K5wx01ZrNMvpL6BWMS | required |
Request Body
object | ||
id | integer | optional |
GET
/get_task_signature/{taskStatusId}
Definition
Path Parameters
taskStatusId | string | required |
Query String
lang | string Validation default: en | required |
user_api_hash | string Validation default: $2y$10$5RACGMNxUdz3h1ug9yAttu95U2acugM0YG1K5wx01ZrNMvpL6BWMS | required |
GET
/get_tasks_statuses
Definition
Query String
lang | string Validation default: en | required |
user_api_hash | string Validation default: $2y$10$5RACGMNxUdz3h1ug9yAttu95U2acugM0YG1K5wx01ZrNMvpL6BWMS | required |
Responses
object | ||
status | integer | optional |
items | array[object] | optional |
id | integer | optional |
title | string | optional |
object | ||
status | integer | optional |
errors | object | optional |
{ "status": 0, "errors": {} }
object | ||
status | integer | optional |
error | string | optional |
{ "status": 0, "error": "No language selected." }
GET
/get_tasks_priorities
Definition
Query String
lang | string Validation default: en | required |
user_api_hash | string Validation default: $2y$10$5RACGMNxUdz3h1ug9yAttu95U2acugM0YG1K5wx01ZrNMvpL6BWMS | required |
Responses
object | ||
status | integer | optional |
items | array[object] | optional |
id | integer | optional |
title | string | optional |
object | ||
status | integer | optional |
errors | object | optional |
{ "status": 0, "errors": {} }
object | ||
status | integer | optional |
error | string | optional |
{ "status": 0, "error": "No language selected." }
MODEL
task
object | ||
id | integer | optional |
device_id | integer | optional |
title | string | optional |
comment | string | optional |
priority | integer | optional |
status | integer | optional |
pickup_address | string | optional |
pickup_address_lat | number | optional |
pickup_address_lng | number | optional |
pickup_time_from |
string
Validation
format: date-time |
optional |
pickup_time_to |
string
Validation
format: date-time |
optional |
delivery_address | string | optional |
delivery_address_lat | number | optional |
delivery_address_lng | number | optional |
delivery_time_from |
string
Validation
format: date-time |
optional |
delivery_time_to |
string
Validation
format: date-time |
optional |
created_at | string | optional |
updated_at | string | optional |
statuses |
array[object]
Validation
{taskStatus} |
optional |
id | integer | optional |
task_id | integer | optional |
comment | string | optional |
status | integer | optional |
created_at | string | optional |
updated_at | string | optional |
invoice_number | string | optional |
MODEL
taskPost
object | ||
device_id | integer | required |
title | string | required |
comment | string | required |
priority | integer | required |
status | integer | required |
pickup_address | string | required |
pickup_address_lat | number | required |
pickup_address_lng | number | required |
pickup_time_from |
string
Validation
format: date-time |
required |
pickup_time_to |
string
Validation
format: date-time |
required |
delivery_address | string | required |
delivery_address_lat | number | required |
delivery_address_lng | number | required |
delivery_time_from |
string
Validation
format: date-time |
required |
delivery_time_to |
string
Validation
format: date-time |
required |
invoice_number | string | optional |
MODEL
taskStatus
object | ||
id | integer | optional |
task_id | integer | optional |
comment | string | optional |
status | integer | optional |
created_at | string | optional |
updated_at | string | optional |