Language Profiles (Legacy): Get
Gets the requested Language Profile for a given Location
NOTE:
- Responses will contain resolved values for embedded fields
- If the
fields
parameter is unspecified, responses will contain the full entity profile for the requested language
path Parameters
accountId required | string |
locationId required | string |
languageCode required | string The language code corresponding to the language of the profiles that the user wishes to retrieve |
query Parameters
fields | string Comma-separated list of field names from the Location object. When present, only the fields listed will be returned. You can use dot notation to specify substructures (e.g., |
v required | string A date in |
Responses
Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "id": "string",
- "uid": "string",
- "accountId": "string",
- "timestamp": 0,
- "timezone": "string",
- "locationType": "LOCATION",
- "locationName": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "officeName": "string",
- "gender": "FEMALE",
- "npi": "string",
- "address": "string",
- "address2": "string",
- "suppressAddress": true,
- "displayAddress": "string",
- "city": "string",
- "state": "string",
- "sublocality": "string",
- "zip": "string",
- "countryCode": "st",
- "serviceArea": {
- "radius": 0,
- "unit": "string",
- "places": [
- "string"
]
}, - "phone": "string",
- "isPhoneTracked": true,
- "localPhone": "string",
- "alternatePhone": "string",
- "faxPhone": "string",
- "mobilePhone": "string",
- "tollFreePhone": "string",
- "ttyPhone": "string",
- "categoryIds": [
- "string"
], - "featuredMessage": "string",
- "featuredMessageUrl": "string",
- "websiteUrl": "string",
- "displayWebsiteUrl": "string",
- "reservationUrl": "string",
- "displayReservationUrl": "string",
- "menuUrl": "string",
- "displayMenuUrl": "string",
- "orderUrl": "string",
- "displayOrderUrl": "string",
- "hours": "string",
- "additionalHoursText": "string",
- "holidayHours": [
- {
- "hours": "string",
- "date": "2019-08-24",
- "isRegularHours": false
}
], - "description": "stringstri",
- "conditionsTreated": [
- "string"
], - "certifications": [
- "string"
], - "educationList": [
- {
- "type": "FELLOWSHIP",
- "institutionName": "string",
- "yearCompleted": "string"
}
], - "degrees": [
- "string"
], - "admittingHospitals": [
- "string"
], - "acceptingNewPatients": true,
- "closed": {
- "isClosed": true
}, - "paymentOptions": [
- "string"
], - "insuranceAccepted": [
- "string"
], - "logo": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "photos": [
- {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}
], - "headshot": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "videoUrls": [
- "string"
], - "instagramHandle": "string",
- "twitterHandle": "string",
- "googleWebsiteOverride": "string",
- "googleCoverPhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "googleProfilePhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "googleAttributes": [
- {
- "id": "string",
- "optionIds": [
- "string"
]
}
], - "facebookPageUrl": "string",
- "facebookCallToAction": {
- "type": "NONE",
- "value": "string"
}, - "facebookCoverPhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "facebookProfilePicture": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "uberLinkType": "LINK",
- "uberLinkText": "string",
- "uberTripBrandingText": "string",
- "uberTripBrandingUrl": "string",
- "uberTripBrandingDescription": "string",
- "uberEmbedCode": "string",
- "uberLink": "string",
- "uberLinkRaw": "string",
- "yearEstablished": "stri",
- "displayLat": 0,
- "displayLng": 0,
- "routableLat": 0,
- "routableLng": 0,
- "walkableLat": 0,
- "walkableLng": 0,
- "pickupLat": 0,
- "pickupLng": 0,
- "dropoffLat": 0,
- "dropoffLng": 0,
- "yextDisplayLat": 0,
- "yextDisplayLng": 0,
- "yextRoutableLat": 0,
- "yextRoutableLng": 0,
- "yextWalkableLat": 0,
- "yextWalkableLng": 0,
- "yextPickupLat": 0,
- "yextPickupLng": 0,
- "yextDropoffLat": 0,
- "yextDropoffLng": 0,
- "emails": [
- "string"
], - "specialities": [
- "string"
], - "associations": [
- "string"
], - "products": [
- "string"
], - "services": [
- "string"
], - "brands": [
- "string"
], - "language": "string",
- "languages": [
- "string"
], - "keywords": [
- "string"
], - "menusLabel": "string",
- "menuIds": [
- "string"
], - "bioListsLabel": "string",
- "bioListIds": [
- "string"
], - "productListsLabel": "string",
- "productListIds": [
- "string"
], - "eventListsLabel": "string",
- "eventListIds": [
- "string"
], - "folderId": "string",
- "labelIds": [
- "string"
], - "customFields": {
- "property1": { },
- "property2": { }
}, - "intelligentSearchTrackingEnabled": true,
- "intelligentSearchTrackingFrequency": "WEEKLY",
- "locationKeywords": [
- "NAME"
], - "customKeywords": [
- "string"
], - "queryTemplates": [
- "KEYWORD"
], - "alternateNames": [
- "string"
], - "alternateWebsites": [
- "string"
], - "competitors": [
- {
- "name": "string",
- "website": "string"
}
], - "trackingSites": [
- "GOOGLE_DESKTOP"
], - "isoRegionCode": "string",
- "reviewBalancingURL": "string",
- "firstPartyReviewPage": "string",
- "isClusterPrimary": true,
- "schemaTypes": [
- "string"
], - "attire": "UNSPECIFIED",
- "priceRange": "UNSPECIFIED",
- "mealsServed": [
- "string"
], - "locatedIn": "string",
- "primaryContact": "string",
- "reviewResponseConversationEnabled": true,
- "holidayHoursConfirmationEnabled": true
}
}
Language Profiles Schema (Legacy): Get
Gets the schema.org-compliant schema for the requested Language Profile of a given Location. Schema will vary depending on the primary category of the Location.
path Parameters
accountId required | string |
locationId required | string |
languageCode required | string The language code corresponding to the language of the profiles that the user wishes to retrieve |
query Parameters
v required | string A date in |
Responses
Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "@context": "string",
- "@type": "string",
- "@id": "string",
- "Name": "string",
- "Image": "string",
- "Geo": {
- "@type": "string",
- "Latitude": 0,
- "Longitude": 0
}, - "Address": {
- "@type": "string",
- "StreetAddress": "string",
- "AddressLocality": "string",
- "PostalCode": "string",
- "AddressCountry": "string"
}, - "Telephone": "string",
- "OpeningHoursSpecification": [
- {
- "@type": "string",
- "DayOfWeek": [
- "string"
], - "Opens": "string",
- "Closes": "string"
}
]
}
}
Locations (Legacy): Get
Gets the primary profile for a single Location
NOTE: Responses will contain resolved values for embedded fields
path Parameters
accountId required | string |
locationId required | string |
query Parameters
fields | string Comma-separated list of field names from the Location object. When present, only the fields listed will be returned. You can use dot notation to specify substructures (e.g., |
v required | string A date in |
Responses
Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "id": "string",
- "uid": "string",
- "accountId": "string",
- "timestamp": 0,
- "timezone": "string",
- "locationType": "LOCATION",
- "locationName": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "officeName": "string",
- "gender": "FEMALE",
- "npi": "string",
- "address": "string",
- "address2": "string",
- "suppressAddress": true,
- "displayAddress": "string",
- "city": "string",
- "state": "string",
- "sublocality": "string",
- "zip": "string",
- "countryCode": "st",
- "serviceArea": {
- "radius": 0,
- "unit": "string",
- "places": [
- "string"
]
}, - "phone": "string",
- "isPhoneTracked": true,
- "localPhone": "string",
- "alternatePhone": "string",
- "faxPhone": "string",
- "mobilePhone": "string",
- "tollFreePhone": "string",
- "ttyPhone": "string",
- "categoryIds": [
- "string"
], - "featuredMessage": "string",
- "featuredMessageUrl": "string",
- "websiteUrl": "string",
- "displayWebsiteUrl": "string",
- "reservationUrl": "string",
- "displayReservationUrl": "string",
- "menuUrl": "string",
- "displayMenuUrl": "string",
- "orderUrl": "string",
- "displayOrderUrl": "string",
- "hours": "string",
- "additionalHoursText": "string",
- "holidayHours": [
- {
- "hours": "string",
- "date": "2019-08-24",
- "isRegularHours": false
}
], - "description": "stringstri",
- "conditionsTreated": [
- "string"
], - "certifications": [
- "string"
], - "educationList": [
- {
- "type": "FELLOWSHIP",
- "institutionName": "string",
- "yearCompleted": "string"
}
], - "degrees": [
- "string"
], - "admittingHospitals": [
- "string"
], - "acceptingNewPatients": true,
- "closed": {
- "isClosed": true
}, - "paymentOptions": [
- "string"
], - "insuranceAccepted": [
- "string"
], - "logo": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "photos": [
- {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}
], - "headshot": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "videoUrls": [
- "string"
], - "instagramHandle": "string",
- "twitterHandle": "string",
- "googleWebsiteOverride": "string",
- "googleCoverPhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "googleProfilePhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "googleAttributes": [
- {
- "id": "string",
- "optionIds": [
- "string"
]
}
], - "facebookPageUrl": "string",
- "facebookCallToAction": {
- "type": "NONE",
- "value": "string"
}, - "facebookCoverPhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "facebookProfilePicture": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "uberLinkType": "LINK",
- "uberLinkText": "string",
- "uberTripBrandingText": "string",
- "uberTripBrandingUrl": "string",
- "uberTripBrandingDescription": "string",
- "uberEmbedCode": "string",
- "uberLink": "string",
- "uberLinkRaw": "string",
- "yearEstablished": "stri",
- "displayLat": 0,
- "displayLng": 0,
- "routableLat": 0,
- "routableLng": 0,
- "walkableLat": 0,
- "walkableLng": 0,
- "pickupLat": 0,
- "pickupLng": 0,
- "dropoffLat": 0,
- "dropoffLng": 0,
- "yextDisplayLat": 0,
- "yextDisplayLng": 0,
- "yextRoutableLat": 0,
- "yextRoutableLng": 0,
- "yextWalkableLat": 0,
- "yextWalkableLng": 0,
- "yextPickupLat": 0,
- "yextPickupLng": 0,
- "yextDropoffLat": 0,
- "yextDropoffLng": 0,
- "emails": [
- "string"
], - "specialities": [
- "string"
], - "associations": [
- "string"
], - "products": [
- "string"
], - "services": [
- "string"
], - "brands": [
- "string"
], - "language": "string",
- "languages": [
- "string"
], - "keywords": [
- "string"
], - "menusLabel": "string",
- "menuIds": [
- "string"
], - "bioListsLabel": "string",
- "bioListIds": [
- "string"
], - "productListsLabel": "string",
- "productListIds": [
- "string"
], - "eventListsLabel": "string",
- "eventListIds": [
- "string"
], - "folderId": "string",
- "labelIds": [
- "string"
], - "customFields": {
- "property1": { },
- "property2": { }
}, - "intelligentSearchTrackingEnabled": true,
- "intelligentSearchTrackingFrequency": "WEEKLY",
- "locationKeywords": [
- "NAME"
], - "customKeywords": [
- "string"
], - "queryTemplates": [
- "KEYWORD"
], - "alternateNames": [
- "string"
], - "alternateWebsites": [
- "string"
], - "competitors": [
- {
- "name": "string",
- "website": "string"
}
], - "trackingSites": [
- "GOOGLE_DESKTOP"
], - "isoRegionCode": "string",
- "reviewBalancingURL": "string",
- "firstPartyReviewPage": "string",
- "isClusterPrimary": true,
- "schemaTypes": [
- "string"
], - "attire": "UNSPECIFIED",
- "priceRange": "UNSPECIFIED",
- "mealsServed": [
- "string"
], - "locatedIn": "string",
- "primaryContact": "string",
- "reviewResponseConversationEnabled": true,
- "holidayHoursConfirmationEnabled": true
}
}
Locations (Legacy): List
Get multiple Locations (primary profile only). Filters are evaluated against all language profiles as well as the primary profile.
NOTE: Responses will contain resolved values for embedded fields
path Parameters
accountId required | string |
query Parameters
limit | integer <= 50 Default: 10 Number of results to return. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
offset | integer [ 0 .. 9949 ] Default: 0 Number of results to skip. Used to move through results | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
languages | string Default: "false" Comma-separated list of language codes. When present, the system will return Locations with one or more of the provided languages. For each Location, only the first available language from the provided list will be returned. The keyword | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fields | string Comma-separated list of field names from the Location object. When present, only the fields listed will be returned. You can use dot notation to specify substructures (e.g., | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
filters | string A set of filters that is applied to the set of locations that would otherwise be returned. Should be provided as a URL-encoded string containing a JSON array. The array should have one or more filter objects defined. All filter objects will apply as an intersection (i.e., AND). Field names reference Location fields, as well as custom fields using the format For example, to provide a filter that would match location names containing the word "gourmet", the filter parameter would be NOTE: "x", "xx", and "xxx" are reserved keywords that, when passed in a The filter types are the following. Note there may be multiple available specifications for a given filter type:
The following fields can be specified in the request (Field name/Filter Type/Example(s)):
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
v required | string A date in | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sortBy | string Specifies the fields and direction by which the output should be sorted. Should be provided as a URL-encoded string containing a JSON array of For example, to sort by last name ascending and first name descending, this parameter would be NOTE: Currently, we support sorting by |
Responses
Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "count": 0,
- "locations": [
- {
- "id": "string",
- "uid": "string",
- "accountId": "string",
- "timestamp": 0,
- "timezone": "string",
- "locationType": "LOCATION",
- "locationName": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "officeName": "string",
- "gender": "FEMALE",
- "npi": "string",
- "address": "string",
- "address2": "string",
- "suppressAddress": true,
- "displayAddress": "string",
- "city": "string",
- "state": "string",
- "sublocality": "string",
- "zip": "string",
- "countryCode": "st",
- "serviceArea": {
- "radius": 0,
- "unit": "string",
- "places": [
- "string"
]
}, - "phone": "string",
- "isPhoneTracked": true,
- "localPhone": "string",
- "alternatePhone": "string",
- "faxPhone": "string",
- "mobilePhone": "string",
- "tollFreePhone": "string",
- "ttyPhone": "string",
- "categoryIds": [
- "string"
], - "featuredMessage": "string",
- "featuredMessageUrl": "string",
- "websiteUrl": "string",
- "displayWebsiteUrl": "string",
- "reservationUrl": "string",
- "displayReservationUrl": "string",
- "menuUrl": "string",
- "displayMenuUrl": "string",
- "orderUrl": "string",
- "displayOrderUrl": "string",
- "hours": "string",
- "additionalHoursText": "string",
- "holidayHours": [
- {
- "hours": "string",
- "date": "2019-08-24",
- "isRegularHours": false
}
], - "description": "stringstri",
- "conditionsTreated": [
- "string"
], - "certifications": [
- "string"
], - "educationList": [
- {
- "type": "FELLOWSHIP",
- "institutionName": "string",
- "yearCompleted": "string"
}
], - "degrees": [
- "string"
], - "admittingHospitals": [
- "string"
], - "acceptingNewPatients": true,
- "closed": {
- "isClosed": true
}, - "paymentOptions": [
- "string"
], - "insuranceAccepted": [
- "string"
], - "logo": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "photos": [
- {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}
], - "headshot": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "videoUrls": [
- "string"
], - "instagramHandle": "string",
- "twitterHandle": "string",
- "googleWebsiteOverride": "string",
- "googleCoverPhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "googleProfilePhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "googleAttributes": [
- {
- "id": "string",
- "optionIds": [
- "string"
]
}
], - "facebookPageUrl": "string",
- "facebookCallToAction": {
- "type": "NONE",
- "value": "string"
}, - "facebookCoverPhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "facebookProfilePicture": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "uberLinkType": "LINK",
- "uberLinkText": "string",
- "uberTripBrandingText": "string",
- "uberTripBrandingUrl": "string",
- "uberTripBrandingDescription": "string",
- "uberEmbedCode": "string",
- "uberLink": "string",
- "uberLinkRaw": "string",
- "yearEstablished": "stri",
- "displayLat": 0,
- "displayLng": 0,
- "routableLat": 0,
- "routableLng": 0,
- "walkableLat": 0,
- "walkableLng": 0,
- "pickupLat": 0,
- "pickupLng": 0,
- "dropoffLat": 0,
- "dropoffLng": 0,
- "yextDisplayLat": 0,
- "yextDisplayLng": 0,
- "yextRoutableLat": 0,
- "yextRoutableLng": 0,
- "yextWalkableLat": 0,
- "yextWalkableLng": 0,
- "yextPickupLat": 0,
- "yextPickupLng": 0,
- "yextDropoffLat": 0,
- "yextDropoffLng": 0,
- "emails": [
- "string"
], - "specialities": [
- "string"
], - "associations": [
- "string"
], - "products": [
- "string"
], - "services": [
- "string"
], - "brands": [
- "string"
], - "language": "string",
- "languages": [
- "string"
], - "keywords": [
- "string"
], - "menusLabel": "string",
- "menuIds": [
- "string"
], - "bioListsLabel": "string",
- "bioListIds": [
- "string"
], - "productListsLabel": "string",
- "productListIds": [
- "string"
], - "eventListsLabel": "string",
- "eventListIds": [
- "string"
], - "folderId": "string",
- "labelIds": [
- "string"
], - "customFields": {
- "property1": { },
- "property2": { }
}, - "intelligentSearchTrackingEnabled": true,
- "intelligentSearchTrackingFrequency": "WEEKLY",
- "locationKeywords": [
- "NAME"
], - "customKeywords": [
- "string"
], - "queryTemplates": [
- "KEYWORD"
], - "alternateNames": [
- "string"
], - "alternateWebsites": [
- "string"
], - "competitors": [
- {
- "name": "string",
- "website": "string"
}
], - "trackingSites": [
- "GOOGLE_DESKTOP"
], - "isoRegionCode": "string",
- "reviewBalancingURL": "string",
- "firstPartyReviewPage": "string",
- "isClusterPrimary": true,
- "schemaTypes": [
- "string"
], - "attire": "UNSPECIFIED",
- "priceRange": "UNSPECIFIED",
- "mealsServed": [
- "string"
], - "locatedIn": "string",
- "primaryContact": "string",
- "reviewResponseConversationEnabled": true,
- "holidayHoursConfirmationEnabled": true
}
]
}
}
Locations Schema (Legacy): Get
Gets the schema.org-compliant schema for the primary profile of a single Location. Schema will vary depending on the primary category of the Location.
path Parameters
accountId required | string |
locationId required | string |
query Parameters
v required | string A date in |
Responses
Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "@context": "string",
- "@type": "string",
- "@id": "string",
- "Name": "string",
- "Image": "string",
- "Geo": {
- "@type": "string",
- "Latitude": 0,
- "Longitude": 0
}, - "Address": {
- "@type": "string",
- "StreetAddress": "string",
- "AddressLocality": "string",
- "PostalCode": "string",
- "AddressCountry": "string"
}, - "Telephone": "string",
- "OpeningHoursSpecification": [
- {
- "@type": "string",
- "DayOfWeek": [
- "string"
], - "Opens": "string",
- "Closes": "string"
}
]
}
}
Locations (Legacy): GeoSearch
Gets multiple Locations (primary profile only) near a given location, ordered by proximity to the location (if no other sort criteria are given) and restricted to a radius. Searches through all language profiles, including the primary profile.
NOTE: Responses will contain resolved values for embedded fields
path Parameters
accountId required | string |
query Parameters
limit | integer <= 50 Default: 10 Number of results to return. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
offset | integer [ 0 .. 9949 ] Default: 0 Number of results to skip. Used to move through results | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
location required | string Only entities near this position will be returned. The values can be specified in one of two ways:
Note that providing an address that resolves to an area, like a city or a postal code, does not restrict the search to exactly that area; it simply centers the search circle on a point in that area. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
radius | number [ 0.1 .. 500 ] Default: 10 Indicates the search radius around the provided | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
geocoderBias | string The latitude, longitude, and approximate radius in miles, separated by commas, where the geocoder should be biased. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
countryBias | string The two-character ISO 3166-1 code of the country where the geocoder should be biased. The value of the If both | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
languages | string Default: "false" Comma-separated list of language codes. When present, the system will return Locations with one or more of the provided languages. For each Location, only the first available language from the provided list will be returned. The keyword | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fields | string Comma-separated list of field names from the Location object. When present, only the fields listed will be returned. You can use dot notation to specify substructures (e.g., | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
filters | string A set of filters that is applied to the set of locations that would otherwise be returned. Should be provided as a URL-encoded string containing a JSON array. The array should have one or more filter objects defined. All filter objects will apply as an intersection (i.e., AND). Field names reference Location fields, as well as custom fields using the format For example, to provide a filter that would match location names containing the word "gourmet", the filter parameter would be NOTE: "x", "xx", and "xxx" are reserved keywords that, when passed in a The filter types are the following. Note there may be multiple available specifications for a given filter type:
The following fields can be specified in the request (Field name/Filter Type/Example(s)):
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
v required | string A date in | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sortBy | string Specifies the fields and direction by which the output should be sorted. Should be provided as a URL-encoded string containing a JSON array of For example, to sort by last name ascending and first name descending, this parameter would be NOTE: Currently, we support sorting by |
Responses
Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "count": 0,
- "geo": {
- "latitude": "string",
- "longitude": "string",
- "address": "string",
- "address2": "string",
- "locality": "string",
- "region": "string",
- "postalCode": "string",
- "country": "string",
- "granularity": "POINT"
}, - "locationDistances": [
- {
- "id": "string",
- "distanceMiles": 0,
- "distanceKilometers": 0
}
], - "locations": [
- {
- "id": "string",
- "uid": "string",
- "accountId": "string",
- "timestamp": 0,
- "timezone": "string",
- "locationType": "LOCATION",
- "locationName": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "officeName": "string",
- "gender": "FEMALE",
- "npi": "string",
- "address": "string",
- "address2": "string",
- "suppressAddress": true,
- "displayAddress": "string",
- "city": "string",
- "state": "string",
- "sublocality": "string",
- "zip": "string",
- "countryCode": "st",
- "serviceArea": {
- "radius": 0,
- "unit": "string",
- "places": [
- "string"
]
}, - "phone": "string",
- "isPhoneTracked": true,
- "localPhone": "string",
- "alternatePhone": "string",
- "faxPhone": "string",
- "mobilePhone": "string",
- "tollFreePhone": "string",
- "ttyPhone": "string",
- "categoryIds": [
- "string"
], - "featuredMessage": "string",
- "featuredMessageUrl": "string",
- "websiteUrl": "string",
- "displayWebsiteUrl": "string",
- "reservationUrl": "string",
- "displayReservationUrl": "string",
- "menuUrl": "string",
- "displayMenuUrl": "string",
- "orderUrl": "string",
- "displayOrderUrl": "string",
- "hours": "string",
- "additionalHoursText": "string",
- "holidayHours": [
- {
- "hours": "string",
- "date": "2019-08-24",
- "isRegularHours": false
}
], - "description": "stringstri",
- "conditionsTreated": [
- "string"
], - "certifications": [
- "string"
], - "educationList": [
- {
- "type": "FELLOWSHIP",
- "institutionName": "string",
- "yearCompleted": "string"
}
], - "degrees": [
- "string"
], - "admittingHospitals": [
- "string"
], - "acceptingNewPatients": true,
- "closed": {
- "isClosed": true
}, - "paymentOptions": [
- "string"
], - "insuranceAccepted": [
- "string"
], - "logo": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "photos": [
- {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}
], - "headshot": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "videoUrls": [
- "string"
], - "instagramHandle": "string",
- "twitterHandle": "string",
- "googleWebsiteOverride": "string",
- "googleCoverPhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "googleProfilePhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "googleAttributes": [
- {
- "id": "string",
- "optionIds": [
- "string"
]
}
], - "facebookPageUrl": "string",
- "facebookCallToAction": {
- "type": "NONE",
- "value": "string"
}, - "facebookCoverPhoto": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "facebookProfilePicture": {
- "url": "string",
- "sourceUrl": "string",
- "description": "string",
- "details": "string",
- "alternateText": "string",
- "width": 0,
- "height": 0,
- "derivatives": [
- {
- "url": "string",
- "width": 0,
- "height": 0
}
]
}, - "uberLinkType": "LINK",
- "uberLinkText": "string",
- "uberTripBrandingText": "string",
- "uberTripBrandingUrl": "string",
- "uberTripBrandingDescription": "string",
- "uberEmbedCode": "string",
- "uberLink": "string",
- "uberLinkRaw": "string",
- "yearEstablished": "stri",
- "displayLat": 0,
- "displayLng": 0,
- "routableLat": 0,
- "routableLng": 0,
- "walkableLat": 0,
- "walkableLng": 0,
- "pickupLat": 0,
- "pickupLng": 0,
- "dropoffLat": 0,
- "dropoffLng": 0,
- "yextDisplayLat": 0,
- "yextDisplayLng": 0,
- "yextRoutableLat": 0,
- "yextRoutableLng": 0,
- "yextWalkableLat": 0,
- "yextWalkableLng": 0,
- "yextPickupLat": 0,
- "yextPickupLng": 0,
- "yextDropoffLat": 0,
- "yextDropoffLng": 0,
- "emails": [
- "string"
], - "specialities": [
- "string"
], - "associations": [
- "string"
], - "products": [
- "string"
], - "services": [
- "string"
], - "brands": [
- "string"
], - "language": "string",
- "languages": [
- "string"
], - "keywords": [
- "string"
], - "menusLabel": "string",
- "menuIds": [
- "string"
], - "bioListsLabel": "string",
- "bioListIds": [
- "string"
], - "productListsLabel": "string",
- "productListIds": [
- "string"
], - "eventListsLabel": "string",
- "eventListIds": [
- "string"
], - "folderId": "string",
- "labelIds": [
- "string"
], - "customFields": {
- "property1": { },
- "property2": { }
}, - "intelligentSearchTrackingEnabled": true,
- "intelligentSearchTrackingFrequency": "WEEKLY",
- "locationKeywords": [
- "NAME"
], - "customKeywords": [
- "string"
], - "queryTemplates": [
- "KEYWORD"
], - "alternateNames": [
- "string"
], - "alternateWebsites": [
- "string"
], - "competitors": [
- {
- "name": "string",
- "website": "string"
}
], - "trackingSites": [
- "GOOGLE_DESKTOP"
], - "isoRegionCode": "string",
- "reviewBalancingURL": "string",
- "firstPartyReviewPage": "string",
- "isClusterPrimary": true,
- "schemaTypes": [
- "string"
], - "attire": "UNSPECIFIED",
- "priceRange": "UNSPECIFIED",
- "mealsServed": [
- "string"
], - "locatedIn": "string",
- "primaryContact": "string",
- "reviewResponseConversationEnabled": true,
- "holidayHoursConfirmationEnabled": true
}
]
}
}