Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
GET /jobs/newest
ANY /jobs/newest?_method=get

Parameters

...

...

For

...

Handling the response

Below is a table of available response fields and objects that are returned within the response object of the returned object. The optional fields and objects can be requested in the _fields parameter; see included examples. Underlined values are default.

idunsigned intUnique id assigned to the job
titlestring 
againststringResource endpoint for the object the job is against. For example, /companies/12
date_createdunix timestamp 
date_modifiedunix timestamp 
date_startedunix timestamp 
date_dueunix timestamp 
date_completedunix_timestamp 
standingstringe.g, pending, active, inactive or complete.
pausedunsigned int 
rate_typestringe.g, hours, budget or fixed.
rate_chargeddecimal 
typeunsigned int or objectContains the job's type id or if using parenthesis, the job's rate object.
rateunsigned int or objectJob's rate id or object.
budgetunsigned int or objectJob's budget id or object.
statusunsigned int or objectJob's status id or object.
managerunsigned int or objectJob's manager (staff) id or object.
modified_byunsigned int or objectThe staff id or object of the last user to modify the job.

 

Fields that can be object indicate the field can be requested as a resource. For example.

Code Block
languagebash
GET /jobs.json?_fields=manager

would return the manager's staff id. Where as,

Code Block
languagebash
GET /jobs.json?_fields=manager()

would return the manager's staff object, including any optional fields or objects within the parenthesisfields and handling the response, please see listing jobs.