Get a list of service types

GET /api/v1/static/service-types

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • name string
      • value string
      • initial boolean
      • ongoing boolean
GET /api/v1/static/service-types
curl \
 --request GET 'https://api.plannrcrm.com/api/v1/static/service-types' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "name": "Initial",
      "value": "initial",
      "initial": true,
      "ongoing": false
    },
    {
      "name": "One Off",
      "value": "one_off",
      "initial": true,
      "ongoing": false
    },
    {
      "name": "Ongoing",
      "value": "ongoing",
      "initial": false,
      "ongoing": true
    }
  ]
}