Retrieving Attachments
Retrieving attachments
Attachments should be retrieved in 2 steps:
getting the attachment UUID from the object's field . e.g: Transaction.TSAMyImage1
call
pepperi.api.attachments.get
( while search can be used to get multiple images of certain item or category)
Get single attachment and list of attachments
Attachments are retrieved like a standard resource - the difference is in their optional fields and their response :
Returns:
Getting list of attachments :
Returns:
URI: In case of native app it will return the base64 of the Binary Content in data-URI format (embedded base64 URI)
URL: Will always return the attachment's web URL- no matter what is the app type - web or native
Last updated