|
GET job/[job
number]
Example URL:
http://api.workflowmax.com/time.api/job/J000001?apiKey=[your API
key]&accountKey=[WorkflowMax account key]
Example Response:
<Response>
<Status>OK</Status>
<Times>
<Time>
<ID>123456</ID>
<Job>
<ID>J000001</ID>
<Name>Brochure Template</Name>
</Job>
<Task>
<ID>412</ID>
<Name>Design & Layout</Name>
</Task>
<Staff>
<ID>1</ID>
<Name>Chris Spence </Name>
</Staff>
<Date>2008-10-29T00:00:00</Date>
<Minutes>240</Minutes>
<Note />
<Billable>true</Billable>
<!-- below values are included if the time entry was record with a start and end time -->
<Start>13:00</Start>
<End>17:00</End>
</Time>
<Time>
<ID>123457</ID>
<Job>
<ID>J000001</ID>
<Name>Brochure Template</Name>
</Job>
<Task>
<ID>411</ID>
<Name>Copywriting</Name>
</Task>
<Staff>
<ID>2</ID>
<Name>John Smith</Name>
</Staff>
<Date>2008-11-04T00:00:00</Date>
<Minutes>180</Minutes>
<Note />
<Billable>true</Billable>
</Time>
</Times>
</Response>
GET
list
Parameters:
| from=YYYYMMDD |
Required |
Return time sheet entries created on or after this date. |
| to=YYYYMMDD |
Required |
Return time sheet entries created on or before this date. |
Example URL:
GET http://api.workflowmax.com/time.api/list?apiKey=[your API
key]&accountKey=[WorkflowMax account
key]&from=20090801&to=20090901
GET
staff/[id]
Paremeters:
| from=YYYYMMDD |
Required |
Return time sheet entries created on or after this date. |
| to=YYYYMMDD |
Required |
Return time sheet entries created on or before this date. |
Example URL:
GET http://api.workflowmax.com/time.api/staff/123?apiKey=[your
API key]&accountKey=[WorkflowMax account key]
GET
get/[id]
Example URL:
http://api.workflowmax.com/time.api/get/123456?apiKey=[your API
key]&accountKey=[WorkflowMax account key]
Example Response:
<Response>
<Status>OK</Status>
<Time>
<ID>123456</ID>
<Job>
<ID>J000001</ID>
<Name>Brochure Template</Name>
</Job>
<Task>
<ID>412</ID>
<Name>Design & Layout</Name>
</Task>
<Staff>
<ID>1</ID>
<Name>Chris Spence </Name>
</Staff>
<Date>2008-10-29T00:00:00</Date>
<Minutes>240</Minutes>
<Note />
<Billable>true</Billable>
<!-- below values are included if the time entry was record with a start and end time -->
<Start>13:00</Start>
<End>17:00</End>
</Time>
</Response>
POST
add
Example URL:
POST http://api.workflowmax.com/time.api/add?apiKey=[your API
key]&accountKey=[WorkflowMax account key]
Example Message for adding a time sheet entry by duration:
<Timesheet>
<Job>J000309</Job>
<Task>345</Task>
<Staff>3</Staff>
<Date>20081030</Date>
<Minutes>60</Minutes>
<Note>Detailed note about the time sheet entry</Note>
</Timesheet>
Example Message for adding a time sheet entry by start/end
time:
<Timesheet>
<Job>J000309</Job>
<Task>345</Task>
<Staff>3</Staff>
<Date>20081030</Date>
<Start>13:00</Start>
<End>13:30</End>
<Note>Detailed note about the time sheet entry</Note>
</Timesheet>
The response will include the detailed information of the time
entry per the GET get/[id] method
PUT
update
Example URL:
PUT http://api.workflowmax.com/time.api/update?apiKey=[your API
key]&accountKey=[WorkflowMax account key]
Example Message for updating a time sheet entry by duration:
<Timesheet>
<ID>123456</ID>
<Job>J000309</Job>
<Task>345</Task>
<Staff>3</Staff>
<Date>20081030</Date>
<Minutes>60</Minutes>
<Note>Detailed note about the time sheet entry</Note>
</Timesheet>
Example Message for updating a time sheet entry by start/end
time:
<Timesheet>
<ID>123456</ID>
<Job>J000309</Job>
<Task>345</Task>
<Staff>3</Staff>
<Date>20081030</Date>
<Start>13:00</Start>
<End>13:30</End>
<Note>Detailed note about the time sheet entry</Note>
</Timesheet>
The response will include the detailed information of the time
entry per the GET get/[id] method
DELETE
delete
Example URL:
DELETE
http://api.workflowmax.com/time.api/delete/123?apiKey=[your API
key]&accountKey=[WorkflowMax account key]
|