Get all todo
Changed onget/misc/todo
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/misc/todo
- AuthAPI key in header x-api-key
Query parameters
pagestring
countstring
sort'"ASC"' | '"DESC"'
sort_by'"created_at"' | '"due_date"' | '"priority"'
filter.is_completedboolean
filter.prioritystring[]
filter.module_namestring
filter.redirect_uidstring
Response
200
Example response
{
"type": "success",
"data": [
{
"todo_uid": "544b0170-8512-11ec-84e1-bd1b634f5ba3",
"assigned_to": {
"user_uid": "b9c91ee7-850f-47b7-b2cd-a6b78f4254d3",
"first_name": "Tom",
"last_name": "R",
"email": "tom.r@abc.co",
"designation": "Admin",
"emp_code": "001",
"profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.abc/attachments/4ddf32f-19ed-4b56-81cc-70d0bdf628c5/ea2602d9-0379-4ffb-a2c0-916dc2558c56.JPG",
"is_active": true,
"created_at": "2024-06-14T07:34:28.000Z",
"updated_at": "2024-09-18T04:03:31.000Z"
},
"created_by": {
"user_uid": "b9c91ee7-850f-47b7-b2cd-a6b78f4254d3",
"first_name": "Tom",
"last_name": "R",
"email": "tom.r@abc.co",
"designation": "Admin",
"emp_code": "001",
"profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.abc/attachments/4ddf23f-19ed-4b56-81cc-70d0bdf628c5/ea2602d9-0379-4ffb-a2c0-916dc2558c56.JPG",
"is_active": true,
"created_at": "2024-06-14T07:34:28.000Z",
"updated_at": "2024-09-18T04:03:31.000Z"
},
"completed_by": {
"user_uid": "b9c91ee7-850f-47b7-b2cd-a6b78f4254d3",
"first_name": "Tom",
"last_name": "R",
"email": "tom.r@abc.co",
"designation": "Admin",
"emp_code": "001",
"profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.abc/attachments/4ddf23f-19ed-4b56-81cc-70d0bdf628c5/ea2602d9-0379-4ffb-a2c0-916dc2558c56.JPG",
"is_active": true,
"created_at": "2024-06-14T07:34:28.000Z",
"updated_at": "2024-09-18T04:03:31.000Z"
},
"title": "test",
"content": "Test customer ",
"tagged_to": {
"module": "CUSTOMER",
"redirect_uid": "92269d80-058b-11ec-adaf-cbc38b630fba"
},
"due_date": "2022-02-03T18:30:00.000Z",
"priority": "HIGH",
"is_completed": true,
"completed_at": "2022-02-03T16:57:29.927Z",
"created_at": "2022-02-03T16:57:11.176Z",
"id": "undefined"
}
],
"total_records": 1,
"current_page": 1,
"total_pages": 1
}Changes
- info
endpoint added
- info