ProjectService
SaveProjectTask
You must set the following properties: Name, ProjectId, DateStart and DateStop. Ids are set by the system. If you specify an Id this means that you are updating an existing task.
Below you’ll find a description of all the available fields:
- Id – int , Set by the system
- Name – string , Name of the task
- Description – string, Description of the task
- DateStart – datetime, Start date of task
- DateStop – datetime, Stop date of task
- OverTime – int, Read only, registered hours of overtime
- Parent – int, If this is a subtask, set Parent to Parent Task Id
- Priority – int, 0 = low, 1 = normal, 2 = high
- Project – int, Project Id where task is created
- ProjectLink – N/A
- WorkTypeId – int, Type of work. Use Id from TimeService -> GetWorkTypeList
- Estimate – int, Estimated time for task
- Registered – int, Read only, registered hours
- Participants – array of int, int is Id from PersonService -> GetPersons
Methods
| Method | Input type | Input name | Return type | Description |
|---|---|---|---|---|
| GetProjectNameList | ProjectShort[] | Gets a list of the name and id of all projects | ||
| GetProjectList | ProjectSearch | Ps | Project[] | Gets a list of all projects |
| GetProjectsDetailed | ProjectSearch | Ps | Project[] | Gets a list of all projects with additional data |
| GetSingleProject | int | projectId | Project | Gets a single project by id |
| GetProjectTasks | int | projectId | Task[] | Returns a list of tasks for a specific project |
| GetMyProjectTasks | Task[] | Returns a list of the currently logged in user’s tasks | ||
| SaveProjectTask | Task | task | Saves a task. | |
| GetProjectRoles | Role[] | Returns a list of project roles | ||
| GetProjectStatuses | Status[] | Returns a list of project statuses | ||
| GetProjectTypes | KeyValuePair[] | Returns a list of project types. Key = Type Id, Value = Type Name | ||
| SaveProject | Project | project | int | Creates a new or edits an existing project |
| GetPipeLines | Project | KeyValuePair[] | Returns a list of project substatuses. Key = Status Id, Value = Status Name |