Table of Contents |
---|
Business Process
...
Bookings visualization
If you don’t see any appointments or some appointments are not showing in the calendar, verify your filter option.
...
To select all services, you can use the query below and run it.
Code Block https://graph.microsoft.com/beta/bookingBusinesses/PNRCivilAviationExamBooking@034gc.onmicrosoft.com/services
To create a new service, you can take information from an existing one.
You need to remove id and add @odata.type and change others fields as you want.
Reference: https://docs.microsoft.com/en-us/graph/api/bookingbusiness-post-services?view=graph-rest-beta&tabs=httpCode Block { "@odata.type":"#microsoft.graph.bookingService", "displayName": "AIRAF - INSTRUCTOR RATING CLASS 4 AEROPLANE", "defaultDuration": "PT3H30M", "defaultPrice": 35, "defaultPriceType": "fixedPrice", "description": "Exam duration - 3 hoursRequirements:Government issued ID (i. e. passport, Aviation Document Booklet, drivers license)Category 1 MedicalFlight Training Unit Letter of recommendation if applicable or proof of 15 hours instructor flight training and all", "isHiddenFromCustomers": false, "notes": "", "additionalInformation": "", "preBuffer": "PT0S", "postBuffer": "PT0S", "staffMemberIds": [], "isLocationOnline": false, "schedulingPolicy": null, "defaultLocation": { "displayName": "344 Edmonton St", "locationEmailAddress": null, "locationUri": "", "locationType": null, "uniqueId": null, "uniqueIdType": null, "address": { "type": "home", "postOfficeBox": "", "street": "344 Edmonton St", "city": "Winnipeg", "state": "Manitoba", "countryOrRegion": "Canada", "postalCode": "R3C 0P6" }, "coordinates": { "altitude": null, "latitude": null, "longitude": null, "accuracy": null, "altitudeAccuracy": null } }, "defaultReminders": [] }
Change the action to POST and click on Run Query
Result
Power BI
...
Custom fields
I didn’t find any reference in the Booking Tools API to create/add custom fields by Microsoft Graph.