GET - Get resource image

Purpose

This API fetches the image of a resource.

Request URL

https://calendar.zoho.com/api/v1/images/<imageId>

OAuth Scope

scope=ZohoCalendar.resources.ALL

or

scope=ZohoCalendar.resources.READ

 

ALL - Access to all resources

READ - Gets the image of a resource

Path Parameters

  • imageIdlong, mandatory
    • The imageId will be generated when you add an image to a resource and can be fetched from the Add/ Update a resource API response.

Request Parameters

  • fileNamestring, mandatory
    • The file name denotes the name of the image file that's attached to a resource. You can fetch the file name using the Get all resources API.
  • resourceIdlong, mandatory
    • The resource ID will be created when you add a resource to resource booking. The resource ID can be fetched using the Get all resources API.

Sample Request

Copiedhttps://calendar.zoho.com/api/v1/images/1594972463960000001?fileName=download.jpeg&resourceId=636537676794110001

Response

CopiedResource image will be sent in response.