Get Data Backup Details

Purpose

To fetch information about the latest data backup scheduled for your CRM account.

Request Details

Request URL

{api-domain}/crm/bulk/v6/backup

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Scope

scope=ZohoCRM.bulk.backup.ALL
(or)
scope=ZohoCRM.bulk.backup.READ

Possible operation types

ALL - Full access to backup data
READ - Fetch information about a scheduled backup

Sample Request

Copiedcurl "https://www.zohoapis.com/crm/bulk/v6/backup"
-X GET
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"

Response JSON Keys

  • idstring

    The ID of the scheduled job.

  • scheduled_dateDateTime

    The date and time at which the next backup is scheduled to take place. This key is null if you do not specify the rrule while scheduling the backup.

  • start_dateDateTime

    The date and time at which the first backup takes place. This key is null if you do not specify the rrule while scheduling the backup.

  • rrulestring

    The recurring rule for the backup schedule.

  • requesterJSON object

    Details of the user who scheduled the backup. The details include the name, record ID, and the ZUID of the user.

  • statusstring

    Represents the status of the scheduled backup. The possible values are STOPPED, SCHEDULED, INPROGRESS, COMPLETED and FAILED.

Possible Errors

  • INVALID_URL_PATTERNHTTP 404

    Please check if the URL trying to access is a correct one
    Resolution: The request URL specified is incorrect. Specify a valid request URL. Refer to request URL section above.

  • OAUTH_SCOPE_MISMATCHHTTP 401

    Unauthorized
    Resolution: Client does not have the required scope. Create a new client with valid scope. Refer to scope section above for more details.

  • NO_PERMISSIONHTTP 403

    Permission denied to read
    Resolution: The user does not have permission to read data backup data. Contact your system administrator.

  • INTERNAL_ERRORHTTP 500

    Internal Server Error
    Resolution: Unexpected and unhandled exception in Server. Contact support team.

  • INVALID_REQUEST_METHODHTTP 400

    The http request method type is not a valid one
    Resolution: You have specified an invalid HTTP method to access the API URL. Specify a valid request method. Refer to endpoints section above.

Sample Response

Copied{
    "backup": {
        "id": "4876876000001593003",
        "scheduled_date": "2022-07-26T09:58:45+05:30",
        "start_date": "2022-07-12T12:30:00+05:30",
        "rrule": "RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=TU",
        "requester": {
            "id": "4876876000000327001",
            "name": "Patricia Boyle",
            "zuid": "7534658674"
        },
        "status": "SCHEDULED"
    }
}