List Tasks

readByQuery

<readByQuery>
    <object>TASK</object>
    <fields>*</fields>
    <query></query>
    <pagesize>100</pagesize>
</readByQuery>

Parameters

Name Required Type Description
object Required string Use TASK
fields Required string Comma separated list of fields on the object to list. Use * to return all fields.
query Required string SQL-like query based on fields on the object. Illegal XML characters must be properly encoded. The following SQL operators are supported: <, >, >=, <=, =, like, not like, in, not in. When doing NULL comparisons: IS NOT NULL, IS NULL. Multiple fields may be matched using the AND and OR operators. Joins are not supported. Single quotes in any operands must be escaped with a backslash - For example, the value Erik's Deli would become 'Erik\'s Deli'.
pagesize Optional integer Set a custom page size between 1 and 1000 items (Default: 100)

Get Task

read

<read>
    <object>TASK</object>
    <keys>1</keys>
    <fields>*</fields>
</read>

Parameters

Name Required Type Description
object Required string Use TASK
keys Required string The department RECORDNO to get
fields Required string Comma separated list of fields on the object to get. Use * to return all fields.

Create Task

create

<create>
    <TASK>
        <NAME>hello world</NAME>
        <PROJECTID>P1234</PROJECTID>
    </TASK>
</create>

Parameters

Name Required Type Description
TASK Optional object The object to create

TASK

Name Required Type Description
NAME Required string The task name to create
PROJECTID Required string Project ID
PBEGINDATE Optional string Project begin date in format mm/dd/yyyy
PENDDATE Optional string Project end date in format mm/dd/yyyy
CLASSID Optional string Class ID
ITEMID Optional string Item ID
BILLABLE Optional boolean Billable. Use false for No, true for Yes. (Default: false)
DESCRIPTION Optional string Description
ISMILESTONE Optional boolean Milestone. Use false for No, true for Yes. (Default: false)
UTILIZED Optional boolean Utilized. Use false for No, true for Yes. (Default: false)
PRIORITY Optional string Priority
TASKNO Optional string WBS code
TASKSTATUS Optional string Task status
PARENTKEY Optional integer Parent task record number
SUPDOCID Optional string Attachments ID
OBSPERCENTCOMPLETE Optional number Observed percent completed
BUDGETQTY Optional number Planned duration
ESTQTY Optional number Estimated duration
STATUS Optional string Task status. Use active for Active otherwise use inactive for Inactive (Default: active)

Update Task

update

<update>
    <TASK>
        <RECORDNO>10</RECORDNO>
        <PROJECTID>P1234</PROJECTID>
    </TASK>
</update>

Parameters

Name Required Type Description
TASK Optional object The object to update

TASK

Name Required Type Description
RECORDNO Required integer Record number of task
NAME Optional string The task name to create
PROJECTID Optional string Project ID
PBEGINDATE Optional string Project begin date in format mm/dd/yyyy
PENDDATE Optional string Project end date in format mm/dd/yyyy
CLASSID Optional string Class ID
ITEMID Optional string Item ID
BILLABLE Optional boolean Billable. Use false for No, true for Yes. (Default: false)
DESCRIPTION Optional string Description
ISMILESTONE Optional boolean Milestone. Use false for No, true for Yes. (Default: false)
UTILIZED Optional boolean Utilized. Use false for No, true for Yes. (Default: false)
PRIORITY Optional string Priority
TASKNO Optional string WBS code
TASKSTATUS Optional string Task status
PARENTKEY Optional integer Parent task record number
SUPDOCID Optional string Attachments ID
OBSPERCENTCOMPLETE Optional number Observed percent completed
BUDGETQTY Optional number Planned duration
ESTQTY Optional number Estimated duration
STATUS Optional string Task status. Use active for Active otherwise use inactive for Inactive (Default: active)

Delete Task

delete

<delete>
    <object>TASK</object>
    <keys>112</keys>
</delete>

Parameters

Name Required Type Description
object Required string Use TASK
keys Required string The task RECORDNO to delete

Provide feedback