Wiki

Clone wiki

API-2.0 / Get_frequencies

API method DEPRECATED, please use Frequencies for booking instead


Method: GET

Path: /api/frequencies

Return list of configured booking frequencies.

Example response JSON

{"frequencies":[{
  "id":3,"code":"bw","name":"Bi-weekly cleaning","percent":15.0
},{
  "id":1,"code":"o","name":"One time cleaning","percent":0.0
},{
  "id":2,"code":"w","name":"Weekly cleaning","percent":10.0
}]}

Example request:

For production, replace https://acme-sandbox.l27.co with https://<your subdomain>.launch27.com

curl -H "X-API-Key: test_8kBFkhmf8TA7TZyQBh" \
     -H "Content-Type: application/json" \
     -H "Accept: application/launch27.v2" \
     -X GET -k \
     https://acme-sandbox.l27.co/api/frequencies

Updated