---
title: "Get Resource"
method: GET
path: "/setup/v1/resources/{id}"
tags: ["Resources"]
---

# Get Resource

`GET /setup/v1/resources/{id}`

Use this endpoint to return a **Resource** object. A valid **resource id** is required. Find resource id's by using the: _GET /setup/v1/resources_ endpoint.

## Path parameters

- `id` string, required

## Query parameters

- `googleAuthReturnUrl` string
- `outlookAuthReturnUrl` string

## Response `200`

Success

- ResourceViewModel
  - `object` string, nullable
  - `id` string, nullable
  - `locationId` string, nullable
  - `name` string, nullable
  - `email` string, nullable
  - `groupId` integer, nullable
  - `description` string, nullable
  - `imageUrl` string, nullable
  - `deletedStatus` boolean
  - `deletedTime` string, date-time, nullable
  - `notificationType` integer
  - `bookingNotification` integer
  - `googleCalendarId` string, nullable
  - `googleCalendarAuthorized` boolean
  - `googleCalendarAuthUrl` string, nullable
  - `outlookCalendarId` string, nullable
  - `outlookCalendarAuthUrl` string, nullable
  - `outlookCalendarAuthorized` boolean
  - `ignoreBusinessHours` boolean
  - `gender` string, nullable
  - `recurringAvailability` boolean, nullable
  - `hourly` number, double, nullable
  - `calendarAvailability` integer
  - `sortKey` integer
  - `skypeName` string, nullable
  - `bioLink` string, nullable
  - `timezoneOffset` integer, nullable
  - `timezoneId` string, nullable
  - `timezoneIana` string, nullable
  - `effectiveDate` string, date-time, nullable
  - `contact` ContactViewModel
    - `phoneType` string, nullable
    - `homePhone` string, nullable
    - `mobilePhone` string, nullable
    - `businessPhone` string, nullable
    - `businessPhoneExt` string, nullable
    - `skypeUsername` string, nullable
    - `conferenceInfo` string, nullable
  - `phone` PhoneViewModel
    - `phoneType` string, nullable
    - `homePhone` string, nullable
    - `mobilePhone` string, nullable
    - `businessPhone` string, nullable
    - `businessPhoneExt` string, nullable
  - `address` AddressViewModel
    - `addressLine1` string, nullable
    - `addressLine2` string, nullable
    - `city` string, nullable
    - `state` string, nullable
    - `country` string, nullable
    - `postalCode` string, nullable
  - `availability` ResourceHoursViewModel
    - `mon` ResourceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `tue` ResourceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `wed` ResourceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `thu` ResourceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `fri` ResourceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `sat` ResourceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `sun` ResourceHourViewModel
      - `startTime` integer
      - `endTime` integer
  - `options` ResourceOptionsInputModel — Options for the new resource
    - `effectiveDate` string, date-time, nullable
    - `notificationType` integer, nullable — 0 = None, 1=Online Bookings 2=All Bookings.
    - `displayColor` string, nullable
    - `googleCalendarId` string, nullable
    - `outlookCalendarId` string, nullable
    - `ignoreBusinessHours` boolean, nullable
    - `gender` string, nullable
    - `hourly` number, double, nullable
    - `calendarAvailability` integer, nullable — 0 = OnSched Availability, 1 = Google Calendar, 2 = Outlook Calendar
    - `bookingNotification` integer, nullable
    - `sortKey` integer, nullable
    - `bioLink` string, nullable
  - `services` ResourceServiceViewModel[], nullable
    - `object` string, nullable
    - `serviceId` integer
    - `serviceName` string, nullable
  - `customFields` CustomFieldInputModel
    - `field1` string, nullable
    - `field2` string, nullable
    - `field3` string, nullable
    - `field4` string, nullable
    - `field5` string, nullable
    - `field6` string, nullable
    - `field7` string, nullable
    - `field8` string, nullable
    - `field9` string, nullable
    - `field10` string, nullable

---

[API](https://skmtc.net/onsched/apis/onsched-setup-api.md) · [All operations](https://skmtc.net/onsched/apis/onsched-setup-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onsched/onsched-setup-api/versions/c5c023458a2f/schema)
