action onsched_get_consumer_v1_services_id_resources { label: "List Resources for Service" description: "

Use this endpoint to return a list of Resources that provide the Service requested. A valid service id is required. The results are returned in pages. Use the offset and limit parameters to control the page start and number of results. Default offset is 0, limit is 20, max is 100. Use the query parameters to filter the results further.

" provider: onsched method: GET path: "/consumer/v1/services/{id}/resources" encoding: json input: { type: "object" properties: { id: { type: "string" } limit: { type: "integer" format: "int32" } locationId: { type: "string" } offset: { type: "integer" format: "int32" } } required: ["id"] additionalProperties: false } output: { type: "object" properties: { count: { type: "integer" format: "int32" } data: { type: "array" items: { type: "object" properties: { address: { type: "object" properties: { addressLine1: { type: "string" } addressLine2: { type: "string" } city: { type: "string" } country: { type: "string" } postalCode: { type: "string" } state: { type: "string" } } additionalProperties: false } availability: { type: "object" properties: { fri: { type: "object" properties: { endTime: { type: "integer" format: "int32" } startTime: { type: "integer" format: "int32" } } additionalProperties: false } mon: { type: "object" additionalProperties: true } sat: { type: "object" additionalProperties: true } sun: { type: "object" additionalProperties: true } thu: { type: "object" additionalProperties: true } tue: { type: "object" additionalProperties: true } wed: { type: "object" additionalProperties: true } } additionalProperties: false } bioLink: { type: "string" } bookingNotification: { type: "integer" format: "int32" } calendarAvailability: { type: "integer" format: "int32" } contact: { type: "object" properties: { businessPhone: { type: "string" } businessPhoneExt: { type: "string" } conferenceInfo: { type: "string" } homePhone: { type: "string" } mobilePhone: { type: "string" } phoneType: { type: "string" } skypeUsername: { type: "string" } } additionalProperties: false } customFields: { type: "object" properties: { field1: { type: "string" } field10: { type: "string" } field2: { type: "string" } field3: { type: "string" } field4: { type: "string" } field5: { type: "string" } field6: { type: "string" } field7: { type: "string" } field8: { type: "string" } field9: { type: "string" } } additionalProperties: false } deletedStatus: { type: "boolean" } deletedTime: { type: "string" format: "date-time" } description: { type: "string" } effectiveDate: { type: "string" format: "date-time" } email: { type: "string" } gender: { type: "string" } googleCalendarId: { type: "string" } groupId: { type: "string" } hourly: { type: "number" format: "double" } id: { type: "string" } ignoreBusinessHours: { type: "boolean" } imageUrl: { type: "string" } locationId: { type: "string" } name: { type: "string" } notificationType: { type: "integer" format: "int32" } object: { type: "string" } outlookCalendarId: { type: "string" } recurringAvailability: { type: "boolean" } services: { type: "array" items: { type: "object" properties: { object: { type: "string" } resourceId: { type: "integer" format: "int32" } resourceName: { type: "string" } serviceId: { type: "integer" format: "int32" } serviceName: { type: "string" } } additionalProperties: false } } skypeName: { type: "string" } sortKey: { type: "integer" format: "int32" } timezoneIana: { type: "string" } timezoneId: { type: "string" } timezoneOffset: { type: "integer" format: "int32" } } additionalProperties: false } } hasMore: { type: "boolean" } object: { type: "string" } total: { type: "integer" format: "int32" } url: { type: "string" } } additionalProperties: false } }