iSheets API
iSheets API version 2 - iSheet module - API - iSheet module - Get attachment

iSheets API version 2 - iSheet module - API - iSheet module - Get attachment

OVERVIEW

 

This api is designed to be used for downloading an iSheet item attachment.

 

GET /api/3/isheet/item/{itemid}/attachment/{attachmentid}

 

Parameter Name Parameter Value Description
item

number

isheet item ID

attachmentid

number

isheet item attachment ID

 

PLEASE NOTE: a common 'gotcha' here is to include the iSheetid in the uri (like when calling 'get item'). This is unnecessary. We only require the unique identifier of the iSheet item and attachment.

Response :  Binary stream of document

Response Code

Code Meaning
200 Document found
400

Problem with parsing XML or JSON object (Bad Request)

401 Unauthorized
403 Validation failed/ Forbidden
404 Document doesn't exists in the system
405 Method not allowed (calling api with wrong method)
500 Internal error occured while gettting document content

 

Comments


7 Comments

Last Updated: Jun 09,2023