Contacts
Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Filter by company id
Filter by role
signatoryPossible values: A paginated list of waste contacts
1GET /api/v4/wam/contacts/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
A paginated list of waste contacts
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"company_id": 123,
"roles": [
"signatory",
"notification"
],
"email": "contact@example.com",
"full_name": "John Doe"
}
]
}Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
ID of the company of the contact
123Email of the contact
contact@example.comFull name of the contact
John DoeCreated waste contact
Unique identifier of the contact
123e4567-e89b-12d3-a456-426614174000ID of the company of the contact
123Email of the contact
contact@example.comFull name of the contact
John DoePOST /api/v4/wam/contacts/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"company_id": 123,
"roles": [
"signatory",
"notification"
],
"email": "contact@example.com",
"full_name": "John Doe"
}Created waste contact
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"company_id": 123,
"roles": [
"signatory",
"notification"
],
"email": "contact@example.com",
"full_name": "John Doe"
}Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Unique ID of the waste contact
Waste contact deleted
No content
DELETE /api/v4/wam/contacts/{uid} HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
Waste contact deleted
No content
Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Unique ID of the waste contact
A specific waste contact
Unique identifier of the contact
123e4567-e89b-12d3-a456-426614174000ID of the company of the contact
123Email of the contact
contact@example.comFull name of the contact
John DoeGET /api/v4/wam/contacts/{uid} HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
A specific waste contact
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"company_id": 123,
"roles": [
"signatory",
"notification"
],
"email": "contact@example.com",
"full_name": "John Doe"
}Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Unique ID of the waste contact
ID of the company of the contact
123Email of the contact
contact@example.comFull name of the contact
John DoeUpdated waste contact
Unique identifier of the contact
123e4567-e89b-12d3-a456-426614174000ID of the company of the contact
123Email of the contact
contact@example.comFull name of the contact
John DoePATCH /api/v4/wam/contacts/{uid} HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"company_id": 123,
"roles": [
"signatory",
"notification"
],
"email": "contact@example.com",
"full_name": "John Doe"
}Updated waste contact
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"company_id": 123,
"roles": [
"signatory",
"notification"
],
"email": "contact@example.com",
"full_name": "John Doe"
}Last updated
Was this helpful?