Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Fordert einen Callback an, der die Funktionen eines Nutzers enthält.
Im Anschluss an diese Anfrage erhält der Agent einen asynchronen Callback mit den Funktionen des Nutzers. EINGESTELLT: Verwenden Sie stattdessen „phones.getCapabilities“.
HTTP-Anfrage
POST https://rcsbusinessmessaging.googleapis.com/v1/{name=phones/*}/capability:requestCapabilityCallback
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung
{"requestId": string}
Felder
requestId
string
Die ID der Anfrage, die vom Agent zugewiesen wurde. Es muss eine UUID gemäß der Definition in https://tools.ietf.org/html/rfc4122 sein. Diese Anfrage-ID ist im Funktions-Callback enthalten, der asynchron zurückgegeben wird.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, ist der Antworttext ein leeres JSON-Objekt.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-04-27 (UTC)."],[[["This endpoint is deprecated and should be replaced with `phones.getCapabilities`."],["It allows for requesting a callback containing a user's capabilities via an asynchronous process."],["The request is made using a POST HTTP request to a URL that includes the user's phone number in E.164 format."],["The request body requires a `requestId` field, which is a UUID assigned by the agent and included in the capability callback."],["The endpoint requires the OAuth scope `https://www.googleapis.com/auth/rcsbusinessmessaging` to be authorized."]]],[]]