Versions Compared

Key

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

...

NameExampleDescription
idid(12,32)Only return periods by given ids
budget_type(<types>)budget_types(pre-paid)Only return periods by given budget types.
allowance_type(<types>)allowance_type(fixed-hours)Only return periods by given allowance types.
duration_type(<types>)duration_type(fixed)Only return periods by given duration types.
rolloverservice_item(yes)Only return periods by given rollover values.
contractcontract(12, 15)Only return periods by given contract ids.
contract_budgetcontract_budget(22, 867)Only return periods by given contract budget ids
standingstanding(opened)Only return periods by given standing statuses.
date_commenced_beforedate_commenced_before(1341281246)Unix Timestamp. e.g 1341281246- Filter out companies that were not commenced before this date.
date_commenced_afterdate_commenced_after(1341281246)Unix Timestamp. e.g 1341281246- Filter out companies that were not commenced after this date.
date_closed_beforedate_closed_before(1341281246) 
date_closed_afterdate_closed_after(1341281246) 
date_expires_beforedate_expires_before(1341281246) 
date_expires_afterdate_expires_after(1341281246) 
date_created_beforedate_created_before(1341281246) 
date_created_afterdate_created_after(1341281246) 

NEW

<field_name>_greater_than(<value>),

<field_name>_less_than(<value>),

<field_name>_greater_than_or_equal(<value>),

<field_name>_less_than_or_equal(<value>)

_filters=id_greater_than(5)

Available fields:

id
contract
rate
rate_charged
budget
service_item

NEW

order_by_asc(<type>), order_by_desc(<type>)
_filters=order_by_desc(id)

Accepts: id, date_created, date_commenced, date_expires and date_closed

Sample Response

Code Block
languagebash
GET //contracts/50/periods.json

...