Contacts
Authorizations
Query parameters
company_idintegerOptional
Filter by company id
rolestring · enumOptionalExample:
Filter by role
signatory
Possible values: Responses
200
A paginated list of waste contacts
application/json
get
GET /api/v4/wam/contacts/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
200
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": "[email protected]",
"full_name": "John Doe"
}
]
}
Authorizations
Body
company_idintegerOptionalExample:
ID of the company of the contact
123
full_namestringOptionalExample:
Full name of the contact
John Doe
Responses
201
Created waste contact
application/json
Responseall of
post
POST /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": "[email protected]",
"full_name": "John Doe"
}
201
Created waste contact
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"company_id": 123,
"roles": [
"signatory",
"notification"
],
"email": "[email protected]",
"full_name": "John Doe"
}
Authorizations
Path parameters
uidstringRequired
Unique ID of the waste contact
Responses
200
A specific waste contact
application/json
Responseall of
get
GET /api/v4/wam/contacts/{uid} HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
200
A specific waste contact
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"company_id": 123,
"roles": [
"signatory",
"notification"
],
"email": "[email protected]",
"full_name": "John Doe"
}
Authorizations
Path parameters
uidstringRequired
Unique ID of the waste contact
Body
company_idintegerOptionalExample:
ID of the company of the contact
123
full_namestringOptionalExample:
Full name of the contact
John Doe
Responses
200
Updated waste contact
application/json
Responseall of
patch
PATCH /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": "[email protected]",
"full_name": "John Doe"
}
200
Updated waste contact
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"company_id": 123,
"roles": [
"signatory",
"notification"
],
"email": "[email protected]",
"full_name": "John Doe"
}
Last updated
Was this helpful?