You can use this endpoint to link Tasks (projects - activities and activities - subactivities) from our software.
Name | Type | Required | Description |
---|---|---|---|
p_companyID | string | Yes | The security code you have been provided with, string (32) |
p_codeParent | string | Yes | The upper level Task's code which we want to link (project or activity). |
p_codeChild | string | Yes | The lower level Task's code (activity or subactivity). |
LINKED – the linking was a success.
ERROR_NO_SECURITY_HASH - user did not supply p_companyId security code.
ERROR_UNKNOWN_SECURITY_HASH - supplied security code p_companyId is invalid.
PARENT_TASK_NOT_FOUND – no Task was found with the supplied p_codeParent.
CHILD_TASK_NOT_FOUND – no Task was found with the supplied p_codeChild.
ALREADY_LINKED – a link between the 2 Tasks the user wants to link exists already.
INCORRECT_LEVEL_LINKING – the Tasks identified by the supplied p_codeParent and p_codeChild values does not comply to the rule of linking only projects – activities and activities – subactivities.
ERROR_LINKING – an unexpected error occurred during linking
Sample
Response