purecloudplatformclientv2 85.0.1 → 86.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/AnalyticsEvaluation.md +1 -1
- data/docs/Call.md +1 -0
- data/docs/CallBasic.md +1 -0
- data/docs/Callback.md +1 -0
- data/docs/CallbackBasic.md +1 -0
- data/docs/Cobrowsesession.md +1 -0
- data/docs/{PartialUploadResponse.md → ContextEntity.md} +3 -3
- data/docs/ContextIntent.md +13 -0
- data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
- data/docs/ConversationChat.md +1 -0
- data/docs/ConversationEventTopicCallback.md +1 -0
- data/docs/Coretype.md +23 -0
- data/docs/CoretypeListing.md +15 -0
- data/docs/DataExtensionsApi.md +198 -0
- data/docs/DataSchemaListing.md +15 -0
- data/docs/DetectedDialogAct.md +14 -0
- data/docs/DetectedIntent.md +15 -0
- data/docs/DetectedNamedEntity.md +16 -0
- data/docs/DetectedNamedEntityValue.md +14 -0
- data/docs/DialogflowAgent.md +3 -2
- data/docs/Edge.md +1 -1
- data/docs/Email.md +1 -0
- data/docs/EntityListing.md +1 -5
- data/docs/ExternalContactsApi.md +1001 -144
- data/docs/FlowDivisionView.md +2 -0
- data/docs/IntentDefinition.md +15 -0
- data/docs/IntentFeedback.md +16 -0
- data/docs/ItemValidationLimits.md +14 -0
- data/docs/Items.md +14 -0
- data/docs/LanguageUnderstandingApi.md +1160 -0
- data/docs/MaxLength.md +14 -0
- data/docs/Message.md +1 -0
- data/docs/MinLength.md +14 -0
- data/docs/NamedEntityAnnotation.md +13 -0
- data/docs/NamedEntityTypeBinding.md +14 -0
- data/docs/NamedEntityTypeDefinition.md +15 -0
- data/docs/NamedEntityTypeItem.md +14 -0
- data/docs/NamedEntityTypeMechanism.md +15 -0
- data/docs/NluConfusionMatrixColumn.md +14 -0
- data/docs/NluConfusionMatrixRow.md +14 -0
- data/docs/NluDetectionContext.md +14 -0
- data/docs/NluDetectionInput.md +13 -0
- data/docs/NluDetectionOutput.md +14 -0
- data/docs/NluDetectionRequest.md +14 -0
- data/docs/NluDetectionResponse.md +15 -0
- data/docs/NluDomain.md +19 -0
- data/docs/NluDomainListing.md +22 -0
- data/docs/NluDomainVersion.md +24 -0
- data/docs/NluDomainVersionListing.md +22 -0
- data/docs/NluDomainVersionQualityReport.md +15 -0
- data/docs/NluDomainVersionTrainingResponse.md +14 -0
- data/docs/NluFeedbackListing.md +22 -0
- data/docs/NluFeedbackRequest.md +15 -0
- data/docs/NluFeedbackResponse.md +18 -0
- data/docs/NluQualityReportSummary.md +13 -0
- data/docs/NluQualityReportSummaryMetric.md +14 -0
- data/docs/NluUtterance.md +13 -0
- data/docs/NluUtteranceSegment.md +14 -0
- data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
- data/docs/QueueConversationEventTopicCallback.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCallback.md +1 -0
- data/docs/QueueConversationVideoEventTopicCallback.md +1 -0
- data/docs/ReportingExportJobRequest.md +1 -0
- data/docs/ReportingExportJobResponse.md +2 -0
- data/docs/RoutingApi.md +65 -0
- data/docs/SCIMApi.md +12 -12
- data/docs/Schema.md +17 -0
- data/docs/SchemaQuantityLimits.md +26 -0
- data/docs/ScimV2EnterpriseUser.md +1 -0
- data/docs/Screenshare.md +1 -0
- data/docs/SocialExpression.md +1 -0
- data/docs/{TimeOffRequestLookup.md → TimeOffRequest.md} +2 -2
- data/docs/TimeOffRequestListing.md +13 -0
- data/docs/UploadUrlRequest.md +15 -0
- data/docs/UploadUrlResponse.md +14 -0
- data/docs/UploadsApi.md +78 -0
- data/docs/ValidationLimits.md +18 -0
- data/docs/Video.md +1 -0
- data/docs/WorkforceManagementApi.md +297 -448
- data/lib/purecloudplatformclientv2.rb +50 -57
- data/lib/purecloudplatformclientv2/api/data_extensions_api.rb +207 -0
- data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +868 -4
- data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +1304 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +64 -0
- data/lib/purecloudplatformclientv2/api/scim_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/uploads_api.rb +92 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +314 -571
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
- data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_result_item.rb +2 -2
- data/lib/purecloudplatformclientv2/models/call.rb +30 -4
- data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
- data/lib/purecloudplatformclientv2/models/callback.rb +30 -4
- data/lib/purecloudplatformclientv2/models/callback_basic.rb +30 -4
- data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
- data/lib/purecloudplatformclientv2/models/{partial_upload_response.rb → context_entity.rb} +14 -9
- data/lib/purecloudplatformclientv2/models/{list_wrapper_wfm_forecast_modification.rb → context_intent.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_chat.rb +30 -4
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/{rescheduling_options_response.rb → coretype.rb} +97 -102
- data/lib/purecloudplatformclientv2/models/{service_goal_group_list.rb → coretype_listing.rb} +34 -11
- data/lib/purecloudplatformclientv2/models/data_schema_listing.rb +253 -0
- data/lib/purecloudplatformclientv2/models/{forecast_result_response.rb → detected_dialog_act.rb} +16 -16
- data/lib/purecloudplatformclientv2/models/{intraday_queue.rb → detected_intent.rb} +23 -23
- data/lib/purecloudplatformclientv2/models/detected_named_entity.rb +280 -0
- data/lib/purecloudplatformclientv2/models/detected_named_entity_value.rb +228 -0
- data/lib/purecloudplatformclientv2/models/dialogflow_agent.rb +31 -3
- data/lib/purecloudplatformclientv2/models/edge.rb +1 -0
- data/lib/purecloudplatformclientv2/models/email.rb +30 -4
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
- data/lib/purecloudplatformclientv2/models/flow_division_view.rb +53 -1
- data/lib/purecloudplatformclientv2/models/{create_service_goal_group_request.rb → intent_definition.rb} +30 -19
- data/lib/purecloudplatformclientv2/models/{wfm_intraday_queue_listing.rb → intent_feedback.rb} +71 -18
- data/lib/purecloudplatformclientv2/models/{service_goal_group_goals.rb → item_validation_limits.rb} +18 -45
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_response.rb → items.rb} +33 -10
- data/lib/purecloudplatformclientv2/models/max_length.rb +238 -0
- data/lib/purecloudplatformclientv2/models/message.rb +30 -4
- data/lib/purecloudplatformclientv2/models/{forecast_generation_route_group_result.rb → min_length.rb} +26 -18
- data/lib/purecloudplatformclientv2/models/{list_wrapper_forecast_source_day_pointer.rb → named_entity_annotation.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/{copy_short_term_forecast_request.rb → named_entity_type_binding.rb} +18 -19
- data/lib/purecloudplatformclientv2/models/{generate_week_schedule_request.rb → named_entity_type_definition.rb} +38 -13
- data/lib/purecloudplatformclientv2/models/{wfm_abandon_rate.rb → named_entity_type_item.rb} +19 -18
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_response.rb → named_entity_type_mechanism.rb} +48 -36
- data/lib/purecloudplatformclientv2/models/{copy_week_schedule_request.rb → nlu_confusion_matrix_column.rb} +18 -18
- data/lib/purecloudplatformclientv2/models/{wfm_average_speed_of_answer.rb → nlu_confusion_matrix_row.rb} +24 -18
- data/lib/purecloudplatformclientv2/models/nlu_detection_context.rb +228 -0
- data/lib/purecloudplatformclientv2/models/{scheduling_run_list_response.rb → nlu_detection_input.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/nlu_detection_output.rb +232 -0
- data/lib/purecloudplatformclientv2/models/nlu_detection_request.rb +233 -0
- data/lib/purecloudplatformclientv2/models/{route_group_list.rb → nlu_detection_response.rb} +39 -22
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_item_response.rb → nlu_domain.rb} +66 -60
- data/lib/purecloudplatformclientv2/models/{intraday_query_data_command.rb → nlu_domain_listing.rb} +156 -53
- data/lib/purecloudplatformclientv2/models/{short_term_forecast.rb → nlu_domain_version.rb} +132 -87
- data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/{intraday_metric.rb → nlu_domain_version_quality_report.rb} +57 -28
- data/lib/purecloudplatformclientv2/models/{user_schedules_partial_upload_request.rb → nlu_domain_version_training_response.rb} +33 -16
- data/lib/purecloudplatformclientv2/models/{import_week_schedule_request.rb → nlu_feedback_listing.rb} +158 -46
- data/lib/purecloudplatformclientv2/models/{wfm_service_level.rb → nlu_feedback_request.rb} +36 -25
- data/lib/purecloudplatformclientv2/models/{service_goal_group.rb → nlu_feedback_response.rb} +32 -37
- data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_request.rb → nlu_quality_report_summary.rb} +12 -10
- data/lib/purecloudplatformclientv2/models/nlu_quality_report_summary_metric.rb +238 -0
- data/lib/purecloudplatformclientv2/models/nlu_utterance.rb +209 -0
- data/lib/purecloudplatformclientv2/models/nlu_utterance_segment.rb +233 -0
- data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +32 -4
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +57 -1
- data/lib/purecloudplatformclientv2/models/{import_short_term_forecast_request.rb → schema.rb} +50 -35
- data/lib/purecloudplatformclientv2/models/schema_quantity_limits.rb +539 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +30 -4
- data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
- data/lib/purecloudplatformclientv2/models/shift_trade_match_violation.rb +2 -2
- data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
- data/lib/purecloudplatformclientv2/models/{time_off_request_lookup.rb → time_off_request.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/{time_off_request_lookup_list.rb → time_off_request_listing.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/{create_queue_media_association_request.rb → upload_url_request.rb} +23 -26
- data/lib/purecloudplatformclientv2/models/upload_url_response.rb +230 -0
- data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification_attributes.rb → validation_limits.rb} +76 -38
- data/lib/purecloudplatformclientv2/models/video.rb +30 -4
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +102 -116
- data/docs/AsyncWeekScheduleResponse.md +0 -16
- data/docs/CopyShortTermForecastRequest.md +0 -14
- data/docs/CopyWeekScheduleRequest.md +0 -14
- data/docs/CreateQueueMediaAssociationRequest.md +0 -15
- data/docs/CreateServiceGoalGroupRequest.md +0 -15
- data/docs/ForecastGenerationResult.md +0 -13
- data/docs/ForecastGenerationRouteGroupResult.md +0 -14
- data/docs/ForecastResultResponse.md +0 -14
- data/docs/ForecastTimeSeriesResult.md +0 -14
- data/docs/GenerateShortTermForecastRequest.md +0 -13
- data/docs/GenerateShortTermForecastResponse.md +0 -16
- data/docs/GenerateWeekScheduleRequest.md +0 -14
- data/docs/GenerateWeekScheduleResponse.md +0 -15
- data/docs/ImportShortTermForecastRequest.md +0 -16
- data/docs/ImportWeekScheduleRequest.md +0 -17
- data/docs/IntradayDataGroup.md +0 -19
- data/docs/IntradayForecastData.md +0 -15
- data/docs/IntradayHistoricalAgentData.md +0 -14
- data/docs/IntradayHistoricalQueueData.md +0 -20
- data/docs/IntradayMetric.md +0 -14
- data/docs/IntradayPerformancePredictionAgentData.md +0 -13
- data/docs/IntradayPerformancePredictionQueueData.md +0 -15
- data/docs/IntradayQueryDataCommand.md +0 -17
- data/docs/IntradayQueue.md +0 -15
- data/docs/IntradayResponse.md +0 -20
- data/docs/IntradayScheduleData.md +0 -14
- data/docs/ListWrapperForecastSourceDayPointer.md +0 -13
- data/docs/ListWrapperWfmForecastModification.md +0 -13
- data/docs/QueueMediaAssociation.md +0 -16
- data/docs/RescheduleRequest.md +0 -20
- data/docs/RescheduleResult.md +0 -13
- data/docs/ReschedulingOptionsResponse.md +0 -22
- data/docs/RouteGroup.md +0 -18
- data/docs/RouteGroupAttributes.md +0 -16
- data/docs/RouteGroupList.md +0 -14
- data/docs/SchedulingRunListResponse.md +0 -13
- data/docs/SchedulingRunResponse.md +0 -28
- data/docs/ServiceGoalGroup.md +0 -18
- data/docs/ServiceGoalGroupGoals.md +0 -15
- data/docs/ServiceGoalGroupList.md +0 -14
- data/docs/ShortTermForecast.md +0 -22
- data/docs/ShortTermForecastListItemResponse.md +0 -18
- data/docs/ShortTermForecastListResponse.md +0 -13
- data/docs/ShortTermForecastResponse.md +0 -15
- data/docs/TimeOffRequestEntityList.md +0 -13
- data/docs/TimeOffRequestLookupList.md +0 -13
- data/docs/UnscheduledAgentWarning.md +0 -14
- data/docs/UpdateWeekScheduleRequest.md +0 -21
- data/docs/UserSchedulesPartialUploadRequest.md +0 -13
- data/docs/WfmAbandonRate.md +0 -14
- data/docs/WfmAverageSpeedOfAnswer.md +0 -14
- data/docs/WfmForecastModification.md +0 -20
- data/docs/WfmForecastModificationAttributes.md +0 -16
- data/docs/WfmIntradayQueueListing.md +0 -14
- data/docs/WfmServiceLevel.md +0 -15
- data/lib/purecloudplatformclientv2/models/async_week_schedule_response.rb +0 -295
- data/lib/purecloudplatformclientv2/models/forecast_generation_result.rb +0 -204
- data/lib/purecloudplatformclientv2/models/forecast_time_series_result.rb +0 -256
- data/lib/purecloudplatformclientv2/models/generate_short_term_forecast_response.rb +0 -294
- data/lib/purecloudplatformclientv2/models/generate_week_schedule_response.rb +0 -269
- data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +0 -384
- data/lib/purecloudplatformclientv2/models/intraday_forecast_data.rb +0 -254
- data/lib/purecloudplatformclientv2/models/intraday_historical_agent_data.rb +0 -228
- data/lib/purecloudplatformclientv2/models/intraday_historical_queue_data.rb +0 -384
- data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_agent_data.rb +0 -202
- data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_queue_data.rb +0 -254
- data/lib/purecloudplatformclientv2/models/intraday_response.rb +0 -404
- data/lib/purecloudplatformclientv2/models/intraday_schedule_data.rb +0 -228
- data/lib/purecloudplatformclientv2/models/queue_media_association.rb +0 -283
- data/lib/purecloudplatformclientv2/models/reschedule_request.rb +0 -418
- data/lib/purecloudplatformclientv2/models/reschedule_result.rb +0 -202
- data/lib/purecloudplatformclientv2/models/route_group.rb +0 -363
- data/lib/purecloudplatformclientv2/models/route_group_attributes.rb +0 -307
- data/lib/purecloudplatformclientv2/models/scheduling_run_response.rb +0 -609
- data/lib/purecloudplatformclientv2/models/time_off_request_entity_list.rb +0 -203
- data/lib/purecloudplatformclientv2/models/unscheduled_agent_warning.rb +0 -242
- data/lib/purecloudplatformclientv2/models/update_week_schedule_request.rb +0 -438
- data/lib/purecloudplatformclientv2/models/wfm_forecast_modification.rb +0 -435
@@ -501,6 +501,70 @@ module PureCloud
|
|
501
501
|
return data, status_code, headers
|
502
502
|
end
|
503
503
|
|
504
|
+
# Delete an Address by Id for SMS
|
505
|
+
#
|
506
|
+
# @param address_id Address ID
|
507
|
+
# @param [Hash] opts the optional parameters
|
508
|
+
# @return [nil]
|
509
|
+
def delete_routing_sms_address(address_id, opts = {})
|
510
|
+
delete_routing_sms_address_with_http_info(address_id, opts)
|
511
|
+
return nil
|
512
|
+
end
|
513
|
+
|
514
|
+
# Delete an Address by Id for SMS
|
515
|
+
#
|
516
|
+
# @param address_id Address ID
|
517
|
+
# @param [Hash] opts the optional parameters
|
518
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
519
|
+
def delete_routing_sms_address_with_http_info(address_id, opts = {})
|
520
|
+
if @api_client.config.debugging
|
521
|
+
@api_client.config.logger.debug "Calling API: RoutingApi.delete_routing_sms_address ..."
|
522
|
+
end
|
523
|
+
|
524
|
+
|
525
|
+
# verify the required parameter 'address_id' is set
|
526
|
+
fail ArgumentError, "Missing the required parameter 'address_id' when calling RoutingApi.delete_routing_sms_address" if address_id.nil?
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
# resource path
|
533
|
+
local_var_path = "/api/v2/routing/sms/addresses/{addressId}".sub('{format}','json').sub('{' + 'addressId' + '}', address_id.to_s)
|
534
|
+
|
535
|
+
# query parameters
|
536
|
+
query_params = {}
|
537
|
+
|
538
|
+
# header parameters
|
539
|
+
header_params = {}
|
540
|
+
|
541
|
+
# HTTP header 'Accept' (if needed)
|
542
|
+
local_header_accept = ['application/json']
|
543
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
544
|
+
|
545
|
+
# HTTP header 'Content-Type'
|
546
|
+
local_header_content_type = ['application/json']
|
547
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
548
|
+
|
549
|
+
# form parameters
|
550
|
+
form_params = {}
|
551
|
+
|
552
|
+
# http body (model)
|
553
|
+
post_body = nil
|
554
|
+
|
555
|
+
auth_names = ['PureCloud OAuth']
|
556
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
557
|
+
:header_params => header_params,
|
558
|
+
:query_params => query_params,
|
559
|
+
:form_params => form_params,
|
560
|
+
:body => post_body,
|
561
|
+
:auth_names => auth_names)
|
562
|
+
if @api_client.config.debugging
|
563
|
+
@api_client.config.logger.debug "API called: RoutingApi#delete_routing_sms_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
564
|
+
end
|
565
|
+
return data, status_code, headers
|
566
|
+
end
|
567
|
+
|
504
568
|
# Delete a phone number provisioned for SMS.
|
505
569
|
#
|
506
570
|
# @param address_id Address ID
|
@@ -837,7 +837,7 @@ module PureCloud
|
|
837
837
|
#
|
838
838
|
# @param user_id The ID of a user. Returned with GET /api/v2/scim/users.
|
839
839
|
# @param [Hash] opts the optional parameters
|
840
|
-
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes
|
840
|
+
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the 'id', 'userName', 'active', and 'meta' attributes. Use \"attributes\" to avoid expensive secondary calls for the default attributes.
|
841
841
|
# @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \"excludedAttributes\". Use \"excludedAttributes\" to avoid expensive secondary calls for the default attributes. The 'id', 'userName', 'active', 'meta' attributes will always be present in output.
|
842
842
|
# @option opts [String] :if_none_match TThe ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/users/{userId}. Example: \"42\". If the ETag is different from the version on the server, returns the current configuration of the resource. If the ETag is current, returns 304 Not Modified.
|
843
843
|
# @return [ScimV2User]
|
@@ -850,7 +850,7 @@ module PureCloud
|
|
850
850
|
#
|
851
851
|
# @param user_id The ID of a user. Returned with GET /api/v2/scim/users.
|
852
852
|
# @param [Hash] opts the optional parameters
|
853
|
-
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes
|
853
|
+
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the 'id', 'userName', 'active', and 'meta' attributes. Use \"attributes\" to avoid expensive secondary calls for the default attributes.
|
854
854
|
# @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \"excludedAttributes\". Use \"excludedAttributes\" to avoid expensive secondary calls for the default attributes. The 'id', 'userName', 'active', 'meta' attributes will always be present in output.
|
855
855
|
# @option opts [String] :if_none_match TThe ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/users/{userId}. Example: \"42\". If the ETag is different from the version on the server, returns the current configuration of the resource. If the ETag is current, returns 304 Not Modified.
|
856
856
|
# @return [Array<(ScimV2User, Fixnum, Hash)>] ScimV2User data, response status code and response headers
|
@@ -930,7 +930,7 @@ module PureCloud
|
|
930
930
|
# @param [Hash] opts the optional parameters
|
931
931
|
# @option opts [Integer] :start_index The 1-based index of the first query result. (default to 1)
|
932
932
|
# @option opts [Integer] :count The requested number of items per page. A value of 0 returns \"totalResults\". (default to 25)
|
933
|
-
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes
|
933
|
+
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the 'id', 'userName', 'active', and 'meta' attributes. Use \"attributes\" to avoid expensive secondary calls for the default attributes.
|
934
934
|
# @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \"excludedAttributes\". Use \"excludedAttributes\" to avoid expensive secondary calls for the default attributes. The 'id', 'userName', 'active', 'meta' attributes will always be present in output.
|
935
935
|
# @option opts [String] :filter Filters results. If nothing is specified, returns all active users. Examples of valid values: \"id eq 857449b0-d9e7-4cd0-acbf-a6adfb9ef1e9\", \"userName eq search@sample.org\", \"manager eq 16e10e2f-1136-43fe-bb84-eac073168a49\", \"email eq search@sample.org\", \"division eq divisionName\", \"externalId eq 167844\", \"active eq false\".
|
936
936
|
# @return [ScimUserListResponse]
|
@@ -944,7 +944,7 @@ module PureCloud
|
|
944
944
|
# @param [Hash] opts the optional parameters
|
945
945
|
# @option opts [Integer] :start_index The 1-based index of the first query result.
|
946
946
|
# @option opts [Integer] :count The requested number of items per page. A value of 0 returns \"totalResults\".
|
947
|
-
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes
|
947
|
+
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the 'id', 'userName', 'active', and 'meta' attributes. Use \"attributes\" to avoid expensive secondary calls for the default attributes.
|
948
948
|
# @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \"excludedAttributes\". Use \"excludedAttributes\" to avoid expensive secondary calls for the default attributes. The 'id', 'userName', 'active', 'meta' attributes will always be present in output.
|
949
949
|
# @option opts [String] :filter Filters results. If nothing is specified, returns all active users. Examples of valid values: \"id eq 857449b0-d9e7-4cd0-acbf-a6adfb9ef1e9\", \"userName eq search@sample.org\", \"manager eq 16e10e2f-1136-43fe-bb84-eac073168a49\", \"email eq search@sample.org\", \"division eq divisionName\", \"externalId eq 167844\", \"active eq false\".
|
950
950
|
# @return [Array<(ScimUserListResponse, Fixnum, Hash)>] ScimUserListResponse data, response status code and response headers
|
@@ -1546,7 +1546,7 @@ module PureCloud
|
|
1546
1546
|
#
|
1547
1547
|
# @param user_id The ID of a user. Returned with GET /api/v2/scim/v2/users.
|
1548
1548
|
# @param [Hash] opts the optional parameters
|
1549
|
-
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes
|
1549
|
+
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the 'id', 'userName', 'active', and 'meta' attributes. Use \"attributes\" to avoid expensive secondary calls for the default attributes.
|
1550
1550
|
# @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \"excludedAttributes\". Use \"excludedAttributes\" to avoid expensive secondary calls for the default attributes. The 'id', 'userName', 'active', 'meta' attributes will always be present in output.
|
1551
1551
|
# @option opts [String] :if_none_match The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/users/{userId}. Example: \"42\". If the ETag is different from the version on the server, returns the current configuration of the resource. If the ETag is current, returns 304 Not Modified.
|
1552
1552
|
# @return [ScimV2User]
|
@@ -1559,7 +1559,7 @@ module PureCloud
|
|
1559
1559
|
#
|
1560
1560
|
# @param user_id The ID of a user. Returned with GET /api/v2/scim/v2/users.
|
1561
1561
|
# @param [Hash] opts the optional parameters
|
1562
|
-
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes
|
1562
|
+
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the 'id', 'userName', 'active', and 'meta' attributes. Use \"attributes\" to avoid expensive secondary calls for the default attributes.
|
1563
1563
|
# @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \"excludedAttributes\". Use \"excludedAttributes\" to avoid expensive secondary calls for the default attributes. The 'id', 'userName', 'active', 'meta' attributes will always be present in output.
|
1564
1564
|
# @option opts [String] :if_none_match The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/users/{userId}. Example: \"42\". If the ETag is different from the version on the server, returns the current configuration of the resource. If the ETag is current, returns 304 Not Modified.
|
1565
1565
|
# @return [Array<(ScimV2User, Fixnum, Hash)>] ScimV2User data, response status code and response headers
|
@@ -1639,7 +1639,7 @@ module PureCloud
|
|
1639
1639
|
# @param [Hash] opts the optional parameters
|
1640
1640
|
# @option opts [Integer] :start_index The 1-based index of the first query result. (default to 1)
|
1641
1641
|
# @option opts [Integer] :count The requested number of items per page. A value of 0 returns \"totalResults\". (default to 25)
|
1642
|
-
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes
|
1642
|
+
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the 'id', 'userName', 'active', and 'meta' attributes. Use \"attributes\" to avoid expensive secondary calls for the default attributes.
|
1643
1643
|
# @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \"excludedAttributes\". Use \"excludedAttributes\" to avoid expensive secondary calls for the default attributes. The 'id', 'userName', 'active', 'meta' attributes will always be present in output.
|
1644
1644
|
# @option opts [String] :filter Filters results. If nothing is specified, returns all active users. Examples of valid values: \"id eq 857449b0-d9e7-4cd0-acbf-a6adfb9ef1e9\", \"userName eq search@sample.org\", \"manager eq 16e10e2f-1136-43fe-bb84-eac073168a49\", \"email eq search@sample.org\", \"division eq divisionName\", \"externalId eq 167844\", \"active eq false\".
|
1645
1645
|
# @return [ScimUserListResponse]
|
@@ -1653,7 +1653,7 @@ module PureCloud
|
|
1653
1653
|
# @param [Hash] opts the optional parameters
|
1654
1654
|
# @option opts [Integer] :start_index The 1-based index of the first query result.
|
1655
1655
|
# @option opts [Integer] :count The requested number of items per page. A value of 0 returns \"totalResults\".
|
1656
|
-
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes
|
1656
|
+
# @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the 'id', 'userName', 'active', and 'meta' attributes. Use \"attributes\" to avoid expensive secondary calls for the default attributes.
|
1657
1657
|
# @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \"excludedAttributes\". Use \"excludedAttributes\" to avoid expensive secondary calls for the default attributes. The 'id', 'userName', 'active', 'meta' attributes will always be present in output.
|
1658
1658
|
# @option opts [String] :filter Filters results. If nothing is specified, returns all active users. Examples of valid values: \"id eq 857449b0-d9e7-4cd0-acbf-a6adfb9ef1e9\", \"userName eq search@sample.org\", \"manager eq 16e10e2f-1136-43fe-bb84-eac073168a49\", \"email eq search@sample.org\", \"division eq divisionName\", \"externalId eq 167844\", \"active eq false\".
|
1659
1659
|
# @return [Array<(ScimUserListResponse, Fixnum, Hash)>] ScimUserListResponse data, response status code and response headers
|
@@ -0,0 +1,92 @@
|
|
1
|
+
=begin
|
2
|
+
PureCloud Platform API
|
3
|
+
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: DeveloperEvangelists@genesys.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
License: UNLICENSED
|
11
|
+
https://help.mypurecloud.com/articles/terms-and-conditions/
|
12
|
+
|
13
|
+
Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require "uri"
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
class UploadsApi
|
21
|
+
attr_accessor :api_client
|
22
|
+
|
23
|
+
def initialize(api_client = ApiClient.default)
|
24
|
+
@api_client = api_client
|
25
|
+
end
|
26
|
+
|
27
|
+
# Creates presigned url for uploading a public asset image
|
28
|
+
#
|
29
|
+
# @param body query
|
30
|
+
# @param [Hash] opts the optional parameters
|
31
|
+
# @return [UploadUrlResponse]
|
32
|
+
def post_uploads_publicassets_images(body, opts = {})
|
33
|
+
data, _status_code, _headers = post_uploads_publicassets_images_with_http_info(body, opts)
|
34
|
+
return data
|
35
|
+
end
|
36
|
+
|
37
|
+
# Creates presigned url for uploading a public asset image
|
38
|
+
#
|
39
|
+
# @param body query
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [Array<(UploadUrlResponse, Fixnum, Hash)>] UploadUrlResponse data, response status code and response headers
|
42
|
+
def post_uploads_publicassets_images_with_http_info(body, opts = {})
|
43
|
+
if @api_client.config.debugging
|
44
|
+
@api_client.config.logger.debug "Calling API: UploadsApi.post_uploads_publicassets_images ..."
|
45
|
+
end
|
46
|
+
|
47
|
+
|
48
|
+
# verify the required parameter 'body' is set
|
49
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling UploadsApi.post_uploads_publicassets_images" if body.nil?
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
# resource path
|
56
|
+
local_var_path = "/api/v2/uploads/publicassets/images".sub('{format}','json')
|
57
|
+
|
58
|
+
# query parameters
|
59
|
+
query_params = {}
|
60
|
+
|
61
|
+
# header parameters
|
62
|
+
header_params = {}
|
63
|
+
|
64
|
+
# HTTP header 'Accept' (if needed)
|
65
|
+
local_header_accept = ['application/json']
|
66
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
67
|
+
|
68
|
+
# HTTP header 'Content-Type'
|
69
|
+
local_header_content_type = ['application/json']
|
70
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
71
|
+
|
72
|
+
# form parameters
|
73
|
+
form_params = {}
|
74
|
+
|
75
|
+
# http body (model)
|
76
|
+
post_body = @api_client.object_to_http_body(body)
|
77
|
+
|
78
|
+
auth_names = ['PureCloud OAuth']
|
79
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
80
|
+
:header_params => header_params,
|
81
|
+
:query_params => query_params,
|
82
|
+
:form_params => form_params,
|
83
|
+
:body => post_body,
|
84
|
+
:auth_names => auth_names,
|
85
|
+
:return_type => 'UploadUrlResponse')
|
86
|
+
if @api_client.config.debugging
|
87
|
+
@api_client.config.logger.debug "API called: UploadsApi#post_uploads_publicassets_images\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
88
|
+
end
|
89
|
+
return data, status_code, headers
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -617,7 +617,7 @@ module PureCloud
|
|
617
617
|
return data, status_code, headers
|
618
618
|
end
|
619
619
|
|
620
|
-
#
|
620
|
+
# Deprecated/Gone: Use the new business unit activity code resources
|
621
621
|
#
|
622
622
|
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
623
623
|
# @param ac_id The ID of the activity code to delete
|
@@ -628,7 +628,7 @@ module PureCloud
|
|
628
628
|
return nil
|
629
629
|
end
|
630
630
|
|
631
|
-
#
|
631
|
+
# Deprecated/Gone: Use the new business unit activity code resources
|
632
632
|
#
|
633
633
|
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
634
634
|
# @param ac_id The ID of the activity code to delete
|
@@ -691,9 +691,9 @@ module PureCloud
|
|
691
691
|
return data, status_code, headers
|
692
692
|
end
|
693
693
|
|
694
|
-
#
|
694
|
+
# Gone. Scheduling has moved under business units
|
695
695
|
#
|
696
|
-
# @param management_unit_id The ID of the management unit.
|
696
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit.
|
697
697
|
# @param run_id The ID of the schedule run
|
698
698
|
# @param [Hash] opts the optional parameters
|
699
699
|
# @return [nil]
|
@@ -702,9 +702,9 @@ module PureCloud
|
|
702
702
|
return nil
|
703
703
|
end
|
704
704
|
|
705
|
-
#
|
705
|
+
# Gone. Scheduling has moved under business units
|
706
706
|
#
|
707
|
-
# @param management_unit_id The ID of the management unit.
|
707
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit.
|
708
708
|
# @param run_id The ID of the schedule run
|
709
709
|
# @param [Hash] opts the optional parameters
|
710
710
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
@@ -765,10 +765,10 @@ module PureCloud
|
|
765
765
|
return data, status_code, headers
|
766
766
|
end
|
767
767
|
|
768
|
-
#
|
768
|
+
# Gone. Replaced with service goal templates and planning groups under business units
|
769
769
|
#
|
770
|
-
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
771
|
-
# @param service_goal_group_id The ID of the service goal group to delete
|
770
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
771
|
+
# @param service_goal_group_id Gone. The ID of the service goal group to delete
|
772
772
|
# @param [Hash] opts the optional parameters
|
773
773
|
# @return [nil]
|
774
774
|
def delete_workforcemanagement_managementunit_servicegoalgroup(management_unit_id, service_goal_group_id, opts = {})
|
@@ -776,10 +776,10 @@ module PureCloud
|
|
776
776
|
return nil
|
777
777
|
end
|
778
778
|
|
779
|
-
#
|
779
|
+
# Gone. Replaced with service goal templates and planning groups under business units
|
780
780
|
#
|
781
|
-
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
782
|
-
# @param service_goal_group_id The ID of the service goal group to delete
|
781
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
782
|
+
# @param service_goal_group_id Gone. The ID of the service goal group to delete
|
783
783
|
# @param [Hash] opts the optional parameters
|
784
784
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
785
785
|
def delete_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts = {})
|
@@ -839,11 +839,11 @@ module PureCloud
|
|
839
839
|
return data, status_code, headers
|
840
840
|
end
|
841
841
|
|
842
|
-
#
|
842
|
+
# Gone. Scheduling has moved under business units
|
843
843
|
#
|
844
844
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
845
845
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
846
|
-
# @param schedule_id The ID of
|
846
|
+
# @param schedule_id Gone/deprecated. The ID of the schedule to delete
|
847
847
|
# @param [Hash] opts the optional parameters
|
848
848
|
# @return [nil]
|
849
849
|
def delete_workforcemanagement_managementunit_week_schedule(management_unit_id, week_id, schedule_id, opts = {})
|
@@ -851,11 +851,11 @@ module PureCloud
|
|
851
851
|
return nil
|
852
852
|
end
|
853
853
|
|
854
|
-
#
|
854
|
+
# Gone. Scheduling has moved under business units
|
855
855
|
#
|
856
856
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
857
857
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
858
|
-
# @param schedule_id The ID of
|
858
|
+
# @param schedule_id Gone/deprecated. The ID of the schedule to delete
|
859
859
|
# @param [Hash] opts the optional parameters
|
860
860
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
861
861
|
def delete_workforcemanagement_managementunit_week_schedule_with_http_info(management_unit_id, week_id, schedule_id, opts = {})
|
@@ -923,11 +923,11 @@ module PureCloud
|
|
923
923
|
return data, status_code, headers
|
924
924
|
end
|
925
925
|
|
926
|
-
#
|
927
|
-
#
|
928
|
-
# @param management_unit_id The
|
929
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
930
|
-
# @param forecast_id The ID of the forecast
|
926
|
+
# Gone. Use equivalent business unit resource instead
|
927
|
+
#
|
928
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
929
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
930
|
+
# @param forecast_id (Gone/Deprecated): The ID of the forecast
|
931
931
|
# @param [Hash] opts the optional parameters
|
932
932
|
# @return [nil]
|
933
933
|
def delete_workforcemanagement_managementunit_week_shorttermforecast(management_unit_id, week_date_id, forecast_id, opts = {})
|
@@ -935,11 +935,11 @@ module PureCloud
|
|
935
935
|
return nil
|
936
936
|
end
|
937
937
|
|
938
|
-
#
|
939
|
-
#
|
940
|
-
# @param management_unit_id The
|
941
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
942
|
-
# @param forecast_id The ID of the forecast
|
938
|
+
# Gone. Use equivalent business unit resource instead
|
939
|
+
#
|
940
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
941
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
942
|
+
# @param forecast_id (Gone/Deprecated): The ID of the forecast
|
943
943
|
# @param [Hash] opts the optional parameters
|
944
944
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
945
945
|
def delete_workforcemanagement_managementunit_week_shorttermforecast_with_http_info(management_unit_id, week_date_id, forecast_id, opts = {})
|
@@ -3488,24 +3488,22 @@ module PureCloud
|
|
3488
3488
|
return data, status_code, headers
|
3489
3489
|
end
|
3490
3490
|
|
3491
|
-
#
|
3491
|
+
# Gone. Moved under business units
|
3492
3492
|
#
|
3493
3493
|
# @param mu_id The management unit ID of the management unit
|
3494
|
-
# @param date yyyy-MM-dd date string interpreted in the configured management unit time zone
|
3495
3494
|
# @param [Hash] opts the optional parameters
|
3496
|
-
# @return [
|
3497
|
-
def get_workforcemanagement_managementunit_intraday_queues(mu_id,
|
3498
|
-
|
3499
|
-
return
|
3495
|
+
# @return [nil]
|
3496
|
+
def get_workforcemanagement_managementunit_intraday_queues(mu_id, opts = {})
|
3497
|
+
get_workforcemanagement_managementunit_intraday_queues_with_http_info(mu_id, opts)
|
3498
|
+
return nil
|
3500
3499
|
end
|
3501
3500
|
|
3502
|
-
#
|
3501
|
+
# Gone. Moved under business units
|
3503
3502
|
#
|
3504
3503
|
# @param mu_id The management unit ID of the management unit
|
3505
|
-
# @param date yyyy-MM-dd date string interpreted in the configured management unit time zone
|
3506
3504
|
# @param [Hash] opts the optional parameters
|
3507
|
-
# @return [Array<(
|
3508
|
-
def get_workforcemanagement_managementunit_intraday_queues_with_http_info(mu_id,
|
3505
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3506
|
+
def get_workforcemanagement_managementunit_intraday_queues_with_http_info(mu_id, opts = {})
|
3509
3507
|
if @api_client.config.debugging
|
3510
3508
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_intraday_queues ..."
|
3511
3509
|
end
|
@@ -3518,20 +3516,11 @@ module PureCloud
|
|
3518
3516
|
|
3519
3517
|
|
3520
3518
|
|
3521
|
-
|
3522
|
-
# verify the required parameter 'date' is set
|
3523
|
-
fail ArgumentError, "Missing the required parameter 'date' when calling WorkforceManagementApi.get_workforcemanagement_managementunit_intraday_queues" if date.nil?
|
3524
|
-
|
3525
|
-
|
3526
|
-
|
3527
|
-
|
3528
|
-
|
3529
3519
|
# resource path
|
3530
3520
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/intraday/queues".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
|
3531
3521
|
|
3532
3522
|
# query parameters
|
3533
3523
|
query_params = {}
|
3534
|
-
query_params[:'date'] = date
|
3535
3524
|
|
3536
3525
|
# header parameters
|
3537
3526
|
header_params = {}
|
@@ -3556,31 +3545,30 @@ module PureCloud
|
|
3556
3545
|
:query_params => query_params,
|
3557
3546
|
:form_params => form_params,
|
3558
3547
|
:body => post_body,
|
3559
|
-
:auth_names => auth_names
|
3560
|
-
:return_type => 'WfmIntradayQueueListing')
|
3548
|
+
:auth_names => auth_names)
|
3561
3549
|
if @api_client.config.debugging
|
3562
3550
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_intraday_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3563
3551
|
end
|
3564
3552
|
return data, status_code, headers
|
3565
3553
|
end
|
3566
3554
|
|
3567
|
-
#
|
3555
|
+
# Gone. Scheduling has moved under business units
|
3568
3556
|
#
|
3569
|
-
# @param management_unit_id The ID of the management unit.
|
3557
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit.
|
3570
3558
|
# @param run_id The ID of the schedule run
|
3571
3559
|
# @param [Hash] opts the optional parameters
|
3572
|
-
# @return [
|
3560
|
+
# @return [nil]
|
3573
3561
|
def get_workforcemanagement_managementunit_scheduling_run(management_unit_id, run_id, opts = {})
|
3574
|
-
|
3575
|
-
return
|
3562
|
+
get_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts)
|
3563
|
+
return nil
|
3576
3564
|
end
|
3577
3565
|
|
3578
|
-
#
|
3566
|
+
# Gone. Scheduling has moved under business units
|
3579
3567
|
#
|
3580
|
-
# @param management_unit_id The ID of the management unit.
|
3568
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit.
|
3581
3569
|
# @param run_id The ID of the schedule run
|
3582
3570
|
# @param [Hash] opts the optional parameters
|
3583
|
-
# @return [Array<(
|
3571
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3584
3572
|
def get_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts = {})
|
3585
3573
|
if @api_client.config.debugging
|
3586
3574
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_run ..."
|
@@ -3631,31 +3619,30 @@ module PureCloud
|
|
3631
3619
|
:query_params => query_params,
|
3632
3620
|
:form_params => form_params,
|
3633
3621
|
:body => post_body,
|
3634
|
-
:auth_names => auth_names
|
3635
|
-
:return_type => 'SchedulingRunResponse')
|
3622
|
+
:auth_names => auth_names)
|
3636
3623
|
if @api_client.config.debugging
|
3637
3624
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_scheduling_run\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3638
3625
|
end
|
3639
3626
|
return data, status_code, headers
|
3640
3627
|
end
|
3641
3628
|
|
3642
|
-
#
|
3629
|
+
# Gone. Scheduling has moved under business units
|
3643
3630
|
#
|
3644
|
-
# @param management_unit_id The ID of the management unit.
|
3631
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit.
|
3645
3632
|
# @param run_id The ID of the schedule run
|
3646
3633
|
# @param [Hash] opts the optional parameters
|
3647
|
-
# @return [
|
3634
|
+
# @return [nil]
|
3648
3635
|
def get_workforcemanagement_managementunit_scheduling_run_result(management_unit_id, run_id, opts = {})
|
3649
|
-
|
3650
|
-
return
|
3636
|
+
get_workforcemanagement_managementunit_scheduling_run_result_with_http_info(management_unit_id, run_id, opts)
|
3637
|
+
return nil
|
3651
3638
|
end
|
3652
3639
|
|
3653
|
-
#
|
3640
|
+
# Gone. Scheduling has moved under business units
|
3654
3641
|
#
|
3655
|
-
# @param management_unit_id The ID of the management unit.
|
3642
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit.
|
3656
3643
|
# @param run_id The ID of the schedule run
|
3657
3644
|
# @param [Hash] opts the optional parameters
|
3658
|
-
# @return [Array<(
|
3645
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3659
3646
|
def get_workforcemanagement_managementunit_scheduling_run_result_with_http_info(management_unit_id, run_id, opts = {})
|
3660
3647
|
if @api_client.config.debugging
|
3661
3648
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_run_result ..."
|
@@ -3706,29 +3693,28 @@ module PureCloud
|
|
3706
3693
|
:query_params => query_params,
|
3707
3694
|
:form_params => form_params,
|
3708
3695
|
:body => post_body,
|
3709
|
-
:auth_names => auth_names
|
3710
|
-
:return_type => 'RescheduleResult')
|
3696
|
+
:auth_names => auth_names)
|
3711
3697
|
if @api_client.config.debugging
|
3712
3698
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_scheduling_run_result\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3713
3699
|
end
|
3714
3700
|
return data, status_code, headers
|
3715
3701
|
end
|
3716
3702
|
|
3717
|
-
#
|
3703
|
+
# Gone. Scheduling has moved under business units
|
3718
3704
|
#
|
3719
|
-
# @param management_unit_id The ID of the management unit.
|
3705
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit.
|
3720
3706
|
# @param [Hash] opts the optional parameters
|
3721
|
-
# @return [
|
3707
|
+
# @return [nil]
|
3722
3708
|
def get_workforcemanagement_managementunit_scheduling_runs(management_unit_id, opts = {})
|
3723
|
-
|
3724
|
-
return
|
3709
|
+
get_workforcemanagement_managementunit_scheduling_runs_with_http_info(management_unit_id, opts)
|
3710
|
+
return nil
|
3725
3711
|
end
|
3726
3712
|
|
3727
|
-
#
|
3713
|
+
# Gone. Scheduling has moved under business units
|
3728
3714
|
#
|
3729
|
-
# @param management_unit_id The ID of the management unit.
|
3715
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit.
|
3730
3716
|
# @param [Hash] opts the optional parameters
|
3731
|
-
# @return [Array<(
|
3717
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3732
3718
|
def get_workforcemanagement_managementunit_scheduling_runs_with_http_info(management_unit_id, opts = {})
|
3733
3719
|
if @api_client.config.debugging
|
3734
3720
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_runs ..."
|
@@ -3771,31 +3757,30 @@ module PureCloud
|
|
3771
3757
|
:query_params => query_params,
|
3772
3758
|
:form_params => form_params,
|
3773
3759
|
:body => post_body,
|
3774
|
-
:auth_names => auth_names
|
3775
|
-
:return_type => 'SchedulingRunListResponse')
|
3760
|
+
:auth_names => auth_names)
|
3776
3761
|
if @api_client.config.debugging
|
3777
3762
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_scheduling_runs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3778
3763
|
end
|
3779
3764
|
return data, status_code, headers
|
3780
3765
|
end
|
3781
3766
|
|
3782
|
-
#
|
3767
|
+
# Gone. Replaced with service goal templates and planning groups under business units
|
3783
3768
|
#
|
3784
|
-
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
3785
|
-
# @param service_goal_group_id The ID of the service goal group to fetch
|
3769
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
3770
|
+
# @param service_goal_group_id Gone. The ID of the service goal group to fetch
|
3786
3771
|
# @param [Hash] opts the optional parameters
|
3787
|
-
# @return [
|
3772
|
+
# @return [nil]
|
3788
3773
|
def get_workforcemanagement_managementunit_servicegoalgroup(management_unit_id, service_goal_group_id, opts = {})
|
3789
|
-
|
3790
|
-
return
|
3774
|
+
get_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts)
|
3775
|
+
return nil
|
3791
3776
|
end
|
3792
3777
|
|
3793
|
-
#
|
3778
|
+
# Gone. Replaced with service goal templates and planning groups under business units
|
3794
3779
|
#
|
3795
|
-
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
3796
|
-
# @param service_goal_group_id The ID of the service goal group to fetch
|
3780
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
3781
|
+
# @param service_goal_group_id Gone. The ID of the service goal group to fetch
|
3797
3782
|
# @param [Hash] opts the optional parameters
|
3798
|
-
# @return [Array<(
|
3783
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3799
3784
|
def get_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts = {})
|
3800
3785
|
if @api_client.config.debugging
|
3801
3786
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_servicegoalgroup ..."
|
@@ -3846,29 +3831,28 @@ module PureCloud
|
|
3846
3831
|
:query_params => query_params,
|
3847
3832
|
:form_params => form_params,
|
3848
3833
|
:body => post_body,
|
3849
|
-
:auth_names => auth_names
|
3850
|
-
:return_type => 'ServiceGoalGroup')
|
3834
|
+
:auth_names => auth_names)
|
3851
3835
|
if @api_client.config.debugging
|
3852
3836
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_servicegoalgroup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3853
3837
|
end
|
3854
3838
|
return data, status_code, headers
|
3855
3839
|
end
|
3856
3840
|
|
3857
|
-
#
|
3841
|
+
# Gone. Replaced with service goal templates and planning groups under business units
|
3858
3842
|
#
|
3859
|
-
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
3843
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
3860
3844
|
# @param [Hash] opts the optional parameters
|
3861
|
-
# @return [
|
3845
|
+
# @return [nil]
|
3862
3846
|
def get_workforcemanagement_managementunit_servicegoalgroups(management_unit_id, opts = {})
|
3863
|
-
|
3864
|
-
return
|
3847
|
+
get_workforcemanagement_managementunit_servicegoalgroups_with_http_info(management_unit_id, opts)
|
3848
|
+
return nil
|
3865
3849
|
end
|
3866
3850
|
|
3867
|
-
#
|
3851
|
+
# Gone. Replaced with service goal templates and planning groups under business units
|
3868
3852
|
#
|
3869
|
-
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
3853
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
3870
3854
|
# @param [Hash] opts the optional parameters
|
3871
|
-
# @return [Array<(
|
3855
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3872
3856
|
def get_workforcemanagement_managementunit_servicegoalgroups_with_http_info(management_unit_id, opts = {})
|
3873
3857
|
if @api_client.config.debugging
|
3874
3858
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_servicegoalgroups ..."
|
@@ -3911,29 +3895,28 @@ module PureCloud
|
|
3911
3895
|
:query_params => query_params,
|
3912
3896
|
:form_params => form_params,
|
3913
3897
|
:body => post_body,
|
3914
|
-
:auth_names => auth_names
|
3915
|
-
:return_type => 'ServiceGoalGroupList')
|
3898
|
+
:auth_names => auth_names)
|
3916
3899
|
if @api_client.config.debugging
|
3917
3900
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_servicegoalgroups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3918
3901
|
end
|
3919
3902
|
return data, status_code, headers
|
3920
3903
|
end
|
3921
3904
|
|
3922
|
-
# Get
|
3905
|
+
# Gone. Get management unit settings via expand parameters on the GET management unit
|
3923
3906
|
#
|
3924
3907
|
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
3925
3908
|
# @param [Hash] opts the optional parameters
|
3926
|
-
# @return [
|
3909
|
+
# @return [nil]
|
3927
3910
|
def get_workforcemanagement_managementunit_settings(mu_id, opts = {})
|
3928
|
-
|
3929
|
-
return
|
3911
|
+
get_workforcemanagement_managementunit_settings_with_http_info(mu_id, opts)
|
3912
|
+
return nil
|
3930
3913
|
end
|
3931
3914
|
|
3932
|
-
# Get
|
3915
|
+
# Gone. Get management unit settings via expand parameters on the GET management unit
|
3933
3916
|
#
|
3934
3917
|
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
3935
3918
|
# @param [Hash] opts the optional parameters
|
3936
|
-
# @return [Array<(
|
3919
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3937
3920
|
def get_workforcemanagement_managementunit_settings_with_http_info(mu_id, opts = {})
|
3938
3921
|
if @api_client.config.debugging
|
3939
3922
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_settings ..."
|
@@ -3976,8 +3959,7 @@ module PureCloud
|
|
3976
3959
|
:query_params => query_params,
|
3977
3960
|
:form_params => form_params,
|
3978
3961
|
:body => post_body,
|
3979
|
-
:auth_names => auth_names
|
3980
|
-
:return_type => 'ManagementUnitSettingsResponse')
|
3962
|
+
:auth_names => auth_names)
|
3981
3963
|
if @api_client.config.debugging
|
3982
3964
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3983
3965
|
end
|
@@ -4348,7 +4330,7 @@ module PureCloud
|
|
4348
4330
|
return data, status_code, headers
|
4349
4331
|
end
|
4350
4332
|
|
4351
|
-
# Get a week schedule
|
4333
|
+
# Deprecated. Use the equivalent business unit resource instead. Get a week schedule
|
4352
4334
|
#
|
4353
4335
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
4354
4336
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
@@ -4362,7 +4344,7 @@ module PureCloud
|
|
4362
4344
|
return data
|
4363
4345
|
end
|
4364
4346
|
|
4365
|
-
# Get a week schedule
|
4347
|
+
# Deprecated. Use the equivalent business unit resource instead. Get a week schedule
|
4366
4348
|
#
|
4367
4349
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
4368
4350
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
@@ -4455,25 +4437,25 @@ module PureCloud
|
|
4455
4437
|
return data, status_code, headers
|
4456
4438
|
end
|
4457
4439
|
|
4458
|
-
#
|
4440
|
+
# Gone. Scheduling has moved under business units
|
4459
4441
|
#
|
4460
4442
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
4461
4443
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
4462
|
-
# @param schedule_id The ID of the schedule to fetch generation results
|
4444
|
+
# @param schedule_id Gone/deprecated. The ID of the schedule to fetch generation results
|
4463
4445
|
# @param [Hash] opts the optional parameters
|
4464
|
-
# @return [
|
4446
|
+
# @return [nil]
|
4465
4447
|
def get_workforcemanagement_managementunit_week_schedule_generationresults(management_unit_id, week_id, schedule_id, opts = {})
|
4466
|
-
|
4467
|
-
return
|
4448
|
+
get_workforcemanagement_managementunit_week_schedule_generationresults_with_http_info(management_unit_id, week_id, schedule_id, opts)
|
4449
|
+
return nil
|
4468
4450
|
end
|
4469
4451
|
|
4470
|
-
#
|
4452
|
+
# Gone. Scheduling has moved under business units
|
4471
4453
|
#
|
4472
4454
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
4473
4455
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
4474
|
-
# @param schedule_id The ID of the schedule to fetch generation results
|
4456
|
+
# @param schedule_id Gone/deprecated. The ID of the schedule to fetch generation results
|
4475
4457
|
# @param [Hash] opts the optional parameters
|
4476
|
-
# @return [Array<(
|
4458
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
4477
4459
|
def get_workforcemanagement_managementunit_week_schedule_generationresults_with_http_info(management_unit_id, week_id, schedule_id, opts = {})
|
4478
4460
|
if @api_client.config.debugging
|
4479
4461
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_week_schedule_generationresults ..."
|
@@ -4532,15 +4514,14 @@ module PureCloud
|
|
4532
4514
|
:query_params => query_params,
|
4533
4515
|
:form_params => form_params,
|
4534
4516
|
:body => post_body,
|
4535
|
-
:auth_names => auth_names
|
4536
|
-
:return_type => 'WeekScheduleGenerationResult')
|
4517
|
+
:auth_names => auth_names)
|
4537
4518
|
if @api_client.config.debugging
|
4538
4519
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_week_schedule_generationresults\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4539
4520
|
end
|
4540
4521
|
return data, status_code, headers
|
4541
4522
|
end
|
4542
4523
|
|
4543
|
-
# Get the list of schedules in a week in management unit
|
4524
|
+
# Deprecated. Use the equivalent business unit resource instead. Get the list of schedules in a week in management unit
|
4544
4525
|
#
|
4545
4526
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
4546
4527
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
@@ -4554,7 +4535,7 @@ module PureCloud
|
|
4554
4535
|
return data
|
4555
4536
|
end
|
4556
4537
|
|
4557
|
-
# Get the list of schedules in a week in management unit
|
4538
|
+
# Deprecated. Use the equivalent business unit resource instead. Get the list of schedules in a week in management unit
|
4558
4539
|
#
|
4559
4540
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
4560
4541
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
@@ -4726,27 +4707,25 @@ module PureCloud
|
|
4726
4707
|
return data, status_code, headers
|
4727
4708
|
end
|
4728
4709
|
|
4729
|
-
#
|
4710
|
+
# Gone. Use equivalent business unit resource instead
|
4730
4711
|
#
|
4731
|
-
# @param management_unit_id The
|
4732
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
4733
|
-
# @param forecast_id The ID of the forecast
|
4712
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
4713
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
4714
|
+
# @param forecast_id (Gone/Deprecated): The ID of the forecast
|
4734
4715
|
# @param [Hash] opts the optional parameters
|
4735
|
-
# @
|
4736
|
-
# @return [ForecastResultResponse]
|
4716
|
+
# @return [nil]
|
4737
4717
|
def get_workforcemanagement_managementunit_week_shorttermforecast_final(management_unit_id, week_date_id, forecast_id, opts = {})
|
4738
|
-
|
4739
|
-
return
|
4718
|
+
get_workforcemanagement_managementunit_week_shorttermforecast_final_with_http_info(management_unit_id, week_date_id, forecast_id, opts)
|
4719
|
+
return nil
|
4740
4720
|
end
|
4741
4721
|
|
4742
|
-
#
|
4722
|
+
# Gone. Use equivalent business unit resource instead
|
4743
4723
|
#
|
4744
|
-
# @param management_unit_id The
|
4745
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
4746
|
-
# @param forecast_id The ID of the forecast
|
4724
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
4725
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
4726
|
+
# @param forecast_id (Gone/Deprecated): The ID of the forecast
|
4747
4727
|
# @param [Hash] opts the optional parameters
|
4748
|
-
# @
|
4749
|
-
# @return [Array<(ForecastResultResponse, Fixnum, Hash)>] ForecastResultResponse data, response status code and response headers
|
4728
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
4750
4729
|
def get_workforcemanagement_managementunit_week_shorttermforecast_final_with_http_info(management_unit_id, week_date_id, forecast_id, opts = {})
|
4751
4730
|
if @api_client.config.debugging
|
4752
4731
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_week_shorttermforecast_final ..."
|
@@ -4776,18 +4755,11 @@ module PureCloud
|
|
4776
4755
|
|
4777
4756
|
|
4778
4757
|
|
4779
|
-
|
4780
|
-
|
4781
|
-
|
4782
|
-
|
4783
|
-
|
4784
|
-
|
4785
4758
|
# resource path
|
4786
4759
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/final".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekDateId' + '}', week_date_id.to_s).sub('{' + 'forecastId' + '}', forecast_id.to_s)
|
4787
4760
|
|
4788
4761
|
# query parameters
|
4789
4762
|
query_params = {}
|
4790
|
-
query_params[:'forceDownloadService'] = opts[:'force_download_service'] if opts[:'force_download_service']
|
4791
4763
|
|
4792
4764
|
# header parameters
|
4793
4765
|
header_params = {}
|
@@ -4812,31 +4784,30 @@ module PureCloud
|
|
4812
4784
|
:query_params => query_params,
|
4813
4785
|
:form_params => form_params,
|
4814
4786
|
:body => post_body,
|
4815
|
-
:auth_names => auth_names
|
4816
|
-
:return_type => 'ForecastResultResponse')
|
4787
|
+
:auth_names => auth_names)
|
4817
4788
|
if @api_client.config.debugging
|
4818
4789
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_week_shorttermforecast_final\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4819
4790
|
end
|
4820
4791
|
return data, status_code, headers
|
4821
4792
|
end
|
4822
4793
|
|
4823
|
-
#
|
4824
|
-
#
|
4825
|
-
# @param management_unit_id The
|
4826
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
4794
|
+
# Gone. Use equivalent business unit resource instead
|
4795
|
+
#
|
4796
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
4797
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
4827
4798
|
# @param [Hash] opts the optional parameters
|
4828
|
-
# @return [
|
4799
|
+
# @return [nil]
|
4829
4800
|
def get_workforcemanagement_managementunit_week_shorttermforecasts(management_unit_id, week_date_id, opts = {})
|
4830
|
-
|
4831
|
-
return
|
4801
|
+
get_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, opts)
|
4802
|
+
return nil
|
4832
4803
|
end
|
4833
4804
|
|
4834
|
-
#
|
4835
|
-
#
|
4836
|
-
# @param management_unit_id The
|
4837
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
4805
|
+
# Gone. Use equivalent business unit resource instead
|
4806
|
+
#
|
4807
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
4808
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
4838
4809
|
# @param [Hash] opts the optional parameters
|
4839
|
-
# @return [Array<(
|
4810
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
4840
4811
|
def get_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, opts = {})
|
4841
4812
|
if @api_client.config.debugging
|
4842
4813
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_week_shorttermforecasts ..."
|
@@ -4887,8 +4858,7 @@ module PureCloud
|
|
4887
4858
|
:query_params => query_params,
|
4888
4859
|
:form_params => form_params,
|
4889
4860
|
:body => post_body,
|
4890
|
-
:auth_names => auth_names
|
4891
|
-
:return_type => 'ShortTermForecastListResponse')
|
4861
|
+
:auth_names => auth_names)
|
4892
4862
|
if @api_client.config.debugging
|
4893
4863
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_week_shorttermforecasts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4894
4864
|
end
|
@@ -5997,25 +5967,25 @@ module PureCloud
|
|
5997
5967
|
return data, status_code, headers
|
5998
5968
|
end
|
5999
5969
|
|
6000
|
-
#
|
5970
|
+
# Deprecated/Gone: Use the new business unit activity code resources
|
6001
5971
|
#
|
6002
5972
|
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
6003
5973
|
# @param ac_id The ID of the activity code to update
|
6004
5974
|
# @param [Hash] opts the optional parameters
|
6005
5975
|
# @option opts [UpdateActivityCodeRequest] :body body
|
6006
|
-
# @return [
|
5976
|
+
# @return [nil]
|
6007
5977
|
def patch_workforcemanagement_managementunit_activitycode(mu_id, ac_id, opts = {})
|
6008
|
-
|
6009
|
-
return
|
5978
|
+
patch_workforcemanagement_managementunit_activitycode_with_http_info(mu_id, ac_id, opts)
|
5979
|
+
return nil
|
6010
5980
|
end
|
6011
5981
|
|
6012
|
-
#
|
5982
|
+
# Deprecated/Gone: Use the new business unit activity code resources
|
6013
5983
|
#
|
6014
5984
|
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
6015
5985
|
# @param ac_id The ID of the activity code to update
|
6016
5986
|
# @param [Hash] opts the optional parameters
|
6017
5987
|
# @option opts [UpdateActivityCodeRequest] :body body
|
6018
|
-
# @return [Array<(
|
5988
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
6019
5989
|
def patch_workforcemanagement_managementunit_activitycode_with_http_info(mu_id, ac_id, opts = {})
|
6020
5990
|
if @api_client.config.debugging
|
6021
5991
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_activitycode ..."
|
@@ -6072,33 +6042,32 @@ module PureCloud
|
|
6072
6042
|
:query_params => query_params,
|
6073
6043
|
:form_params => form_params,
|
6074
6044
|
:body => post_body,
|
6075
|
-
:auth_names => auth_names
|
6076
|
-
:return_type => 'ActivityCode')
|
6045
|
+
:auth_names => auth_names)
|
6077
6046
|
if @api_client.config.debugging
|
6078
6047
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_activitycode\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6079
6048
|
end
|
6080
6049
|
return data, status_code, headers
|
6081
6050
|
end
|
6082
6051
|
|
6083
|
-
#
|
6052
|
+
# Gone. Scheduling has moved under business units
|
6084
6053
|
#
|
6085
|
-
# @param management_unit_id The ID of the management unit.
|
6054
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit.
|
6086
6055
|
# @param run_id The ID of the schedule run
|
6087
6056
|
# @param [Hash] opts the optional parameters
|
6088
6057
|
# @option opts [UpdateSchedulingRunRequest] :body body
|
6089
|
-
# @return [
|
6058
|
+
# @return [nil]
|
6090
6059
|
def patch_workforcemanagement_managementunit_scheduling_run(management_unit_id, run_id, opts = {})
|
6091
|
-
|
6092
|
-
return
|
6060
|
+
patch_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts)
|
6061
|
+
return nil
|
6093
6062
|
end
|
6094
6063
|
|
6095
|
-
#
|
6064
|
+
# Gone. Scheduling has moved under business units
|
6096
6065
|
#
|
6097
|
-
# @param management_unit_id The ID of the management unit.
|
6066
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit.
|
6098
6067
|
# @param run_id The ID of the schedule run
|
6099
6068
|
# @param [Hash] opts the optional parameters
|
6100
6069
|
# @option opts [UpdateSchedulingRunRequest] :body body
|
6101
|
-
# @return [Array<(
|
6070
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
6102
6071
|
def patch_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts = {})
|
6103
6072
|
if @api_client.config.debugging
|
6104
6073
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_scheduling_run ..."
|
@@ -6155,33 +6124,30 @@ module PureCloud
|
|
6155
6124
|
:query_params => query_params,
|
6156
6125
|
:form_params => form_params,
|
6157
6126
|
:body => post_body,
|
6158
|
-
:auth_names => auth_names
|
6159
|
-
:return_type => 'RescheduleResult')
|
6127
|
+
:auth_names => auth_names)
|
6160
6128
|
if @api_client.config.debugging
|
6161
6129
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_scheduling_run\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6162
6130
|
end
|
6163
6131
|
return data, status_code, headers
|
6164
6132
|
end
|
6165
6133
|
|
6166
|
-
#
|
6134
|
+
# Gone. Replaced with service goal templates and planning groups under business units
|
6167
6135
|
#
|
6168
|
-
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
6169
|
-
# @param service_goal_group_id The ID of the service goal group to update
|
6136
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
6137
|
+
# @param service_goal_group_id Gone. The ID of the service goal group to update
|
6170
6138
|
# @param [Hash] opts the optional parameters
|
6171
|
-
# @
|
6172
|
-
# @return [ServiceGoalGroup]
|
6139
|
+
# @return [nil]
|
6173
6140
|
def patch_workforcemanagement_managementunit_servicegoalgroup(management_unit_id, service_goal_group_id, opts = {})
|
6174
|
-
|
6175
|
-
return
|
6141
|
+
patch_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts)
|
6142
|
+
return nil
|
6176
6143
|
end
|
6177
6144
|
|
6178
|
-
#
|
6145
|
+
# Gone. Replaced with service goal templates and planning groups under business units
|
6179
6146
|
#
|
6180
|
-
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
6181
|
-
# @param service_goal_group_id The ID of the service goal group to update
|
6147
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
6148
|
+
# @param service_goal_group_id Gone. The ID of the service goal group to update
|
6182
6149
|
# @param [Hash] opts the optional parameters
|
6183
|
-
# @
|
6184
|
-
# @return [Array<(ServiceGoalGroup, Fixnum, Hash)>] ServiceGoalGroup data, response status code and response headers
|
6150
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
6185
6151
|
def patch_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts = {})
|
6186
6152
|
if @api_client.config.debugging
|
6187
6153
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_servicegoalgroup ..."
|
@@ -6203,12 +6169,6 @@ module PureCloud
|
|
6203
6169
|
|
6204
6170
|
|
6205
6171
|
|
6206
|
-
|
6207
|
-
|
6208
|
-
|
6209
|
-
|
6210
|
-
|
6211
|
-
|
6212
6172
|
# resource path
|
6213
6173
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/servicegoalgroups/{serviceGoalGroupId}".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'serviceGoalGroupId' + '}', service_goal_group_id.to_s)
|
6214
6174
|
|
@@ -6230,7 +6190,7 @@ module PureCloud
|
|
6230
6190
|
form_params = {}
|
6231
6191
|
|
6232
6192
|
# http body (model)
|
6233
|
-
post_body =
|
6193
|
+
post_body = nil
|
6234
6194
|
|
6235
6195
|
auth_names = ['PureCloud OAuth']
|
6236
6196
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -6238,31 +6198,28 @@ module PureCloud
|
|
6238
6198
|
:query_params => query_params,
|
6239
6199
|
:form_params => form_params,
|
6240
6200
|
:body => post_body,
|
6241
|
-
:auth_names => auth_names
|
6242
|
-
:return_type => 'ServiceGoalGroup')
|
6201
|
+
:auth_names => auth_names)
|
6243
6202
|
if @api_client.config.debugging
|
6244
6203
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_servicegoalgroup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6245
6204
|
end
|
6246
6205
|
return data, status_code, headers
|
6247
6206
|
end
|
6248
6207
|
|
6249
|
-
# Update
|
6208
|
+
# Gone. Update settings by PATCHing the management unit
|
6250
6209
|
#
|
6251
6210
|
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
6252
6211
|
# @param [Hash] opts the optional parameters
|
6253
|
-
# @
|
6254
|
-
# @return [ManagementUnitSettingsResponse]
|
6212
|
+
# @return [nil]
|
6255
6213
|
def patch_workforcemanagement_managementunit_settings(mu_id, opts = {})
|
6256
|
-
|
6257
|
-
return
|
6214
|
+
patch_workforcemanagement_managementunit_settings_with_http_info(mu_id, opts)
|
6215
|
+
return nil
|
6258
6216
|
end
|
6259
6217
|
|
6260
|
-
# Update
|
6218
|
+
# Gone. Update settings by PATCHing the management unit
|
6261
6219
|
#
|
6262
6220
|
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
6263
6221
|
# @param [Hash] opts the optional parameters
|
6264
|
-
# @
|
6265
|
-
# @return [Array<(ManagementUnitSettingsResponse, Fixnum, Hash)>] ManagementUnitSettingsResponse data, response status code and response headers
|
6222
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
6266
6223
|
def patch_workforcemanagement_managementunit_settings_with_http_info(mu_id, opts = {})
|
6267
6224
|
if @api_client.config.debugging
|
6268
6225
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_settings ..."
|
@@ -6276,12 +6233,6 @@ module PureCloud
|
|
6276
6233
|
|
6277
6234
|
|
6278
6235
|
|
6279
|
-
|
6280
|
-
|
6281
|
-
|
6282
|
-
|
6283
|
-
|
6284
|
-
|
6285
6236
|
# resource path
|
6286
6237
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/settings".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
|
6287
6238
|
|
@@ -6303,7 +6254,7 @@ module PureCloud
|
|
6303
6254
|
form_params = {}
|
6304
6255
|
|
6305
6256
|
# http body (model)
|
6306
|
-
post_body =
|
6257
|
+
post_body = nil
|
6307
6258
|
|
6308
6259
|
auth_names = ['PureCloud OAuth']
|
6309
6260
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -6311,8 +6262,7 @@ module PureCloud
|
|
6311
6262
|
:query_params => query_params,
|
6312
6263
|
:form_params => form_params,
|
6313
6264
|
:body => post_body,
|
6314
|
-
:auth_names => auth_names
|
6315
|
-
:return_type => 'ManagementUnitSettingsResponse')
|
6265
|
+
:auth_names => auth_names)
|
6316
6266
|
if @api_client.config.debugging
|
6317
6267
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6318
6268
|
end
|
@@ -6412,31 +6362,25 @@ module PureCloud
|
|
6412
6362
|
return data, status_code, headers
|
6413
6363
|
end
|
6414
6364
|
|
6415
|
-
#
|
6365
|
+
# Gone. Scheduling has moved under business units
|
6416
6366
|
#
|
6417
6367
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
6418
6368
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
6419
|
-
# @param schedule_id The ID of the schedule to update. Use partial uploads of user schedules if activity count in schedule is greater than 17500
|
6369
|
+
# @param schedule_id Gone/deprecated. The ID of the schedule to update. Use partial uploads of user schedules if activity count in schedule is greater than 17500
|
6420
6370
|
# @param [Hash] opts the optional parameters
|
6421
|
-
# @
|
6422
|
-
# @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
|
6423
|
-
# @option opts [UpdateWeekScheduleRequest] :body body
|
6424
|
-
# @return [AsyncWeekScheduleResponse]
|
6371
|
+
# @return [nil]
|
6425
6372
|
def patch_workforcemanagement_managementunit_week_schedule(management_unit_id, week_id, schedule_id, opts = {})
|
6426
|
-
|
6427
|
-
return
|
6373
|
+
patch_workforcemanagement_managementunit_week_schedule_with_http_info(management_unit_id, week_id, schedule_id, opts)
|
6374
|
+
return nil
|
6428
6375
|
end
|
6429
6376
|
|
6430
|
-
#
|
6377
|
+
# Gone. Scheduling has moved under business units
|
6431
6378
|
#
|
6432
6379
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
6433
6380
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
6434
|
-
# @param schedule_id The ID of the schedule to update. Use partial uploads of user schedules if activity count in schedule is greater than 17500
|
6381
|
+
# @param schedule_id Gone/deprecated. The ID of the schedule to update. Use partial uploads of user schedules if activity count in schedule is greater than 17500
|
6435
6382
|
# @param [Hash] opts the optional parameters
|
6436
|
-
# @
|
6437
|
-
# @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
|
6438
|
-
# @option opts [UpdateWeekScheduleRequest] :body body
|
6439
|
-
# @return [Array<(AsyncWeekScheduleResponse, Fixnum, Hash)>] AsyncWeekScheduleResponse data, response status code and response headers
|
6383
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
6440
6384
|
def patch_workforcemanagement_managementunit_week_schedule_with_http_info(management_unit_id, week_id, schedule_id, opts = {})
|
6441
6385
|
if @api_client.config.debugging
|
6442
6386
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_week_schedule ..."
|
@@ -6463,24 +6407,6 @@ module PureCloud
|
|
6463
6407
|
fail ArgumentError, "Missing the required parameter 'schedule_id' when calling WorkforceManagementApi.patch_workforcemanagement_managementunit_week_schedule" if schedule_id.nil?
|
6464
6408
|
|
6465
6409
|
|
6466
|
-
|
6467
|
-
|
6468
|
-
|
6469
|
-
|
6470
|
-
|
6471
|
-
|
6472
|
-
|
6473
|
-
|
6474
|
-
|
6475
|
-
|
6476
|
-
|
6477
|
-
|
6478
|
-
|
6479
|
-
|
6480
|
-
|
6481
|
-
|
6482
|
-
|
6483
|
-
|
6484
6410
|
|
6485
6411
|
|
6486
6412
|
|
@@ -6489,8 +6415,6 @@ module PureCloud
|
|
6489
6415
|
|
6490
6416
|
# query parameters
|
6491
6417
|
query_params = {}
|
6492
|
-
query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
|
6493
|
-
query_params[:'forceDownloadService'] = opts[:'force_download_service'] if opts[:'force_download_service']
|
6494
6418
|
|
6495
6419
|
# header parameters
|
6496
6420
|
header_params = {}
|
@@ -6507,7 +6431,7 @@ module PureCloud
|
|
6507
6431
|
form_params = {}
|
6508
6432
|
|
6509
6433
|
# http body (model)
|
6510
|
-
post_body =
|
6434
|
+
post_body = nil
|
6511
6435
|
|
6512
6436
|
auth_names = ['PureCloud OAuth']
|
6513
6437
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
@@ -6515,8 +6439,7 @@ module PureCloud
|
|
6515
6439
|
:query_params => query_params,
|
6516
6440
|
:form_params => form_params,
|
6517
6441
|
:body => post_body,
|
6518
|
-
:auth_names => auth_names
|
6519
|
-
:return_type => 'AsyncWeekScheduleResponse')
|
6442
|
+
:auth_names => auth_names)
|
6520
6443
|
if @api_client.config.debugging
|
6521
6444
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_week_schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6522
6445
|
end
|
@@ -8026,23 +7949,21 @@ module PureCloud
|
|
8026
7949
|
return data, status_code, headers
|
8027
7950
|
end
|
8028
7951
|
|
8029
|
-
#
|
7952
|
+
# Deprecated/Gone: Use the new business unit activity code resources
|
8030
7953
|
#
|
8031
7954
|
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8032
7955
|
# @param [Hash] opts the optional parameters
|
8033
|
-
# @
|
8034
|
-
# @return [ActivityCode]
|
7956
|
+
# @return [nil]
|
8035
7957
|
def post_workforcemanagement_managementunit_activitycodes(mu_id, opts = {})
|
8036
|
-
|
8037
|
-
return
|
7958
|
+
post_workforcemanagement_managementunit_activitycodes_with_http_info(mu_id, opts)
|
7959
|
+
return nil
|
8038
7960
|
end
|
8039
7961
|
|
8040
|
-
#
|
7962
|
+
# Deprecated/Gone: Use the new business unit activity code resources
|
8041
7963
|
#
|
8042
7964
|
# @param mu_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8043
7965
|
# @param [Hash] opts the optional parameters
|
8044
|
-
# @
|
8045
|
-
# @return [Array<(ActivityCode, Fixnum, Hash)>] ActivityCode data, response status code and response headers
|
7966
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
8046
7967
|
def post_workforcemanagement_managementunit_activitycodes_with_http_info(mu_id, opts = {})
|
8047
7968
|
if @api_client.config.debugging
|
8048
7969
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_activitycodes ..."
|
@@ -8056,12 +7977,6 @@ module PureCloud
|
|
8056
7977
|
|
8057
7978
|
|
8058
7979
|
|
8059
|
-
|
8060
|
-
|
8061
|
-
|
8062
|
-
|
8063
|
-
|
8064
|
-
|
8065
7980
|
# resource path
|
8066
7981
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/activitycodes".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
|
8067
7982
|
|
@@ -8083,7 +7998,7 @@ module PureCloud
|
|
8083
7998
|
form_params = {}
|
8084
7999
|
|
8085
8000
|
# http body (model)
|
8086
|
-
post_body =
|
8001
|
+
post_body = nil
|
8087
8002
|
|
8088
8003
|
auth_names = ['PureCloud OAuth']
|
8089
8004
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -8091,8 +8006,7 @@ module PureCloud
|
|
8091
8006
|
:query_params => query_params,
|
8092
8007
|
:form_params => form_params,
|
8093
8008
|
:body => post_body,
|
8094
|
-
:auth_names => auth_names
|
8095
|
-
:return_type => 'ActivityCode')
|
8009
|
+
:auth_names => auth_names)
|
8096
8010
|
if @api_client.config.debugging
|
8097
8011
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_activitycodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8098
8012
|
end
|
@@ -8263,23 +8177,21 @@ module PureCloud
|
|
8263
8177
|
return data, status_code, headers
|
8264
8178
|
end
|
8265
8179
|
|
8266
|
-
#
|
8180
|
+
# Gone. Moved under business units
|
8267
8181
|
#
|
8268
8182
|
# @param mu_id The management unit ID of the management unit
|
8269
8183
|
# @param [Hash] opts the optional parameters
|
8270
|
-
# @
|
8271
|
-
# @return [IntradayResponse]
|
8184
|
+
# @return [nil]
|
8272
8185
|
def post_workforcemanagement_managementunit_intraday(mu_id, opts = {})
|
8273
|
-
|
8274
|
-
return
|
8186
|
+
post_workforcemanagement_managementunit_intraday_with_http_info(mu_id, opts)
|
8187
|
+
return nil
|
8275
8188
|
end
|
8276
8189
|
|
8277
|
-
#
|
8190
|
+
# Gone. Moved under business units
|
8278
8191
|
#
|
8279
8192
|
# @param mu_id The management unit ID of the management unit
|
8280
8193
|
# @param [Hash] opts the optional parameters
|
8281
|
-
# @
|
8282
|
-
# @return [Array<(IntradayResponse, Fixnum, Hash)>] IntradayResponse data, response status code and response headers
|
8194
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
8283
8195
|
def post_workforcemanagement_managementunit_intraday_with_http_info(mu_id, opts = {})
|
8284
8196
|
if @api_client.config.debugging
|
8285
8197
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_intraday ..."
|
@@ -8293,12 +8205,6 @@ module PureCloud
|
|
8293
8205
|
|
8294
8206
|
|
8295
8207
|
|
8296
|
-
|
8297
|
-
|
8298
|
-
|
8299
|
-
|
8300
|
-
|
8301
|
-
|
8302
8208
|
# resource path
|
8303
8209
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/intraday".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
|
8304
8210
|
|
@@ -8320,7 +8226,7 @@ module PureCloud
|
|
8320
8226
|
form_params = {}
|
8321
8227
|
|
8322
8228
|
# http body (model)
|
8323
|
-
post_body =
|
8229
|
+
post_body = nil
|
8324
8230
|
|
8325
8231
|
auth_names = ['PureCloud OAuth']
|
8326
8232
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -8328,8 +8234,7 @@ module PureCloud
|
|
8328
8234
|
:query_params => query_params,
|
8329
8235
|
:form_params => form_params,
|
8330
8236
|
:body => post_body,
|
8331
|
-
:auth_names => auth_names
|
8332
|
-
:return_type => 'IntradayResponse')
|
8237
|
+
:auth_names => auth_names)
|
8333
8238
|
if @api_client.config.debugging
|
8334
8239
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_intraday\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8335
8240
|
end
|
@@ -8482,23 +8387,21 @@ module PureCloud
|
|
8482
8387
|
return data, status_code, headers
|
8483
8388
|
end
|
8484
8389
|
|
8485
|
-
#
|
8390
|
+
# Gone. Replaced with service goal templates and planning groups under business units
|
8486
8391
|
#
|
8487
|
-
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8392
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8488
8393
|
# @param [Hash] opts the optional parameters
|
8489
|
-
# @
|
8490
|
-
# @return [ServiceGoalGroup]
|
8394
|
+
# @return [nil]
|
8491
8395
|
def post_workforcemanagement_managementunit_servicegoalgroups(management_unit_id, opts = {})
|
8492
|
-
|
8493
|
-
return
|
8396
|
+
post_workforcemanagement_managementunit_servicegoalgroups_with_http_info(management_unit_id, opts)
|
8397
|
+
return nil
|
8494
8398
|
end
|
8495
8399
|
|
8496
|
-
#
|
8400
|
+
# Gone. Replaced with service goal templates and planning groups under business units
|
8497
8401
|
#
|
8498
|
-
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8402
|
+
# @param management_unit_id (Deprecated/gone): The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8499
8403
|
# @param [Hash] opts the optional parameters
|
8500
|
-
# @
|
8501
|
-
# @return [Array<(ServiceGoalGroup, Fixnum, Hash)>] ServiceGoalGroup data, response status code and response headers
|
8404
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
8502
8405
|
def post_workforcemanagement_managementunit_servicegoalgroups_with_http_info(management_unit_id, opts = {})
|
8503
8406
|
if @api_client.config.debugging
|
8504
8407
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_servicegoalgroups ..."
|
@@ -8512,12 +8415,6 @@ module PureCloud
|
|
8512
8415
|
|
8513
8416
|
|
8514
8417
|
|
8515
|
-
|
8516
|
-
|
8517
|
-
|
8518
|
-
|
8519
|
-
|
8520
|
-
|
8521
8418
|
# resource path
|
8522
8419
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/servicegoalgroups".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s)
|
8523
8420
|
|
@@ -8539,7 +8436,7 @@ module PureCloud
|
|
8539
8436
|
form_params = {}
|
8540
8437
|
|
8541
8438
|
# http body (model)
|
8542
|
-
post_body =
|
8439
|
+
post_body = nil
|
8543
8440
|
|
8544
8441
|
auth_names = ['PureCloud OAuth']
|
8545
8442
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -8547,8 +8444,7 @@ module PureCloud
|
|
8547
8444
|
:query_params => query_params,
|
8548
8445
|
:form_params => form_params,
|
8549
8446
|
:body => post_body,
|
8550
|
-
:auth_names => auth_names
|
8551
|
-
:return_type => 'ServiceGoalGroup')
|
8447
|
+
:auth_names => auth_names)
|
8552
8448
|
if @api_client.config.debugging
|
8553
8449
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_servicegoalgroups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8554
8450
|
end
|
@@ -8628,23 +8524,23 @@ module PureCloud
|
|
8628
8524
|
return data, status_code, headers
|
8629
8525
|
end
|
8630
8526
|
|
8631
|
-
#
|
8527
|
+
# Gone. All data is now returned in the query route
|
8632
8528
|
#
|
8633
8529
|
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
8634
8530
|
# @param [Hash] opts the optional parameters
|
8635
|
-
# @option opts [
|
8636
|
-
# @return [
|
8531
|
+
# @option opts [TimeOffRequestListing] :body body
|
8532
|
+
# @return [nil]
|
8637
8533
|
def post_workforcemanagement_managementunit_timeoffrequests_fetchdetails(mu_id, opts = {})
|
8638
|
-
|
8639
|
-
return
|
8534
|
+
post_workforcemanagement_managementunit_timeoffrequests_fetchdetails_with_http_info(mu_id, opts)
|
8535
|
+
return nil
|
8640
8536
|
end
|
8641
8537
|
|
8642
|
-
#
|
8538
|
+
# Gone. All data is now returned in the query route
|
8643
8539
|
#
|
8644
8540
|
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
8645
8541
|
# @param [Hash] opts the optional parameters
|
8646
|
-
# @option opts [
|
8647
|
-
# @return [Array<(
|
8542
|
+
# @option opts [TimeOffRequestListing] :body body
|
8543
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
8648
8544
|
def post_workforcemanagement_managementunit_timeoffrequests_fetchdetails_with_http_info(mu_id, opts = {})
|
8649
8545
|
if @api_client.config.debugging
|
8650
8546
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_timeoffrequests_fetchdetails ..."
|
@@ -8693,8 +8589,7 @@ module PureCloud
|
|
8693
8589
|
:query_params => query_params,
|
8694
8590
|
:form_params => form_params,
|
8695
8591
|
:body => post_body,
|
8696
|
-
:auth_names => auth_names
|
8697
|
-
:return_type => 'TimeOffRequestEntityList')
|
8592
|
+
:auth_names => auth_names)
|
8698
8593
|
if @api_client.config.debugging
|
8699
8594
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_timeoffrequests_fetchdetails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8700
8595
|
end
|
@@ -8706,7 +8601,7 @@ module PureCloud
|
|
8706
8601
|
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
8707
8602
|
# @param [Hash] opts the optional parameters
|
8708
8603
|
# @option opts [TimeOffRequestQueryBody] :body body
|
8709
|
-
# @return [
|
8604
|
+
# @return [TimeOffRequestListing]
|
8710
8605
|
def post_workforcemanagement_managementunit_timeoffrequests_query(mu_id, opts = {})
|
8711
8606
|
data, _status_code, _headers = post_workforcemanagement_managementunit_timeoffrequests_query_with_http_info(mu_id, opts)
|
8712
8607
|
return data
|
@@ -8717,7 +8612,7 @@ module PureCloud
|
|
8717
8612
|
# @param mu_id The muId of the management unit, or 'mine' for the management unit of the logged-in user.
|
8718
8613
|
# @param [Hash] opts the optional parameters
|
8719
8614
|
# @option opts [TimeOffRequestQueryBody] :body body
|
8720
|
-
# @return [Array<(
|
8615
|
+
# @return [Array<(TimeOffRequestListing, Fixnum, Hash)>] TimeOffRequestListing data, response status code and response headers
|
8721
8616
|
def post_workforcemanagement_managementunit_timeoffrequests_query_with_http_info(mu_id, opts = {})
|
8722
8617
|
if @api_client.config.debugging
|
8723
8618
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_timeoffrequests_query ..."
|
@@ -8767,38 +8662,32 @@ module PureCloud
|
|
8767
8662
|
:form_params => form_params,
|
8768
8663
|
:body => post_body,
|
8769
8664
|
:auth_names => auth_names,
|
8770
|
-
:return_type => '
|
8665
|
+
:return_type => 'TimeOffRequestListing')
|
8771
8666
|
if @api_client.config.debugging
|
8772
8667
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_timeoffrequests_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8773
8668
|
end
|
8774
8669
|
return data, status_code, headers
|
8775
8670
|
end
|
8776
8671
|
|
8777
|
-
#
|
8672
|
+
# Gone. Scheduling has moved under business units
|
8778
8673
|
#
|
8779
8674
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8780
8675
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
8781
|
-
# @param schedule_id The ID of the schedule to copy from
|
8676
|
+
# @param schedule_id Gone/deprecated. The ID of the schedule to copy from
|
8782
8677
|
# @param [Hash] opts the optional parameters
|
8783
|
-
# @
|
8784
|
-
# @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
|
8785
|
-
# @option opts [CopyWeekScheduleRequest] :body body
|
8786
|
-
# @return [AsyncWeekScheduleResponse]
|
8678
|
+
# @return [nil]
|
8787
8679
|
def post_workforcemanagement_managementunit_week_schedule_copy(management_unit_id, week_id, schedule_id, opts = {})
|
8788
|
-
|
8789
|
-
return
|
8680
|
+
post_workforcemanagement_managementunit_week_schedule_copy_with_http_info(management_unit_id, week_id, schedule_id, opts)
|
8681
|
+
return nil
|
8790
8682
|
end
|
8791
8683
|
|
8792
|
-
#
|
8684
|
+
# Gone. Scheduling has moved under business units
|
8793
8685
|
#
|
8794
8686
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8795
8687
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
8796
|
-
# @param schedule_id The ID of the schedule to copy from
|
8688
|
+
# @param schedule_id Gone/deprecated. The ID of the schedule to copy from
|
8797
8689
|
# @param [Hash] opts the optional parameters
|
8798
|
-
# @
|
8799
|
-
# @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
|
8800
|
-
# @option opts [CopyWeekScheduleRequest] :body body
|
8801
|
-
# @return [Array<(AsyncWeekScheduleResponse, Fixnum, Hash)>] AsyncWeekScheduleResponse data, response status code and response headers
|
8690
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
8802
8691
|
def post_workforcemanagement_managementunit_week_schedule_copy_with_http_info(management_unit_id, week_id, schedule_id, opts = {})
|
8803
8692
|
if @api_client.config.debugging
|
8804
8693
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedule_copy ..."
|
@@ -8825,24 +8714,6 @@ module PureCloud
|
|
8825
8714
|
fail ArgumentError, "Missing the required parameter 'schedule_id' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedule_copy" if schedule_id.nil?
|
8826
8715
|
|
8827
8716
|
|
8828
|
-
|
8829
|
-
|
8830
|
-
|
8831
|
-
|
8832
|
-
|
8833
|
-
|
8834
|
-
|
8835
|
-
|
8836
|
-
|
8837
|
-
|
8838
|
-
|
8839
|
-
|
8840
|
-
|
8841
|
-
|
8842
|
-
|
8843
|
-
|
8844
|
-
|
8845
|
-
|
8846
8717
|
|
8847
8718
|
|
8848
8719
|
|
@@ -8851,8 +8722,6 @@ module PureCloud
|
|
8851
8722
|
|
8852
8723
|
# query parameters
|
8853
8724
|
query_params = {}
|
8854
|
-
query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
|
8855
|
-
query_params[:'forceDownloadService'] = opts[:'force_download_service'] if opts[:'force_download_service']
|
8856
8725
|
|
8857
8726
|
# header parameters
|
8858
8727
|
header_params = {}
|
@@ -8869,7 +8738,7 @@ module PureCloud
|
|
8869
8738
|
form_params = {}
|
8870
8739
|
|
8871
8740
|
# http body (model)
|
8872
|
-
post_body =
|
8741
|
+
post_body = nil
|
8873
8742
|
|
8874
8743
|
auth_names = ['PureCloud OAuth']
|
8875
8744
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -8877,35 +8746,32 @@ module PureCloud
|
|
8877
8746
|
:query_params => query_params,
|
8878
8747
|
:form_params => form_params,
|
8879
8748
|
:body => post_body,
|
8880
|
-
:auth_names => auth_names
|
8881
|
-
:return_type => 'AsyncWeekScheduleResponse')
|
8749
|
+
:auth_names => auth_names)
|
8882
8750
|
if @api_client.config.debugging
|
8883
8751
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_schedule_copy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8884
8752
|
end
|
8885
8753
|
return data, status_code, headers
|
8886
8754
|
end
|
8887
8755
|
|
8888
|
-
#
|
8756
|
+
# Gone. Scheduling has moved under business units
|
8889
8757
|
#
|
8890
8758
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8891
8759
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
8892
|
-
# @param schedule_id The ID of the schedule to re-optimize
|
8760
|
+
# @param schedule_id Gone/deprecated. The ID of the schedule to re-optimize
|
8893
8761
|
# @param [Hash] opts the optional parameters
|
8894
|
-
# @
|
8895
|
-
# @return [AsyncWeekScheduleResponse]
|
8762
|
+
# @return [nil]
|
8896
8763
|
def post_workforcemanagement_managementunit_week_schedule_reschedule(management_unit_id, week_id, schedule_id, opts = {})
|
8897
|
-
|
8898
|
-
return
|
8764
|
+
post_workforcemanagement_managementunit_week_schedule_reschedule_with_http_info(management_unit_id, week_id, schedule_id, opts)
|
8765
|
+
return nil
|
8899
8766
|
end
|
8900
8767
|
|
8901
|
-
#
|
8768
|
+
# Gone. Scheduling has moved under business units
|
8902
8769
|
#
|
8903
8770
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8904
8771
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
8905
|
-
# @param schedule_id The ID of the schedule to re-optimize
|
8772
|
+
# @param schedule_id Gone/deprecated. The ID of the schedule to re-optimize
|
8906
8773
|
# @param [Hash] opts the optional parameters
|
8907
|
-
# @
|
8908
|
-
# @return [Array<(AsyncWeekScheduleResponse, Fixnum, Hash)>] AsyncWeekScheduleResponse data, response status code and response headers
|
8774
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
8909
8775
|
def post_workforcemanagement_managementunit_week_schedule_reschedule_with_http_info(management_unit_id, week_id, schedule_id, opts = {})
|
8910
8776
|
if @api_client.config.debugging
|
8911
8777
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedule_reschedule ..."
|
@@ -8935,12 +8801,6 @@ module PureCloud
|
|
8935
8801
|
|
8936
8802
|
|
8937
8803
|
|
8938
|
-
|
8939
|
-
|
8940
|
-
|
8941
|
-
|
8942
|
-
|
8943
|
-
|
8944
8804
|
# resource path
|
8945
8805
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekId}/schedules/{scheduleId}/reschedule".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekId' + '}', week_id.to_s).sub('{' + 'scheduleId' + '}', schedule_id.to_s)
|
8946
8806
|
|
@@ -8962,7 +8822,7 @@ module PureCloud
|
|
8962
8822
|
form_params = {}
|
8963
8823
|
|
8964
8824
|
# http body (model)
|
8965
|
-
post_body =
|
8825
|
+
post_body = nil
|
8966
8826
|
|
8967
8827
|
auth_names = ['PureCloud OAuth']
|
8968
8828
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -8970,37 +8830,30 @@ module PureCloud
|
|
8970
8830
|
:query_params => query_params,
|
8971
8831
|
:form_params => form_params,
|
8972
8832
|
:body => post_body,
|
8973
|
-
:auth_names => auth_names
|
8974
|
-
:return_type => 'AsyncWeekScheduleResponse')
|
8833
|
+
:auth_names => auth_names)
|
8975
8834
|
if @api_client.config.debugging
|
8976
8835
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_schedule_reschedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
8977
8836
|
end
|
8978
8837
|
return data, status_code, headers
|
8979
8838
|
end
|
8980
8839
|
|
8981
|
-
#
|
8840
|
+
# Gone. Scheduling has moved under business units
|
8982
8841
|
#
|
8983
8842
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8984
8843
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
8985
8844
|
# @param [Hash] opts the optional parameters
|
8986
|
-
# @
|
8987
|
-
# @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
|
8988
|
-
# @option opts [ImportWeekScheduleRequest] :body body
|
8989
|
-
# @return [AsyncWeekScheduleResponse]
|
8845
|
+
# @return [nil]
|
8990
8846
|
def post_workforcemanagement_managementunit_week_schedules(management_unit_id, week_id, opts = {})
|
8991
|
-
|
8992
|
-
return
|
8847
|
+
post_workforcemanagement_managementunit_week_schedules_with_http_info(management_unit_id, week_id, opts)
|
8848
|
+
return nil
|
8993
8849
|
end
|
8994
8850
|
|
8995
|
-
#
|
8851
|
+
# Gone. Scheduling has moved under business units
|
8996
8852
|
#
|
8997
8853
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
8998
8854
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
8999
8855
|
# @param [Hash] opts the optional parameters
|
9000
|
-
# @
|
9001
|
-
# @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
|
9002
|
-
# @option opts [ImportWeekScheduleRequest] :body body
|
9003
|
-
# @return [Array<(AsyncWeekScheduleResponse, Fixnum, Hash)>] AsyncWeekScheduleResponse data, response status code and response headers
|
8856
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
9004
8857
|
def post_workforcemanagement_managementunit_week_schedules_with_http_info(management_unit_id, week_id, opts = {})
|
9005
8858
|
if @api_client.config.debugging
|
9006
8859
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedules ..."
|
@@ -9019,24 +8872,6 @@ module PureCloud
|
|
9019
8872
|
fail ArgumentError, "Missing the required parameter 'week_id' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedules" if week_id.nil?
|
9020
8873
|
|
9021
8874
|
|
9022
|
-
|
9023
|
-
|
9024
|
-
|
9025
|
-
|
9026
|
-
|
9027
|
-
|
9028
|
-
|
9029
|
-
|
9030
|
-
|
9031
|
-
|
9032
|
-
|
9033
|
-
|
9034
|
-
|
9035
|
-
|
9036
|
-
|
9037
|
-
|
9038
|
-
|
9039
|
-
|
9040
8875
|
|
9041
8876
|
|
9042
8877
|
|
@@ -9045,8 +8880,6 @@ module PureCloud
|
|
9045
8880
|
|
9046
8881
|
# query parameters
|
9047
8882
|
query_params = {}
|
9048
|
-
query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
|
9049
|
-
query_params[:'forceDownloadService'] = opts[:'force_download_service'] if opts[:'force_download_service']
|
9050
8883
|
|
9051
8884
|
# header parameters
|
9052
8885
|
header_params = {}
|
@@ -9063,7 +8896,7 @@ module PureCloud
|
|
9063
8896
|
form_params = {}
|
9064
8897
|
|
9065
8898
|
# http body (model)
|
9066
|
-
post_body =
|
8899
|
+
post_body = nil
|
9067
8900
|
|
9068
8901
|
auth_names = ['PureCloud OAuth']
|
9069
8902
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -9071,33 +8904,30 @@ module PureCloud
|
|
9071
8904
|
:query_params => query_params,
|
9072
8905
|
:form_params => form_params,
|
9073
8906
|
:body => post_body,
|
9074
|
-
:auth_names => auth_names
|
9075
|
-
:return_type => 'AsyncWeekScheduleResponse')
|
8907
|
+
:auth_names => auth_names)
|
9076
8908
|
if @api_client.config.debugging
|
9077
8909
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_schedules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9078
8910
|
end
|
9079
8911
|
return data, status_code, headers
|
9080
8912
|
end
|
9081
8913
|
|
9082
|
-
#
|
8914
|
+
# Gone. Scheduling has moved under business units
|
9083
8915
|
#
|
9084
8916
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
9085
8917
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
9086
8918
|
# @param [Hash] opts the optional parameters
|
9087
|
-
# @
|
9088
|
-
# @return [GenerateWeekScheduleResponse]
|
8919
|
+
# @return [nil]
|
9089
8920
|
def post_workforcemanagement_managementunit_week_schedules_generate(management_unit_id, week_id, opts = {})
|
9090
|
-
|
9091
|
-
return
|
8921
|
+
post_workforcemanagement_managementunit_week_schedules_generate_with_http_info(management_unit_id, week_id, opts)
|
8922
|
+
return nil
|
9092
8923
|
end
|
9093
8924
|
|
9094
|
-
#
|
8925
|
+
# Gone. Scheduling has moved under business units
|
9095
8926
|
#
|
9096
8927
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
9097
8928
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
9098
8929
|
# @param [Hash] opts the optional parameters
|
9099
|
-
# @
|
9100
|
-
# @return [Array<(GenerateWeekScheduleResponse, Fixnum, Hash)>] GenerateWeekScheduleResponse data, response status code and response headers
|
8930
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
9101
8931
|
def post_workforcemanagement_managementunit_week_schedules_generate_with_http_info(management_unit_id, week_id, opts = {})
|
9102
8932
|
if @api_client.config.debugging
|
9103
8933
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedules_generate ..."
|
@@ -9119,12 +8949,6 @@ module PureCloud
|
|
9119
8949
|
|
9120
8950
|
|
9121
8951
|
|
9122
|
-
|
9123
|
-
|
9124
|
-
|
9125
|
-
|
9126
|
-
|
9127
|
-
|
9128
8952
|
# resource path
|
9129
8953
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekId}/schedules/generate".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekId' + '}', week_id.to_s)
|
9130
8954
|
|
@@ -9146,7 +8970,7 @@ module PureCloud
|
|
9146
8970
|
form_params = {}
|
9147
8971
|
|
9148
8972
|
# http body (model)
|
9149
|
-
post_body =
|
8973
|
+
post_body = nil
|
9150
8974
|
|
9151
8975
|
auth_names = ['PureCloud OAuth']
|
9152
8976
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -9154,33 +8978,30 @@ module PureCloud
|
|
9154
8978
|
:query_params => query_params,
|
9155
8979
|
:form_params => form_params,
|
9156
8980
|
:body => post_body,
|
9157
|
-
:auth_names => auth_names
|
9158
|
-
:return_type => 'GenerateWeekScheduleResponse')
|
8981
|
+
:auth_names => auth_names)
|
9159
8982
|
if @api_client.config.debugging
|
9160
8983
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_schedules_generate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9161
8984
|
end
|
9162
8985
|
return data, status_code, headers
|
9163
8986
|
end
|
9164
8987
|
|
9165
|
-
#
|
8988
|
+
# Gone. Scheduling has moved under business units
|
9166
8989
|
#
|
9167
8990
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
9168
8991
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
9169
8992
|
# @param [Hash] opts the optional parameters
|
9170
|
-
# @
|
9171
|
-
# @return [PartialUploadResponse]
|
8993
|
+
# @return [nil]
|
9172
8994
|
def post_workforcemanagement_managementunit_week_schedules_partialupload(management_unit_id, week_id, opts = {})
|
9173
|
-
|
9174
|
-
return
|
8995
|
+
post_workforcemanagement_managementunit_week_schedules_partialupload_with_http_info(management_unit_id, week_id, opts)
|
8996
|
+
return nil
|
9175
8997
|
end
|
9176
8998
|
|
9177
|
-
#
|
8999
|
+
# Gone. Scheduling has moved under business units
|
9178
9000
|
#
|
9179
9001
|
# @param management_unit_id The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
9180
9002
|
# @param week_id First day of schedule week in yyyy-MM-dd format.
|
9181
9003
|
# @param [Hash] opts the optional parameters
|
9182
|
-
# @
|
9183
|
-
# @return [Array<(PartialUploadResponse, Fixnum, Hash)>] PartialUploadResponse data, response status code and response headers
|
9004
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
9184
9005
|
def post_workforcemanagement_managementunit_week_schedules_partialupload_with_http_info(management_unit_id, week_id, opts = {})
|
9185
9006
|
if @api_client.config.debugging
|
9186
9007
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedules_partialupload ..."
|
@@ -9202,12 +9023,6 @@ module PureCloud
|
|
9202
9023
|
|
9203
9024
|
|
9204
9025
|
|
9205
|
-
|
9206
|
-
|
9207
|
-
|
9208
|
-
|
9209
|
-
|
9210
|
-
|
9211
9026
|
# resource path
|
9212
9027
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekId}/schedules/partialupload".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekId' + '}', week_id.to_s)
|
9213
9028
|
|
@@ -9229,7 +9044,7 @@ module PureCloud
|
|
9229
9044
|
form_params = {}
|
9230
9045
|
|
9231
9046
|
# http body (model)
|
9232
|
-
post_body =
|
9047
|
+
post_body = nil
|
9233
9048
|
|
9234
9049
|
auth_names = ['PureCloud OAuth']
|
9235
9050
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -9237,8 +9052,7 @@ module PureCloud
|
|
9237
9052
|
:query_params => query_params,
|
9238
9053
|
:form_params => form_params,
|
9239
9054
|
:body => post_body,
|
9240
|
-
:auth_names => auth_names
|
9241
|
-
:return_type => 'PartialUploadResponse')
|
9055
|
+
:auth_names => auth_names)
|
9242
9056
|
if @api_client.config.debugging
|
9243
9057
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_schedules_partialupload\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9244
9058
|
end
|
@@ -9604,30 +9418,26 @@ module PureCloud
|
|
9604
9418
|
return data, status_code, headers
|
9605
9419
|
end
|
9606
9420
|
|
9607
|
-
#
|
9421
|
+
# Gone. Use equivalent business unit resource instead
|
9608
9422
|
#
|
9609
|
-
# @param management_unit_id The
|
9610
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
9611
|
-
# @param forecast_id The ID of the forecast
|
9612
|
-
# @param body body
|
9423
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
9424
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
9425
|
+
# @param forecast_id (Gone/Deprecated): The ID of the forecast
|
9613
9426
|
# @param [Hash] opts the optional parameters
|
9614
|
-
# @
|
9615
|
-
|
9616
|
-
|
9617
|
-
|
9618
|
-
return data
|
9427
|
+
# @return [nil]
|
9428
|
+
def post_workforcemanagement_managementunit_week_shorttermforecast_copy(management_unit_id, week_date_id, forecast_id, opts = {})
|
9429
|
+
post_workforcemanagement_managementunit_week_shorttermforecast_copy_with_http_info(management_unit_id, week_date_id, forecast_id, opts)
|
9430
|
+
return nil
|
9619
9431
|
end
|
9620
9432
|
|
9621
|
-
#
|
9433
|
+
# Gone. Use equivalent business unit resource instead
|
9622
9434
|
#
|
9623
|
-
# @param management_unit_id The
|
9624
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
9625
|
-
# @param forecast_id The ID of the forecast
|
9626
|
-
# @param body body
|
9435
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
9436
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
9437
|
+
# @param forecast_id (Gone/Deprecated): The ID of the forecast
|
9627
9438
|
# @param [Hash] opts the optional parameters
|
9628
|
-
# @
|
9629
|
-
|
9630
|
-
def post_workforcemanagement_managementunit_week_shorttermforecast_copy_with_http_info(management_unit_id, week_date_id, forecast_id, body, opts = {})
|
9439
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
9440
|
+
def post_workforcemanagement_managementunit_week_shorttermforecast_copy_with_http_info(management_unit_id, week_date_id, forecast_id, opts = {})
|
9631
9441
|
if @api_client.config.debugging
|
9632
9442
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecast_copy ..."
|
9633
9443
|
end
|
@@ -9656,26 +9466,11 @@ module PureCloud
|
|
9656
9466
|
|
9657
9467
|
|
9658
9468
|
|
9659
|
-
|
9660
|
-
# verify the required parameter 'body' is set
|
9661
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecast_copy" if body.nil?
|
9662
|
-
|
9663
|
-
|
9664
|
-
|
9665
|
-
|
9666
|
-
|
9667
|
-
|
9668
|
-
|
9669
|
-
|
9670
|
-
|
9671
|
-
|
9672
|
-
|
9673
9469
|
# resource path
|
9674
9470
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/copy".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekDateId' + '}', week_date_id.to_s).sub('{' + 'forecastId' + '}', forecast_id.to_s)
|
9675
9471
|
|
9676
9472
|
# query parameters
|
9677
9473
|
query_params = {}
|
9678
|
-
query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
|
9679
9474
|
|
9680
9475
|
# header parameters
|
9681
9476
|
header_params = {}
|
@@ -9692,7 +9487,7 @@ module PureCloud
|
|
9692
9487
|
form_params = {}
|
9693
9488
|
|
9694
9489
|
# http body (model)
|
9695
|
-
post_body =
|
9490
|
+
post_body = nil
|
9696
9491
|
|
9697
9492
|
auth_names = ['PureCloud OAuth']
|
9698
9493
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -9700,36 +9495,31 @@ module PureCloud
|
|
9700
9495
|
:query_params => query_params,
|
9701
9496
|
:form_params => form_params,
|
9702
9497
|
:body => post_body,
|
9703
|
-
:auth_names => auth_names
|
9704
|
-
:return_type => 'ShortTermForecastResponse')
|
9498
|
+
:auth_names => auth_names)
|
9705
9499
|
if @api_client.config.debugging
|
9706
9500
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_shorttermforecast_copy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9707
9501
|
end
|
9708
9502
|
return data, status_code, headers
|
9709
9503
|
end
|
9710
9504
|
|
9711
|
-
#
|
9505
|
+
# Gone. Use equivalent business unit resource instead
|
9712
9506
|
#
|
9713
|
-
# @param management_unit_id The
|
9714
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
9715
|
-
# @param body body
|
9507
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
9508
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
9716
9509
|
# @param [Hash] opts the optional parameters
|
9717
|
-
# @
|
9718
|
-
|
9719
|
-
|
9720
|
-
|
9721
|
-
return data
|
9510
|
+
# @return [nil]
|
9511
|
+
def post_workforcemanagement_managementunit_week_shorttermforecasts(management_unit_id, week_date_id, opts = {})
|
9512
|
+
post_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, opts)
|
9513
|
+
return nil
|
9722
9514
|
end
|
9723
9515
|
|
9724
|
-
#
|
9516
|
+
# Gone. Use equivalent business unit resource instead
|
9725
9517
|
#
|
9726
|
-
# @param management_unit_id The
|
9727
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
9728
|
-
# @param body body
|
9518
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
9519
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
9729
9520
|
# @param [Hash] opts the optional parameters
|
9730
|
-
# @
|
9731
|
-
|
9732
|
-
def post_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, body, opts = {})
|
9521
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
9522
|
+
def post_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, opts = {})
|
9733
9523
|
if @api_client.config.debugging
|
9734
9524
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts ..."
|
9735
9525
|
end
|
@@ -9750,26 +9540,11 @@ module PureCloud
|
|
9750
9540
|
|
9751
9541
|
|
9752
9542
|
|
9753
|
-
|
9754
|
-
# verify the required parameter 'body' is set
|
9755
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts" if body.nil?
|
9756
|
-
|
9757
|
-
|
9758
|
-
|
9759
|
-
|
9760
|
-
|
9761
|
-
|
9762
|
-
|
9763
|
-
|
9764
|
-
|
9765
|
-
|
9766
|
-
|
9767
9543
|
# resource path
|
9768
9544
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shorttermforecasts".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekDateId' + '}', week_date_id.to_s)
|
9769
9545
|
|
9770
9546
|
# query parameters
|
9771
9547
|
query_params = {}
|
9772
|
-
query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
|
9773
9548
|
|
9774
9549
|
# header parameters
|
9775
9550
|
header_params = {}
|
@@ -9786,7 +9561,7 @@ module PureCloud
|
|
9786
9561
|
form_params = {}
|
9787
9562
|
|
9788
9563
|
# http body (model)
|
9789
|
-
post_body =
|
9564
|
+
post_body = nil
|
9790
9565
|
|
9791
9566
|
auth_names = ['PureCloud OAuth']
|
9792
9567
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -9794,36 +9569,31 @@ module PureCloud
|
|
9794
9569
|
:query_params => query_params,
|
9795
9570
|
:form_params => form_params,
|
9796
9571
|
:body => post_body,
|
9797
|
-
:auth_names => auth_names
|
9798
|
-
:return_type => 'ShortTermForecastResponse')
|
9572
|
+
:auth_names => auth_names)
|
9799
9573
|
if @api_client.config.debugging
|
9800
9574
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_shorttermforecasts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9801
9575
|
end
|
9802
9576
|
return data, status_code, headers
|
9803
9577
|
end
|
9804
9578
|
|
9805
|
-
#
|
9579
|
+
# Gone. Use equivalent business unit resource instead
|
9806
9580
|
#
|
9807
|
-
# @param management_unit_id The
|
9808
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
9809
|
-
# @param body
|
9581
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
9582
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
9810
9583
|
# @param [Hash] opts the optional parameters
|
9811
|
-
# @
|
9812
|
-
|
9813
|
-
|
9814
|
-
|
9815
|
-
return data
|
9584
|
+
# @return [nil]
|
9585
|
+
def post_workforcemanagement_managementunit_week_shorttermforecasts_generate(management_unit_id, week_date_id, opts = {})
|
9586
|
+
post_workforcemanagement_managementunit_week_shorttermforecasts_generate_with_http_info(management_unit_id, week_date_id, opts)
|
9587
|
+
return nil
|
9816
9588
|
end
|
9817
9589
|
|
9818
|
-
#
|
9590
|
+
# Gone. Use equivalent business unit resource instead
|
9819
9591
|
#
|
9820
|
-
# @param management_unit_id The
|
9821
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
9822
|
-
# @param body
|
9592
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
9593
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
9823
9594
|
# @param [Hash] opts the optional parameters
|
9824
|
-
# @
|
9825
|
-
|
9826
|
-
def post_workforcemanagement_managementunit_week_shorttermforecasts_generate_with_http_info(management_unit_id, week_date_id, body, opts = {})
|
9595
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
9596
|
+
def post_workforcemanagement_managementunit_week_shorttermforecasts_generate_with_http_info(management_unit_id, week_date_id, opts = {})
|
9827
9597
|
if @api_client.config.debugging
|
9828
9598
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts_generate ..."
|
9829
9599
|
end
|
@@ -9844,26 +9614,11 @@ module PureCloud
|
|
9844
9614
|
|
9845
9615
|
|
9846
9616
|
|
9847
|
-
|
9848
|
-
# verify the required parameter 'body' is set
|
9849
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts_generate" if body.nil?
|
9850
|
-
|
9851
|
-
|
9852
|
-
|
9853
|
-
|
9854
|
-
|
9855
|
-
|
9856
|
-
|
9857
|
-
|
9858
|
-
|
9859
|
-
|
9860
|
-
|
9861
9617
|
# resource path
|
9862
9618
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shorttermforecasts/generate".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekDateId' + '}', week_date_id.to_s)
|
9863
9619
|
|
9864
9620
|
# query parameters
|
9865
9621
|
query_params = {}
|
9866
|
-
query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
|
9867
9622
|
|
9868
9623
|
# header parameters
|
9869
9624
|
header_params = {}
|
@@ -9880,7 +9635,7 @@ module PureCloud
|
|
9880
9635
|
form_params = {}
|
9881
9636
|
|
9882
9637
|
# http body (model)
|
9883
|
-
post_body =
|
9638
|
+
post_body = nil
|
9884
9639
|
|
9885
9640
|
auth_names = ['PureCloud OAuth']
|
9886
9641
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -9888,34 +9643,31 @@ module PureCloud
|
|
9888
9643
|
:query_params => query_params,
|
9889
9644
|
:form_params => form_params,
|
9890
9645
|
:body => post_body,
|
9891
|
-
:auth_names => auth_names
|
9892
|
-
:return_type => 'GenerateShortTermForecastResponse')
|
9646
|
+
:auth_names => auth_names)
|
9893
9647
|
if @api_client.config.debugging
|
9894
9648
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_shorttermforecasts_generate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9895
9649
|
end
|
9896
9650
|
return data, status_code, headers
|
9897
9651
|
end
|
9898
9652
|
|
9899
|
-
#
|
9653
|
+
# Gone. Use equivalent business unit resource instead
|
9900
9654
|
#
|
9901
|
-
# @param management_unit_id The
|
9902
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
9903
|
-
# @param body body
|
9655
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
9656
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
9904
9657
|
# @param [Hash] opts the optional parameters
|
9905
|
-
# @return [
|
9906
|
-
def post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload(management_unit_id, week_date_id,
|
9907
|
-
|
9908
|
-
return
|
9658
|
+
# @return [nil]
|
9659
|
+
def post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload(management_unit_id, week_date_id, opts = {})
|
9660
|
+
post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload_with_http_info(management_unit_id, week_date_id, opts)
|
9661
|
+
return nil
|
9909
9662
|
end
|
9910
9663
|
|
9911
|
-
#
|
9664
|
+
# Gone. Use equivalent business unit resource instead
|
9912
9665
|
#
|
9913
|
-
# @param management_unit_id The
|
9914
|
-
# @param week_date_id The week start date of the forecast in yyyy-MM-dd format
|
9915
|
-
# @param body body
|
9666
|
+
# @param management_unit_id (Deprecated/gone): The id of the management unit.
|
9667
|
+
# @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
|
9916
9668
|
# @param [Hash] opts the optional parameters
|
9917
|
-
# @return [Array<(
|
9918
|
-
def post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload_with_http_info(management_unit_id, week_date_id,
|
9669
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
9670
|
+
def post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload_with_http_info(management_unit_id, week_date_id, opts = {})
|
9919
9671
|
if @api_client.config.debugging
|
9920
9672
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload ..."
|
9921
9673
|
end
|
@@ -9936,14 +9688,6 @@ module PureCloud
|
|
9936
9688
|
|
9937
9689
|
|
9938
9690
|
|
9939
|
-
|
9940
|
-
# verify the required parameter 'body' is set
|
9941
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload" if body.nil?
|
9942
|
-
|
9943
|
-
|
9944
|
-
|
9945
|
-
|
9946
|
-
|
9947
9691
|
# resource path
|
9948
9692
|
local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shorttermforecasts/partialupload".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekDateId' + '}', week_date_id.to_s)
|
9949
9693
|
|
@@ -9965,7 +9709,7 @@ module PureCloud
|
|
9965
9709
|
form_params = {}
|
9966
9710
|
|
9967
9711
|
# http body (model)
|
9968
|
-
post_body =
|
9712
|
+
post_body = nil
|
9969
9713
|
|
9970
9714
|
auth_names = ['PureCloud OAuth']
|
9971
9715
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
@@ -9973,8 +9717,7 @@ module PureCloud
|
|
9973
9717
|
:query_params => query_params,
|
9974
9718
|
:form_params => form_params,
|
9975
9719
|
:body => post_body,
|
9976
|
-
:auth_names => auth_names
|
9977
|
-
:return_type => 'PartialUploadResponse')
|
9720
|
+
:auth_names => auth_names)
|
9978
9721
|
if @api_client.config.debugging
|
9979
9722
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9980
9723
|
end
|