GET
/
v2
/
rate-scheme
curl --request GET \
  --url https://api.sonderplan.com/v2/rate-scheme \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 13409,
      "name": "Sydney Grading Suites Standard Rates",
      "type_id": 1,
      "description": "Standard rates for grading suites located in Sydney",
      "booking_description_template": "[rateSchemeName] - [rateSchemeDescription]\n    [bookingName] - [rateSchemeStartDateCode]|(D jS M Y g:iA) --> [rateSchemeEndDateCode]|(D jS M Y g:iA)",
      "resources": [
        {
          "id": 9458,
          "name": "Edit Suite 1",
          "description": "Sydney Office, Level 2",
          "type_id": 1,
          "type_person_id": 0,
          "parent_id": 2908,
          "parent_name": "Cameras",
          "updated": 1388552400,
          "icon": [
            {
              "id": 2342354,
              "name": "Avid_Icon",
              "size": 174285,
              "alias": "7e73ab25155974c230d09494548201b9f5056ef",
              "extension": "png",
              "mime_type": "image/png"
            }
          ]
        }
      ],
      "hour_rate": "124.20",
      "hour_buy_rate": "90.00",
      "hour_rate_percent": true,
      "day_rate": "1200.00",
      "day_buy_rate": "800.00",
      "day_rate_percent": true,
      "week_rate": "5000.00",
      "week_buy_rate": "2100.00",
      "fixed_date": true,
      "date_start": "<string>",
      "date_end": "<string>",
      "time_start": "<string>",
      "time_end": "<string>",
      "overtime_hours": 123,
      "override_base": true,
      "default_unit": 123,
      "default_tax": 123,
      "taxes": [
        {
          "id": 3247,
          "name": "GST",
          "rate": "10.00",
          "total": "151.00"
        }
      ],
      "currency": "AUD",
      "created_id": 3,
      "created": 1388552400,
      "updated_id": 3,
      "updated": 1388552400
    }
  ],
  "meta": {
    "pagination": {
      "total": 1,
      "count": 1,
      "per_page": 1,
      "current_page": 1
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string

One or more (comma seperated) ids of Rate Schemes to retrieve

fields
string

Comma seperated list of fields you wish to return

page
integer

Specify the page of results you wish to return

limit
integer

The number of results returned per page. Default if not specified is 10

order_asc
string

Specify the field (with type of string or integer) you wish to order (ascending) the response with

order_desc
string

Specify the field (with type of string or integer) you wish to order (descending) the response with

filter_operator
enum<string>
default:OR

Specify if multiple filters should be combined with OR or AND logic

Available options:
OR,
AND

Response

200
application/json
Successful Operation
data
object[]

Standard rate scheme model that returns all properties by default

meta
object