iSheets API
iSheets API version 2 - iSheet admin - API - iSheet CRUD operations - Add iSheet

iSheets API version 2 - iSheet admin - API - iSheet CRUD operations - Add iSheet

OVERVIEW

Method to add a new iSheet to the site. The method only allows you to define the details of an iSheet, and does not provide the capability to add columns to the iSheet. Add columns to iSheet record method should be used to add columns to the iSheet.

Request

POST   /api/3/isheets/admin?siteid={siteid}

Parameters

 

Parameter Value Description
siteid

Numeric

number

The ID of the site to create the iSheet in

Request XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
Send iSheet Object 

 

Response

If successful, the API returns the 200 http message with the following payload
 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<isheet>
    <id>{newly created isheet id}</id>
</isheet>

If the operation fails, the API will return one of the following error codes

Code Meaning
201 iSheet created  successfully
401 Unauthorised
403 Validation failed/ Forbidden
405 Method not allowed (calling api with wrong method)
500 Internal error occurred

Comments


14 Comments

Last Updated: Nov 08,2024