curl --request PUT \
  --url https://api.splose.com/v1/support-Items/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "Provider Travel",
  "toMinutes": 20,
  "returnMinutes": 20
}'
1

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required
Required range: x > 0
Example:

1

Body

application/json
type
enum<string>
required

Support item type

Available options:
Provider Travel,
Provider Travel - Non-Labour Costs,
Activity Based Transport
Example:

"Provider Travel"

toMinutes
integer | null

Minutes spent on travelling to the patient for provider travel

Example:

20

returnMinutes
integer | null

Minutes spent traveling from the patient for provider travel

Example:

20

Response

200 - text
Return 1 on success

The response is of type enum<number>.

Available options:
1