@@ -256,8 +256,6 @@ public async Task<string> GetMyManagementUnitAsync(CancellationToken cancellatio
256256
257257 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
258258
259-
260-
261259 var response = await client . GetAsync ( uri , cancellationToken ) ;
262260
263261 response . EnsureSuccessStatusCode ( ) ;
@@ -749,8 +747,6 @@ public async Task<string> GetAlternativeShiftsSettingsAsync(CancellationToken ca
749747
750748 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
751749
752-
753-
754750 var response = await client . GetAsync ( uri , cancellationToken ) ;
755751
756752 response . EnsureSuccessStatusCode ( ) ;
@@ -960,8 +956,6 @@ public async Task<bool> DeleteCalendarUrlIcsAsync(CancellationToken cancellation
960956
961957 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
962958
963-
964-
965959 var response = await client . DeleteAsync ( uri , cancellationToken ) ;
966960
967961 return response . IsSuccessStatusCode ;
@@ -1021,8 +1015,6 @@ public async Task<string> CreateAdherenceExplanationAsync(string body, Cancellat
10211015
10221016 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
10231017
1024-
1025-
10261018 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
10271019
10281020 response . EnsureSuccessStatusCode ( ) ;
@@ -1065,8 +1057,6 @@ public async Task<string> CreateAdherenceHistoricalAsync(string body = null, Can
10651057
10661058 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
10671059
1068-
1069-
10701060 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
10711061
10721062 response . EnsureSuccessStatusCode ( ) ;
@@ -1081,8 +1071,6 @@ public async Task<string> CreateAdherenceHistoricalBulkAsync(string body = null,
10811071
10821072 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
10831073
1084-
1085-
10861074 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
10871075
10881076 response . EnsureSuccessStatusCode ( ) ;
@@ -1150,8 +1138,6 @@ public async Task<string> CreateAlternativeShiftTradeAsync(string body, Cancella
11501138
11511139 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
11521140
1153-
1154-
11551141 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
11561142
11571143 response . EnsureSuccessStatusCode ( ) ;
@@ -1168,8 +1154,6 @@ public async Task<string> CreateAlternativeShiftOffersJobAsync(string body, Canc
11681154
11691155 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
11701156
1171-
1172-
11731157 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
11741158
11751159 response . EnsureSuccessStatusCode ( ) ;
@@ -1186,8 +1170,6 @@ public async Task<string> SearchAlternativeShiftOffersAsync(string body, Cancell
11861170
11871171 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
11881172
1189-
1190-
11911173 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
11921174
11931175 response . EnsureSuccessStatusCode ( ) ;
@@ -1277,8 +1259,6 @@ public async Task<string> MoveAgentsAsync(string body = null, CancellationToken
12771259
12781260 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
12791261
1280-
1281-
12821262 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
12831263
12841264 response . EnsureSuccessStatusCode ( ) ;
@@ -1293,8 +1273,6 @@ public async Task<string> QueryAgentsIntegrationsAsync(string body = null, Cance
12931273
12941274 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
12951275
1296-
1297-
12981276 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
12991277
13001278 response . EnsureSuccessStatusCode ( ) ;
@@ -1311,8 +1289,6 @@ public async Task<string> GetAgentsPossibleWorkShiftsAsync(string body, Cancella
13111289
13121290 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
13131291
1314-
1315-
13161292 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
13171293
13181294 response . EnsureSuccessStatusCode ( ) ;
@@ -1327,8 +1303,6 @@ public async Task<string> GetMyAgentScheduleAsync(string body = null, Cancellati
13271303
13281304 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
13291305
1330-
1331-
13321306 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
13331307
13341308 response . EnsureSuccessStatusCode ( ) ;
@@ -2011,8 +1985,6 @@ public async Task<string> GetNotificationSubscriptionsAsync(CancellationToken ca
20111985
20121986 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
20131987
2014-
2015-
20161988 var response = await client . GetAsync ( uri , cancellationToken ) ;
20171989
20181990 response . EnsureSuccessStatusCode ( ) ;
@@ -2029,8 +2001,6 @@ public async Task<string> CreateNotificationSubscriptionAsync(string body, Cance
20292001
20302002 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
20312003
2032-
2033-
20342004 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
20352005
20362006 response . EnsureSuccessStatusCode ( ) ;
@@ -2436,8 +2406,6 @@ public async Task<string> GetCalendarUrlIcsAsync(CancellationToken cancellationT
24362406
24372407 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
24382408
2439-
2440-
24412409 var response = await client . GetAsync ( uri , cancellationToken ) ;
24422410
24432411 response . EnsureSuccessStatusCode ( ) ;
@@ -2452,8 +2420,6 @@ public async Task<string> CreateCalendarUrlIcsAsync(string body = null, Cancella
24522420
24532421 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
24542422
2455-
2456-
24572423 var response = await client . PostAsJsonAsync ( uri , body , _options . JsonSerializerOptions , cancellationToken ) ;
24582424
24592425 response . EnsureSuccessStatusCode ( ) ;
@@ -3390,8 +3356,6 @@ public async Task<string> CreateManagementUnitAsync(string body = null, Cancella
33903356
33913357 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
33923358
3393-
3394-
33953359 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
33963360
33973361 response . EnsureSuccessStatusCode ( ) ;
@@ -3480,8 +3444,6 @@ public async Task<string> CreateSchedulesAsync(string body, CancellationToken ca
34803444
34813445 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
34823446
3483-
3484-
34853447 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
34863448
34873449 response . EnsureSuccessStatusCode ( ) ;
@@ -3498,8 +3460,6 @@ public async Task<string> CreateTimeOffBalanceJobAsync(string body, Cancellation
34983460
34993461 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
35003462
3501-
3502-
35033463 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
35043464
35053465 response . EnsureSuccessStatusCode ( ) ;
@@ -3516,8 +3476,6 @@ public async Task<string> CreateTimeOffLimitsAvailableQueryAsync(string body, Ca
35163476
35173477 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
35183478
3519-
3520-
35213479 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
35223480
35233481 response . EnsureSuccessStatusCode ( ) ;
@@ -3534,8 +3492,6 @@ public async Task<string> CreateTimeOffRequestsEstimateAsync(string body, Cancel
35343492
35353493 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
35363494
3537-
3538-
35393495 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
35403496
35413497 response . EnsureSuccessStatusCode ( ) ;
@@ -3552,8 +3508,6 @@ public async Task<string> CreateTimeOffRequestsIntegrationStatusQueryAsync(strin
35523508
35533509 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
35543510
3555-
3556-
35573511 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
35583512
35593513 response . EnsureSuccessStatusCode ( ) ;
@@ -3703,8 +3657,6 @@ public async Task<string> CreateAgentsAsync(string body = null, CancellationToke
37033657
37043658 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
37053659
3706-
3707-
37083660 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
37093661
37103662 response . EnsureSuccessStatusCode ( ) ;
@@ -3750,8 +3702,6 @@ public async Task<string> QueryAgentsIntegrationsHrisAsync(string body, Cancella
37503702
37513703 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
37523704
3753-
3754-
37553705 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
37563706
37573707 response . EnsureSuccessStatusCode ( ) ;
@@ -3768,8 +3718,6 @@ public async Task<string> UpdateNotificationsAsync(string body, CancellationToke
37683718
37693719 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
37703720
3771-
3772-
37733721 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
37743722
37753723 response . EnsureSuccessStatusCode ( ) ;
@@ -3848,8 +3796,6 @@ public async Task<string> GetHistoricalDataBulkRemoveJobsAsync(CancellationToken
38483796
38493797 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
38503798
3851-
3852-
38533799 var response = await client . GetAsync ( uri , cancellationToken ) ;
38543800
38553801 response . EnsureSuccessStatusCode ( ) ;
@@ -3880,8 +3826,6 @@ public async Task<string> GetHistoricalDataImportStatusAsync(CancellationToken c
38803826
38813827 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
38823828
3883-
3884-
38853829 var response = await client . GetAsync ( uri , cancellationToken ) ;
38863830
38873831 response . EnsureSuccessStatusCode ( ) ;
@@ -4369,8 +4313,6 @@ public async Task<string> UpdateAlternativeShiftsTradesStateJobsAsync(string bod
43694313
43704314 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
43714315
4372-
4373-
43744316 var response = await client . PatchAsJsonAsync ( uri , body , cancellationToken ) ;
43754317
43764318 response . EnsureSuccessStatusCode ( ) ;
@@ -4387,8 +4329,6 @@ public async Task<string> CreateHistoricalDataDeleteJobAsync(string body, Cancel
43874329
43884330 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
43894331
4390-
4391-
43924332 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
43934333
43944334 response . EnsureSuccessStatusCode ( ) ;
@@ -4405,8 +4345,6 @@ public async Task<string> CreateHistoricalDataBulkRemoveJobAsync(string body, Ca
44054345
44064346 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
44074347
4408-
4409-
44104348 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
44114349
44124350 response . EnsureSuccessStatusCode ( ) ;
@@ -4423,8 +4361,6 @@ public async Task<string> CreateIntegrationsHrisTimeOffTypesJobAsync(string body
44234361
44244362 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
44254363
4426-
4427-
44284364 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
44294365
44304366 response . EnsureSuccessStatusCode ( ) ;
@@ -4441,8 +4377,6 @@ public async Task<string> CreateShrinkageJobAsync(string body, CancellationToken
44414377
44424378 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
44434379
4444-
4445-
44464380 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
44474381
44484382 response . EnsureSuccessStatusCode ( ) ;
@@ -4459,8 +4393,6 @@ public async Task<string> CreateTimeOffRequestsAsync(string body, CancellationTo
44594393
44604394 var client = _httpClientFactory . CreateClient ( PureCloudConstants . PureCloudClientName ) ;
44614395
4462-
4463-
44644396 var response = await client . PostAsJsonAsync ( uri , body , cancellationToken ) ;
44654397
44664398 response . EnsureSuccessStatusCode ( ) ;
0 commit comments