iSheets API
iSheets API version 2 - iSheet admin - API - iSheet sections - Add section
OVERVIEW
Add a new section to the iSheet
POST /api/3/isheets/admin/{isheetid}/sections
Request body
Response
The methods returns a 200 http response in the case of a successful request, otherwise an error object is returned.
Andrew Quinn thanks for the feedback. We will look into updating this method to accept one to many sections to create them in one go.
Hi Imran Aziz, can I request an enhancement for this end point to accept a collection (array) of sections to create, much like the Add Column end point? For iSheet's that have sections most real-word sheets would have a dozen or more sections, creating these individually has a few disadvantages:
- More network calls means more latency
- When developing in single-threaded environments (e.g. browsers/Node) best practices are for asynchronous AJAX calls. This adds complexity because we have to chain together the async calls so that the order, in which the sections are to be created, is maintained otherwise we get a race condition and effectively a random order of sections created. Note, I couldn't find an API end point for sorting sections in an iSheet, so we can't reorder after creation either.
Thank you, Andrew
Last Updated: Nov 08,2024
Comments
2 Comments