Steps to Generate a Report in Apaleo
Step 1: Create a Custom App in Apaleo
Step 2: Create a Free Postman Account
Step 3: Authenticate the App and Generate the Report
Step 4: Convert the Report to Excel (Optional)
Step 1: Create a Custom App in Apaleo
Step 2: Create a Free Postman Account
Step 3: Authenticate the App and Generate the Report
Step 4: Convert the Report to Excel (Optional)
Steps to Generate a Report in Apaleo
Using this option, you will receive the report in JSON format. You can use a free JSON to Excel converter to make the data more readable.
Step 1: Create a Custom App in Apaleo
- Log in to your Apaleo account.
- Navigate to Account > Apps > Connected Apps.
- Click Add a new app and select Add a custom app.
- Fill in the following details:
- Client Code: GM report
- Client Name: GM report
- Secrets: GM report
- Scopes: reports.read
- Click Save.
- Once completed, copy and save the credentials generated for the app.
Step 2: Create a Free Postman Account
- Go to Postman.
- Create a free account.
Step 3: Authenticate the App and Generate the Report
- After creating the Postman account, select the option to make a new HTTP call.
- Change the HTTP method to POST.
- Enter the URL: https://identity.apaleo.com/connect/token.
- Go to the Authorization tab and select Basic Auth.
- Enter the credentials saved from your app.
- Go to the Body tab and select x-www-form-urlencoded.
- Enter the following key-value pairs:
- grant_type: client_credentials
- Click Send to generate an access token.
- Copy and save the token.
- To use your credentials:
- Click New and select HTTP.
- Keep the method as GET and enter the API call URL:
- https://api.apaleo.com/reports/v1/reports/property-performance?propertyId={propertyID}&from=2024-01-01&to=2024-08-13&timeSliceDefinitionIds={propertyID}-NIGHT&expand=businessDays
- Replace
{propertyID}
with your property's ID from Apaleo. - Go to the Authorization tab, select Bearer Token, and enter the token you saved.
- Click Send to execute the call.
Step 4: Convert the Report to Excel (Optional)
If you want the report in Excel format, you can use online JSON to Excel converters.
Here is one option: https://www.convertcsv.com/json-to-csv.htm.