Skip to main content
GET
A catalogue is a closed set of values Dcycle owns, such as the refrigerant gases a recharge invoice can bill. Each term has a code, the stable value records and files use, and a label, the name to show a person, in the Accept-Language language. Show label as it comes: Dcycle writes it, and it is never a key to translate.
Reference data. A catalogue is global: the same terms for every organization. It changes only with a Dcycle release, so fetch it once per session and look codes up locally.
Catalogues available: refrigerant_gases (the refrigerant_fuel_id of POST /v2/invoices/refrigerants is a term’s id).

Request

Headers

string
required
Your API key.
string
required
Your organization UUID. Required even though the catalogue is global: the key is checked against it.
string
The language of the labels: ca, de, en, es, fr, it or pt (a region such as es-ES and weights are understood). Any other value, or none, answers English. The answer says which one it used in locale and in the Content-Language header.

Path Parameters

string
required
The catalogue: refrigerant_gases. Any other value answers 404 CATALOGUE_NOT_FOUND.

Query Parameters

string
Only the terms whose label or code contains this text, ignoring case, accents, hyphens, underscores and spaces: r410 finds R-410A. At most 100 characters.
string
Only these codes. Repeat the parameter for each code (?codes=r_410a&codes=hfc_134a): codes can contain commas.

Response

string
The catalogue.
string
The language of the labels.
array
The terms, sorted by label.

Errors

Create Refrigerant Invoices

Send a gas’s id as refrigerant_fuel_id

List Refrigerant Gases

The same gases as {id, name, code, label}