Some REST endpoints use an offset to handle arrays. For these endpoints, the returned values (such as licenses, customers, etc.) are stored into arrays of up to 100 elements. You can use an offset greater than 0 to get additional returned values.

For example, for GET /license-orders: If you have 321 license orders, you would run this endpoint 4 times using the offsets 0, 100, 200, 300. The first 3 responses will have 100 customers each, and the last response will have 21 customers.

To find the end of the data (since you may not know the number of elements), you can stop looping when the query returns less than 100 results. 

  • No labels