Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can see the latest version infomration information and changes here: API Release Notes

Note

To avoid breaking changes, we release new API versions a few times per year, it is recommended to ensure your API queries utilise the redirection from api/latest to api/{version} for the particular deployment (url) of iTWO cx you are connecting to.

e.g. https://au.itwocx.com/api/latest redirects to https://au.itwocx.com/api/22.12

In C# this could be managed as follows.

Code Block
Uri currentApi;
using (var httpClient = new HttpClient())
{
	var response = httpClient.GetAsync("https://au.itwocx.com/api/latest/").Result;
    currentApi = response?.RequestMessage?.RequestUri;
}

using (var apiClient = new CXApiClient(currentApi)) {
    // Code Here
}


...