Stop Timer
| Function: | Stops the Timer |
| Web service call: | https://proworkflow2.net/pwfaccountname/api/v2/time.cfm?customerkey=84DC6CF8-BF78-D79D-B25B-0C0D20229F17&api_call=stoptimer&TrackerID=xxx&UserID=xxx |
| Method: | GET |
| URL Parameters: | TrackerID and Userid are mandatory. |
| Notes: | User Permissions are also checked. |
| 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"?>
- <stoptimer>
- <status>Success</status>
- <details>
- <message>Timer Stopped</message>
- <timerecord>
- <trackerid>3679</trackerid>
- <trackertaskid>34</trackertaskid>
- <trackernotes>Sample notes</trackernotes>
- <trackercontactid>3</trackercontactid>
- <trackerdate>15-Feb-2009</trackerdate>
- <trackeractive>1</trackeractive>
- <trackertimestarted>12.30</trackertimestarted>
- <trackertimefinished>15.20</trackertimefinished>
- <trackertimespent>170</trackertimespent>
- <trackerdeleted>1</trackerdeleted>
- <trackerpaused>0</trackerpaused>
- </timerecord>
- </details>
- </stoptimer>
- OR
- <?xml version="1.0" encoding="UTF-8"?>
- <stoptimer>
- <status>Failure</status>
- <details>
- <message>Error: You don't have permission to perform this action.</message>
- </details>
- </stoptimer>




