Phasetypes
Parameter | Type | Description |
---|---|---|
[IN] Parameters described in Overview | ||
Company | String | [IN] The company context |
Response | XML/JSON | [OUT] An XML tree / JSON string containing phasetypes the user has access to |
Description
Phase Types has its own API call and is called via phasetypes rather than timesheets API call.
Calling the phasetypes API retrieves a list of phase type codes and associated descriptions.
Return Values
Response – List of phase types.
The structure of the response is:
<phasetypes morepages="False" totalpages="1" totalrows="34">
<phasetype phasetype_uuid="7A09655833144CDC840189931CBA529F">
<phasetype_phasetypecode>1/DES</phasetype_phasetypecode>
<phasetype_phasetypedesc>Design</phasetype_phasetypedesc>
</PhaseType>
</phasetypes>
{
"errormessage": "",
"responsecode": 1,
"pagerows": 0,
"totalrows":1,
"responsestatus": "OK",
"success": true,
"responsemessage": "",
"errorcode": 0,
"totalpages": 1,
"pagenumber": 1,
"data": [
{
"phasetype_uuid": "04C640AB-CEFB-4FAD-9091-2809DC7009AA",
"phasetype_phasetypedesc": "Design",
"phas-type_phasetypecode": "1/DES"
}
]
}