Data types

Data is formatted consuming and producing application/json media types.

The Upodi API use several different data types to extend and express data value(s). Data types will follow these policies.

Data type policies

Data typeDescriptionExample
currenciesAll currencies are handled as floats. They are formatted by US numeric standard, with up to three digits.490.281,900
date and timeDate and time is always formatted to UTC timezone ("yyyy-MM-ddTHH:mm:ssZ"). Ensure to handle time correct.2015-06-15T13:45:30
numbersAll numbers (integers, doubles, and floats) are formatted by US numeric standard.3.390.281,90
guidAll IDs are guid (UUID) formatted using 128 bit. Use online tool0f9aeed3-7c54-4cae-976a-dc35ed4f09ce

You must deal with UTC and timezones correctly

Timezones and UTC dates are often leading to issues.
Please use our tool here to simulate how dates are changing subject to daylight saving time (DST) and UTC offset.