API Documentation

Time Methods

GET job/[job number] Returns a list of time sheet entries for a specific job
GET list Return a list of time sheet entries
GET staff/[id] Return a list of time sheet entries for a specific staff member
GET get/[id] Detailed information for a specific time entry
POST add Add a time sheet entry to a job
PUT update Update a time sheet entry on a job
DELETE delete/[id] Delete a specific time sheet entry
EXAMPLE URL
https://api.workflowmax.com/time.api/job/J000001?apiKey=[your API key]&accountKey=[WorkflowMax account key]&from=20090801&to=20090901
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>
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 https://api.workflowmax.com/time.api/list?apiKey=[your API key]&accountKey=[WorkflowMax account key]&from=20090801&to=20090901
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 https://api.workflowmax.com/time.api/staff/123?apiKey=[your API key]&accountKey=[WorkflowMax account key]&from=20090801&to=20090901
EXAMPLE URL
https://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>
EXAMPLE URL
POST https://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 duration - negative time
<Timesheet>
  <Job>J000310</Job> 
  <Task>678</Task> 
  <Staff>4</Staff> 
  <Date>20141030</Date> 
  <Minutes>-60</Minutes> 
  <Note>Negative time 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

EXAMPLE URL
PUT https://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 duration - negative time
<Timesheet>
  <ID>7891011</ID>  
  <Job>J000310</Job> 
  <Task>678</Task> 
  <Staff>4</Staff> 
  <Date>20141030</Date> 
  <Minutes>-60</Minutes> 
  <Note>Negative time 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

EXAMPLE URL
DELETE https://api.workflowmax.com/time.api/delete/123?apiKey=[your API key]&accountKey=[WorkflowMax account key]

No credit card required.