Formats and encoding

URL encoding

All data sent through the URL should be URL-encoded. For example, a GET request to fetch projects for a customer with id=32 would look like this (the " sign is converted to %22"):

https://api.next-tech.com/v1/project/?filter_str={%22customerid%22:32}&page=1&size=10

All modern programming languages include functions to do this encoding and in most cases, it is automatically handled by your frameworks for REST calls.

Date and time format

All dates and times should be formatted as ISO 8601 local time. This means that dates should be in the format yyyy-mm-dd and date and time should be formatted like yyyy-mm-ddThh:mm:ss. Timezone is not currently handled by Next and all dates and times will be in the local time for the specific customer database that you are interacting with.