Everyone who uses our API http://www.pointloyalty.com/web20_details.html needs to pay attention that fields declared “optional” are very important at times.
We tried to simplify our API to make it easier to learn the system, but we recommend to study the system documentation especially before using it in production.
Example:
Login object has following fields:
- Name – Client name in PointLoyalty Manager.
- Password – Password.
- Locale – Client language string. ‘EN’ by default.
- TimeZoneId – Timezone. String representation as in Java programming language.
Fields «Locale» and «TimeZoneId» are optional and all tests will work without passing them into the system.
But please consider the following:
- If you not an English speaking user and you do not pass «Locale» parameter you will get all
messages from our services in English; date and time fields will be processed according to US
date/time formats, etc.
- If you are not in US/California (where our servers are) – all empty date/time fields by default will
have current US/California time and not time of your time zone as you could expect.
Errors of this kind are easy to avoid by spending a couple of minutes on reading API documentation.