Support Types

Support types list

get
Authorizations
Query parameters
pageintegerOptional

A page number within the paginated result set.

Responses
200
Get successful
application/json
get
GET /api/v4/support-types/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
200

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"
    }
  ]
}

Create a support type

post
Authorizations
Body
namestringRequired

Display name of the support type

Example: Palettes
remote_idstringOptional

The id of the support type in your system. It has to be unique.

Responses
201
Create successful
application/json
post
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"
}
201

Create successful

{
  "name": "Palettes",
  "created": "2020-12-22T15:31:39.26167Z",
  "uid": "c8e4cc62-446a-11eb-a759-0242ac130005",
  "remote_id": "text"
}

Delete a support type

delete
Authorizations
Path parameters
uidstringRequired
remote_idstringOptional

If you choose to identify an object with its remote_id instead of its uid then

  • replace the uid value with the remote_id value in the URL

  • specify lookup_field=remote_id in the query parameters

Query parameters
lookup_fieldstringOptional

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)

Responses
204
Empty body
delete
DELETE /api/v4/support-types/{uid}/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
204

Empty body

No content

Read a support type

get
Authorizations
Path parameters
uidstringRequired
remote_idstringOptional

If you choose to identify an object with its remote_id instead of its uid then

  • replace the uid value with the remote_id value in the URL

  • specify lookup_field=remote_id in the query parameters

Query parameters
lookup_fieldstringOptional

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)

Responses
200
Get successful
application/json
get
GET /api/v4/support-types/{uid}/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
200

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?