Contacts

Get list of waste contacts

get
Authorizations
AuthenticationstringRequired

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/"
Query parameters
company_idintegerOptional

Filter by company id

rolestring Β· enumOptional

Filter by role

Example: signatoryPossible values:
Responses
chevron-right
200

A paginated list of waste contacts

application/json
get
/wam/contacts/
200

A paginated list of waste contacts

Create a new waste contact

post
Authorizations
AuthenticationstringRequired

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/"
Body
company_idintegerOptional

ID of the company of the contact

Example: 123
emailstring Β· emailOptional

Email of the contact

Example: [email protected]
full_namestringOptional

Full name of the contact

Example: John Doe
Responses
post
/wam/contacts/
201

Created waste contact

Delete a specific waste contact

delete
Authorizations
AuthenticationstringRequired

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/"
Path parameters
uidstringRequired

Unique ID of the waste contact

Responses
delete
/wam/contacts/{uid}
204

Waste contact deleted

No content

Get a specific waste contact

get
Authorizations
AuthenticationstringRequired

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/"
Path parameters
uidstringRequired

Unique ID of the waste contact

Responses
chevron-right
200

A specific waste contact

application/json
get
/wam/contacts/{uid}
200

A specific waste contact

Update a specific waste contact

patch
Authorizations
AuthenticationstringRequired

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/"
Path parameters
uidstringRequired

Unique ID of the waste contact

Body
company_idintegerOptional

ID of the company of the contact

Example: 123
emailstring Β· emailOptional

Email of the contact

Example: [email protected]
full_namestringOptional

Full name of the contact

Example: John Doe
Responses
chevron-right
200

Updated waste contact

application/json
patch
/wam/contacts/{uid}
200

Updated waste contact

Last updated

Was this helpful?