bombbomb 2.0.21454 → 2.0.22196
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +35 -14
- data/bombbomb.gemspec +1 -1
- data/docs/AutomationsApi.md +115 -0
- data/docs/EmailsApi.md +246 -0
- data/docs/JerichoConfiguration.md +5 -1
- data/docs/PromptBotBot.md +18 -0
- data/docs/PromptsApi.md +384 -3
- data/docs/SignUploadRequest.md +9 -0
- data/docs/SignUploadResponse.md +9 -0
- data/docs/VideoEmailPrompt.md +9 -2
- data/docs/VideoPublicRepresentation.md +18 -0
- data/docs/VideoRecorderMethodResponse.md +15 -0
- data/docs/VideosApi.md +175 -0
- data/lib/bombbomb.rb +9 -1
- data/lib/bombbomb/api/automations_api.rb +150 -0
- data/lib/bombbomb/api/curriculum_api.rb +1 -1
- data/lib/bombbomb/api/emails_api.rb +293 -0
- data/lib/bombbomb/api/prompts_api.rb +439 -5
- data/lib/bombbomb/api/teams_api.rb +1 -1
- data/lib/bombbomb/api/utilities_api.rb +1 -1
- data/lib/bombbomb/api/videos_api.rb +221 -0
- data/lib/bombbomb/api/webhooks_api.rb +1 -1
- data/lib/bombbomb/api_client.rb +1 -1
- data/lib/bombbomb/api_error.rb +1 -1
- data/lib/bombbomb/configuration.rb +1 -1
- data/lib/bombbomb/models/bb_web_hook.rb +1 -1
- data/lib/bombbomb/models/curriculum.rb +1 -1
- data/lib/bombbomb/models/curriculum_user_progress.rb +1 -1
- data/lib/bombbomb/models/curriculum_with_progress.rb +1 -1
- data/lib/bombbomb/models/inline_response_200.rb +1 -1
- data/lib/bombbomb/models/inline_response_200_items.rb +1 -1
- data/lib/bombbomb/models/jericho_configuration.rb +43 -3
- data/lib/bombbomb/models/jericho_performance.rb +1 -1
- data/lib/bombbomb/models/o_auth_client.rb +1 -1
- data/lib/bombbomb/models/prompt_bot_bot.rb +300 -0
- data/lib/bombbomb/models/sign_upload_request.rb +210 -0
- data/lib/bombbomb/models/sign_upload_response.rb +210 -0
- data/lib/bombbomb/models/string.rb +1 -1
- data/lib/bombbomb/models/team_public_representation.rb +1 -1
- data/lib/bombbomb/models/video_email_prompt.rb +79 -9
- data/lib/bombbomb/models/video_public_representation.rb +302 -0
- data/lib/bombbomb/models/video_recorder_method_response.rb +270 -0
- data/lib/bombbomb/version.rb +2 -2
- data/spec/api/automations_api_spec.rb +71 -0
- data/spec/api/emails_api_spec.rb +104 -0
- data/spec/api/videos_api_spec.rb +86 -0
- data/spec/models/prompt_bot_bot_spec.rb +113 -0
- data/spec/models/sign_upload_request_spec.rb +59 -0
- data/spec/models/sign_upload_response_spec.rb +59 -0
- data/spec/models/video_public_representation_spec.rb +113 -0
- data/spec/models/video_recorder_method_response_spec.rb +95 -0
- metadata +34 -2
@@ -6,8 +6,12 @@ Name | Type | Description | Notes
|
|
6
6
|
**id** | **String** | | [optional]
|
7
7
|
**client_group_id** | **String** | | [optional]
|
8
8
|
**send_date** | **DateTime** | When the email should be sent. | [optional]
|
9
|
-
**is_prompt** | **BOOLEAN** | Determines whether this is a static or prompted send. |
|
9
|
+
**is_prompt** | **BOOLEAN** | Video Prompt: Determines whether this is a static or prompted send. |
|
10
|
+
**print_to_template** | **BOOLEAN** | Controls whether or not the content is printed into a template. | [optional]
|
10
11
|
**email_id** | **String** | Static send: The Email to send on behalf of the group members. | [optional]
|
12
|
+
**example_video_id** | **String** | Video Prompt: The Video to include as an example for prompted users. | [optional]
|
13
|
+
**follow_up_video_id** | **String** | The Video to include in the tracking follow up. | [optional]
|
14
|
+
**prompt_intro** | **String** | Video Prompt: The intro text directed toward prompted users. | [optional]
|
11
15
|
**prompt_subject** | **String** | Video Prompt: The subject line prompting the user to record a video. | [optional]
|
12
16
|
**prompt_body** | **String** | Video Prompt: The HTML body of the email prompting the user to record a video. | [optional]
|
13
17
|
**email_subject** | **String** | Video Prompt: The subject line of the final sent email | [optional]
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# BombBomb::PromptBotBot
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **String** | The identifier of the prompt bot. Read Only. | [optional]
|
7
|
+
**user_id** | **String** | The prompt bot's owner. Read Only. | [optional]
|
8
|
+
**email_id** | **String** | The default email being sent to contacts in the prompt bot list. | [optional]
|
9
|
+
**list_id** | **String** | The list to attach the Prompt Bot to. | [optional]
|
10
|
+
**prompt_subject** | **String** | The prompt subject. | [optional]
|
11
|
+
**prompt_body** | **String** | The prompt body. | [optional]
|
12
|
+
**status** | **String** | The status of the prompt bot. Read Only. | [optional]
|
13
|
+
**start_date** | **DateTime** | when the bot started | [optional]
|
14
|
+
**end_date** | **DateTime** | when the bot should finish | [optional]
|
15
|
+
**bot_type_id** | **String** | The type of bot. | [optional]
|
16
|
+
**template_id** | **String** | The template id used to generate the default email. | [optional]
|
17
|
+
|
18
|
+
|
data/docs/PromptsApi.md
CHANGED
@@ -4,9 +4,86 @@ All URIs are relative to *https://api.bombbomb.com/v2*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**create_prompt_bot**](PromptsApi.md#create_prompt_bot) | **POST** /prompts/bots | Create a running Prompt Bot for a list
|
7
8
|
[**create_video_email_prompt**](PromptsApi.md#create_video_email_prompt) | **POST** /prompt | Prompts user to send a video
|
9
|
+
[**get_pending_video_email_prompts**](PromptsApi.md#get_pending_video_email_prompts) | **GET** /prompt/pending | List pending prompts
|
10
|
+
[**get_prompt_bots**](PromptsApi.md#get_prompt_bots) | **GET** /prompts/bots | List Prompt Bots
|
11
|
+
[**get_prompt_campaigns**](PromptsApi.md#get_prompt_campaigns) | **GET** /prompts/campaigns | List Prompt Campaigns
|
8
12
|
[**get_video_email_prompt**](PromptsApi.md#get_video_email_prompt) | **GET** /prompt/{id} | Gets a prompt
|
13
|
+
[**get_video_email_prompts**](PromptsApi.md#get_video_email_prompts) | **GET** /prompt/ | List prompts
|
9
14
|
[**respond_to_video_email_prompt**](PromptsApi.md#respond_to_video_email_prompt) | **POST** /prompt/{id}/response | Respond to a prompt
|
15
|
+
[**update_prompt_bot**](PromptsApi.md#update_prompt_bot) | **PUT** /prompts/bots/{id} | Update Prompt Bot
|
16
|
+
[**update_prompt_campaign**](PromptsApi.md#update_prompt_campaign) | **PUT** /prompts/campaigns/{id} | Update Prompt Campaign
|
17
|
+
|
18
|
+
|
19
|
+
# **create_prompt_bot**
|
20
|
+
> PromptBotBot create_prompt_bot(list_id, email_id, end_date, prompt_subject, prompt_body, bot_type_id, template_id)
|
21
|
+
|
22
|
+
Create a running Prompt Bot for a list
|
23
|
+
|
24
|
+
Creates a Prompt Bot that sends emails to contacts on a list over the span of time defined.
|
25
|
+
|
26
|
+
### Example
|
27
|
+
```ruby
|
28
|
+
# load the gem
|
29
|
+
require 'bombbomb'
|
30
|
+
# setup authorization
|
31
|
+
BombBomb.configure do |config|
|
32
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
33
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
34
|
+
end
|
35
|
+
|
36
|
+
api_instance = BombBomb::PromptsApi.new
|
37
|
+
|
38
|
+
list_id = "list_id_example" # String | The list id to attach the bot to.
|
39
|
+
|
40
|
+
email_id = "email_id_example" # String | The default email to use.
|
41
|
+
|
42
|
+
end_date = "end_date_example" # String | The time frame to complete sending to the list.
|
43
|
+
|
44
|
+
prompt_subject = "prompt_subject_example" # String | The prompt subject.
|
45
|
+
|
46
|
+
prompt_body = "prompt_body_example" # String | The prompt script.
|
47
|
+
|
48
|
+
bot_type_id = "bot_type_id_example" # String | The type of bot to create.
|
49
|
+
|
50
|
+
template_id = "template_id_example" # String | The template used to create the email id.
|
51
|
+
|
52
|
+
|
53
|
+
begin
|
54
|
+
#Create a running Prompt Bot for a list
|
55
|
+
result = api_instance.create_prompt_bot(list_id, email_id, end_date, prompt_subject, prompt_body, bot_type_id, template_id)
|
56
|
+
p result
|
57
|
+
rescue BombBomb::ApiError => e
|
58
|
+
puts "Exception when calling PromptsApi->create_prompt_bot: #{e}"
|
59
|
+
end
|
60
|
+
```
|
61
|
+
|
62
|
+
### Parameters
|
63
|
+
|
64
|
+
Name | Type | Description | Notes
|
65
|
+
------------- | ------------- | ------------- | -------------
|
66
|
+
**list_id** | **String**| The list id to attach the bot to. |
|
67
|
+
**email_id** | **String**| The default email to use. |
|
68
|
+
**end_date** | **String**| The time frame to complete sending to the list. |
|
69
|
+
**prompt_subject** | **String**| The prompt subject. |
|
70
|
+
**prompt_body** | **String**| The prompt script. |
|
71
|
+
**bot_type_id** | **String**| The type of bot to create. |
|
72
|
+
**template_id** | **String**| The template used to create the email id. |
|
73
|
+
|
74
|
+
### Return type
|
75
|
+
|
76
|
+
[**PromptBotBot**](PromptBotBot.md)
|
77
|
+
|
78
|
+
### Authorization
|
79
|
+
|
80
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
81
|
+
|
82
|
+
### HTTP request headers
|
83
|
+
|
84
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
85
|
+
- **Accept**: application/json
|
86
|
+
|
10
87
|
|
11
88
|
|
12
89
|
# **create_video_email_prompt**
|
@@ -61,6 +138,143 @@ Name | Type | Description | Notes
|
|
61
138
|
|
62
139
|
|
63
140
|
|
141
|
+
# **get_pending_video_email_prompts**
|
142
|
+
> Array<VideoEmailPrompt> get_pending_video_email_prompts
|
143
|
+
|
144
|
+
List pending prompts
|
145
|
+
|
146
|
+
Returns a list of prompts that have not been sent yet, and can still be customized.
|
147
|
+
|
148
|
+
### Example
|
149
|
+
```ruby
|
150
|
+
# load the gem
|
151
|
+
require 'bombbomb'
|
152
|
+
# setup authorization
|
153
|
+
BombBomb.configure do |config|
|
154
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
155
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
156
|
+
end
|
157
|
+
|
158
|
+
api_instance = BombBomb::PromptsApi.new
|
159
|
+
|
160
|
+
begin
|
161
|
+
#List pending prompts
|
162
|
+
result = api_instance.get_pending_video_email_prompts
|
163
|
+
p result
|
164
|
+
rescue BombBomb::ApiError => e
|
165
|
+
puts "Exception when calling PromptsApi->get_pending_video_email_prompts: #{e}"
|
166
|
+
end
|
167
|
+
```
|
168
|
+
|
169
|
+
### Parameters
|
170
|
+
This endpoint does not need any parameter.
|
171
|
+
|
172
|
+
### Return type
|
173
|
+
|
174
|
+
[**Array<VideoEmailPrompt>**](VideoEmailPrompt.md)
|
175
|
+
|
176
|
+
### Authorization
|
177
|
+
|
178
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
179
|
+
|
180
|
+
### HTTP request headers
|
181
|
+
|
182
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
183
|
+
- **Accept**: application/json
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
# **get_prompt_bots**
|
188
|
+
> Array<PromptBotBot> get_prompt_bots
|
189
|
+
|
190
|
+
List Prompt Bots
|
191
|
+
|
192
|
+
Returns a list of all Prompt Bots for the user.
|
193
|
+
|
194
|
+
### Example
|
195
|
+
```ruby
|
196
|
+
# load the gem
|
197
|
+
require 'bombbomb'
|
198
|
+
# setup authorization
|
199
|
+
BombBomb.configure do |config|
|
200
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
201
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
202
|
+
end
|
203
|
+
|
204
|
+
api_instance = BombBomb::PromptsApi.new
|
205
|
+
|
206
|
+
begin
|
207
|
+
#List Prompt Bots
|
208
|
+
result = api_instance.get_prompt_bots
|
209
|
+
p result
|
210
|
+
rescue BombBomb::ApiError => e
|
211
|
+
puts "Exception when calling PromptsApi->get_prompt_bots: #{e}"
|
212
|
+
end
|
213
|
+
```
|
214
|
+
|
215
|
+
### Parameters
|
216
|
+
This endpoint does not need any parameter.
|
217
|
+
|
218
|
+
### Return type
|
219
|
+
|
220
|
+
[**Array<PromptBotBot>**](PromptBotBot.md)
|
221
|
+
|
222
|
+
### Authorization
|
223
|
+
|
224
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
225
|
+
|
226
|
+
### HTTP request headers
|
227
|
+
|
228
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
229
|
+
- **Accept**: application/json
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
# **get_prompt_campaigns**
|
234
|
+
> get_prompt_campaigns
|
235
|
+
|
236
|
+
List Prompt Campaigns
|
237
|
+
|
238
|
+
Returns a list of all Prompt Campaigns for the user.
|
239
|
+
|
240
|
+
### Example
|
241
|
+
```ruby
|
242
|
+
# load the gem
|
243
|
+
require 'bombbomb'
|
244
|
+
# setup authorization
|
245
|
+
BombBomb.configure do |config|
|
246
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
247
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
248
|
+
end
|
249
|
+
|
250
|
+
api_instance = BombBomb::PromptsApi.new
|
251
|
+
|
252
|
+
begin
|
253
|
+
#List Prompt Campaigns
|
254
|
+
api_instance.get_prompt_campaigns
|
255
|
+
rescue BombBomb::ApiError => e
|
256
|
+
puts "Exception when calling PromptsApi->get_prompt_campaigns: #{e}"
|
257
|
+
end
|
258
|
+
```
|
259
|
+
|
260
|
+
### Parameters
|
261
|
+
This endpoint does not need any parameter.
|
262
|
+
|
263
|
+
### Return type
|
264
|
+
|
265
|
+
nil (empty response body)
|
266
|
+
|
267
|
+
### Authorization
|
268
|
+
|
269
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
270
|
+
|
271
|
+
### HTTP request headers
|
272
|
+
|
273
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
274
|
+
- **Accept**: application/json
|
275
|
+
|
276
|
+
|
277
|
+
|
64
278
|
# **get_video_email_prompt**
|
65
279
|
> VideoEmailPrompt get_video_email_prompt(id)
|
66
280
|
|
@@ -113,6 +327,52 @@ Name | Type | Description | Notes
|
|
113
327
|
|
114
328
|
|
115
329
|
|
330
|
+
# **get_video_email_prompts**
|
331
|
+
> Array<VideoEmailPrompt> get_video_email_prompts
|
332
|
+
|
333
|
+
List prompts
|
334
|
+
|
335
|
+
Returns a list of all prompts.
|
336
|
+
|
337
|
+
### Example
|
338
|
+
```ruby
|
339
|
+
# load the gem
|
340
|
+
require 'bombbomb'
|
341
|
+
# setup authorization
|
342
|
+
BombBomb.configure do |config|
|
343
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
344
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
345
|
+
end
|
346
|
+
|
347
|
+
api_instance = BombBomb::PromptsApi.new
|
348
|
+
|
349
|
+
begin
|
350
|
+
#List prompts
|
351
|
+
result = api_instance.get_video_email_prompts
|
352
|
+
p result
|
353
|
+
rescue BombBomb::ApiError => e
|
354
|
+
puts "Exception when calling PromptsApi->get_video_email_prompts: #{e}"
|
355
|
+
end
|
356
|
+
```
|
357
|
+
|
358
|
+
### Parameters
|
359
|
+
This endpoint does not need any parameter.
|
360
|
+
|
361
|
+
### Return type
|
362
|
+
|
363
|
+
[**Array<VideoEmailPrompt>**](VideoEmailPrompt.md)
|
364
|
+
|
365
|
+
### Authorization
|
366
|
+
|
367
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
368
|
+
|
369
|
+
### HTTP request headers
|
370
|
+
|
371
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
372
|
+
- **Accept**: application/json
|
373
|
+
|
374
|
+
|
375
|
+
|
116
376
|
# **respond_to_video_email_prompt**
|
117
377
|
> VideoEmailPrompt respond_to_video_email_prompt(id, choice, opts)
|
118
378
|
|
@@ -129,10 +389,11 @@ api_instance = BombBomb::PromptsApi.new
|
|
129
389
|
|
130
390
|
id = "id_example" # String | The id of the prompt.
|
131
391
|
|
132
|
-
choice = "choice_example" # String | The users' selection. Can be: WithVideo,
|
392
|
+
choice = "choice_example" # String | The users' selection. Can be: WithVideo, WithEmail, Cancel
|
133
393
|
|
134
394
|
opts = {
|
135
|
-
video_id: "video_id_example" # String | The id of the video.
|
395
|
+
video_id: "video_id_example", # String | The id of the video.
|
396
|
+
email_id: "email_id_example" # String | The id of the video.
|
136
397
|
}
|
137
398
|
|
138
399
|
begin
|
@@ -149,8 +410,9 @@ end
|
|
149
410
|
Name | Type | Description | Notes
|
150
411
|
------------- | ------------- | ------------- | -------------
|
151
412
|
**id** | **String**| The id of the prompt. |
|
152
|
-
**choice** | **String**| The users' selection. Can be: WithVideo,
|
413
|
+
**choice** | **String**| The users' selection. Can be: WithVideo, WithEmail, Cancel |
|
153
414
|
**video_id** | **String**| The id of the video. | [optional]
|
415
|
+
**email_id** | **String**| The id of the video. | [optional]
|
154
416
|
|
155
417
|
### Return type
|
156
418
|
|
@@ -167,3 +429,122 @@ No authorization required
|
|
167
429
|
|
168
430
|
|
169
431
|
|
432
|
+
# **update_prompt_bot**
|
433
|
+
> PromptBotBot update_prompt_bot(id, opts)
|
434
|
+
|
435
|
+
Update Prompt Bot
|
436
|
+
|
437
|
+
Updates a Prompt Bot's settings.
|
438
|
+
|
439
|
+
### Example
|
440
|
+
```ruby
|
441
|
+
# load the gem
|
442
|
+
require 'bombbomb'
|
443
|
+
# setup authorization
|
444
|
+
BombBomb.configure do |config|
|
445
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
446
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
447
|
+
end
|
448
|
+
|
449
|
+
api_instance = BombBomb::PromptsApi.new
|
450
|
+
|
451
|
+
id = "id_example" # String | The bot id.
|
452
|
+
|
453
|
+
opts = {
|
454
|
+
email_id: "email_id_example", # String | The default email to use.
|
455
|
+
end_date: "end_date_example", # String | The time frame to complete sending to the list.
|
456
|
+
status: "status_example" # String | The status of the bot.
|
457
|
+
}
|
458
|
+
|
459
|
+
begin
|
460
|
+
#Update Prompt Bot
|
461
|
+
result = api_instance.update_prompt_bot(id, opts)
|
462
|
+
p result
|
463
|
+
rescue BombBomb::ApiError => e
|
464
|
+
puts "Exception when calling PromptsApi->update_prompt_bot: #{e}"
|
465
|
+
end
|
466
|
+
```
|
467
|
+
|
468
|
+
### Parameters
|
469
|
+
|
470
|
+
Name | Type | Description | Notes
|
471
|
+
------------- | ------------- | ------------- | -------------
|
472
|
+
**id** | **String**| The bot id. |
|
473
|
+
**email_id** | **String**| The default email to use. | [optional]
|
474
|
+
**end_date** | **String**| The time frame to complete sending to the list. | [optional]
|
475
|
+
**status** | **String**| The status of the bot. | [optional]
|
476
|
+
|
477
|
+
### Return type
|
478
|
+
|
479
|
+
[**PromptBotBot**](PromptBotBot.md)
|
480
|
+
|
481
|
+
### Authorization
|
482
|
+
|
483
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
484
|
+
|
485
|
+
### HTTP request headers
|
486
|
+
|
487
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
488
|
+
- **Accept**: application/json
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
# **update_prompt_campaign**
|
493
|
+
> update_prompt_campaign(client_group_id, opts)
|
494
|
+
|
495
|
+
Update Prompt Campaign
|
496
|
+
|
497
|
+
Updates a Prompt Campaign's Settings
|
498
|
+
|
499
|
+
### Example
|
500
|
+
```ruby
|
501
|
+
# load the gem
|
502
|
+
require 'bombbomb'
|
503
|
+
# setup authorization
|
504
|
+
BombBomb.configure do |config|
|
505
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
506
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
507
|
+
end
|
508
|
+
|
509
|
+
api_instance = BombBomb::PromptsApi.new
|
510
|
+
|
511
|
+
client_group_id = "client_group_id_example" # String | The client group of the campaign.
|
512
|
+
|
513
|
+
opts = {
|
514
|
+
branded_template_id: "branded_template_id_example", # String | The template to use for branded feel emails.
|
515
|
+
personal_template_id: "personal_template_id_example", # String | The template to use for personal feel emails.
|
516
|
+
enabled: true # BOOLEAN | Set whether the user is able to start receiving prompts.
|
517
|
+
}
|
518
|
+
|
519
|
+
begin
|
520
|
+
#Update Prompt Campaign
|
521
|
+
api_instance.update_prompt_campaign(client_group_id, opts)
|
522
|
+
rescue BombBomb::ApiError => e
|
523
|
+
puts "Exception when calling PromptsApi->update_prompt_campaign: #{e}"
|
524
|
+
end
|
525
|
+
```
|
526
|
+
|
527
|
+
### Parameters
|
528
|
+
|
529
|
+
Name | Type | Description | Notes
|
530
|
+
------------- | ------------- | ------------- | -------------
|
531
|
+
**client_group_id** | **String**| The client group of the campaign. |
|
532
|
+
**branded_template_id** | **String**| The template to use for branded feel emails. | [optional]
|
533
|
+
**personal_template_id** | **String**| The template to use for personal feel emails. | [optional]
|
534
|
+
**enabled** | **BOOLEAN**| Set whether the user is able to start receiving prompts. | [optional]
|
535
|
+
|
536
|
+
### Return type
|
537
|
+
|
538
|
+
nil (empty response body)
|
539
|
+
|
540
|
+
### Authorization
|
541
|
+
|
542
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
543
|
+
|
544
|
+
### HTTP request headers
|
545
|
+
|
546
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
547
|
+
- **Accept**: application/json
|
548
|
+
|
549
|
+
|
550
|
+
|