Skip to content

Commit e10ed81

Browse files
authored
Update New-CsMainlineAttendantQuestionAnswerFlow.md
1 parent 5b29803 commit e10ed81

File tree

1 file changed

+2
-160
lines changed

1 file changed

+2
-160
lines changed

teams/teams-ps/teams/New-CsMainlineAttendantQuestionAnswerFlow.md

Lines changed: 2 additions & 160 deletions
Original file line numberDiff line numberDiff line change
@@ -85,167 +85,9 @@ Accept wildcard characters: False
8585
### -KnowledgeBase
8686
The knowledge base definition
8787
88-
```
89-
[
90-
91-
{
92-
93-
"address_type" : "local_file",
94-
95-
"document_address" : "<local_address>", // provide full path to the local address
96-
97-
"description" : "<description>"
98-
99-
100-
101-
},
102-
103-
{
104-
105-
"address_type" : "webpage",
106-
107-
"document_address" : "<web_address>", // provide full path to the webpage
108-
109-
"description" : "<description>"
110-
111-
112-
113-
},
114-
115-
{
116-
117-
"address_type" : "api_endpoint",
118-
119-
"description" : "<description>",
120-
121-
"api_specification" : {
122-
123-
"generateAuthToken" : { // Must be specified for "bearer_token_dynamic"
124-
125-
"endpoint" : "<endpoint>", // For example, https://www.contoso.com/home?parameter1=<parameter1>&parameter2=<parameter2>
126-
127-
"method_type": "GET" or "PUT" or "POST",
128-
129-
"description" : "<description>",
130-
131-
"query_strings" : { // Description of the query string parameters in the endpoint
132-
133-
"parameter1" : "<parameter1>",
134-
135-
"parameter2" : "<parameter2>"
136-
137-
},
138-
139-
"headers" : {
140-
141-
"Authorization" : "Basic <constant>" or "api-key <constant>" or "Bearer <constant>", // replace <constant> with an expected value
142-
143-
"X-API-Key" : "API-Key" // Only applicable for "api_key" auth type.
144-
145-
},
146-
147-
"response" : { // Response to 200 range of codes
148-
149-
"token" : "<token>" // this token will be used for APIs with "bearer_token_dynamic" auth type
150-
151-
}
152-
153-
},
154-
155-
"getResults1" : {
156-
157-
"endpoint" : "<endpoint>", // For example, https://www.contoso.com/home?parameter1=<parameter1>&parameter2=<parameter2>
158-
159-
"method_type": "GET" or "PUT" or "POST",
160-
161-
"description" : "<description>",
162-
163-
"query_strings" : { // Definition of the query string parameters in the endpoint
164-
165-
"parameter1" : "<parameter1>",
166-
167-
"parameter2" : "<parameter2>"
88+
The parameters used by the API
16889
169-
},
170-
171-
"headers" : {
172-
173-
"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()
174-
175-
"X-API-Key" : "API-Key" // Only applicable for "api_key" auth type.
176-
177-
},
178-
179-
"body" : { // Sent as JSON payload
180-
181-
"in_parameter1" : "<in_parameter1>",
182-
183-
"in_parameter2" : "<in_parameter2>"
184-
185-
},
186-
187-
"response" : { // Response to 200 range of codes
188-
189-
"out_parameter1" : "<out_parameter1>",
190-
191-
"out_parameter2" : "<out_parameter2>",
192-
193-
"out_parameter3" : "<out_parameter3>"
194-
195-
}
196-
197-
},
198-
199-
"getResults2" : {
200-
201-
"endpoint" : "<endpoint>", // For example, https://www.contoso.com/home?parameter1=<parameter1>&parameter2=<parameter2>
202-
203-
"method_type": "GET" or "PUT" or "POST"
204-
205-
"description" : "<description>",
206-
207-
"query_strings" : { // Definition of the query string parameters in the endpoint
208-
209-
"parameter1" : "<parameter1>",
210-
211-
"parameter2" : "<parameter2>"
212-
213-
},
214-
215-
"headers" : {
216-
217-
"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()
218-
219-
"X-API-Key" : "API-Key" // Only applicable for "api_key" auth type.
220-
221-
},
222-
223-
"body" : { // Sent as JSON payload
224-
225-
"in_parameter1" : "<in_parameter1>",
226-
227-
"in_parameter2" : "<in_parameter2>"
228-
229-
},
230-
231-
"response" : { // Response to 200 range of codes
232-
233-
"out_parameter1" : "<out_parameter1>",
234-
235-
"out_parameter2" : "<out_parameter2>",
236-
237-
"out_parameter3" : "<out_parameter3>"
238-
239-
}
240-
241-
}
242-
243-
}
244-
245-
}
246-
247-
]
248-
```
90+
For an example, see [New-CsMainlineAttendantQuestionAnswerFlow -KnowledgeBase](./New-CsMainlineAttendantQuestionAnswerFlowKnowledgeBaseJSON.md)
24991
25092
```yaml
25193
Type: String

0 commit comments

Comments
 (0)