purecloud 0.54.1 → 0.55.1
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 +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/ADFS.html.md +1 -1
- data/doc_out/AgentActivityEntityListing.html.md +2 -2
- data/doc_out/AggregationQuery.html.md +1 -0
- data/doc_out/AnalyticsParticipant.html.md +2 -0
- data/doc_out/AnalyticsQueryClause.html.md +2 -2
- data/doc_out/AnalyticsQueryFilter.html.md +1 -1
- data/doc_out/AttemptLimitsEntityListing.html.md +2 -2
- data/doc_out/AttributeEntityListing.html.md +2 -2
- data/doc_out/AuthorizationApi.html.md +2 -2
- data/doc_out/CalibrationEntityListing.html.md +2 -2
- data/doc_out/CallConversationEntityListing.html.md +2 -2
- data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
- data/doc_out/CallbackConversationEntityListing.html.md +2 -2
- data/doc_out/CampaignEntityListing.html.md +2 -2
- data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
- data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
- data/doc_out/ChannelEntityListing.html.md +2 -2
- data/doc_out/ChatConversationEntityListing.html.md +2 -2
- data/doc_out/CobrowseConversationEntityListing.html.md +2 -2
- data/doc_out/CommandStatusEntityListing.html.md +2 -2
- data/doc_out/ContactListEntityListing.html.md +2 -2
- data/doc_out/ConversationEntityListing.html.md +2 -2
- data/doc_out/ConversationsApi.html.md +65 -0
- data/doc_out/CustomerInteractionCenter.html.md +1 -1
- data/doc_out/DIDEntityListing.html.md +2 -2
- data/doc_out/DIDPoolEntityListing.html.md +2 -2
- data/doc_out/DncListEntityListing.html.md +2 -2
- data/doc_out/DocumentAuditEntityListing.html.md +2 -2
- data/doc_out/DocumentEntityListing.html.md +2 -2
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListingEvaluationForm.html.md +2 -2
- data/doc_out/DomainEntityListingQueryResult.html.md +2 -2
- data/doc_out/DomainOrganizationRole.html.md +2 -2
- data/doc_out/DomainOrganizationRoleCreate.html.md +2 -2
- data/doc_out/DomainOrganizationRoleUpdate.html.md +23 -0
- data/doc_out/EdgeEntityListing.html.md +2 -2
- data/doc_out/EdgeGroupEntityListing.html.md +2 -2
- data/doc_out/EdgeLineEntityListing.html.md +2 -2
- data/doc_out/EmailConversationEntityListing.html.md +2 -2
- data/doc_out/EmailMessageListing.html.md +2 -2
- data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
- data/doc_out/EndpointEntityListing.html.md +2 -2
- data/doc_out/EvaluationEntityListing.html.md +2 -2
- data/doc_out/EvaluationFormEntityListing.html.md +2 -2
- data/doc_out/EvaluatorActivityEntityListing.html.md +2 -2
- data/doc_out/ExtensionEntityListing.html.md +2 -2
- data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
- data/doc_out/FaxDocumentEntityListing.html.md +2 -2
- data/doc_out/FieldConfig.html.md +20 -0
- data/doc_out/FieldList.html.md +21 -0
- data/doc_out/Forecast.html.md +16 -0
- data/doc_out/ForecastCreation.html.md +17 -0
- data/doc_out/ForecastCreationCompletion.html.md +14 -0
- data/doc_out/ForecastDimensions.html.md +15 -0
- data/doc_out/ForecastEntry.html.md +15 -0
- data/doc_out/ForecastFilterAttributes.html.md +15 -0
- data/doc_out/ForecastMetadata.html.md +22 -0
- data/doc_out/ForecastMetadataEntityListing.html.md +22 -0
- data/doc_out/ForecastModification.html.md +27 -0
- data/doc_out/ForecastModificationCreation.html.md +25 -0
- data/doc_out/ForecastSearchCriteria.html.md +20 -0
- data/doc_out/ForecastSearchRequest.html.md +20 -0
- data/doc_out/GroupEntityListing.html.md +2 -2
- data/doc_out/GroupsApi.html.md +57 -0
- data/doc_out/HeartBeatAlertContainer.html.md +2 -2
- data/doc_out/HeartBeatRuleContainer.html.md +2 -2
- data/doc_out/InboundDomainEntityListing.html.md +2 -2
- data/doc_out/InboundRouteEntityListing.html.md +2 -2
- data/doc_out/InteractionStatsAlertContainer.html.md +2 -2
- data/doc_out/InteractionStatsRuleContainer.html.md +2 -2
- data/doc_out/JsonNode.html.md +4 -4
- data/doc_out/KeywordSetEntityListing.html.md +2 -2
- data/doc_out/LanguageEntityListing.html.md +2 -2
- data/doc_out/LibraryEntityListing.html.md +2 -2
- data/doc_out/LineBaseEntityListing.html.md +2 -2
- data/doc_out/LineEntityListing.html.md +2 -2
- data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/OAuthClientEntityListing.html.md +2 -2
- data/doc_out/OAuthProviderEntityListing.html.md +2 -2
- data/doc_out/ObservationQuery.html.md +1 -1
- data/doc_out/Okta.html.md +1 -1
- data/doc_out/OneLogin.html.md +1 -1
- data/doc_out/OrganizationApi.html.md +57 -0
- data/doc_out/OrganizationPresenceEntityListing.html.md +2 -2
- data/doc_out/OrganizationRoleEntityListing.html.md +2 -2
- data/doc_out/OrphanRecordingListing.html.md +2 -2
- data/doc_out/OutboundRouteEntityListing.html.md +2 -2
- data/doc_out/PagingSpec.html.md +2 -2
- data/doc_out/PermissionCollectionEntityListing.html.md +2 -2
- data/doc_out/Phone.html.md +1 -0
- data/doc_out/PhoneBaseEntityListing.html.md +2 -2
- data/doc_out/PhoneEntityListing.html.md +2 -2
- data/doc_out/PhoneMetaBaseEntityListing.html.md +2 -2
- data/doc_out/PhoneStatus.html.md +1 -0
- data/doc_out/PhysicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/PolicyEntityListing.html.md +2 -2
- data/doc_out/PropertyIndexRequest.html.md +2 -2
- data/doc_out/QualityAuditPage.html.md +2 -2
- data/doc_out/QueueEntityListing.html.md +2 -2
- data/doc_out/QueueMemberEntityListing.html.md +2 -2
- data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
- data/doc_out/ReportScheduleEntityListing.html.md +2 -2
- data/doc_out/ResponseEntityList.html.md +2 -2
- data/doc_out/ResponseEntityListing.html.md +2 -2
- data/doc_out/ResponseSetEntityListing.html.md +2 -2
- data/doc_out/RuleSetEntityListing.html.md +2 -2
- data/doc_out/Salesforce.html.md +1 -1
- data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
- data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
- data/doc_out/ScreenRecordingSessionListing.html.md +2 -2
- data/doc_out/Section.html.md +16 -0
- data/doc_out/SecurityProfileEntityListing.html.md +2 -2
- data/doc_out/ShareEntityListing.html.md +2 -2
- data/doc_out/SiteEntityListing.html.md +2 -2
- data/doc_out/SkillEntityListing.html.md +2 -2
- data/doc_out/SocialExpression.html.md +1 -1
- data/doc_out/StationEntityListing.html.md +2 -2
- data/doc_out/TagValueEntityListing.html.md +2 -2
- data/doc_out/TelephonyProvidersEdgeApi.html.md +2 -2
- data/doc_out/TimeZoneEntityListing.html.md +2 -2
- data/doc_out/TrunkBaseEntityListing.html.md +22 -0
- data/doc_out/TrunkEntityListing.html.md +2 -2
- data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
- data/doc_out/UserAgentInfo.html.md +15 -0
- data/doc_out/UserEntityListing.html.md +2 -2
- data/doc_out/UserQueueEntityListing.html.md +2 -2
- data/doc_out/UserRecordingEntityListing.html.md +2 -2
- data/doc_out/UserSkillEntityListing.html.md +2 -2
- data/doc_out/UsersApi.html.md +57 -0
- data/doc_out/UsersEntityListing.html.md +2 -2
- data/doc_out/WorkforceManagementApi.html.md +463 -0
- data/doc_out/Workspace.html.md +1 -1
- data/doc_out/WorkspaceEntityListing.html.md +2 -2
- data/doc_out/WorkspaceMember.html.md +1 -1
- data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
- data/doc_out/WrapupCodeEntityListing.html.md +2 -2
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +18 -0
- data/lib/purecloud/api/conversations_api.rb +74 -0
- data/lib/purecloud/api/groups_api.rb +64 -0
- data/lib/purecloud/api/organization_api.rb +64 -0
- data/lib/purecloud/api/telephony_providers_edge_api.rb +3 -3
- data/lib/purecloud/api/users_api.rb +64 -0
- data/lib/purecloud/api/workforce_management_api.rb +493 -0
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/adfs.rb +11 -11
- data/lib/purecloud/models/agent_activity_entity_listing.rb +21 -21
- data/lib/purecloud/models/aggregation_query.rb +12 -1
- data/lib/purecloud/models/analytics_participant.rb +21 -1
- data/lib/purecloud/models/analytics_query_clause.rb +1 -0
- data/lib/purecloud/models/analytics_query_filter.rb +1 -0
- data/lib/purecloud/models/analytics_query_predicate.rb +1 -1
- data/lib/purecloud/models/analytics_session.rb +1 -1
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +21 -21
- data/lib/purecloud/models/attribute_entity_listing.rb +21 -21
- data/lib/purecloud/models/calibration_entity_listing.rb +21 -21
- data/lib/purecloud/models/call_conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +21 -21
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/campaign_entity_listing.rb +21 -21
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +21 -21
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +21 -21
- data/lib/purecloud/models/channel_entity_listing.rb +21 -21
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/command_status_entity_listing.rb +21 -21
- data/lib/purecloud/models/contact_list_entity_listing.rb +21 -21
- data/lib/purecloud/models/conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/customer_interaction_center.rb +11 -11
- data/lib/purecloud/models/did_entity_listing.rb +21 -21
- data/lib/purecloud/models/did_pool_entity_listing.rb +21 -21
- data/lib/purecloud/models/dnc_list_entity_listing.rb +21 -21
- data/lib/purecloud/models/document_audit_entity_listing.rb +21 -21
- data/lib/purecloud/models/document_entity_listing.rb +21 -21
- data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +21 -21
- data/lib/purecloud/models/domain_entity_listing.rb +21 -21
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +21 -21
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +21 -21
- data/lib/purecloud/models/domain_organization_role.rb +14 -13
- data/lib/purecloud/models/domain_organization_role_create.rb +14 -13
- data/lib/purecloud/models/domain_organization_role_update.rb +279 -0
- data/lib/purecloud/models/edge_entity_listing.rb +21 -21
- data/lib/purecloud/models/edge_group_entity_listing.rb +21 -21
- data/lib/purecloud/models/edge_line_entity_listing.rb +21 -21
- data/lib/purecloud/models/email_conversation_entity_listing.rb +21 -21
- data/lib/purecloud/models/email_message_listing.rb +21 -21
- data/lib/purecloud/models/encryption_key_entity_listing.rb +21 -21
- data/lib/purecloud/models/endpoint_entity_listing.rb +21 -21
- data/lib/purecloud/models/evaluation_entity_listing.rb +21 -21
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +21 -21
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +21 -21
- data/lib/purecloud/models/extension_entity_listing.rb +21 -21
- data/lib/purecloud/models/extension_pool_entity_listing.rb +21 -21
- data/lib/purecloud/models/fax_document_entity_listing.rb +21 -21
- data/lib/purecloud/models/field_config.rb +248 -0
- data/lib/purecloud/models/field_list.rb +255 -0
- data/lib/purecloud/models/forecast.rb +201 -0
- data/lib/purecloud/models/forecast_creation.rb +221 -0
- data/lib/purecloud/models/forecast_creation_completion.rb +186 -0
- data/lib/purecloud/models/forecast_dimensions.rb +197 -0
- data/lib/purecloud/models/forecast_entry.rb +199 -0
- data/lib/purecloud/models/forecast_filter_attributes.rb +191 -0
- data/lib/purecloud/models/forecast_metadata.rb +284 -0
- data/lib/purecloud/models/forecast_metadata_entity_listing.rb +257 -0
- data/lib/purecloud/models/forecast_modification.rb +339 -0
- data/lib/purecloud/models/forecast_modification_creation.rb +317 -0
- data/lib/purecloud/models/forecast_search_criteria.rb +267 -0
- data/lib/purecloud/models/forecast_search_request.rb +259 -0
- data/lib/purecloud/models/group_entity_listing.rb +21 -21
- data/lib/purecloud/models/heart_beat_alert_container.rb +21 -21
- data/lib/purecloud/models/heart_beat_rule_container.rb +21 -21
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +21 -21
- data/lib/purecloud/models/inbound_route_entity_listing.rb +21 -21
- data/lib/purecloud/models/interaction_stats_alert_container.rb +21 -21
- data/lib/purecloud/models/interaction_stats_rule_container.rb +21 -21
- data/lib/purecloud/models/json_node.rb +44 -44
- data/lib/purecloud/models/keyword_set_entity_listing.rb +21 -21
- data/lib/purecloud/models/language_entity_listing.rb +21 -21
- data/lib/purecloud/models/library_entity_listing.rb +21 -21
- data/lib/purecloud/models/line_base_entity_listing.rb +21 -21
- data/lib/purecloud/models/line_entity_listing.rb +21 -21
- data/lib/purecloud/models/logical_interface_entity_listing.rb +21 -21
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +21 -21
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +21 -21
- data/lib/purecloud/models/okta.rb +11 -11
- data/lib/purecloud/models/one_login.rb +11 -11
- data/lib/purecloud/models/organization_presence_entity_listing.rb +21 -21
- data/lib/purecloud/models/organization_role_entity_listing.rb +21 -21
- data/lib/purecloud/models/orphan_recording_listing.rb +21 -21
- data/lib/purecloud/models/outbound_route_entity_listing.rb +21 -21
- data/lib/purecloud/models/permission_collection_entity_listing.rb +21 -21
- data/lib/purecloud/models/phone.rb +12 -1
- data/lib/purecloud/models/phone_base_entity_listing.rb +21 -21
- data/lib/purecloud/models/phone_entity_listing.rb +21 -21
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +21 -21
- data/lib/purecloud/models/phone_status.rb +12 -1
- data/lib/purecloud/models/physical_interface_entity_listing.rb +21 -21
- data/lib/purecloud/models/policy_entity_listing.rb +21 -21
- data/lib/purecloud/models/property_index_request.rb +9 -9
- data/lib/purecloud/models/quality_audit_page.rb +21 -21
- data/lib/purecloud/models/queue_entity_listing.rb +21 -21
- data/lib/purecloud/models/queue_member_entity_listing.rb +21 -21
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +21 -21
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +21 -21
- data/lib/purecloud/models/report_schedule_entity_listing.rb +21 -21
- data/lib/purecloud/models/response_entity_list.rb +21 -21
- data/lib/purecloud/models/response_entity_listing.rb +21 -21
- data/lib/purecloud/models/response_set_entity_listing.rb +21 -21
- data/lib/purecloud/models/rule_set_entity_listing.rb +21 -21
- data/lib/purecloud/models/salesforce.rb +11 -11
- data/lib/purecloud/models/schema_category_entity_listing.rb +21 -21
- data/lib/purecloud/models/schema_reference_entity_listing.rb +21 -21
- data/lib/purecloud/models/screen_recording_session_listing.rb +21 -21
- data/lib/purecloud/models/section.rb +197 -0
- data/lib/purecloud/models/security_profile_entity_listing.rb +21 -21
- data/lib/purecloud/models/share_entity_listing.rb +21 -21
- data/lib/purecloud/models/site_entity_listing.rb +21 -21
- data/lib/purecloud/models/skill_entity_listing.rb +21 -21
- data/lib/purecloud/models/social_expression.rb +1 -1
- data/lib/purecloud/models/station_entity_listing.rb +21 -21
- data/lib/purecloud/models/tag_value_entity_listing.rb +21 -21
- data/lib/purecloud/models/time_zone_entity_listing.rb +21 -21
- data/lib/purecloud/models/trunk_base_entity_listing.rb +257 -0
- data/lib/purecloud/models/trunk_entity_listing.rb +21 -21
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +21 -21
- data/lib/purecloud/models/user_agent_info.rb +188 -0
- data/lib/purecloud/models/user_entity_listing.rb +21 -21
- data/lib/purecloud/models/user_queue_entity_listing.rb +21 -21
- data/lib/purecloud/models/user_recording_entity_listing.rb +21 -21
- data/lib/purecloud/models/user_skill_entity_listing.rb +21 -21
- data/lib/purecloud/models/users_entity_listing.rb +21 -21
- data/lib/purecloud/models/workspace.rb +1 -0
- data/lib/purecloud/models/workspace_entity_listing.rb +21 -21
- data/lib/purecloud/models/workspace_member.rb +1 -0
- data/lib/purecloud/models/workspace_member_entity_listing.rb +21 -21
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +21 -21
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +38 -2
|
@@ -24,6 +24,129 @@ module PureCloud
|
|
|
24
24
|
@api_client = api_client
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
# Delete a forecast
|
|
28
|
+
#
|
|
29
|
+
# @param forecast_id The forecast id
|
|
30
|
+
# @param [Hash] opts the optional parameters
|
|
31
|
+
# @return [nil]
|
|
32
|
+
def delete_longtermforecasts_forecast_id(forecast_id, opts = {})
|
|
33
|
+
delete_longtermforecasts_forecast_id_with_http_info(forecast_id, opts)
|
|
34
|
+
return nil
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Delete a forecast
|
|
38
|
+
#
|
|
39
|
+
# @param forecast_id The forecast id
|
|
40
|
+
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
42
|
+
def delete_longtermforecasts_forecast_id_with_http_info(forecast_id, opts = {})
|
|
43
|
+
if @api_client.config.debugging
|
|
44
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#delete_longtermforecasts_forecast_id ..."
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# verify the required parameter 'forecast_id' is set
|
|
48
|
+
fail "Missing the required parameter 'forecast_id' when calling delete_longtermforecasts_forecast_id" if forecast_id.nil?
|
|
49
|
+
|
|
50
|
+
# resource path
|
|
51
|
+
local_var_path = "/api/v2/workforcemanagement/longtermforecasts/{forecastId}".sub('{format}','json').sub('{' + 'forecastId' + '}', forecast_id.to_s)
|
|
52
|
+
|
|
53
|
+
# query parameters
|
|
54
|
+
query_params = {}
|
|
55
|
+
|
|
56
|
+
# header parameters
|
|
57
|
+
header_params = {}
|
|
58
|
+
|
|
59
|
+
# HTTP header 'Accept' (if needed)
|
|
60
|
+
_header_accept = ['application/json']
|
|
61
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
62
|
+
|
|
63
|
+
# HTTP header 'Content-Type'
|
|
64
|
+
_header_content_type = ['application/json']
|
|
65
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
66
|
+
|
|
67
|
+
# form parameters
|
|
68
|
+
form_params = {}
|
|
69
|
+
|
|
70
|
+
# http body (model)
|
|
71
|
+
post_body = nil
|
|
72
|
+
|
|
73
|
+
auth_names = ['PureCloud Auth']
|
|
74
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
75
|
+
:header_params => header_params,
|
|
76
|
+
:query_params => query_params,
|
|
77
|
+
:form_params => form_params,
|
|
78
|
+
:body => post_body,
|
|
79
|
+
:auth_names => auth_names)
|
|
80
|
+
if @api_client.config.debugging
|
|
81
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#delete_longtermforecasts_forecast_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
82
|
+
end
|
|
83
|
+
return data, status_code, headers
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Delete a forecast modification
|
|
87
|
+
#
|
|
88
|
+
# @param forecast_id The forecast id
|
|
89
|
+
# @param forecast_modification_id The forecast Modification id
|
|
90
|
+
# @param [Hash] opts the optional parameters
|
|
91
|
+
# @return [nil]
|
|
92
|
+
def delete_longtermforecasts_forecast_id_modifications_forecastmodification_id(forecast_id, forecast_modification_id, opts = {})
|
|
93
|
+
delete_longtermforecasts_forecast_id_modifications_forecastmodification_id_with_http_info(forecast_id, forecast_modification_id, opts)
|
|
94
|
+
return nil
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Delete a forecast modification
|
|
98
|
+
#
|
|
99
|
+
# @param forecast_id The forecast id
|
|
100
|
+
# @param forecast_modification_id The forecast Modification id
|
|
101
|
+
# @param [Hash] opts the optional parameters
|
|
102
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
103
|
+
def delete_longtermforecasts_forecast_id_modifications_forecastmodification_id_with_http_info(forecast_id, forecast_modification_id, opts = {})
|
|
104
|
+
if @api_client.config.debugging
|
|
105
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#delete_longtermforecasts_forecast_id_modifications_forecastmodification_id ..."
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# verify the required parameter 'forecast_id' is set
|
|
109
|
+
fail "Missing the required parameter 'forecast_id' when calling delete_longtermforecasts_forecast_id_modifications_forecastmodification_id" if forecast_id.nil?
|
|
110
|
+
|
|
111
|
+
# verify the required parameter 'forecast_modification_id' is set
|
|
112
|
+
fail "Missing the required parameter 'forecast_modification_id' when calling delete_longtermforecasts_forecast_id_modifications_forecastmodification_id" if forecast_modification_id.nil?
|
|
113
|
+
|
|
114
|
+
# resource path
|
|
115
|
+
local_var_path = "/api/v2/workforcemanagement/longtermforecasts/{forecastId}/modifications/{forecastModificationId}".sub('{format}','json').sub('{' + 'forecastId' + '}', forecast_id.to_s).sub('{' + 'forecastModificationId' + '}', forecast_modification_id.to_s)
|
|
116
|
+
|
|
117
|
+
# query parameters
|
|
118
|
+
query_params = {}
|
|
119
|
+
|
|
120
|
+
# header parameters
|
|
121
|
+
header_params = {}
|
|
122
|
+
|
|
123
|
+
# HTTP header 'Accept' (if needed)
|
|
124
|
+
_header_accept = ['application/json']
|
|
125
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
126
|
+
|
|
127
|
+
# HTTP header 'Content-Type'
|
|
128
|
+
_header_content_type = ['application/json']
|
|
129
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
130
|
+
|
|
131
|
+
# form parameters
|
|
132
|
+
form_params = {}
|
|
133
|
+
|
|
134
|
+
# http body (model)
|
|
135
|
+
post_body = nil
|
|
136
|
+
|
|
137
|
+
auth_names = ['PureCloud Auth']
|
|
138
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
139
|
+
:header_params => header_params,
|
|
140
|
+
:query_params => query_params,
|
|
141
|
+
:form_params => form_params,
|
|
142
|
+
:body => post_body,
|
|
143
|
+
:auth_names => auth_names)
|
|
144
|
+
if @api_client.config.debugging
|
|
145
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#delete_longtermforecasts_forecast_id_modifications_forecastmodification_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
146
|
+
end
|
|
147
|
+
return data, status_code, headers
|
|
148
|
+
end
|
|
149
|
+
|
|
27
150
|
# Get a list of UserScheduleAdherence records for the requested users
|
|
28
151
|
#
|
|
29
152
|
# @param user_id User Id(s) for which to fetch current schedule adherence information. Max of 100 userIds per request
|
|
@@ -84,5 +207,375 @@ module PureCloud
|
|
|
84
207
|
end
|
|
85
208
|
return data, status_code, headers
|
|
86
209
|
end
|
|
210
|
+
|
|
211
|
+
# Get forecast
|
|
212
|
+
#
|
|
213
|
+
# @param forecast_id The forecast id
|
|
214
|
+
# @param [Hash] opts the optional parameters
|
|
215
|
+
# @return [Forecast]
|
|
216
|
+
def get_longtermforecasts_forecast_id(forecast_id, opts = {})
|
|
217
|
+
data, status_code, headers = get_longtermforecasts_forecast_id_with_http_info(forecast_id, opts)
|
|
218
|
+
return data
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# Get forecast
|
|
222
|
+
#
|
|
223
|
+
# @param forecast_id The forecast id
|
|
224
|
+
# @param [Hash] opts the optional parameters
|
|
225
|
+
# @return [Array<(Forecast, Fixnum, Hash)>] Forecast data, response status code and response headers
|
|
226
|
+
def get_longtermforecasts_forecast_id_with_http_info(forecast_id, opts = {})
|
|
227
|
+
if @api_client.config.debugging
|
|
228
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#get_longtermforecasts_forecast_id ..."
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# verify the required parameter 'forecast_id' is set
|
|
232
|
+
fail "Missing the required parameter 'forecast_id' when calling get_longtermforecasts_forecast_id" if forecast_id.nil?
|
|
233
|
+
|
|
234
|
+
# resource path
|
|
235
|
+
local_var_path = "/api/v2/workforcemanagement/longtermforecasts/{forecastId}".sub('{format}','json').sub('{' + 'forecastId' + '}', forecast_id.to_s)
|
|
236
|
+
|
|
237
|
+
# query parameters
|
|
238
|
+
query_params = {}
|
|
239
|
+
|
|
240
|
+
# header parameters
|
|
241
|
+
header_params = {}
|
|
242
|
+
|
|
243
|
+
# HTTP header 'Accept' (if needed)
|
|
244
|
+
_header_accept = ['application/json']
|
|
245
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
246
|
+
|
|
247
|
+
# HTTP header 'Content-Type'
|
|
248
|
+
_header_content_type = ['application/json']
|
|
249
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
250
|
+
|
|
251
|
+
# form parameters
|
|
252
|
+
form_params = {}
|
|
253
|
+
|
|
254
|
+
# http body (model)
|
|
255
|
+
post_body = nil
|
|
256
|
+
|
|
257
|
+
auth_names = ['PureCloud Auth']
|
|
258
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
259
|
+
:header_params => header_params,
|
|
260
|
+
:query_params => query_params,
|
|
261
|
+
:form_params => form_params,
|
|
262
|
+
:body => post_body,
|
|
263
|
+
:auth_names => auth_names,
|
|
264
|
+
:return_type => 'Forecast')
|
|
265
|
+
if @api_client.config.debugging
|
|
266
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_longtermforecasts_forecast_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
267
|
+
end
|
|
268
|
+
return data, status_code, headers
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# Get forecast Modifications
|
|
272
|
+
#
|
|
273
|
+
# @param forecast_id The forecast id
|
|
274
|
+
# @param [Hash] opts the optional parameters
|
|
275
|
+
# @return [Array<ForecastModification>]
|
|
276
|
+
def get_longtermforecasts_forecast_id_modifications(forecast_id, opts = {})
|
|
277
|
+
data, status_code, headers = get_longtermforecasts_forecast_id_modifications_with_http_info(forecast_id, opts)
|
|
278
|
+
return data
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
# Get forecast Modifications
|
|
282
|
+
#
|
|
283
|
+
# @param forecast_id The forecast id
|
|
284
|
+
# @param [Hash] opts the optional parameters
|
|
285
|
+
# @return [Array<(Array<ForecastModification>, Fixnum, Hash)>] Array<ForecastModification> data, response status code and response headers
|
|
286
|
+
def get_longtermforecasts_forecast_id_modifications_with_http_info(forecast_id, opts = {})
|
|
287
|
+
if @api_client.config.debugging
|
|
288
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#get_longtermforecasts_forecast_id_modifications ..."
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
# verify the required parameter 'forecast_id' is set
|
|
292
|
+
fail "Missing the required parameter 'forecast_id' when calling get_longtermforecasts_forecast_id_modifications" if forecast_id.nil?
|
|
293
|
+
|
|
294
|
+
# resource path
|
|
295
|
+
local_var_path = "/api/v2/workforcemanagement/longtermforecasts/{forecastId}/modifications".sub('{format}','json').sub('{' + 'forecastId' + '}', forecast_id.to_s)
|
|
296
|
+
|
|
297
|
+
# query parameters
|
|
298
|
+
query_params = {}
|
|
299
|
+
|
|
300
|
+
# header parameters
|
|
301
|
+
header_params = {}
|
|
302
|
+
|
|
303
|
+
# HTTP header 'Accept' (if needed)
|
|
304
|
+
_header_accept = ['application/json']
|
|
305
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
306
|
+
|
|
307
|
+
# HTTP header 'Content-Type'
|
|
308
|
+
_header_content_type = ['application/json']
|
|
309
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
310
|
+
|
|
311
|
+
# form parameters
|
|
312
|
+
form_params = {}
|
|
313
|
+
|
|
314
|
+
# http body (model)
|
|
315
|
+
post_body = nil
|
|
316
|
+
|
|
317
|
+
auth_names = ['PureCloud Auth']
|
|
318
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
319
|
+
:header_params => header_params,
|
|
320
|
+
:query_params => query_params,
|
|
321
|
+
:form_params => form_params,
|
|
322
|
+
:body => post_body,
|
|
323
|
+
:auth_names => auth_names,
|
|
324
|
+
:return_type => 'Array<ForecastModification>')
|
|
325
|
+
if @api_client.config.debugging
|
|
326
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_longtermforecasts_forecast_id_modifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
327
|
+
end
|
|
328
|
+
return data, status_code, headers
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
# Create a forecast
|
|
332
|
+
#
|
|
333
|
+
# @param body The request body
|
|
334
|
+
# @param [Hash] opts the optional parameters
|
|
335
|
+
# @return [ForecastCreationCompletion]
|
|
336
|
+
def post_longtermforecasts(body, opts = {})
|
|
337
|
+
data, status_code, headers = post_longtermforecasts_with_http_info(body, opts)
|
|
338
|
+
return data
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
# Create a forecast
|
|
342
|
+
#
|
|
343
|
+
# @param body The request body
|
|
344
|
+
# @param [Hash] opts the optional parameters
|
|
345
|
+
# @return [Array<(ForecastCreationCompletion, Fixnum, Hash)>] ForecastCreationCompletion data, response status code and response headers
|
|
346
|
+
def post_longtermforecasts_with_http_info(body, opts = {})
|
|
347
|
+
if @api_client.config.debugging
|
|
348
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#post_longtermforecasts ..."
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# verify the required parameter 'body' is set
|
|
352
|
+
fail "Missing the required parameter 'body' when calling post_longtermforecasts" if body.nil?
|
|
353
|
+
|
|
354
|
+
# resource path
|
|
355
|
+
local_var_path = "/api/v2/workforcemanagement/longtermforecasts".sub('{format}','json')
|
|
356
|
+
|
|
357
|
+
# query parameters
|
|
358
|
+
query_params = {}
|
|
359
|
+
|
|
360
|
+
# header parameters
|
|
361
|
+
header_params = {}
|
|
362
|
+
|
|
363
|
+
# HTTP header 'Accept' (if needed)
|
|
364
|
+
_header_accept = ['application/json']
|
|
365
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
366
|
+
|
|
367
|
+
# HTTP header 'Content-Type'
|
|
368
|
+
_header_content_type = ['application/json']
|
|
369
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
370
|
+
|
|
371
|
+
# form parameters
|
|
372
|
+
form_params = {}
|
|
373
|
+
|
|
374
|
+
# http body (model)
|
|
375
|
+
post_body = @api_client.object_to_http_body(body)
|
|
376
|
+
|
|
377
|
+
auth_names = ['PureCloud Auth']
|
|
378
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
379
|
+
:header_params => header_params,
|
|
380
|
+
:query_params => query_params,
|
|
381
|
+
:form_params => form_params,
|
|
382
|
+
:body => post_body,
|
|
383
|
+
:auth_names => auth_names,
|
|
384
|
+
:return_type => 'ForecastCreationCompletion')
|
|
385
|
+
if @api_client.config.debugging
|
|
386
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_longtermforecasts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
387
|
+
end
|
|
388
|
+
return data, status_code, headers
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
# Create a forecast modification
|
|
392
|
+
#
|
|
393
|
+
# @param forecast_id The forecast id
|
|
394
|
+
# @param body The request body
|
|
395
|
+
# @param [Hash] opts the optional parameters
|
|
396
|
+
# @return [ForecastModificationCreation]
|
|
397
|
+
def post_longtermforecasts_forecast_id_modifications(forecast_id, body, opts = {})
|
|
398
|
+
data, status_code, headers = post_longtermforecasts_forecast_id_modifications_with_http_info(forecast_id, body, opts)
|
|
399
|
+
return data
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
# Create a forecast modification
|
|
403
|
+
#
|
|
404
|
+
# @param forecast_id The forecast id
|
|
405
|
+
# @param body The request body
|
|
406
|
+
# @param [Hash] opts the optional parameters
|
|
407
|
+
# @return [Array<(ForecastModificationCreation, Fixnum, Hash)>] ForecastModificationCreation data, response status code and response headers
|
|
408
|
+
def post_longtermforecasts_forecast_id_modifications_with_http_info(forecast_id, body, opts = {})
|
|
409
|
+
if @api_client.config.debugging
|
|
410
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#post_longtermforecasts_forecast_id_modifications ..."
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
# verify the required parameter 'forecast_id' is set
|
|
414
|
+
fail "Missing the required parameter 'forecast_id' when calling post_longtermforecasts_forecast_id_modifications" if forecast_id.nil?
|
|
415
|
+
|
|
416
|
+
# verify the required parameter 'body' is set
|
|
417
|
+
fail "Missing the required parameter 'body' when calling post_longtermforecasts_forecast_id_modifications" if body.nil?
|
|
418
|
+
|
|
419
|
+
# resource path
|
|
420
|
+
local_var_path = "/api/v2/workforcemanagement/longtermforecasts/{forecastId}/modifications".sub('{format}','json').sub('{' + 'forecastId' + '}', forecast_id.to_s)
|
|
421
|
+
|
|
422
|
+
# query parameters
|
|
423
|
+
query_params = {}
|
|
424
|
+
|
|
425
|
+
# header parameters
|
|
426
|
+
header_params = {}
|
|
427
|
+
|
|
428
|
+
# HTTP header 'Accept' (if needed)
|
|
429
|
+
_header_accept = ['application/json']
|
|
430
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
431
|
+
|
|
432
|
+
# HTTP header 'Content-Type'
|
|
433
|
+
_header_content_type = ['application/json']
|
|
434
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
435
|
+
|
|
436
|
+
# form parameters
|
|
437
|
+
form_params = {}
|
|
438
|
+
|
|
439
|
+
# http body (model)
|
|
440
|
+
post_body = @api_client.object_to_http_body(body)
|
|
441
|
+
|
|
442
|
+
auth_names = ['PureCloud Auth']
|
|
443
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
444
|
+
:header_params => header_params,
|
|
445
|
+
:query_params => query_params,
|
|
446
|
+
:form_params => form_params,
|
|
447
|
+
:body => post_body,
|
|
448
|
+
:auth_names => auth_names,
|
|
449
|
+
:return_type => 'ForecastModificationCreation')
|
|
450
|
+
if @api_client.config.debugging
|
|
451
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_longtermforecasts_forecast_id_modifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
452
|
+
end
|
|
453
|
+
return data, status_code, headers
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
# Search forecasts
|
|
457
|
+
#
|
|
458
|
+
# @param body
|
|
459
|
+
# @param [Hash] opts the optional parameters
|
|
460
|
+
# @return [ForecastMetadataEntityListing]
|
|
461
|
+
def post_longtermforecasts_search(body, opts = {})
|
|
462
|
+
data, status_code, headers = post_longtermforecasts_search_with_http_info(body, opts)
|
|
463
|
+
return data
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
# Search forecasts
|
|
467
|
+
#
|
|
468
|
+
# @param body
|
|
469
|
+
# @param [Hash] opts the optional parameters
|
|
470
|
+
# @return [Array<(ForecastMetadataEntityListing, Fixnum, Hash)>] ForecastMetadataEntityListing data, response status code and response headers
|
|
471
|
+
def post_longtermforecasts_search_with_http_info(body, opts = {})
|
|
472
|
+
if @api_client.config.debugging
|
|
473
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#post_longtermforecasts_search ..."
|
|
474
|
+
end
|
|
475
|
+
|
|
476
|
+
# verify the required parameter 'body' is set
|
|
477
|
+
fail "Missing the required parameter 'body' when calling post_longtermforecasts_search" if body.nil?
|
|
478
|
+
|
|
479
|
+
# resource path
|
|
480
|
+
local_var_path = "/api/v2/workforcemanagement/longtermforecasts/search".sub('{format}','json')
|
|
481
|
+
|
|
482
|
+
# query parameters
|
|
483
|
+
query_params = {}
|
|
484
|
+
|
|
485
|
+
# header parameters
|
|
486
|
+
header_params = {}
|
|
487
|
+
|
|
488
|
+
# HTTP header 'Accept' (if needed)
|
|
489
|
+
_header_accept = ['application/json']
|
|
490
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
491
|
+
|
|
492
|
+
# HTTP header 'Content-Type'
|
|
493
|
+
_header_content_type = ['application/json']
|
|
494
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
495
|
+
|
|
496
|
+
# form parameters
|
|
497
|
+
form_params = {}
|
|
498
|
+
|
|
499
|
+
# http body (model)
|
|
500
|
+
post_body = @api_client.object_to_http_body(body)
|
|
501
|
+
|
|
502
|
+
auth_names = ['PureCloud Auth']
|
|
503
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
504
|
+
:header_params => header_params,
|
|
505
|
+
:query_params => query_params,
|
|
506
|
+
:form_params => form_params,
|
|
507
|
+
:body => post_body,
|
|
508
|
+
:auth_names => auth_names,
|
|
509
|
+
:return_type => 'ForecastMetadataEntityListing')
|
|
510
|
+
if @api_client.config.debugging
|
|
511
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_longtermforecasts_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
512
|
+
end
|
|
513
|
+
return data, status_code, headers
|
|
514
|
+
end
|
|
515
|
+
|
|
516
|
+
# Update a forecast modification
|
|
517
|
+
#
|
|
518
|
+
# @param forecast_id The forecast id
|
|
519
|
+
# @param body The request body
|
|
520
|
+
# @param [Hash] opts the optional parameters
|
|
521
|
+
# @return [ForecastModification]
|
|
522
|
+
def put_longtermforecasts_forecast_id_modifications(forecast_id, body, opts = {})
|
|
523
|
+
data, status_code, headers = put_longtermforecasts_forecast_id_modifications_with_http_info(forecast_id, body, opts)
|
|
524
|
+
return data
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
# Update a forecast modification
|
|
528
|
+
#
|
|
529
|
+
# @param forecast_id The forecast id
|
|
530
|
+
# @param body The request body
|
|
531
|
+
# @param [Hash] opts the optional parameters
|
|
532
|
+
# @return [Array<(ForecastModification, Fixnum, Hash)>] ForecastModification data, response status code and response headers
|
|
533
|
+
def put_longtermforecasts_forecast_id_modifications_with_http_info(forecast_id, body, opts = {})
|
|
534
|
+
if @api_client.config.debugging
|
|
535
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#put_longtermforecasts_forecast_id_modifications ..."
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
# verify the required parameter 'forecast_id' is set
|
|
539
|
+
fail "Missing the required parameter 'forecast_id' when calling put_longtermforecasts_forecast_id_modifications" if forecast_id.nil?
|
|
540
|
+
|
|
541
|
+
# verify the required parameter 'body' is set
|
|
542
|
+
fail "Missing the required parameter 'body' when calling put_longtermforecasts_forecast_id_modifications" if body.nil?
|
|
543
|
+
|
|
544
|
+
# resource path
|
|
545
|
+
local_var_path = "/api/v2/workforcemanagement/longtermforecasts/{forecastId}/modifications".sub('{format}','json').sub('{' + 'forecastId' + '}', forecast_id.to_s)
|
|
546
|
+
|
|
547
|
+
# query parameters
|
|
548
|
+
query_params = {}
|
|
549
|
+
|
|
550
|
+
# header parameters
|
|
551
|
+
header_params = {}
|
|
552
|
+
|
|
553
|
+
# HTTP header 'Accept' (if needed)
|
|
554
|
+
_header_accept = ['application/json']
|
|
555
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
556
|
+
|
|
557
|
+
# HTTP header 'Content-Type'
|
|
558
|
+
_header_content_type = ['application/json']
|
|
559
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
560
|
+
|
|
561
|
+
# form parameters
|
|
562
|
+
form_params = {}
|
|
563
|
+
|
|
564
|
+
# http body (model)
|
|
565
|
+
post_body = @api_client.object_to_http_body(body)
|
|
566
|
+
|
|
567
|
+
auth_names = ['PureCloud Auth']
|
|
568
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
569
|
+
:header_params => header_params,
|
|
570
|
+
:query_params => query_params,
|
|
571
|
+
:form_params => form_params,
|
|
572
|
+
:body => post_body,
|
|
573
|
+
:auth_names => auth_names,
|
|
574
|
+
:return_type => 'ForecastModification')
|
|
575
|
+
if @api_client.config.debugging
|
|
576
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#put_longtermforecasts_forecast_id_modifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
577
|
+
end
|
|
578
|
+
return data, status_code, headers
|
|
579
|
+
end
|
|
87
580
|
end
|
|
88
581
|
end
|