action sinao_app_contacts_establishments_get { label: "Get an establishment" description: "Get an establishment by id" provider: sinao method: GET path: "/apps/{appId}/establishments/{id}" encoding: json input: { type: "object" properties: { id: { type: "integer" } } required: ["id"] additionalProperties: false } output: { type: "object" description: "A card for an establishment contact informations" properties: { emails: { type: "array" items: { type: "string" format: "email" } } id: { type: "integer" description: "The identifier of the establishment can be absent if the data comes from the INSEE database. In this case, it is not editable" } name: { type: "string" description: "Establishment name" } nic: { type: "string" description: "Establishment number (french NIC)" } phones: { type: "array" items: { type: "string" format: "phone" } } place: { type: "object" properties: { administrative_area_level1: { type: "string" } administrative_area_level2: { type: "string" } administrative_area_level3: { type: "string" } country: { type: "string" } countryiso2: { type: "string" } formatted_address: { type: "string" description: "When obtaining data, the formatted address is automatically composed from the other properties of the object. When updating data, the formatted address can be used to automatically hydrate the other properties from Google Maps" } id: { type: "integer" } latitude: { type: "integer" } locality: { type: "string" } longitude: { type: "integer" } postal_code: { type: "string" } route: { type: "string" } route2: { type: "string" } street_number: { type: "string" } sublocality: { type: "string" } } } } } }