You can use this endpoint to retrieve a list of one or more task from our software.
Name | Type | Required | Description |
---|---|---|---|
p_companyID | string | Yes | The security code you have been provided with, string (32) |
p_companyID | string | No | If something provided, the returned Task(s) will be filtered based on the level supplied |
p_code | string | No | If something provided we will return one single Task which has the correct code. |
NOTE:If neither p_levelId or p_code values are supplied, we will return all Tasks.
bportalTaskObjectArray, containing structs (arrays) of bportalTaskObject with the following keys (all values are returned as strings):
id: the Task's unique identifier in our db
name
code
level_id: possible values are 1, 2, 3
start_date: yyyy-mm-dd format
end_date: yyyy-mm-dd format
estimated_hours
parents: a json encoded array, containing the codes of it's parents (example: ["project1","project2"])
children: a json encoded array, containing the codes of it's children (example: ["subactivity1","subactivity2"]). If an error will occur during the function call, in the bportalTaskObject structure's id field we will return one of the following error messages:
ERROR_NO_SECURITY_HASH - user did not supply p_companyId security code
ERROR_UNKNOWN_SECURITY_HASH - supplied security code p_companyId is invalid
NO_TASK(S) - no task was found in the db (with the given filters)
Sample
Response