The GetProjectTaskTypes() command returns a list of task types on the project.
Table 1. Parameters| Parameter | Type | Max Length | Required | Description |
|---|
|
apiToken
|
string
|
20
| Y |
Your API security token configured in Field View. |
|
projectID
|
integer
| | Y |
The unique ID of the project.
|
|
viewAllOrganisationsTaskTypes
|
bool
| | Y |
Subcontractors can also assign their task types to the project. Set this to false to show only your business unit task types. Normally this would be set to false.
|
|
showNonProcessTaskTypes
|
bool
| | Y |
Task types can be of two types. Non-process and process. Normally this would be set to true.
|
|
showProcessTaskTypes
|
bool
| | Y |
Task types can be of two types. Non-process and process. Normally this would be set to false.
|
Table 2. Returns| Field | Type | Description |
|---|
|
ProjectTaskTypeInformation
|
ProjectTaskTypeInformation
|
Project task type information structure.
|
<ProjectTaskTypeResponse>
<Status>
SUCCESS
<Message>Success.</Message>
</Status>
<ProjectTaskTypeInformation>
<TaskTypeID></TaskTypeID>
<TaskTypeLinkID></TaskTypeLinkID>
<TaskType></TaskType>
<TypeGroupID></TypeGroupID>
<TypeGroup></TypeGroup>
<WorkFlowTemplateID></WorkFlowTemplateID>
<WorkFlowTemplate></WorkFlowTemplate>
<BusinessUnitID></BusinessUnitID>
<BusinessUnit></BusinessUnit>
<Process></Process>
<ResolutionDays></ResolutionDays>
<Version></Version>
<IsAvailable></IsAvailable>
<Colour></Colour>
<StartDate></StartDate>
<FinishDate></FinishDate>
<OrganisationUnitAndBelow></OrganisationUnitAndBelow>
</ProjectTaskTypeInformation>
</ProjectTaskTypeResponse>