Taskdescslist
Parameter | Type | Description |
---|---|---|
[IN] Parameters described in Overview | ||
Company | String | [IN] The users default company number for the companies list |
Action | String | [IN] Identifier for the list requested |
Resource | String | [IN] Identifier for the resource context |
Client [OPTIONAL] | String | [IN] client code parameter |
Job [OPTIONAL] | String | [IN] job filter parameter |
Phase [OPTIONAL] | String | [IN] phase filter parameter |
Workflow [OPTIONAL] | String | [IN] stage filter parameter |
Response | XML/JSON | [OUT] An XML tree / JSON string containing task descriptions which the user has access to |
Description
Calling the timesheets API with an action of taskdescslist retrieves a list of task descriptions.
Return Values
Response – List of task descriptions.
The structure of the response is:
<taskdescs morepages="False" totalpages="1" totalrows="1">
<taskdesc>
<array_taskdesc>
A4 Colour Brochure Package
</array_taskdesc>
</taskdesc>
</taskdescs>
{
"errormessage": "",
"responsecode": 1,
"pagerows": 0,
"totalrows": 1,
"responsestatus": "OK",
"success": true,
"responsemessage": "",
"errorcode": 0,
"totalpages": 1,
"pagenumber": 1,
"data": [
{
"array_taskdesc": "A4 Colour Brochure Package"
}
]
}