AI translation
This page was translated from German with AI. If in doubt, the German original applies.
Query fields¶
The lists of the QueryApi filter, sort and select columns by field paths. This page names the valid paths for each list, their type and the field in operands with which a comparison value is sent typed. How to build a query is described for the eANV consignment notes (German).
Paths and values¶
- A path starts at the row in
entriesand runs down to the single field, for exampledoc.waste_producer.signature1.time. - It is valid in proto notation (
doc.last_changed) and in JSON notation (doc.lastChanged). The template list accepts only the proto notation. - Filter, sorting and column selection (
mask) take the same paths. All conditions infilterapply together. - The column Value names the field in
operandsthat matches the type:s(text),nInt32(integer),b(Boolean),n(decimal fromunitsandnanos),d(dateYYYY-MM-DD),dt(date and timeYYYY-MM-DDThh:mm:ss) orutc(timestamp). Every field accepts a text ins; a date and time must then have exactly the formYYYY-MM-DDThh:mm:ss. - The server rejects a path that is not listed here. The message names the position of the path, counted from 0:
output columns|2|invalid namerefers to the third path inmask. - The overview queries of the SOAP interface use their own field names, for example
doc.waste_producer_numberinstead ofdoc.waste_producer.number.
Paging¶
pageStart is the first row of the page and counts from 1; 0 counts as 1. Without pageSize, a page returns 20 rows, at most 1000. The response gives in total the number of all rows that match the conditions. The next page starts at pageStart plus the number of rows returned.
Documents¶
ListTransportDocuments (document store), ListFileAreaDocuments (file area), ListInboxDocuments (inbox) and ListFiles (files) carry a document in doc; for ListFiles it is the main document of the file. These fields apply to all four:
| Path | JSON notation | Type | Value | Content |
|---|---|---|---|---|
doc.document_id |
doc.documentId |
text | s |
ID of the document; also valid as doc.document_id.id |
doc.sequence_number |
doc.sequenceNumber |
text | s |
Number of the transport paper |
doc.last_changed |
doc.lastChanged |
timestamp (UTC) | utc |
Time of the last change |
doc.transport_weight_tonnes |
doc.transportWeightTonnes |
decimal | n |
Quantity in tonnes |
doc.current_layer |
doc.currentLayer |
text | s |
Current layer of the document; for a DiWaSS movement or notification its status, for example DRAFT, ANNOUNCED or COMPLETED |
doc.internal_name |
doc.internalName |
text | s |
Internal waste designation (supplementary data of the form) |
doc.notes |
doc.notes |
text | s |
Notes on the document |
doc.transport_volume |
doc.transportVolume |
decimal | n |
Volume of the transport, in cubic metres |
doc.acceptance_refused |
doc.acceptanceRefused |
text | s |
Acceptance refused: true, false or part |
doc.requested_validity_start |
doc.requestedValidityStart |
date | d |
Start of the validity last requested for the disposal certificate (eANV) |
doc.requested_validity_end |
doc.requestedValidityEnd |
date | d |
End of the validity last requested for the disposal certificate (eANV) |
doc.confirmed_validity_start |
doc.confirmedValidityStart |
date | d |
Start of the confirmed validity of the disposal certificate (eANV) |
doc.confirmed_validity_end |
doc.confirmedValidityEnd |
date | d |
End of the confirmed validity of the disposal certificate (eANV) |
doc.notification_id |
doc.notificationId |
text | s |
Disposal certificate number or notification number |
doc.waste_type_code |
doc.wasteTypeCode |
text | s |
Waste code |
doc.document_type |
doc.documentType |
text | s |
Document type, such as BGS, RGB or UNS (eANV), VB (DiWaSS movement) or N (DiWaSS notification) |
doc.consecutive_transport_number |
doc.consecutiveTransportNumber |
decimal | n |
Consecutive number of the transport within its notification (DiWaSS) |
Parties¶
Each party is found under its role: doc.<role>.<field>, for example doc.waste_disposer.name1.
| Role | Path |
|---|---|
| Waste producer | doc.waste_producer |
| Carrier 1 | doc.waste_carrier1 |
| Carrier 2 | doc.waste_carrier2 |
| Carrier 3 | doc.waste_carrier3 |
| Disposer | doc.waste_disposer |
| Interim storage facility | doc.temporary_storage |
| Field | JSON notation | Type | Value | Content |
|---|---|---|---|---|
number |
number |
text | s |
Number of the party |
name1 |
name1 |
text | s |
Name, line 1 |
name2 |
name2 |
text | s |
Name, line 2 |
city1 |
city1 |
text | s |
City |
postcode |
postcode |
text | s |
Postcode |
street1 |
street1 |
text | s |
Street |
house_number |
houseNumber |
text | s |
House number |
contact_name |
contactName |
text | s |
Contact: name |
contact_phone |
contactPhone |
text | s |
Contact: phone |
contact_fax |
contactFax |
text | s |
Contact: fax |
contact_email |
contactEmail |
text | s |
Contact: email |
transport_date |
transportDate |
date | d |
Date in this role (handover or acceptance) |
signature1.name |
signature1.name |
text | s |
Name in the certificate of the first signature |
signature1.time |
signature1.time |
timestamp (UTC) | utc |
Time of the first signature |
signature1.cstat |
signature1.cstat |
integer | nInt32 |
Overall status of the first signature |
signature2.name |
signature2.name |
text | s |
Name in the certificate of the second signature |
signature2.time |
signature2.time |
timestamp (UTC) | utc |
Time of the second signature |
signature2.cstat |
signature2.cstat |
integer | nInt32 |
Overall status of the second signature |
site_number |
siteNumber |
text | s |
Site number (supplementary data of the form) |
code |
code |
text | s |
Code of the party (supplementary data of the form) |
internal_name |
internalName |
text | s |
Internal waste designation of the party |
truck |
truck |
text | s |
Registration of the tractor unit |
trailer |
trailer |
text | s |
Registration of the trailer |
Not every role carries every field. These fields cannot be queried:
- Waste producer (
doc.waste_producer):truck,trailer - Carrier 2 (
doc.waste_carrier2):code,internal_name - Carrier 3 (
doc.waste_carrier3):code,internal_name - Disposer (
doc.waste_disposer):truck,trailer - Interim storage facility (
doc.temporary_storage):contact_name,contact_phone,contact_fax,contact_email,transport_date,code,internal_name,truck,trailer
Additional fields per list¶
These fields sit in the row next to doc, not below it. The path is therefore cancelled, not doc.cancelled.
| List | Path | JSON notation | Type | Value | Content |
|---|---|---|---|---|---|
ListTransportDocuments |
cancelled |
cancelled |
Boolean | b |
Document is canceled |
ListFileAreaDocuments |
file_id |
fileId |
text | s |
ID of the file; also valid as file_id.id |
ListInboxDocuments |
read |
read |
Boolean | b |
Inbox document is read |
ListInboxDocuments |
removed |
removed |
Boolean | b |
Inbox document is removed |
ListFiles |
file_id |
fileId |
text | s |
ID of the file; also valid as file_id.id |
ListFiles |
created |
created |
timestamp (UTC) | utc |
Time the file was created |
ListFiles |
last_changed |
lastChanged |
timestamp (UTC) | utc |
Time of the last change to the file |
ListFiles |
expired |
expired |
timestamp (UTC) | utc |
Expiry time of the file |
ListFiles |
designation |
designation |
text | s |
Designation of the file |
Templates¶
ListTransportTemplates carries the fields of a template directly in the row, without doc. The 205 paths are valid in proto notation only; the names follow the data model of the templates.
All fields of the template list
| Path | Type | Value |
|---|---|---|
template_id |
integer | nInt32 |
bef_anhaenger |
text | s |
abfallbezeichnung |
text | s |
abfallschluessel |
text | s |
entsorgungsnachweisnr |
text | s |
menge_tonnes |
decimal | n |
erz_nr |
text | s |
erz_name1 |
text | s |
erz_name2 |
text | s |
erz_name3 |
text | s |
erz_strasse |
text | s |
erz_hausnr |
text | s |
erz_plz |
text | s |
erz_ort |
text | s |
erz_staat |
text | s |
erz_kontakt_name |
text | s |
erz_kontakt_tel |
text | s |
erz_kontakt_fax |
text | s |
erz_tfsnr |
text | s |
erz_unterschrift |
text | s |
uebergabedatum |
date | d |
bef_nr |
text | s |
bef_name1 |
text | s |
bef_name2 |
text | s |
bef_name3 |
text | s |
bef_strasse |
text | s |
bef_hausnr |
text | s |
bef_plz |
text | s |
bef_ort |
text | s |
bef_staat |
text | s |
bef_kontakt_name |
text | s |
bef_kontakt_tel |
text | s |
bef_kontakt_fax |
text | s |
bef_kontakt_email |
text | s |
bef_tfsnr |
text | s |
bef_unterschrift |
text | s |
uebernahmedatum |
date | d |
ent_nr |
text | s |
ent_name1 |
text | s |
ent_name2 |
text | s |
ent_name3 |
text | s |
ent_strasse |
text | s |
ent_hausnr |
text | s |
ent_plz |
text | s |
ent_ort |
text | s |
ent_staat |
text | s |
ent_kontakt_name |
text | s |
ent_kontakt_tel |
text | s |
ent_kontakt_fax |
text | s |
ent_kontakt_email |
text | s |
ent_tfsnr |
text | s |
ent_unterschrift |
text | s |
annahmedatum |
date | d |
vermerke |
text | s |
erzeuger_betriebs_nr |
text | s |
befoerderer_betriebs_nr |
text | s |
entsorger_betriebs_nr |
text | s |
bef1_nr |
text | s |
bef1_name1 |
text | s |
bef1_name2 |
text | s |
bef1_name3 |
text | s |
bef1_strasse |
text | s |
bef1_hausnr |
text | s |
bef1_plz |
text | s |
bef1_ort |
text | s |
bef1_staat |
text | s |
bef1_kontakt_name |
text | s |
bef1_kontakt_tel |
text | s |
bef1_kontakt_fax |
text | s |
bef1_kontakt_email |
text | s |
bef1_tfsnr |
text | s |
bef1_uebernahme |
date | d |
bef1_unterschrift |
text | s |
bef1_betriebs_nr |
text | s |
bef2_nr |
text | s |
bef2_uebernahme |
date | d |
bef2_name1 |
text | s |
bef2_name2 |
text | s |
bef2_name3 |
text | s |
bef2_strasse |
text | s |
bef2_hausnr |
text | s |
bef2_plz |
text | s |
bef2_ort |
text | s |
bef2_staat |
text | s |
bef2_kontakt_name |
text | s |
bef2_kontakt_tel |
text | s |
bef2_kontakt_fax |
text | s |
bef2_kontakt_email |
text | s |
bef2_tfsnr |
text | s |
bef2_unterschrift |
text | s |
bef2_betriebs_nr |
text | s |
zwl_nr |
text | s |
zwl_uebernahme |
date | d |
zwl_name1 |
text | s |
zwl_name2 |
text | s |
zwl_name3 |
text | s |
zwl_strasse |
text | s |
zwl_hausnr |
text | s |
zwl_plz |
text | s |
zwl_ort |
text | s |
zwl_uebergabe |
date | d |
zwl_unterschrift |
text | s |
zwl_betriebs_nr |
text | s |
entsorger_anlagetyp |
text | s |
f_anzahl_transporte |
integer | nInt32 |
f_erzeugerstaat |
text | s |
f_entsorgerstaat |
text | s |
f_befoerdererstaat |
text | s |
f_exporteurnr |
text | s |
f_exporteurname1 |
text | s |
f_exporteurname2 |
text | s |
f_exporteurstaat |
text | s |
f_exporteurstrasse |
text | s |
f_exporteurhausnr |
text | s |
f_exporteurort1 |
text | s |
f_exporteurplz |
text | s |
f_exporteur_betriebsnr |
text | s |
f_exp_code |
text | s |
f_exp_kontakt_name |
text | s |
f_exp_kontakt_tel |
text | s |
f_exp_kontakt_fax |
text | s |
f_exp_kontakt_email |
text | s |
f_tfs_exporteurnr |
text | s |
f_importeurnr |
text | s |
f_importeurname1 |
text | s |
f_importeurname2 |
text | s |
f_importeurstaat |
text | s |
f_importeurstrasse |
text | s |
f_importeurhausnr |
text | s |
f_importeurort1 |
text | s |
f_importeurplz |
text | s |
f_importeur_betriebsnr |
text | s |
f_imp_code |
text | s |
f_imp_kontakt_name |
text | s |
f_imp_kontakt_tel |
text | s |
f_imp_kontakt_fax |
text | s |
f_imp_kontakt_email |
text | s |
f_tfs_importeurnr |
text | s |
f_abfallschluessel_basel |
text | s |
f_abfallschluessel_oecd |
text | s |
f_abfallschluessel_eu |
text | s |
f_abfallschluessel_y_code |
text | s |
f_abfallschluessel_h_code |
text | s |
f_abfallschluessel_un_klasse |
text | s |
f_abfallschluessel_un_kennnr |
text | s |
f_abfallschluessel_un_vname |
text | s |
letzter_bef_nr |
text | s |
letzter_bef_tfsnr |
text | s |
letzter_befname1 |
text | s |
letzter_befname2 |
text | s |
letzter_befstrasse |
text | s |
letzter_befhausnr |
text | s |
letzter_befort |
text | s |
letzter_befplz |
text | s |
letzter_befstaat |
text | s |
letzter_bef_kontakt_name |
text | s |
letzter_bef_kontakt_tel |
text | s |
letzter_bef_kontakt_fax |
text | s |
letzter_bef_kontakt_email |
text | s |
bef_zugmaschine |
text | s |
bef1_zugmaschine |
text | s |
bef1_anhaenger |
text | s |
bef2_zugmaschine |
text | s |
bef2_anhaenger |
text | s |
bef_transportart |
text | s |
bef1_transportart |
text | s |
bef2_transportart |
text | s |
letzter_bef_transportart |
text | s |
letzter_bef_uebernahme |
date | d |
volumen_cbm |
decimal | n |
behoerde_betriebsnr |
text | s |
rd_code |
text | s |
tfs_bes_handlungsvorschrift |
Boolean | b |
mehr_als_drei_bef |
Boolean | b |
ort_der_erzeugung |
text | s |
ort_der_entsorgung |
text | s |
interne_bezeichnung |
text | s |
gueltig_von |
date | d |
gueltig_bis |
date | d |
created |
timestamp (UTC) | utc |
creator |
text | s |
last_change |
timestamp (UTC) | utc |
last_user |
text | s |
erz_code |
text | s |
bef_code |
text | s |
ent_code |
text | s |
erz_interne_bezeichnung |
text | s |
bef_interne_bezeichnung |
text | s |
ent_interne_bezeichnung |
text | s |
art |
text | s |
sammelentsorgung |
Boolean | b |
durchschlaege_bgls |
integer | nInt32 |
durchschlaege_ubns |
integer | nInt32 |
anzahl |
integer | nInt32 |
anfordern |
integer | nInt32 |
bemerkung |
text | s |
format |
text | s |
modell |
text | s |
registerbeleg |
text | s |
anfordern_name |
text | s |
anfordern_telefon |
text | s |
anfordern_email |
text | s |
anfordern_gelesen |
Boolean | b |
no_sync |
Boolean | b |
erz_kontakt_email |
text | s |