Retrieve the configuration of the site

GET /global/site

This returns the list of details of the site along with the setup of the app details

Responses

GET /global/site
curl \
 -X GET https://YOURSITE.infoodle.com/apiv2/global/site
Response examples (200)
{
  "name": "Test Organisation",
  "address": "1 High Street, Tauranga, New Zealand",
  "currency": "NZD",
  "currency_symbol": "$",
  "date_format": "j M Y",
  "timezone": "Pacific/Auckland",
  "household_word": "household",
  "site_secret": "string",
  "backgroundUmageUrl": "https://www.google.com/image.png",
  "app": {
    "dashboard": {
      "items": [
        {
          "showAs": "image",
          "linkToType": "webview",
          "pageTitle": "Link to our website",
          "permission": [
            "public"
          ],
          "imageUrl": "https://www.google.com/image.png"
        }
      ]
    }
  },
  "contact": {
    "enabled": 1,
    "data": {
      "organisationName": "Test Organisation",
      "contactPhoneLabel1": "Office",
      "contactPhoneNumber1": "07 578 3085",
      "contactPhoneLabel2": "Support",
      "contactPhoneNumber2": "07 123 1234",
      "contactEmailLabel1": "Sales",
      "contactEmailAddress1": "sales@infoodle.com",
      "contactEmailLabel2": "Support",
      "contactEmailAddress2": "support@infoodle.com",
      "physicalAddressLabel1": "NZ HQ",
      "physicalAddress1": "5d Owens Place, Bayfair, New Zealand",
      "physicalAddressLabel2": "UK Office",
      "physicalAddress2": "1 High Street, Berkshire, England",
      "privacyPolicyUrl": "https://www.google.com/privacy.html"
    }
  }
}