---
title: s_todo_list
url: 'https://gidas.saver.lt/api/s_todo_list'
markdown: 'https://gidas.saver.lt/api/s_todo_list.md'
date: '2023-03-06'
description: 'Last update 2023-03-06 This method is for viewing current tasks and communications assigned to user. This method is used in overview TODO list. All parameters are expected via HTTP POST. Mandatory parameters Name Description Notes session_id Session id login RIVILE username pass RIV…'
taxonomy:
  category:
    - docs
---

[](#)  [ Pradžia ](https://gidas.saver.lt/)     [ API ](https://gidas.saver.lt/api)      s\_todo\_list    

# s\_todo\_list

Last update 2023-03-06

This method is for viewing current tasks and communications assigned to user. This method is used in overview TODO list. All parameters are expected via HTTP POST.

#### Mandatory parameters

| Name | Description | Notes |
|---|---|---|
| **session\_id** | Session id |  |
| **login** | RIVILE username |  |
| **pass** | RIVILE password hashed in **MD5** |  |
| **kodas\_rs** | Which user method is showing records |  |
| **tasks** `NEW` | Show tasks **0/1** |  |
| **urgentTasks** `NEW` | Show urgent tasks **0/1** |  |
| **clientUnconfirmedTasks** | Show client unconfirmed tasks **0/1** |  |
| **selectedTasks** | Show selected tasks **0/1** |  |
| **futureTasks** | Show future tasks **0/1** |  |
| **tasksByStatus** | Filter tasks by status **0/1** |  |
| **tasksByStatusList** | List of statuses **1,2,9** |  |
| **coms** | Show coms **0/1** |  |
| **comsList** | List of coms **1,2,9** |  |
| **futureComs** | Show future coms **0/1** |  |
| **unsignedDocs** | Show unsigned documents **0/1** |  |
| **todayFinished** | Show today finished tasks **0/1** |  |
| **missedCalls** | Show missed calls **0/1** | Deprecated |

#### Optional parameters

| Name | Description | Notes |
|---|---|---|
| **currentDate** | Date for todo list. If not specified , today is used |  |

#### Web service returns

| Name | Description | Notes |
|---|---|---|
| **status** | Web service status |  |
| **description** | Status description |  |
| **login** | RIVILE username |  |
| **kodas\_rs** | Which user method is showing records |  |
| **list** | Web service data result list |  |

#### list

| Name | Description | Notes |
|---|---|---|
| **moduleId** | Task or Com ID | j01\_task\_id,x22\_id |
| **moduleName** | Name of module, TASK | COMS |
| **moduleDescription** | task,meeting,call,missedCall,email,reminder,compaign,comment,clientzone | x22\_type |
| **description** | Description | j01\_pav,x22\_pav |
| **fromDate** | Date from | j01\_data\_nuo,x22\_data\_pr |
| **dueDate** | Date to | j01\_data\_pab,x22\_data\_pab |
| **done** | Task done **0,1** |
| **colorCode** | Color | j01\_spalva,x22\_spalva |
| **clientCode** | Client code | j01\_kodas\_ks,x22\_kodas\_ks |
| **clientName** | Client name |
| **contact** | Contact name | x06\_pav |
| **contactId** | Contact id | x22\_contact\_id |
| **priority** | Priority | j01\_priority,x22\_priority |
| **urgent** | Urgent tag | j01\_type = 2 |
| **confirmed** | User confirmed | j01\_confirm |
| **progress** | Progress | j01\_progress,x22\_progress |
| **inProgress** | Task in progress | j01\_data\_iki = "Vykdoma..." |
| **taskStatus** | Task status | j01\_status |
| **kodas\_rs** | Assigned to | j01\_kodas\_rs,x22\_kodas\_rs |
| **author** | Task author | j01\_author |
| **taskRelatedList** | Task related user list | j05\_kodas\_rs |
| **taskStatus** `NEW` | Task status code | j01\_status |
| **taskStatusName** `NEW` | Task status name |  |
| **taskType** `NEW` | Task type code | j01\_type |
| **taskTypeName** `NEW` | Task type name |  |

#### taskRelatedList

| Name | Description | Notes |
|---|---|---|
| **kodas\_rs** | Related to | j05\_kodas\_rs |

#### Web service status list

| Name | Description |
|---|---|
| **00** | Ok |
| **01** | No parameter **session\_id** |
| **02** | No parameter **login** |
| **03** | No parameter **pass** |
| **04** | Login failed |
| **05** | Parameter **futureTasks** or **futureComs** validation error |
| **06** | Parameter **missedCalls** validation error |
| **99** | DB connect error |

 [ ](https://gidas.saver.lt/api/s_salary_timecard_edit) [](https://gidas.saver.lt/api/s_hr_op_edit)

---

## Navigation

- Parent: [API](https://gidas.saver.lt/api.md)
- Previous: [s_salary_timecard_edit](https://gidas.saver.lt/api/s_salary_timecard_edit.md)
- Next: [s_hr_op_edit](https://gidas.saver.lt/api/s_hr_op_edit.md)
