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

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

Responses
204
Company waste details are deleted
delete
DELETE /api/v4/wam/companies/{company-id}/details/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
204

Company waste details are deleted

No content

Get specific waste details for a company

get
Authorizations
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
GET /api/v4/wam/companies/{company-id}/details/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
200

Waste details of that company

{
  "is_organizer": false,
  "is_producer": false,
  "is_processor": false,
  "is_carrier": false,
  "is_citizen": false,
  "enterprise_number": "BE 0429 261 424",
  "producer_establishment_unit_number": "2015433336",
  "processor_establishment_unit_number": "2015433336",
  "vat_number": "FR16807564448"
}

Add or update specific waste details for a company

post
Authorizations
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
POST /api/v4/wam/companies/{company-id}/details/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 269

{
  "is_organizer": false,
  "is_producer": false,
  "is_processor": false,
  "is_carrier": false,
  "is_citizen": false,
  "enterprise_number": "BE 0429 261 424",
  "producer_establishment_unit_number": "2015433336",
  "processor_establishment_unit_number": "2015433336",
  "vat_number": "FR16807564448"
}
200

Updated waste details of that company

{
  "is_organizer": false,
  "is_producer": false,
  "is_processor": false,
  "is_carrier": false,
  "is_citizen": false,
  "enterprise_number": "BE 0429 261 424",
  "producer_establishment_unit_number": "2015433336",
  "processor_establishment_unit_number": "2015433336",
  "vat_number": "FR16807564448"
}

Last updated

Was this helpful?