Support Types
A page number within the paginated result set.
GET /api/v4/support-types/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
Get successful
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"name": "Palettes",
"created": "2020-12-22T15:31:39.26167Z",
"uid": "c8e4cc62-446a-11eb-a759-0242ac130005",
"remote_id": "text"
}
]
}
Display name of the support type
Palettes
The id of the support type in your system. It has to be unique.
POST /api/v4/support-types/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"name": "Palettes",
"remote_id": "text"
}
Create successful
{
"name": "Palettes",
"created": "2020-12-22T15:31:39.26167Z",
"uid": "c8e4cc62-446a-11eb-a759-0242ac130005",
"remote_id": "text"
}
If you choose to identify an object with its remote_id
instead of its uid
then
-
replace the
uid
value with theremote_id
value in the URL -
specify
lookup_field=remote_id
in the query parameters
Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the remote_id
(see path parameters)
DELETE /api/v4/support-types/{uid}/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
Empty body
No content
If you choose to identify an object with its remote_id
instead of its uid
then
-
replace the
uid
value with theremote_id
value in the URL -
specify
lookup_field=remote_id
in the query parameters
Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the remote_id
(see path parameters)
GET /api/v4/support-types/{uid}/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
Get successful
{
"name": "Palettes",
"created": "2020-12-22T15:31:39.26167Z",
"uid": "c8e4cc62-446a-11eb-a759-0242ac130005",
"remote_id": "text"
}
Last updated
Was this helpful?