Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Namespace: microsoft.graph
Ruft eine Liste der bookingService-Objekte im angegebenen bookingBusiness ab.
Diese API ist in den folgenden nationalen Cloudbereitstellungen verfügbar.
| Weltweiter Service | US Government L4 | US Government L5 (DOD) | China, betrieben von 21Vianet |
|---|---|---|---|
| ✅ | ✅ | ✅ | ❌ |
Berechtigungen
Wählen Sie die Berechtigungen aus, die für diese API als am wenigsten privilegiert markiert sind. Verwenden Sie eine höhere Berechtigung oder Berechtigungen nur, wenn Ihre App dies erfordert. Ausführliche Informationen zu delegierten Berechtigungen und Anwendungsberechtigungen finden Sie unter Berechtigungstypen. Weitere Informationen zu diesen Berechtigungen finden Sie in der Berechtigungsreferenz.
| Berechtigungstyp | Berechtigungen mit den geringsten Berechtigungen | Berechtigungen mit höheren Berechtigungen |
|---|---|---|
| Delegiert (Geschäfts-, Schul- oder Unikonto) | Bookings.Read.All | Bookings. Manage.All, Bookings. ReadWrite.All, BookingsAppointment.ReadWrite.All |
| Delegiert (persönliches Microsoft-Konto) | Nicht unterstützt | Nicht unterstützt |
| Application | BookingsAppointment.ReadWrite.All | Bookings. Manage.All, Bookings. Read.All, Bookings. ReadWrite.All |
HTTP-Anforderung
GET /solutions/bookingBusinesses/{id}/services
Optionale Abfrageparameter
Diese Methode unterstützt die $count- und $expand OData-Abfrageparameter , um die Antwort anzupassen.
Anforderungsheader
| Name | Beschreibung |
|---|---|
| Authorization | Bearer {code}. Erforderlich. |
Anforderungstext
Geben Sie keinen Anforderungstext für diese Methode an.
Antwort
Bei erfolgreicher Ausführung gibt die Methode einen 200 OK Antwortcode und eine Sammlung von bookingService-Objekten im Antworttext zurück.
Beispiel
Anforderung
Das folgende Beispiel zeigt eine Anfrage.
GET https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/Contosolunchdelivery@contoso.com/services
Antwort
Das folgende Beispiel zeigt die Antwort.
Hinweis: Das hier gezeigte Antwortobjekt kann zur besseren Lesbarkeit gekürzt werden.
HTTP/1.1 200 OK
Content-type: application/json
{
"@odata.context": "https://graph.microsoft.com/v1.0/solutions/$metadata#bookingBusinesses('Contosolunchdelivery%40contoso.com')/services",
"value": [
{
"id": "f9b9121f-aed7-4c8c-bb3a-a1796a0b0b2d",
"displayName": "Initial service",
"defaultDuration": "PT10M",
"defaultPrice": 0.0,
"defaultPriceType": "notSet",
"description": "Not sure how to choose? Let us introduce you to our traditional family recipes.",
"languageTag": "en-US",
"isHiddenFromCustomers": false,
"notes": "This is where you can add notes about this service that only you and your staff see.",
"preBuffer": "PT0S",
"postBuffer": "PT0S",
"staffMemberIds": [],
"isLocationOnline": true,
"smsNotificationsEnabled": true,
"isAnonymousJoinEnabled": false,
"webUrl": "https://outlook.office365.com/owa/calendar/Contosolunchdelivery@contoso.com/bookings/s/gkcGIq92Z0u5h4ABB9Qgce5",
"schedulingPolicy": null,
"defaultLocation": {
"displayName": "Contoso Lunch Delivery",
"locationEmailAddress": null,
"locationUri": "",
"locationType": null,
"uniqueId": null,
"uniqueIdType": null,
"address": {
"street": "4567 First Street",
"city": "Buffalo",
"state": "NY",
"countryOrRegion": "USA",
"postalCode": "98052"
},
"coordinates": {
"altitude": null,
"latitude": null,
"longitude": null,
"accuracy": null,
"altitudeAccuracy": null
}
},
"defaultReminders": []
},
{
"id": "57da6774-a087-4d69-b0e6-6fb82c339976",
"displayName": "Catered bento",
"defaultDuration": "PT30M",
"defaultPrice": 10.0,
"defaultPriceType": "fixedPrice",
"description": "Catered individual bento box lunch",
"languageTag": "en-US",
"isHiddenFromCustomers": false,
"notes": "Home-cooked special",
"preBuffer": "PT5M",
"postBuffer": "PT10M",
"staffMemberIds": [],
"isLocationOnline": true,
"smsNotificationsEnabled": false,
"isAnonymousJoinEnabled": false,
"webUrl": "https://outlook.office365.com/owa/calendar/Contosolunchdelivery@contoso.com/bookings/s/gpcGIq92Z0u5h6ABB9Qgrt5",
"defaultLocation": {
"displayName": "Contoso Lunch Delivery",
"locationEmailAddress": null,
"locationUri": "",
"locationType": null,
"uniqueId": null,
"uniqueIdType": null,
"address": {
"street": "4567 First Street",
"city": "Buffalo",
"state": "NY",
"countryOrRegion": "USA",
"postalCode": "98052"
},
"coordinates": {
"altitude": null,
"latitude": null,
"longitude": null,
"accuracy": null,
"altitudeAccuracy": null
}
},
"defaultReminders": [],
"schedulingPolicy": {
"timeSlotInterval": "PT1H",
"minimumLeadTime": "PT10H",
"maximumAdvance": "P10D",
"sendConfirmationsToOwner": true,
"allowStaffSelection": true
}
},
{
"id": "635a7b7c-4230-4d3b-a42b-698e89927528",
"displayName": "Kaiseki",
"defaultDuration": "PT1H30M",
"defaultPrice": 30.0,
"defaultPriceType": "fixedPrice",
"description": "Individual kaiseki lunch delivery",
"languageTag": "en-US",
"isHiddenFromCustomers": false,
"notes": "Home-cooked special",
"preBuffer": "PT5M",
"postBuffer": "PT10M",
"staffMemberIds": [],
"isLocationOnline": true,
"smsNotificationsEnabled": true,
"isAnonymousJoinEnabled": false,
"webUrl": "https://outlook.office365.com/owa/calendar/Contosolunchdelivery@contoso.com/bookings/s/bplGIq92Z0u5h4FWB9Qgvu7",
"defaultLocation": {
"displayName": "Contoso Lunch Delivery",
"locationEmailAddress": null,
"locationUri": "",
"locationType": null,
"uniqueId": null,
"uniqueIdType": null,
"address": {
"street": "4567 First Street",
"city": "Buffalo",
"state": "NY",
"countryOrRegion": "USA",
"postalCode": "98052"
},
"coordinates": {
"altitude": null,
"latitude": null,
"longitude": null,
"accuracy": null,
"altitudeAccuracy": null
}
},
"defaultReminders": [],
"schedulingPolicy": {
"timeSlotInterval": "PT1H",
"minimumLeadTime": "PT10H",
"maximumAdvance": "P10D",
"sendConfirmationsToOwner": true,
"allowStaffSelection": true
}
}
]
}