Details

Delete specific waste details for a company

delete

This will delete the waste details of that company. To be noted that this will not delete the VAT number nor the "is_carrier" flag.

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
company-idstringRequired

Id of the company. It is named pk in the details of a company.

Responses
delete
/wam/companies/{company-id}/details/
204

Company waste details are deleted

No content

Get specific waste details for a company

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
company-idstringRequired

Id of the company. It is named pk in the details of a company.

Responses
200

Waste details of that company

application/json
get
/wam/companies/{company-id}/details/
200

Waste details of that company

Add or update specific waste details for a company

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

Id of the company. It is named pk in the details of a company.

Body
is_organizerbooleanOptional

True if the company is a waste shipment organizer

Example: false
is_producerbooleanOptional

True if the company is a waste producer

Example: false
is_processorbooleanOptional

True if the company is a waste processor

Example: false
is_carrierbooleanOptional

True if the company is a carrier

Example: false
is_citizenbooleanOptional

True if the waste producer is a citizen and not a company

Example: false
enterprise_numberstringOptional

Enterprise number of the company

Example: BE 0429 261 424
producer_establishment_unit_numberstringOptional

Producer establishment unit number of the company

Example: 2015433336Pattern: ^([2-8][0-9]{9})$
processor_establishment_unit_numberstringOptional

Processor establishment unit number of the company

Example: 2015433336Pattern: ^([2-8][0-9]{9})$
vat_numberstringOptional

VAT number of the company

Example: FR16807564448
Responses
200

Updated waste details of that company

application/json
post
/wam/companies/{company-id}/details/
200

Updated waste details of that company

Last updated

Was this helpful?