# Get Resource Availability

Get Resource Availability

Endpoint: GET /api/resources/{resourceId}/availability
Version: 1.13
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Path parameters:

  - `resourceId` (string, required)
    The unique Salesforce ID of the Resource whose availability is requested. This is REQUIRED.

## Query parameters:

  - `StartingLessThan` (string)
    The date to find weeks where the start of the week is less than the provided date

  - `EndingGreaterThan` (string)
    The date to find weeks where the end of the week is greater than the provided date

  - `only` (string)
    Filter: Comma separated list of Salesforce Ids to filter by.

  - `countOnly` (boolean)
    If true, returns only the count of matching records instead of the record data.

## Response 200:

  - `200` (unknown)
    Paged list of Resources

## Response 200 fields (application/json):

  - `paging` (object)

  - `paging.totalItems` (integer)

  - `paging.pageSize` (integer)

  - `paging.nextRecordsUrl` (string)

  - `paging.done` (boolean)

  - `paging.count` (integer)

  - `data` (array)

  - `data.CustomFields` (array, required)

  - `data.CustomFields.field` (string)

  - `data.CustomFields.value` (string)

  - `data.Id` (string, required)

  - `data.Name` (string, required)

  - `data.Start` (string, required)

  - `data.AvailabilityPct` (string, required)

  - `data.End` (string, required)

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 500:

  - `500` (unknown)
    Server Error

## Response 500 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

