{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/business:onsched-setup/get-setup-v1-appointments":{"get":{"operationId":"business_onsched_setup_get_setup_v1_appointments","summary":"List Appointments","description":"GET /setup/v1/appointments","tags":["business"],"parameters":[{"name":"locationId","in":"query","required":false,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}},{"name":"email","in":"query","required":false,"description":"Filter appointments by email address","schema":{"type":"string","description":"Filter appointments by email address"}},{"name":"lastname","in":"query","required":false,"description":"Filter appointments by lastname or part of","schema":{"type":"string","description":"Filter appointments by lastname or part of"}},{"name":"serviceId","in":"query","required":false,"description":"Filter appointments by service","schema":{"type":"string","description":"Filter appointments by service"}},{"name":"calendarId","in":"query","required":false,"description":"Filter appointments by calendar","schema":{"type":"string","description":"Filter appointments by calendar"}},{"name":"resourceId","in":"query","required":false,"description":"Filter appointments by resource","schema":{"type":"string","description":"Filter appointments by resource"}},{"name":"customerId","in":"query","required":false,"description":"Filter appointments by customer","schema":{"type":"string","description":"Filter appointments by customer"}},{"name":"serviceAllocationId","in":"query","required":false,"description":"Filter appointments by service allocation","schema":{"type":"string","description":"Filter appointments by service allocation"}},{"name":"startDate","in":"query","required":false,"description":"Format YYYY-MM-DD: Filter appointments by on/after startDate","schema":{"type":"string","description":"Format YYYY-MM-DD: Filter appointments by on/after startDate"}},{"name":"endDate","in":"query","required":false,"description":"Format YYYY-MM-DD: Filter appointments on/before endDate","schema":{"type":"string","description":"Format YYYY-MM-DD: Filter appointments on/before endDate"}},{"name":"status","in":"query","required":false,"description":"Filter appointments by status: IN, BK, CN, RE, RS","schema":{"type":"string","description":"Filter appointments by status: IN, BK, CN, RE, RS"}},{"name":"bookedBy","in":"query","required":false,"description":"Filter appointments by user email who booked","schema":{"type":"string","description":"Filter appointments by user email who booked"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-appointments-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_appointments_id","summary":"Get Appointment","description":"GET /setup/v1/appointments/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of appointment object","schema":{"type":"string","description":"id of appointment object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-appointments-id-reassign-resource-resource-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_appointments_id_reassign_resource_resource_id","summary":"Reassign Appointment","description":"PUT /setup/v1/appointments/{id}/reassign/resource/{resourceId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","resourceId"],"properties":{"id":{"type":"string","description":"id of appointment object"},"resourceId":{"type":"string","description":"id of target resource"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-businessusers":{"get":{"operationId":"business_onsched_setup_get_setup_v1_businessusers","summary":"List Users","description":"GET /setup/v1/businessusers","tags":["business"],"parameters":[{"name":"locationId","in":"query","required":false,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}},{"name":"email","in":"query","required":false,"description":"Filter by email address","schema":{"type":"string","description":"Filter by email address"}},{"name":"role","in":"query","required":false,"description":"Filter user role","schema":{"type":"string","description":"Filter user role"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-businessusers":{"post":{"operationId":"business_onsched_setup_post_setup_v1_businessusers","summary":"Create User","description":"POST /setup/v1/businessusers","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-businessusers-permissions":{"get":{"operationId":"business_onsched_setup_get_setup_v1_businessusers_permissions","summary":"List User Permissions","description":"GET /setup/v1/businessusers/permissions","tags":["business"],"parameters":[{"name":"role","in":"query","required":false,"description":"Filter permissions by role","schema":{"type":"string","description":"Filter permissions by role"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-businessusers-email-companies":{"get":{"operationId":"business_onsched_setup_get_setup_v1_businessusers_email_companies","summary":"List User Companies","description":"GET /setup/v1/businessusers/{email}/companies","tags":["business"],"parameters":[{"name":"email","in":"query","required":true,"description":"Email of business user","schema":{"type":"string","description":"Email of business user"}},{"name":"searchText","in":"query","required":false,"description":"All or partial company name","schema":{"type":"string","description":"All or partial company name"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-businessusers-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_businessusers_id","summary":"Get User","description":"GET /setup/v1/businessusers/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of businessUser object","schema":{"type":"string","description":"id of businessUser object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-businessusers-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_businessusers_id","summary":"Update User","description":"PUT /setup/v1/businessusers/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-businessusers-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_businessusers_id","summary":"Delete User","description":"DELETE /setup/v1/businessusers/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-calendars":{"get":{"operationId":"business_onsched_setup_get_setup_v1_calendars","summary":"List Calendars","description":"GET /setup/v1/calendars","tags":["business"],"parameters":[{"name":"locationId","in":"query","required":false,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}},{"name":"deleted","in":"query","required":false,"description":"Filter by deleted status","schema":{"type":"boolean","description":"Filter by deleted status"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-calendars":{"post":{"operationId":"business_onsched_setup_post_setup_v1_calendars","summary":"DEPRECATING: Create","description":"POST /setup/v1/calendars","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-calendars-block-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_calendars_block_id","summary":"Update Calendar Block","description":"PUT /setup/v1/calendars/block/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of calendarBlock object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-calendars-block-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_calendars_block_id","summary":"Delete Calendar Block","description":"DELETE /setup/v1/calendars/block/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of a calendarBlock object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-calendars-blocks-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_calendars_blocks_id","summary":"Get Calendar Block","description":"GET /setup/v1/calendars/blocks/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of calendarBlock object","schema":{"type":"string","description":"id of calendarBlock object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-calendars-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_calendars_id","summary":"Get Calendar","description":"GET /setup/v1/calendars/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of calendar object","schema":{"type":"string","description":"id of calendar object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-calendars-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_calendars_id","summary":"Update Calendar","description":"PUT /setup/v1/calendars/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of calendar object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-calendars-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_calendars_id","summary":"Delete Calendar","description":"DELETE /setup/v1/calendars/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of calendar object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-calendars-id-block":{"post":{"operationId":"business_onsched_setup_post_setup_v1_calendars_id_block","summary":"Create Calendar Block","description":"POST /setup/v1/calendars/{id}/block","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of calendar object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-calendars-id-blocks":{"get":{"operationId":"business_onsched_setup_get_setup_v1_calendars_id_blocks","summary":"List Calendar Blocks","description":"GET /setup/v1/calendars/{id}/blocks","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of calendar to list blocks","schema":{"type":"string","description":"id of calendar to list blocks"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-calendars-id-recover":{"post":{"operationId":"business_onsched_setup_put_setup_v1_calendars_id_recover","summary":"Recover Calendar","description":"PUT /setup/v1/calendars/{id}/recover","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of calendar object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-calendars-id-services":{"get":{"operationId":"business_onsched_setup_get_setup_v1_calendars_id_services","summary":"List Calendar Services","description":"GET /setup/v1/calendars/{id}/services","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of calendar object","schema":{"type":"string","description":"id of calendar object"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-companies":{"get":{"operationId":"business_onsched_setup_get_setup_v1_companies","summary":"Get Company","description":"GET /setup/v1/companies","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-companies":{"post":{"operationId":"business_onsched_setup_post_setup_v1_companies","summary":"Create Company","description":"POST /setup/v1/companies","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-companies":{"post":{"operationId":"business_onsched_setup_put_setup_v1_companies","summary":"Update Company","description":"PUT /setup/v1/companies","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-companies-domains":{"get":{"operationId":"business_onsched_setup_get_setup_v1_companies_domains","summary":"List Company Domains","description":"GET /setup/v1/companies/domains","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-companies-domains":{"post":{"operationId":"business_onsched_setup_post_setup_v1_companies_domains","summary":"Create Company Domain","description":"POST /setup/v1/companies/domains","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-companies-domains-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_companies_domains_id","summary":"Get Company Domain","description":"GET /setup/v1/companies/domains/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of companyDomain object","schema":{"type":"string","description":"id of companyDomain object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-companies-domains-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_companies_domains_id","summary":"Update Company Domain","description":"PUT /setup/v1/companies/domains/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of companyDomain object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-companies-domains-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_companies_domains_id","summary":"Delete Company Domain","description":"DELETE /setup/v1/companies/domains/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of companyDomain object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-companies-email-templates":{"get":{"operationId":"business_onsched_setup_get_setup_v1_companies_email_templates","summary":"List Email Templates","description":"GET /setup/v1/companies/email/templates","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-companies-email-templates-master":{"get":{"operationId":"business_onsched_setup_get_setup_v1_companies_email_templates_master","summary":"Get Master Template Settings","description":"GET /setup/v1/companies/email/templates/master","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-companies-email-templates-master":{"post":{"operationId":"business_onsched_setup_post_setup_v1_companies_email_templates_master","summary":"Create Master Template Settings","description":"POST /setup/v1/companies/email/templates/master","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-companies-email-templates-master":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_companies_email_templates_master","summary":"Delete Master Template Settings","description":"DELETE /setup/v1/companies/email/templates/master","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-companies-email-templates-template-name":{"get":{"operationId":"business_onsched_setup_get_setup_v1_companies_email_templates_template_name","summary":"Get Email Template","description":"GET /setup/v1/companies/email/templates/{templateName}","tags":["business"],"parameters":[{"name":"templateName","in":"query","required":true,"description":"Email template name","schema":{"type":"string","description":"Email template name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-companies-regions":{"get":{"operationId":"business_onsched_setup_get_setup_v1_companies_regions","summary":"List Regions","description":"GET /setup/v1/companies/regions","tags":["business"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-companies-regions":{"post":{"operationId":"business_onsched_setup_post_setup_v1_companies_regions","summary":"Create Region","description":"POST /setup/v1/companies/regions","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-companies-regions-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_companies_regions_id","summary":"Get Region","description":"GET /setup/v1/companies/regions/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of a region object","schema":{"type":"string","description":"id of a region object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-companies-regions-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_companies_regions_id","summary":"Update Region","description":"PUT /setup/v1/companies/regions/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of Region"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-companies-regions-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_companies_regions_id","summary":"Delete Region","description":"DELETE /setup/v1/companies/regions/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of Region"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-companies-timezones-date":{"get":{"operationId":"business_onsched_setup_get_setup_v1_companies_timezones_date","summary":"List Time Zones","description":"GET /setup/v1/companies/timezones/{date}","tags":["business"],"parameters":[{"name":"date","in":"query","required":true,"description":"\"YYYY-MM-DD: Date for timezone info\"","schema":{"type":"string","description":"\"YYYY-MM-DD: Date for timezone info\""}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-customers":{"get":{"operationId":"business_onsched_setup_get_setup_v1_customers","summary":"List Customers","description":"GET /setup/v1/customers","tags":["business"],"parameters":[{"name":"locationId","in":"query","required":false,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}},{"name":"groupId","in":"query","required":false,"description":"Filter by groupId","schema":{"type":"string","description":"Filter by groupId"}},{"name":"email","in":"query","required":false,"description":"Filter by email address.","schema":{"type":"string","description":"Filter by email address."}},{"name":"lastname","in":"query","required":false,"description":"Search by lastname.","schema":{"type":"string","description":"Search by lastname."}},{"name":"deleted","in":"query","required":false,"description":"Filter by deleted status.","schema":{"type":"boolean","description":"Filter by deleted status."}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-customers-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_customers_id","summary":"Get Customer","description":"GET /setup/v1/customers/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of customer object","schema":{"type":"string","description":"id of customer object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-customers-id-privacy":{"get":{"operationId":"business_onsched_setup_get_setup_v1_customers_id_privacy","summary":"Get Customer Data","description":"GET /setup/v1/customers/{id}/privacy","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of customer object","schema":{"type":"string","description":"id of customer object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-locations":{"get":{"operationId":"business_onsched_setup_get_setup_v1_locations","summary":"List Locations","description":"GET /setup/v1/locations","tags":["business"],"parameters":[{"name":"name","in":"query","required":false,"description":"Location name(full or partial) to filter on","schema":{"type":"string","description":"Location name(full or partial) to filter on"}},{"name":"serviceId","in":"query","required":false,"description":"Find locations that offer this service","schema":{"type":"string","description":"Find locations that offer this service"}},{"name":"friendlyId","in":"query","required":false,"description":"friendlyId of location","schema":{"type":"string","description":"friendlyId of location"}},{"name":"deleted","in":"query","required":false,"description":"Filter locations on deleted status","schema":{"type":"boolean","description":"Filter locations on deleted status"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-locations":{"post":{"operationId":"business_onsched_setup_post_setup_v1_locations","summary":"Create Location","description":"POST /setup/v1/locations","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-locations-bulk":{"post":{"operationId":"business_onsched_setup_post_setup_v1_locations_bulk","summary":"Create Locations Bulk","description":"POST /setup/v1/locations/bulk","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-locations-services-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_locations_services_id","summary":"Get Linked Service","description":"GET /setup/v1/locations/services/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of locationService object","schema":{"type":"string","description":"id of locationService object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-locations-services-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_locations_services_id","summary":"Unlink Service","description":"DELETE /setup/v1/locations/services/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of locationService object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-locations-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_locations_id","summary":"Get Location","description":"GET /setup/v1/locations/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-locations-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_locations_id","summary":"Update Location","description":"PUT /setup/v1/locations/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"removeRegion":{"type":"boolean"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-locations-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_locations_id","summary":"Delete Location","description":"DELETE /setup/v1/locations/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-locations-id-appointmentreminders":{"get":{"operationId":"business_onsched_setup_get_setup_v1_locations_id_appointmentreminders","summary":"Get Reminders","description":"GET /setup/v1/locations/{id}/appointmentreminders","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-locations-id-appointmentreminders":{"post":{"operationId":"business_onsched_setup_put_setup_v1_locations_id_appointmentreminders","summary":"Update Reminders","description":"PUT /setup/v1/locations/{id}/appointmentreminders","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-locations-id-deleteallimages":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_locations_id_deleteallimages","summary":"Delete All Location Images","description":"DELETE /setup/v1/locations/{id}/deleteallimages","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"uppercase":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-locations-id-deleteimage":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_locations_id_deleteimage","summary":"Delete Location Image","description":"DELETE /setup/v1/locations/{id}/deleteimage","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-locations-id-email-templates":{"get":{"operationId":"business_onsched_setup_get_setup_v1_locations_id_email_templates","summary":"List Email Templates","description":"GET /setup/v1/locations/{id}/email/templates","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-locations-id-email-templates":{"post":{"operationId":"business_onsched_setup_post_setup_v1_locations_id_email_templates","summary":"Create Custom Template","description":"POST /setup/v1/locations/{id}/email/templates","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-locations-id-email-templates-master":{"get":{"operationId":"business_onsched_setup_get_setup_v1_locations_id_email_templates_master","summary":"Get Master Template Settings","description":"GET /setup/v1/locations/{id}/email/templates/master","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-locations-id-email-templates-master":{"post":{"operationId":"business_onsched_setup_post_setup_v1_locations_id_email_templates_master","summary":"Create Master Template Settings","description":"POST /setup/v1/locations/{id}/email/templates/master","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-locations-id-email-templates-master":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_locations_id_email_templates_master","summary":"Delete Master Template Settings","description":"DELETE /setup/v1/locations/{id}/email/templates/master","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-locations-id-email-templates-template-name":{"get":{"operationId":"business_onsched_setup_get_setup_v1_locations_id_email_templates_template_name","summary":"Get Email Template","description":"GET /setup/v1/locations/{id}/email/templates/{templateName}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of business location","schema":{"type":"string","description":"id of business location"}},{"name":"templateName","in":"query","required":true,"description":"name of the email template","schema":{"type":"string","description":"name of the email template"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-locations-id-email-templates-template-name":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_locations_id_email_templates_template_name","summary":"Delete Custom Template","description":"DELETE /setup/v1/locations/{id}/email/templates/{templateName}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","templateName"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"},"templateName":{"type":"string","description":"Name of the email template"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-locations-id-google-service-account":{"post":{"operationId":"business_onsched_setup_post_setup_v1_locations_id_google_service_account","summary":"Create Google Cal Access","description":"POST /setup/v1/locations/{id}/google/service/account","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-locations-id-google-service-account":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_locations_id_google_service_account","summary":"Delete Google Cal Access","description":"DELETE /setup/v1/locations/{id}/google/service/account","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-locations-id-holidays-holiday-id-closed":{"post":{"operationId":"business_onsched_setup_put_setup_v1_locations_id_holidays_holiday_id_closed","summary":"Update Location Holidays","description":"PUT /setup/v1/locations/{id}/holidays/{holidayId}/{closed}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","holidayId","closed"],"properties":{"id":{"type":"string"},"holidayId":{"type":"string"},"closed":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-locations-id-recover":{"post":{"operationId":"business_onsched_setup_put_setup_v1_locations_id_recover","summary":"Recover Location","description":"PUT /setup/v1/locations/{id}/recover","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-locations-id-services":{"get":{"operationId":"business_onsched_setup_get_setup_v1_locations_id_services","summary":"List Location Linked Services","description":"GET /setup/v1/locations/{id}/services","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-locations-id-services":{"post":{"operationId":"business_onsched_setup_post_setup_v1_locations_id_services","summary":"Create Linked Service","description":"POST /setup/v1/locations/{id}/services","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-locations-id-services":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_locations_id_services","summary":"Delete Linked Services","description":"DELETE /setup/v1/locations/{id}/services","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-locations-id-settings-scope-settings-scope":{"post":{"operationId":"business_onsched_setup_put_setup_v1_locations_id_settings_scope_settings_scope","summary":"Update Location Scope","description":"PUT /setup/v1/locations/{id}/settings/scope/{settingsScope}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","settingsScope"],"properties":{"id":{"type":"string"},"settingsScope":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-locations-id-uploadimage":{"post":{"operationId":"business_onsched_setup_post_setup_v1_locations_id_uploadimage","summary":"Upload Location Image","description":"POST /setup/v1/locations/{id}/uploadimage","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of business location, defaults to primary business location"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resourcegroups":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resourcegroups","summary":"List Resource Groups","description":"GET /setup/v1/resourcegroups","tags":["business"],"parameters":[{"name":"locationId","in":"query","required":false,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}},{"name":"deleted","in":"query","required":false,"description":"Filter results by deleted status","schema":{"type":"boolean","description":"Filter results by deleted status"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-resourcegroups":{"post":{"operationId":"business_onsched_setup_post_setup_v1_resourcegroups","summary":"Create Resource Group","description":"POST /setup/v1/resourcegroups","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resourcegroups-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resourcegroups_id","summary":"Get Resource Group","description":"GET /setup/v1/resourcegroups/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of resourceGroup object","schema":{"type":"string","description":"id of resourceGroup object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-resourcegroups-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_resourcegroups_id","summary":"Update Resource Group","description":"PUT /setup/v1/resourcegroups/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resourcGroup object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-resourcegroups-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_resourcegroups_id","summary":"Delete Resource Group","description":"DELETE /setup/v1/resourcegroups/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resourceGroup object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-resourcegroups-id-recover":{"post":{"operationId":"business_onsched_setup_put_setup_v1_resourcegroups_id_recover","summary":"Recover Resource Group","description":"PUT /setup/v1/resourcegroups/{id}/recover","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resourceGroup object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resources":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resources","summary":"List Resources","description":"GET /setup/v1/resources","tags":["business"],"parameters":[{"name":"locationId","in":"query","required":false,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}},{"name":"resourceGroupId","in":"query","required":false,"description":"Filter by group Id","schema":{"type":"string","description":"Filter by group Id"}},{"name":"email","in":"query","required":false,"description":"Filter by email address","schema":{"type":"string","description":"Filter by email address"}},{"name":"name","in":"query","required":false,"description":"Search by name","schema":{"type":"string","description":"Search by name"}},{"name":"deleted","in":"query","required":false,"description":"Show by deleted status, default is false","schema":{"type":"boolean","description":"Show by deleted status, default is false"}},{"name":"googleAuthReturnUrl","in":"query","required":false,"description":"Google calendar authorization return url","schema":{"type":"string","description":"Google calendar authorization return url"}},{"name":"outlookAuthReturnUrl","in":"query","required":false,"description":"Outlook calendar authorization return url","schema":{"type":"string","description":"Outlook calendar authorization return url"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max is 100","schema":{"type":"integer","description":"Page limit default 20, max is 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-resources":{"post":{"operationId":"business_onsched_setup_post_setup_v1_resources","summary":"Create Resource","description":"POST /setup/v1/resources","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"googleAuthReturnUrl":{"type":"string","description":"Google calendar authorization return url"},"outlookAuthReturnUrl":{"type":"string","description":"Outlook calendar authorization return url"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resources-allocations-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resources_allocations_id","summary":"Get Allocation","description":"GET /setup/v1/resources/allocations/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of resourceAllocation object","schema":{"type":"string","description":"id of resourceAllocation object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-resources-allocations-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_resources_allocations_id","summary":"Update Allocation","description":"PUT /setup/v1/resources/allocations/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resourceAllocation object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-resources-allocations-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_resources_allocations_id","summary":"Delete Allocation","description":"DELETE /setup/v1/resources/allocations/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resourceAllocation object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-resources-block-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_resources_block_id","summary":"Update Block","description":"PUT /setup/v1/resources/block/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resourceBlock object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-resources-block-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_resources_block_id","summary":"Delete Block","description":"DELETE /setup/v1/resources/block/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resourceBlock object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resources-blocks-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resources_blocks_id","summary":"Get Block","description":"GET /setup/v1/resources/blocks/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of resourceBlock object","schema":{"type":"string","description":"id of resourceBlock object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-resources-bulk":{"post":{"operationId":"business_onsched_setup_post_setup_v1_resources_bulk","summary":"Create Resources Bulk","description":"POST /setup/v1/resources/bulk","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"googleAuthReturnUrl":{"type":"string","description":"Google calendar authorization return url"},"outlookAuthReturnUrl":{"type":"string","description":"Outlook calendar authorization return url"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-resources-bulk":{"post":{"operationId":"business_onsched_setup_put_setup_v1_resources_bulk","summary":"Update Resources Bulk","description":"PUT /setup/v1/resources/bulk","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"googleAuthReturnUrl":{"type":"string","description":"Google calendar authorization return url"},"outlookAuthReturnUrl":{"type":"string","description":"Outlook calendar authorization return url"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resources-timezones":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resources_timezones","summary":"Get Time Zones","description":"GET /setup/v1/resources/timezones","tags":["business"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resources-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resources_id","summary":"Get Resource","description":"GET /setup/v1/resources/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of resource object","schema":{"type":"string","description":"id of resource object"}},{"name":"googleAuthReturnUrl","in":"query","required":false,"description":"Google calendar authorization return url","schema":{"type":"string","description":"Google calendar authorization return url"}},{"name":"outlookAuthReturnUrl","in":"query","required":false,"description":"Outlook calendar authorization return url","schema":{"type":"string","description":"Outlook calendar authorization return url"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-resources-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_resources_id","summary":"Update Resource","description":"PUT /setup/v1/resources/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resource object"},"googleAuthReturnUrl":{"type":"string","description":"Google calendar authorization return url"},"outlookAuthReturnUrl":{"type":"string","description":"Outlook calendar authorization return url"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-resources-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_resources_id","summary":"Delete Resource","description":"DELETE /setup/v1/resources/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resource object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resources-id-allocations":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resources_id_allocations","summary":"List Resource Allocations","description":"GET /setup/v1/resources/{id}/allocations","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of resource to list allocations for","schema":{"type":"string","description":"id of resource to list allocations for"}},{"name":"startDate","in":"query","required":false,"description":"yyyy-mm-dd, filter allocations on/after startDate","schema":{"type":"string","description":"yyyy-mm-dd, filter allocations on/after startDate"}},{"name":"endDate","in":"query","required":false,"description":"yyyy-mm-dd, filter on/before endDate","schema":{"type":"string","description":"yyyy-mm-dd, filter on/before endDate"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-resources-id-allocations":{"post":{"operationId":"business_onsched_setup_post_setup_v1_resources_id_allocations","summary":"Create Allocation","description":"POST /setup/v1/resources/{id}/allocations","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resource object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resources-id-availability":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resources_id_availability","summary":"List Weekly Availability","description":"GET /setup/v1/resources/{id}/availability","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of resource object","schema":{"type":"string","description":"id of resource object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-resources-id-availability":{"post":{"operationId":"business_onsched_setup_put_setup_v1_resources_id_availability","summary":"Update Weekly Availability","description":"PUT /setup/v1/resources/{id}/availability","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resource object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-resources-id-block":{"post":{"operationId":"business_onsched_setup_post_setup_v1_resources_id_block","summary":"Create Block","description":"POST /setup/v1/resources/{id}/block","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resource object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resources-id-blocks":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resources_id_blocks","summary":"List Resource Blocks","description":"GET /setup/v1/resources/{id}/blocks","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of resource to list blocks for","schema":{"type":"string","description":"id of resource to list blocks for"}},{"name":"startDate","in":"query","required":false,"description":"YYYY-MM-DD, filter blocks on/after startDate","schema":{"type":"string","description":"YYYY-MM-DD, filter blocks on/after startDate"}},{"name":"endDate","in":"query","required":false,"description":"YYYY-MM-DD, filter on/before endDate","schema":{"type":"string","description":"YYYY-MM-DD, filter on/before endDate"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resources-id-calendar-auth-google-google-email":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resources_id_calendar_auth_google_google_email","summary":"Get Resource Google URL","description":"GET /setup/v1/resources/{id}/calendar/auth/google/{googleEmailAddress}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of resource object","schema":{"type":"string","description":"id of resource object"}},{"name":"googleEmailAddress","in":"query","required":true,"description":"Email address of Google Calendar","schema":{"type":"string","description":"Email address of Google Calendar"}},{"name":"googleAuthReturnUrl","in":"query","required":false,"description":"Google calendar authorization return url","schema":{"type":"string","description":"Google calendar authorization return url"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-resources-id-calendar-auth-outlook-outlook-emai":{"get":{"operationId":"business_onsched_setup_get_setup_v1_resources_id_calendar_auth_outlook_outlook_emai","summary":"Get Resource Outlook URL","description":"GET /setup/v1/resources/{id}/calendar/auth/outlook/{outlookEmailAddress}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of resource object","schema":{"type":"string","description":"id of resource object"}},{"name":"outlookEmailAddress","in":"query","required":true,"description":"Email address of Outlook Calendar","schema":{"type":"string","description":"Email address of Outlook Calendar"}},{"name":"outlookAuthReturnUrl","in":"query","required":false,"description":"Outlook calendar authorization return url","schema":{"type":"string","description":"Outlook calendar authorization return url"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-resources-id-deleteimage":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_resources_id_deleteimage","summary":"Delete Resource Image","description":"DELETE /setup/v1/resources/{id}/deleteimage","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resource object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-resources-id-reassign-appointments-resource-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_resources_id_reassign_appointments_resource_id","summary":"Reassign Resource","description":"PUT /setup/v1/resources/{id}/reassign/appointments/{resourceId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","resourceId"],"properties":{"id":{"type":"string","description":"id of the original resource"},"resourceId":{"type":"string","description":"id of the target resource"},"startDate":{"type":"string","description":"YYYY-MM-DD, Appt range start date"},"endDate":{"type":"string","description":"YYYY-MM-DD, Appt range end date"},"calendarId":{"type":"string","description":"CalendarId of calendar containing appointments"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-resources-id-recover":{"post":{"operationId":"business_onsched_setup_put_setup_v1_resources_id_recover","summary":"Recover Resource","description":"PUT /setup/v1/resources/{id}/recover","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resource object"},"googleAuthReturnUrl":{"type":"string","description":"Google calendar authorization return url"},"outlookAuthReturnUrl":{"type":"string","description":"Outlook calendar authorization return url"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-resources-id-services":{"post":{"operationId":"business_onsched_setup_post_setup_v1_resources_id_services","summary":"Create Linked Services","description":"POST /setup/v1/resources/{id}/services","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resource object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-resources-id-services":{"post":{"operationId":"business_onsched_setup_put_setup_v1_resources_id_services","summary":"Update Linked Services","description":"PUT /setup/v1/resources/{id}/services","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resource object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-resources-id-services":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_resources_id_services","summary":"Delete Linked Services","description":"DELETE /setup/v1/resources/{id}/services","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resource object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-resources-id-uploadimage":{"post":{"operationId":"business_onsched_setup_post_setup_v1_resources_id_uploadimage","summary":"Upload Resource Image","description":"POST /setup/v1/resources/{id}/uploadimage","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of resource object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-servicegroups":{"get":{"operationId":"business_onsched_setup_get_setup_v1_servicegroups","summary":"List Service Groups","description":"GET /setup/v1/servicegroups","tags":["business"],"parameters":[{"name":"locationId","in":"query","required":false,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-servicegroups":{"post":{"operationId":"business_onsched_setup_post_setup_v1_servicegroups","summary":"Create Service Group","description":"POST /setup/v1/servicegroups","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-servicegroups-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_servicegroups_id","summary":"Get Service Group","description":"GET /setup/v1/servicegroups/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of serviceGroup object","schema":{"type":"integer","description":"id of serviceGroup object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-servicegroups-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_servicegroups_id","summary":"Update Service Group","description":"PUT /setup/v1/servicegroups/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"id of serviceGroup object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-servicegroups-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_servicegroups_id","summary":"Delete Service Group","description":"DELETE /setup/v1/servicegroups/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"id of serviceGroup object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-servicegroups-id-recover":{"post":{"operationId":"business_onsched_setup_put_setup_v1_servicegroups_id_recover","summary":"Recover Service Group","description":"PUT /setup/v1/servicegroups/{id}/recover","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"id of serviceGroup object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-services":{"get":{"operationId":"business_onsched_setup_get_setup_v1_services","summary":"List Services","description":"GET /setup/v1/services","tags":["business"],"parameters":[{"name":"locationId","in":"query","required":false,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}},{"name":"serviceGroupId","in":"query","required":false,"description":"Filter services by groupId","schema":{"type":"integer","description":"Filter services by groupId"}},{"name":"deleted","in":"query","required":false,"description":"Filter by deleted status","schema":{"type":"boolean","description":"Filter by deleted status"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-services":{"post":{"operationId":"business_onsched_setup_post_setup_v1_services","summary":"Create Service","description":"POST /setup/v1/services","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-services-allocations-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_services_allocations_id","summary":"Get Allocation","description":"GET /setup/v1/services/allocations/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of serviceAllocation object","schema":{"type":"string","description":"id of serviceAllocation object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-services-allocations-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_services_allocations_id","summary":"Update Allocation","description":"PUT /setup/v1/services/allocations/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of serviceAllocation object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-services-allocations-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_services_allocations_id","summary":"Delete Allocation","description":"DELETE /setup/v1/services/allocations/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of serviceAllocation object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-services-block-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_services_block_id","summary":"Update Block","description":"PUT /setup/v1/services/block/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of serviceBlock object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-services-block-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_services_block_id","summary":"Delete Block","description":"DELETE /setup/v1/services/block/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of serviceBlock object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-services-blocks-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_services_blocks_id","summary":"Get Block","description":"GET /setup/v1/services/blocks/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of serviceBlock object","schema":{"type":"string","description":"id of serviceBlock object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-services-calendar":{"post":{"operationId":"business_onsched_setup_post_setup_v1_services_calendar","summary":"Link Service to Calendar","description":"POST /setup/v1/services/calendar","tags":["business"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-services-calendar-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_services_calendar_id","summary":"Delete Service Links","description":"DELETE /setup/v1/services/calendar/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of calender to delete service links from"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-services-id":{"get":{"operationId":"business_onsched_setup_get_setup_v1_services_id","summary":"Get Service","description":"GET /setup/v1/services/{id}","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of service object","schema":{"type":"integer","description":"id of service object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-services-id":{"post":{"operationId":"business_onsched_setup_put_setup_v1_services_id","summary":"Update Service","description":"PUT /setup/v1/services/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-services-id":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_services_id","summary":"Delete Service","description":"DELETE /setup/v1/services/{id}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of service object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-services-id-allocations":{"get":{"operationId":"business_onsched_setup_get_setup_v1_services_id_allocations","summary":"List Service Allocations","description":"GET /setup/v1/services/{id}/allocations","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of service to list allocations for, 0 for all","schema":{"type":"string","description":"id of service to list allocations for, 0 for all"}},{"name":"locationId","in":"query","required":false,"description":"The id of the location. Defaults to the primary location","schema":{"type":"string","description":"The id of the location. Defaults to the primary location"}},{"name":"resourceId","in":"query","required":false,"description":"The id of the resource to filter on","schema":{"type":"string","description":"The id of the resource to filter on"}},{"name":"startDate","in":"query","required":false,"description":"Format YYYY-MM-DD. Filter appointments by on/after startDate","schema":{"type":"string","description":"Format YYYY-MM-DD. Filter appointments by on/after startDate"}},{"name":"endDate","in":"query","required":false,"description":"Format YYYY-MM-DD. Filter appointments on/before endDate","schema":{"type":"string","description":"Format YYYY-MM-DD. Filter appointments on/before endDate"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-services-id-allocations":{"post":{"operationId":"business_onsched_setup_post_setup_v1_services_id_allocations","summary":"Create Allocation","description":"POST /setup/v1/services/{id}/allocations","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of service object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-services-id-allocations-bulk":{"post":{"operationId":"business_onsched_setup_post_setup_v1_services_id_allocations_bulk","summary":"Create Allocations Bulk","description":"POST /setup/v1/services/{id}/allocations/bulk","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of service object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-services-id-availability":{"get":{"operationId":"business_onsched_setup_get_setup_v1_services_id_availability","summary":"Get Weekly Availability","description":"GET /setup/v1/services/{id}/availability","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of service object","schema":{"type":"string","description":"id of service object"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-services-id-availability":{"post":{"operationId":"business_onsched_setup_put_setup_v1_services_id_availability","summary":"Update Weekly Availability","description":"PUT /setup/v1/services/{id}/availability","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of service object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-services-id-block":{"post":{"operationId":"business_onsched_setup_post_setup_v1_services_id_block","summary":"Create Block","description":"POST /setup/v1/services/{id}/block","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of service object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-services-id-blocks":{"get":{"operationId":"business_onsched_setup_get_setup_v1_services_id_blocks","summary":"List Service Blocks","description":"GET /setup/v1/services/{id}/blocks","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of service to list blocks for","schema":{"type":"string","description":"id of service to list blocks for"}},{"name":"startDate","in":"query","required":false,"description":"Format YYYY-MM-DD. Filter blocks on/after startDate","schema":{"type":"string","description":"Format YYYY-MM-DD. Filter blocks on/after startDate"}},{"name":"endDate","in":"query","required":false,"description":"Format YYYY-MM-DD. Filter on/before endDate","schema":{"type":"string","description":"Format YYYY-MM-DD. Filter on/before endDate"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-services-id-calendar":{"get":{"operationId":"business_onsched_setup_get_setup_v1_services_id_calendar","summary":"Get Linked Calendar","description":"GET /setup/v1/services/{id}/calendar","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of service object","schema":{"type":"string","description":"id of service object"}},{"name":"locationId","in":"query","required":false,"description":"id of business location, defaults to primary business location","schema":{"type":"string","description":"id of business location, defaults to primary business location"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/delete-setup-v1-services-id-deleteimage":{"post":{"operationId":"business_onsched_setup_delete_setup_v1_services_id_deleteimage","summary":"Delete Service Image","description":"DELETE /setup/v1/services/{id}/deleteimage","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of service object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/put-setup-v1-services-id-recover":{"post":{"operationId":"business_onsched_setup_put_setup_v1_services_id_recover","summary":"Recover Service","description":"PUT /setup/v1/services/{id}/recover","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/get-setup-v1-services-id-resources":{"get":{"operationId":"business_onsched_setup_get_setup_v1_services_id_resources","summary":"List Resources for Service","description":"GET /setup/v1/services/{id}/resources","tags":["business"],"parameters":[{"name":"id","in":"query","required":true,"description":"id of service object","schema":{"type":"string","description":"id of service object"}},{"name":"offset","in":"query","required":false,"description":"Starting row of page, default 0","schema":{"type":"integer","description":"Starting row of page, default 0"}},{"name":"limit","in":"query","required":false,"description":"Page limit default 20, max 100","schema":{"type":"integer","description":"Page limit default 20, max 100"}},{"name":"googleAuthReturnUrl","in":"query","required":false,"description":"Google calendar authorization return url","schema":{"type":"string","description":"Google calendar authorization return url"}},{"name":"outlookAuthReturnUrl","in":"query","required":false,"description":"Outlook calendar authorization return url","schema":{"type":"string","description":"Outlook calendar authorization return url"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:onsched-setup/post-setup-v1-services-id-uploadimage":{"post":{"operationId":"business_onsched_setup_post_setup_v1_services_id_uploadimage","summary":"Upload Service Image","description":"POST /setup/v1/services/{id}/uploadimage","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"id of service object"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}