Track Dechets

List TrackDรฉchets waste notes

get

List TrackDรฉchets waste notes linked to your transports

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
transport_uidstringOptional

transport uid

Example: 4443d4b6-e165-11ea-a488-0242ac110007
transport_remote_idstringOptional

transport remote_id. You can use the remote_id of the transport (coming from your system), instead of its uid coming from Dashdoc, to filter this query

Example: any_id
Responses
200

Get successful

application/json
get
/track-dechets/
200

Get successful

Link a TrackDรฉchets waste note

post

Link a TrackDรฉchets waste note to a transport. The waste note should exist on TrackDรฉchets (check is performed before link is created).

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
readable_idstringRequired

Waste note readable id from TrackDรฉchets

Example: BSD-123-456
Responses
post
/track-dechets/
201

Create successful

Remove a TrackDรฉchets waste note from a transport

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

uid of the association. You can find it in the response of the POST request for association creation

Responses
delete
/track-dechets/{uid}/
204

Empty body

No content

Read a TrackDรฉchets waste note association to a transport

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

uid of the association

readable_idstringOptional

If you choose to identify an object with its readable_id from TrackDechets instead of its uid then

  • replace the uid value with the readable_id value in the URL

  • specify lookup_field=readable_id in the query parameters

Query parameters
lookup_fieldstringOptional

Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the readable_id (see path parameters)

Responses
200

Get successful

application/json
get
/track-dechets/{uid}/
200

Get successful

Last updated

Was this helpful?