AJAX Gateway
Overview
The AJAX gateway is basically the same as the XML gateway endpoint used by Web Services developers, with a couple exceptions.
- The AJAX gateway can only be accessed from pages running inside the Sage Intacct Platform (usually page scripts).
- Web Services credentials are not required because the
ajax
sender ID is automatically used. Note though that this sender ID must be added to the company’s Web Services authorizations list.
In order to assist with using the AJAX gateway, Sage Intacct provides the AJAX SDK for JavaScript. This allows you to mostly work with JavaScript functions and objects instead of directly with the underlying XML API.
The intention of the AJAX gateway is to help Platform Services developers create both:
- Client-side page scripts
- JavaScript applications from scratch
Concurrent connections and timeouts
The system limits the number of AJAX requests it accepts from a single user. These are typically in same throttle as the requests coming from the application UI:
- Aggregate: 900 requests in any 18 second period and 1800 requests in a 60 second period.
- Parallel: 100 requests.
Note: Limits are subject to change without notice in order to maintain optimal performance.