Get Resource Availability

Gets the availability details of a resource within a specific time frame. To view availability of a resource within a given time frame, provide the start time and end time.

Notes

  • State 0 indicates the status of resource is down.
  • State 4 indicates the status of resource is unknown.
get
/api/v2/tenants/{tenantId}/resources/{resourceId}/availability

Path Parameters

  • tenantIdstringrequired

    Describes the client ID of the tenant

  • resourceIdstringrequired

Query Parameters

  • startTimestring

    startTime indicates the from date. (Convert the time frame to Epoch timestamp.) For example, if 12 Dec 2018 10:00 AM is the start time, then epoch timestamp is 1544608800

  • endTimestring

    endTime indicates the to date. For example, if 17 Dec 2018 12:00 PM is the end time, then epoch timestamp is 1545048000