You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: teams/teams-ps/teams/New-CsMainlineAttenantAppointmentBookingFlowApiDefinitionsJSON.md
+47-85Lines changed: 47 additions & 85 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,95 +59,57 @@ JSON example for the -ApiDefintions parameter
59
59
},
60
60
61
61
"getCallerDetails" : [ // Can specify multiple endpoints below to get caller details by phone number, ID, email, etc.
62
-
63
62
{
64
-
65
-
"endpoint" : "<endpoint1>", // For example, https://www.contoso.com/home?parameter1=<parameter1>¶meter2=<parameter2>
66
-
67
-
"method_type": "GET"or "PUT" or "POST",
68
-
69
-
"description" : "<description>",
70
-
71
-
"query_strings" : { // Definition of the query string parameters in the endpoint
72
-
73
-
"parameter1" : "<parameter1>",
74
-
75
-
"parameter2" : "<parameter2>"
76
-
77
-
},
78
-
79
-
"headers" : {
80
-
81
-
"Authorization" : "Basic <constant>"or "api-key <constant>" or "Bearer <constant>" or "Bearer <token>", // replace <constant> with an expected value. <token> will be replaced by the response to generateAuthToken()
82
-
83
-
"X-API-Key" : "API-Key"// Only applicable for "api_key" auth type.
84
-
85
-
},
86
-
87
-
"body" : { // Sent as JSON payload
88
-
89
-
"in_parameter1" : "<in_parameter1>",
90
-
91
-
"in_parameter2" : "<in_parameter2>"
92
-
93
-
},
94
-
95
-
"response" : { // Response to 200 range of codes
96
-
97
-
"out_parameter1" : "<out_parameter1>",
98
-
99
-
"out_parameter2" : "<out_parameter2>",
100
-
101
-
"out_parameter3" : "<out_parameter3>"
102
-
103
-
}
104
-
63
+
"endpoint" : "<endpoint1>", // For example, https://www.contoso.com/home?parameter1=<parameter1>¶meter2=<parameter2>
64
+
"method_type": "GET"or "PUT" or "POST",
65
+
"description" : "<description>",
66
+
"query_strings" : { // Definition of the query string parameters in the endpoint
67
+
"parameter1" : "<parameter1>",
68
+
"parameter2" : "<parameter2>"
69
+
},
70
+
71
+
"headers" : {
72
+
"Authorization" : "Basic <constant>"or "api-key <constant>" or "Bearer <constant>" or "Bearer <token>", // replace <constant> with an expected value. <token> will be replaced by the response to generateAuthToken()
73
+
"X-API-Key" : "API-Key"// Only applicable for "api_key" auth type.
74
+
},
75
+
76
+
"body" : { // Sent as JSON payload
77
+
"in_parameter1" : "<in_parameter1>",
78
+
"in_parameter2" : "<in_parameter2>"
79
+
},
80
+
81
+
"response" : { // Response to 200 range of codes
82
+
"out_parameter1" : "<out_parameter1>",
83
+
"out_parameter2" : "<out_parameter2>",
84
+
"out_parameter3" : "<out_parameter3>"
85
+
}
105
86
},
106
87
107
88
{
108
-
109
-
"endpoint" : "<endpoint2>",
110
-
111
-
"method_type": "GET"or "PUT" or "POST",
112
-
113
-
"description" : "<description>",
114
-
115
-
"query_strings" : {
116
-
117
-
"parameter1" : "<parameter1>",
118
-
119
-
"parameter2" : "<parameter2>"
120
-
121
-
},
122
-
123
-
"headers" : {
124
-
125
-
"Authorization" : "Basic <constant>"or "api-key <constant>" or "Bearer <constant>" or "Bearer <token>",
126
-
127
-
"X-API-Key" : "API-Key"
128
-
129
-
},
130
-
131
-
"body" : {
132
-
133
-
"in_parameter1" : "<in_parameter1>",
134
-
135
-
"in_parameter2" : "<in_parameter2>"
136
-
137
-
},
138
-
139
-
"response" : {
140
-
141
-
"out_parameter1" : "<out_parameter1>",
142
-
143
-
"out_parameter2" : "<out_parameter2>",
144
-
145
-
"out_parameter3" : "<out_parameter3>"
146
-
147
-
}
148
-
149
-
}
150
-
89
+
"endpoint" : "<endpoint2>",
90
+
"method_type": "GET"or "PUT" or "POST",
91
+
"description" : "<description>",
92
+
"query_strings" : {
93
+
"parameter1" : "<parameter1>",
94
+
"parameter2" : "<parameter2>"
95
+
},
96
+
97
+
"headers" : {
98
+
"Authorization" : "Basic <constant>"or "api-key <constant>" or "Bearer <constant>" or "Bearer <token>",
99
+
"X-API-Key" : "API-Key"
100
+
},
101
+
102
+
"body" : {
103
+
"in_parameter1" : "<in_parameter1>",
104
+
"in_parameter2" : "<in_parameter2>"
105
+
},
106
+
107
+
"r esponse" : {
108
+
"out_parameter1" : "<out_parameter1>",
109
+
"out_parameter2" : "<out_parameter2>",
110
+
"out_parameter3" : "<out_parameter3>"
111
+
}
112
+
}
151
113
],
152
114
153
115
"initiateCallerAuthentication" : [ // for SMS/email code, verification link
0 commit comments