ב-31 ביולי 2024 נוציא משימוש את Google Business Messages. מידע נוסף זמין
כאן.
Method: brands.agents.create
יצירת נציג חדש לייצוג מותג.
בקשת HTTP
POST https://businesscommunications.googleapis.com/v1/{parent=brands/*}/agents
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
parent |
string
חובה. המזהה הייחודי של המותג שהנציג מייצג. אם מזהה המותג הוא '1234', הפרמטר הזה הוא 'brands/1234'.
|
גוף הבקשה
גוף הבקשה מכיל מופע של Agent
.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע חדש של Agent
שנוצר.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-02 (שעון UTC).
[null,null,["עדכון אחרון: 2023-12-02 (שעון UTC)."],[[["Creates a new agent to represent a brand using a POST request to the specified URL."],["Requires the brand's unique identifier as a path parameter in the URL."],["The request body must contain an instance of \"Agent\" as defined in the provided documentation."],["Upon successful completion, the response body will contain the newly created agent's details."]]],[]]