Activity Types

Activitytypes

ParameterTypeDescription
[IN] Parameters described in Overview
CompanyString[IN] The users default company number for the companies list
versionInteger[IN] version number identifier
ResponseXML/JSON[OUT] An XML tree / JSON string containing activitytypes the user has access to

Description
Activity Types has its own API call and is called via activitytypes rather than the timesheets API call.
Calling the activitytypes API retrieves a list of activity type codes and associated descriptions.

Return Values
Response – List of activity types.

The structure of the response is:

<activitytypes morepages="False" totalpages="1" totalrows="1">
<activity activitytypes_uuid="02D9533B13E011E39F6400155D003416">
<activitytypes_activitycode>1/ACT2</activitytypes_activitycode>
<activitytypes_activitydesc>activity type 2</activitytypes_activitydesc>
</activity>
</activitytypes>
{
"errormessage": "",
    "responsecode": 1,
    "pagerows": 0,
    "totalrows": 1,
    "responsestatus": "OK",
    "success": true,
    "responsemessage": "",
    "errorcode": 0,
    "totalpages": 1,
    "pagenumber": 1,
    "data": [
        {
            "activitytypes_uuid": "02D9533B13E011E39F6400155D003416",
            "activitytypes_activitydesc": "activity type 2",
            "activitytypes_activitycode": "1/ACT2"
        }
    ]
}