Get a Task by Id
Returns the details of a particular task. Specify the task you want to retrieve by passing the “TaskId” in the API URL.
API URL
URL Parameters
Parameter | Description |
---|---|
TaskId | Unique Id of the task. |
Response
[ { "UserTaskId": "1c12e3d1-5153-11e5-981b-22000a9700b4", "Name": "My Task TODO", "Description": "Describing the task", "RelatedEntity": 1, "RelatedEntityId": "81c9663b-9aa1-468d-8522-85979f638d18", "DueDate": "2015-09-30 11:11:00.000", "Reminder": 15, "NotifyBy": "1100", "StatusCode": 1, "StatusReason": 1, "OwnerId": "e2553ede-c6ee-11e4-981b-22000a9700b4", "OwnerName": "Syed Rizwan", "CreatedBy": "6ba64831-b1c1-11e4-981b-22000a9700b4", "CreatedByName": "rizwan ali", "CreatedOn": "2015-09-02 09:15:09.000", "ModifiedBy": "6ba64831-b1c1-11e4-981b-22000a9700b4", "ModifiedByName": "rizwan ali", "ModifiedOn": "2015-09-18 09:52:46.000", "RelatedEntityIdName": "John Smith", "CompletedOn": "2015-09-18 09:52:46.000" } ]
HTTP Response Codes
Code | Description |
---|---|
200 OK | This is the status code for successful API call. |
401 Unauthorized | The API call was made with invalid access credentials. Check your AccessKey and SecretKey. |
400 Bad Request | The message body on the request is not as per API specification. Make sure that content type is set to “application/json” and the JSON body has correct attribute names and structure. |
404 Not Found | The API could not be found. Please check the API signature. |
429 Too Many Requests | API calls exceeded the limit of 25 in 5 second(s) |
500 Internal Server Error | The API called failed. There could be many reasons for it. Check the exception message to get more details. |