Edit Time Record
| Function: | Inserts a Time record in the database |
| Web service call: | https://proworkflow2.net/pwfaccountname/api/v2/time.cfm?customerkey=84DC6CF8-BF78-D79D-B25B-0C0D20229F17&api_call= edittimerecord |
| Method: | POST |
| XML Request Data: |
|
| Notes: | TrackerDate, TrackerTimeFinished and TrackerTimeStarted should be in sql dateformat type. |
| 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"?>
- <edittimerecord>
- <status>Success</status>
- <details>
- <message>Time Record edit</message>
- <trackerid>7</trackerid>
- </details>
- </edittimerecord>
- OR
- <?xml version="1.0" encoding="UTF-8"?>
- <edittimerecord>
- <status>Failure</status>
- <details>
- <message>You have entered a Finish time which is BEFORE the Start time.</message>
- </details>
- </edittimerecord>
- OR
- <?xml version="1.0" encoding="UTF-8"?>
- <edittimerecord>
- <status>Failure</status>
- <details>
- <message>Error: You don't have permission to perform this action.</message>
- </details>
- </edittimerecord>




