Nomenclatures

Some of the data that the Cobuilder APIs work with is predefined – an error will be returned if the entered data deviates from the options and codes described on this page. Here you will find the different data types, operators, countries and languages that our APIs support.

In order for us to make the template specific enough, the products’ digital passport machine readable and the information easily exportable in different formats, we have different data types, depending on the type of information that the particular product characteristic bears. The data types our APIs use are:
Datatype (parameter) Data type description
string String - ex. "Hello world!"
int Integer - ex. "3"
float Float number - ex. "3.14"
bool Boolean - ex. "true"
date Date (The only accepted format is the ISO 8601 f.ex. 2020-12-31)
link Link - ex. "https://cobuilder.com"
email Email - ex. "support@cobuilder.com"
In order to create a range value for a property, one needs to use operators for specifying the exact range. The possible operators are:
Operator (parameter) Value operator
eq Equal to (=)
lt Less than (<)
lte Less than or equal to (<=)
gt Greater than (>)
gte Greater than or equal to (>=)
Here’s a list of the countries that our APIs support. The supported country format is the ISO 3166 Аlpha-2 code format.
Country (parameter) Country
AU Australia
AT Austria
BE Belgium
BG Bulgaria
CA Canada
CN China
HR Croatia
CZ Czech Republic
DK Denmark
EE Estonia
FI Finland
FR France
DE Germany
HU Hungary
IR Irland
IT Italy
JP Japan
LV Latvia
LT Lithuania
LU Luxembourg
NL The Netherlands
NZ New zealand
NO Norway
PL Poland
PT Portugal
RU Russia
SG Singapore
ES Spain
SE Sweden
CH Switzerland
TR Turkey
GB United Kingdom
US USA
Here’s a list of the cultures and languages that our APIs support:
Culture (parameter) Culture name
bg-BG Bulgarian
cs-CZ Czech
zh-CH Chinese (Simplified, PRC)
da-DK Danish
nl-BE Dutch (Belgium)
nl-NL Dutch (Netherlands)
en English (International)
en-GB English (United Kingdom)
en-US English (United States)
fi-FI Finnish
fr-BE French (Belgium)
fr-FR French (France)
de-DE German
el-GR Greek
hu-HU Hungarian
it-IT Italian
is-IS Islandic
nb-NO Norwegian (Bokmål)
pl-PL Polish
pt-PT Portuguese
ro-RO Romanian
ru-RU Russian
sr-Latn Serbian
es-ES Spanish
sv-SE Swedish