Get site settings
GET/api/settings/site
Retrieves site settings.
Response sample
{
"id": "string",
"type": "string",
"customerName": "string",
"siteName": "string",
"googleApiKey": "string",
"googleMapId": "string",
"googleAnalyticsFields": "string",
"googleAnalyticsEvents": "string",
"vtoApiKey": "string",
"initializeWebDiaryBySiteNumber": true,
"paymentProvider": "string",
"paymentEnvironment": "string",
"paymentProviderClientKey": "string",
"customGuestBookingFields": [{
"fieldName": "string",
"mandatory": true,
"visible": true,
"mask": "string",
"patientIdentifierType": 0,
"labelKey": "string",
"maxLength": 0 }],
"googleMapDefaults": {
"latitude": "string",
"longitude": "string",
"zoom": 0,
"focusedZoom": 0 },
"siteDefaults": {
"timeZone": "string",
"language": "string",
"currency": "string" },
"countryDefaults": {
"alpha2ISOCode": "string",
"alpha3ISOCode": "string" },
"userInteractionMode": "string",
"checkoutInteractionMode": "string",
"measurementSystem": "string",
"minimumContactLensPurchaseAge": 0,
"storeFinderDisplayAgeRangeOptions": true,
"minimumBookAppointmentAge": 0,
"pdMasterToolProvider": "string",
"pdMasterToolProviderApiKey": "string",
"enforceValidPhoneNumberAndNonLocalRegionPrefix": true,
"webDiaryCheckboxLabelAlignment": "string",
"webDiaryDisplayPrivacyPolicyCheckbox": true,
"enableAutoApplyingPromotions": true
}
Request
Responses
- 200
- 400
- 404
Success: Request accepted.
Bad request: StorefrontOrigin not passed in header; the request wasn’t valid or can’t be otherwise served. Typical when there is a syntax error in the request. Further details of the error are provided in the response payload body.
Not found: The Omni Subscription is not assigned to the site group; the URI isn’t valid or the requested resource doesn’t exist.