Trackdéchets
List TrackDéchets waste notes linked to your transports
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/"
transport uid
4443d4b6-e165-11ea-a488-0242ac110007transport 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
any_idGet successful
1GET /api/v4/track-dechets/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
Get successful
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"readable_id": "BSD-20220408-Q4AMB20ZE",
"opaque_id": "cl1q5rr1o1373321fwze3n198tk",
"status": "DRAFT",
"type": "BSD",
"transport": {
"uid": "d6e95574-8c1f-4b97-bdea-f20d0eb4f7f0",
"remote_id": "TRANSP_123456"
},
"created": "2026-01-01T00:00:00.000Z",
"updated": "2026-01-01T00:00:00.000Z"
}
]
}Link a TrackDéchets waste note to a transport. The waste note should exist on TrackDéchets (check is performed before link is created).
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/"
Waste note readable id from TrackDéchets
BSD-123-456Create successful
Dashdoc uid link between the transport and the TrackDéchets waste note
Waste note readable id from TrackDéchets
BSD-20220408-Q4AMB20ZEWaste note opaque id from TrackDéchets, differs from readable_id for BSD type of waste note only
cl1q5rr1o1373321fwze3n198tkTrackDéchets status of the waste note
DRAFTWaste note type, based on its readable_id
BSDcreation date and time
last update date and time
POST /api/v4/track-dechets/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 116
{
"readable_id": "BSD-123-456",
"transport": {
"uid": "d6e95574-8c1f-4b97-bdea-f20d0eb4f7f0",
"remote_id": "TRANSP_123456"
}
}Create successful
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"readable_id": "BSD-20220408-Q4AMB20ZE",
"opaque_id": "cl1q5rr1o1373321fwze3n198tk",
"status": "DRAFT",
"type": "BSD",
"transport": {
"uid": "d6e95574-8c1f-4b97-bdea-f20d0eb4f7f0",
"remote_id": "TRANSP_123456"
},
"created": "2026-01-01T00:00:00.000Z",
"updated": "2026-01-01T00:00:00.000Z"
}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/"
Dashdoc uid of the association (UUID string) or the Trackdéchets readable_id (string). With a readable_id, also add lookup_field=readable_id to the query parameters.
{"summary":"Dashdoc uid","value":"2b4c3e6c-35b5-4f3c-9d4f-5d5c8f0e8a11"}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)
Get successful
Dashdoc uid link between the transport and the TrackDéchets waste note
Waste note readable id from TrackDéchets
BSD-20220408-Q4AMB20ZEWaste note opaque id from TrackDéchets, differs from readable_id for BSD type of waste note only
cl1q5rr1o1373321fwze3n198tkTrackDéchets status of the waste note
DRAFTWaste note type, based on its readable_id
BSDcreation date and time
last update date and time
GET /api/v4/track-dechets/{uid_or_readable_id}/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
Get successful
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"readable_id": "BSD-20220408-Q4AMB20ZE",
"opaque_id": "cl1q5rr1o1373321fwze3n198tk",
"status": "DRAFT",
"type": "BSD",
"transport": {
"uid": "d6e95574-8c1f-4b97-bdea-f20d0eb4f7f0",
"remote_id": "TRANSP_123456"
},
"created": "2026-01-01T00:00:00.000Z",
"updated": "2026-01-01T00:00:00.000Z"
}The association uid is in the response of the POST request that created the association.
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/"
Dashdoc uid of the association (UUID string) or the Trackdéchets readable_id (string). With a readable_id, also add lookup_field=readable_id to the query parameters.
{"summary":"Dashdoc uid","value":"2b4c3e6c-35b5-4f3c-9d4f-5d5c8f0e8a11"}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)
Empty body
No content
DELETE /api/v4/track-dechets/{uid_or_readable_id}/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Accept: */*
Empty body
No content
Last updated
Was this helpful?