Add Task
| Function: | Adds task, insert in the audit log and sends an email alert. |
| Web service call: | https://proworkflow2.net/pwfaccountname/api/v2/tasks.cfm?customerkey=84DC6CF8-BF78-D79D-B25B-0C0D20229F17&api_call=addtask&UserID=xxx |
| Method: | POST |
| XML Request Data: |
|
| URL Parameters: | UserID is mandatory. |
| Notes: | Required fields must be included, other fields can be omitted. |
| Return Data: | XML data packet is constructed by the web service and sent to the user. It contains the success or failure message. |
| Status messages: | Success, Failure or Error. |
Example of return data:
- <?xml version="1.0" encoding="UTF-8"?>
- <addtask>
- <status>Success</status>
- <details>
- <message>Task added</message>
- <taskid>1796</taskid>
- </details>
- </addtask>
- OR
- <?xml version="1.0" encoding="UTF-8"?>
- <addtask>
- <status>Failure</status>
- <details>
- <message>Error: Please define type of task.</message>
- </details>
- </addtask>
- OR
- <?xml version="1.0" encoding="UTF-8"?>
- <addtask>
- <status>Failure</status>
- <details>
- <message>Error: You don't have permission to perform this action.</message>
- </details>
- </addtask>




