Get a location by ID.

GET /api/v1/location/2d1f25a3-0cac-49c7-876e-e335b569d90b/public-detail/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "code": 200,
    "message": "",
    "success": true,
    "data": {
        "id": "2d1f25a3-0cac-49c7-876e-e335b569d90b",
        "name": "Dale D Batten DMD",
        "streetAddress": "123 W Plymouth Ave",
        "city": "Deland",
        "state": "FL",
        "postalCode": "32720",
        "is_virtual": false,
        "organization_id": "663fe95f-cfe8-442a-a8b1-e1c6131def79",
        "enable_voice_mode": false,
        "time_zone": "America/Toronto",
        "agent": {
            "id": "d2858303-c1f3-4054-b33f-b911d244e7d9",
            "name": "Dale D Batten DMD",
            "location_id": "2d1f25a3-0cac-49c7-876e-e335b569d90b",
            "disabled_response": false
        },
        "chatbot_name": "Emma",
        "chatbot_greeting_message": null,
        "phone_number": "+13862309214",
        "web_scheduler_config": {
            "required_fields": {
                "firstName": true,
                "lastName": true,
                "email": false,
                "phone": true,
                "dob": true,
                "insurance": false,
                "additionalDetails": false
            },
            "optional_fields": {
                "firstName": false,
                "lastName": false,
                "email": false,
                "phone": false,
                "dob": false,
                "insurance": false,
                "additionalDetails": false
            },
            "screener_question": {
                "enabled": false,
                "question": "",
                "if_yes": {
                    "action": "allow",
                    "message": ""
                },
                "if_no": {
                    "action": "allow",
                    "message": ""
                }
            },
            "appointment_types_enabled": false,
            "appointment_types": [
                {
                    "enabled": false,
                    "display_name": "",
                    "appointment_type_name": "NP_Exam_and_Cleaning_Batten"
                }
            ],
            "provider_selection_enabled": false,
            "provider_profiles": [],
            "confirmation_sms_custom_enabled": false,
            "confirmation_sms_message": "",
            "branding": {
                "branding_enabled": false,
                "header_logo_url": "",
                "header_logo_alt": "Logo",
                "header_logo_height": 50,
                "show_location_name_in_header": false,
                "location_name_font_size": 22,
                "header_tagline": "",
                "header_tagline_font_size": 14,
                "footer_logo_url": "",
                "footer_logo_alt": "Logo",
                "footer_logo_height": 30,
                "show_contact_info_in_footer": true,
                "footer_contact_font_size": 14,
                "footer_phone": "",
                "footer_address": "",
                "font_style": "SF Pro Display, Inter, Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
                "font_color": "#333333"
            }
        },
        "is_web_scheduler_enabled": true,
        "practice_details": {
            "address": "one-two-three... W... Plymouth... Avenue... Deland... FL... three-two-seven-two-zero",
            "contactInfo": "The office phone number is three-eight-six... seven-three-six... eight-eight-six-five\nThe office email is info... at... batten... dental... dot... com\nThe office fax number is Three - Eight - Six... Seven - Three - Six... Six - Eight - Nine - Zero\nThe office website is batten... dental... dot... com"
        },
        "scheduler_config": {
            "locations": [],
            "appointment_types_by_facility": {}
        },
        "sync_type": "dentrix_core"
    },
    "errors": null
}