/
GET /rates/:id
The following macros are not currently supported in the header:
- style
GET /rates/:id
Resource URL
Returns a rate object.
GET /rates/:id GET /rates/:id?_method=get
Parameters
Table of allowed parameters.
_fields | partial string | Allows you to specify optional fields and linked objects to include in the response. |
---|
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.
id | unsigned int | Unique identifier for the rate. |
---|---|---|
title | string | The rate title |
charged | double | The amount charged. |
standing | string | The rates standing status. This can be: active or inactive. |
object | string | The object of the rate. This can be: staff, issue, component, job or contract_period. |
Sample Response
GET /rates/18.json?_fields=standing,charged
{ "response" : { "standing" : "active", "charged" : "150.00", "title" : "Default", "id" : "19" } "meta" : { "status" : "ok", "message" : "Everything executed as expected." } }