Mews Enterprises Getall Example is an example object payload from Mews, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationIdmethodpathsummaryrequestExamplesresponseExamples
Example Payload
{
"operationId": "enterprises_getAll",
"method": "POST",
"path": "/api/connector/v1/enterprises/getAll",
"summary": "Get all enterprises",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
"AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
"Client": "Sample Client 1.0.0",
"EnterpriseIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6",
"4d0201db-36f5-428b-8d11-4f0a65e960cc"
],
"ExternalIdentifiers": [
"Enterprise2023"
],
"LinkedUtc": {
"StartUtc": "2023-06-01T00:00:00Z",
"EndUtc": "2023-06-06T00:00:00Z"
},
"UpdatedUtc": {
"StartUtc": "2023-10-01T00:00:00Z",
"EndUtc": "2023-10-31T00:00:00Z"
},
"Limitation": {
"Count": 100,
"Cursor": "4d0201db-36f5-428b-8d11-4f0a65e960cc"
}
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"Enterprises": [
{
"LinkedUtc": "2023-06-01T00:00:00Z",
"Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ExternalIdentifier": "Enterprise2023",
"HoldingKey": "CA123",
"ChainId": "2f6be44e-9881-4b12-aefe-afce011a9d67",
"ChainName": "Connector API Chain",
"CreatedUtc": "2022-03-23T17:12:06Z",
"UpdatedUtc": "2022-03-23T17:12:06Z",
"Name": "Sample Portfolio Hotel",
"ShortName": null,
"TimeZoneIdentifier": "Europe/Budapest",
"LegalEnvironmentCode": "DE-2020-1",
"AccommodationEnvironmentCode": "DE",
"AccountingEnvironmentCode": "DE",
"TaxEnvironmentCode": "DE-2020-1",
"DefaultLanguageCode": "en-US",
"EditableHistoryInterval": null,
"AccountingEditableHistoryInterval": "P0M7DT0H0M0S",
"OperationalEditableHistoryInterval": "P0M5DT0H0M0S",
"BusinessDayClosingOffset": null,
"WebsiteUrl": "https://www.sample-portfolio-hotel-10004.com/",
"Email": "email@sample-portfolio-hotel.com",
"Phone": "(555) 555-1234",
"LogoImageId": null,
"CoverImageId": null,
"Pricing": "Gross",
"TaxPrecision": 2,
"AddressId": "31c505e9-9858-4d2f-9eab-afce011c4f47",
"Address": {
"Id": "8c2c4371-5d42-40a9-b551-ab0b00d75076",
"Line1": "I.P. Pavlova 5",
"Line2": null,
"City": "Prague",
"PostalCode": "1200",
"CountryCode": "CZ",
"CountrySubdivisionCode": null,
"Latitude": 14.429645,
"Longitude": 50.075181
},
"GroupNames": [
"Sample Group Name"
],
"Subscription": {
"TaxIdentifier": "123456789 RC 0001"
}
}
],
"Cursor": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
]
}