freeclimb 2.2.0 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -1
- data/Gemfile +4 -2
- data/Gemfile.lock +41 -20
- data/README.md +35 -33
- data/docs/AccountRequest.md +9 -8
- data/docs/AccountResult.md +27 -26
- data/docs/AccountResultAllOf.md +19 -18
- data/docs/AddToConference.md +25 -24
- data/docs/AddToConferenceAllOf.md +25 -24
- data/docs/ApplicationList.md +21 -20
- data/docs/ApplicationListAllOf.md +7 -6
- data/docs/ApplicationRequest.md +19 -18
- data/docs/ApplicationResult.md +31 -30
- data/docs/ApplicationResultAllOf.md +23 -22
- data/docs/AvailableNumber.md +17 -16
- data/docs/AvailableNumberList.md +21 -20
- data/docs/AvailableNumberListAllOf.md +7 -6
- data/docs/BuyIncomingNumberRequest.md +11 -10
- data/docs/CallList.md +21 -20
- data/docs/CallListAllOf.md +7 -6
- data/docs/CallResult.md +43 -42
- data/docs/CallResultAllOf.md +35 -34
- data/docs/Capabilities.md +26 -0
- data/docs/ConferenceList.md +21 -20
- data/docs/ConferenceListAllOf.md +7 -6
- data/docs/ConferenceParticipantList.md +21 -20
- data/docs/ConferenceParticipantListAllOf.md +7 -6
- data/docs/ConferenceParticipantResult.md +25 -24
- data/docs/ConferenceParticipantResultAllOf.md +17 -16
- data/docs/ConferenceResult.md +33 -32
- data/docs/ConferenceResultAllOf.md +25 -24
- data/docs/CreateConference.md +17 -16
- data/docs/CreateConferenceAllOf.md +17 -16
- data/docs/CreateConferenceRequest.md +15 -14
- data/docs/DefaultApi.md +1672 -580
- data/docs/Dequeue.md +3 -4
- data/docs/Enqueue.md +13 -12
- data/docs/EnqueueAllOf.md +13 -12
- data/docs/FilterLogsRequest.md +7 -6
- data/docs/GetDigits.md +23 -22
- data/docs/GetDigitsAllOf.md +23 -22
- data/docs/GetSpeech.md +31 -30
- data/docs/GetSpeechAllOf.md +31 -30
- data/docs/Hangup.md +7 -6
- data/docs/HangupAllOf.md +7 -6
- data/docs/IncomingNumberList.md +21 -20
- data/docs/IncomingNumberListAllOf.md +7 -6
- data/docs/IncomingNumberRequest.md +9 -8
- data/docs/IncomingNumberResult.md +33 -30
- data/docs/IncomingNumberResultAllOf.md +25 -22
- data/docs/LogList.md +21 -20
- data/docs/LogListAllOf.md +7 -6
- data/docs/LogResult.md +19 -18
- data/docs/MakeCallRequest.md +25 -24
- data/docs/MessageRequest.md +23 -22
- data/docs/MessageRequestAllOf.md +15 -14
- data/docs/MessageResult.md +29 -28
- data/docs/MessageResultAllOf.md +21 -20
- data/docs/MessagesList.md +21 -20
- data/docs/MessagesListAllOf.md +7 -6
- data/docs/MutableResourceModel.md +13 -12
- data/docs/OutDial.md +25 -24
- data/docs/OutDialAllOf.md +25 -24
- data/docs/PaginationModel.md +19 -18
- data/docs/Pause.md +7 -6
- data/docs/PauseAllOf.md +7 -6
- data/docs/PerclCommand.md +7 -6
- data/docs/PerclScript.md +7 -6
- data/docs/Play.md +13 -12
- data/docs/PlayAllOf.md +13 -12
- data/docs/PlayEarlyMedia.md +7 -6
- data/docs/PlayEarlyMediaAllOf.md +7 -6
- data/docs/QueueList.md +21 -20
- data/docs/QueueListAllOf.md +7 -6
- data/docs/QueueMember.md +15 -14
- data/docs/QueueMemberList.md +21 -20
- data/docs/QueueMemberListAllOf.md +7 -6
- data/docs/QueueRequest.md +9 -8
- data/docs/QueueResult.md +27 -26
- data/docs/QueueResultAllOf.md +19 -18
- data/docs/RecordUtterance.md +19 -18
- data/docs/RecordUtteranceAllOf.md +19 -18
- data/docs/RecordingList.md +21 -20
- data/docs/RecordingListAllOf.md +7 -6
- data/docs/RecordingResult.md +23 -22
- data/docs/RecordingResultAllOf.md +15 -14
- data/docs/Redirect.md +7 -6
- data/docs/RedirectAllOf.md +7 -6
- data/docs/Reject.md +7 -6
- data/docs/RejectAllOf.md +7 -6
- data/docs/RemoveFromConference.md +7 -6
- data/docs/RemoveFromConferenceAllOf.md +7 -6
- data/docs/Say.md +15 -14
- data/docs/SayAllOf.md +15 -14
- data/docs/SendDigits.md +11 -10
- data/docs/SendDigitsAllOf.md +11 -10
- data/docs/SetListen.md +9 -8
- data/docs/SetListenAllOf.md +9 -8
- data/docs/SetTalk.md +9 -8
- data/docs/SetTalkAllOf.md +9 -8
- data/docs/Sms.md +13 -12
- data/docs/SmsAllOf.md +13 -12
- data/docs/StartRecordCall.md +3 -4
- data/docs/TerminateConference.md +7 -6
- data/docs/TerminateConferenceAllOf.md +7 -6
- data/docs/UpdateCallRequest.md +7 -6
- data/docs/UpdateConferenceParticipantRequest.md +9 -8
- data/docs/UpdateConferenceRequest.md +11 -10
- data/freeclimb.gemspec +2 -3
- data/lib/freeclimb/api/default_api.rb +439 -257
- data/lib/freeclimb/api_client.rb +54 -50
- data/lib/freeclimb/api_error.rb +1 -1
- data/lib/freeclimb/configuration.rb +40 -10
- data/lib/freeclimb/models/account_request.rb +19 -7
- data/lib/freeclimb/models/account_result.rb +20 -8
- data/lib/freeclimb/models/account_result_all_of.rb +20 -8
- data/lib/freeclimb/models/add_to_conference.rb +19 -12
- data/lib/freeclimb/models/add_to_conference_all_of.rb +19 -12
- data/lib/freeclimb/models/application_list.rb +19 -7
- data/lib/freeclimb/models/application_list_all_of.rb +19 -7
- data/lib/freeclimb/models/application_request.rb +19 -7
- data/lib/freeclimb/models/application_result.rb +19 -7
- data/lib/freeclimb/models/application_result_all_of.rb +19 -7
- data/lib/freeclimb/models/available_number.rb +29 -18
- data/lib/freeclimb/models/available_number_list.rb +19 -7
- data/lib/freeclimb/models/available_number_list_all_of.rb +19 -7
- data/lib/freeclimb/models/buy_incoming_number_request.rb +19 -7
- data/lib/freeclimb/models/call_list.rb +19 -7
- data/lib/freeclimb/models/call_list_all_of.rb +19 -7
- data/lib/freeclimb/models/call_result.rb +19 -7
- data/lib/freeclimb/models/call_result_all_of.rb +19 -7
- data/lib/freeclimb/models/capabilities.rb +285 -0
- data/lib/freeclimb/models/conference_list.rb +19 -7
- data/lib/freeclimb/models/conference_list_all_of.rb +19 -7
- data/lib/freeclimb/models/conference_participant_list.rb +19 -7
- data/lib/freeclimb/models/conference_participant_list_all_of.rb +19 -7
- data/lib/freeclimb/models/conference_participant_result.rb +19 -7
- data/lib/freeclimb/models/conference_participant_result_all_of.rb +19 -7
- data/lib/freeclimb/models/conference_result.rb +19 -7
- data/lib/freeclimb/models/conference_result_all_of.rb +19 -7
- data/lib/freeclimb/models/create_conference.rb +19 -7
- data/lib/freeclimb/models/create_conference_all_of.rb +19 -7
- data/lib/freeclimb/models/create_conference_request.rb +19 -7
- data/lib/freeclimb/models/dequeue.rb +19 -7
- data/lib/freeclimb/models/enqueue.rb +19 -7
- data/lib/freeclimb/models/enqueue_all_of.rb +19 -7
- data/lib/freeclimb/models/filter_logs_request.rb +19 -7
- data/lib/freeclimb/models/get_digits.rb +19 -7
- data/lib/freeclimb/models/get_digits_all_of.rb +19 -7
- data/lib/freeclimb/models/get_speech.rb +19 -7
- data/lib/freeclimb/models/get_speech_all_of.rb +19 -7
- data/lib/freeclimb/models/hangup.rb +19 -7
- data/lib/freeclimb/models/hangup_all_of.rb +19 -7
- data/lib/freeclimb/models/incoming_number_list.rb +19 -7
- data/lib/freeclimb/models/incoming_number_list_all_of.rb +19 -7
- data/lib/freeclimb/models/incoming_number_request.rb +19 -7
- data/lib/freeclimb/models/incoming_number_result.rb +29 -8
- data/lib/freeclimb/models/incoming_number_result_all_of.rb +29 -8
- data/lib/freeclimb/models/log_list.rb +19 -7
- data/lib/freeclimb/models/log_list_all_of.rb +19 -7
- data/lib/freeclimb/models/log_result.rb +19 -7
- data/lib/freeclimb/models/make_call_request.rb +19 -7
- data/lib/freeclimb/models/message_request.rb +19 -7
- data/lib/freeclimb/models/message_request_all_of.rb +19 -7
- data/lib/freeclimb/models/message_result.rb +19 -7
- data/lib/freeclimb/models/message_result_all_of.rb +19 -7
- data/lib/freeclimb/models/messages_list.rb +19 -7
- data/lib/freeclimb/models/messages_list_all_of.rb +19 -7
- data/lib/freeclimb/models/mutable_resource_model.rb +19 -7
- data/lib/freeclimb/models/out_dial.rb +19 -7
- data/lib/freeclimb/models/out_dial_all_of.rb +19 -7
- data/lib/freeclimb/models/pagination_model.rb +19 -7
- data/lib/freeclimb/models/pause.rb +19 -7
- data/lib/freeclimb/models/pause_all_of.rb +19 -7
- data/lib/freeclimb/models/percl_command.rb +20 -7
- data/lib/freeclimb/models/percl_script.rb +19 -7
- data/lib/freeclimb/models/play.rb +19 -7
- data/lib/freeclimb/models/play_all_of.rb +19 -7
- data/lib/freeclimb/models/play_early_media.rb +19 -7
- data/lib/freeclimb/models/play_early_media_all_of.rb +19 -7
- data/lib/freeclimb/models/queue_list.rb +19 -7
- data/lib/freeclimb/models/queue_list_all_of.rb +19 -7
- data/lib/freeclimb/models/queue_member.rb +19 -7
- data/lib/freeclimb/models/queue_member_list.rb +19 -7
- data/lib/freeclimb/models/queue_member_list_all_of.rb +19 -7
- data/lib/freeclimb/models/queue_request.rb +19 -7
- data/lib/freeclimb/models/queue_result.rb +19 -7
- data/lib/freeclimb/models/queue_result_all_of.rb +19 -7
- data/lib/freeclimb/models/record_utterance.rb +19 -7
- data/lib/freeclimb/models/record_utterance_all_of.rb +19 -7
- data/lib/freeclimb/models/recording_list.rb +19 -7
- data/lib/freeclimb/models/recording_list_all_of.rb +19 -7
- data/lib/freeclimb/models/recording_result.rb +19 -7
- data/lib/freeclimb/models/recording_result_all_of.rb +19 -7
- data/lib/freeclimb/models/redirect.rb +19 -7
- data/lib/freeclimb/models/redirect_all_of.rb +19 -7
- data/lib/freeclimb/models/reject.rb +19 -7
- data/lib/freeclimb/models/reject_all_of.rb +19 -7
- data/lib/freeclimb/models/remove_from_conference.rb +19 -7
- data/lib/freeclimb/models/remove_from_conference_all_of.rb +19 -7
- data/lib/freeclimb/models/say.rb +19 -7
- data/lib/freeclimb/models/say_all_of.rb +19 -7
- data/lib/freeclimb/models/send_digits.rb +19 -7
- data/lib/freeclimb/models/send_digits_all_of.rb +19 -7
- data/lib/freeclimb/models/set_listen.rb +19 -7
- data/lib/freeclimb/models/set_listen_all_of.rb +19 -7
- data/lib/freeclimb/models/set_talk.rb +19 -7
- data/lib/freeclimb/models/set_talk_all_of.rb +19 -7
- data/lib/freeclimb/models/sms.rb +19 -7
- data/lib/freeclimb/models/sms_all_of.rb +19 -7
- data/lib/freeclimb/models/start_record_call.rb +19 -7
- data/lib/freeclimb/models/terminate_conference.rb +19 -7
- data/lib/freeclimb/models/terminate_conference_all_of.rb +19 -7
- data/lib/freeclimb/models/update_call_request.rb +19 -7
- data/lib/freeclimb/models/update_conference_participant_request.rb +19 -7
- data/lib/freeclimb/models/update_conference_request.rb +19 -7
- data/lib/freeclimb/version.rb +2 -2
- data/lib/freeclimb.rb +46 -46
- data/spec/api/default_api_spec.rb +1092 -665
- data/spec/api_client_spec.rb +6 -6
- data/spec/configuration_spec.rb +12 -4
- data/spec/factories.rb +80 -0
- data/spec/models/account_request_spec.rb +19 -12
- data/spec/models/account_result_spec.rb +76 -11
- data/spec/models/add_to_conference_spec.rb +6 -13
- data/spec/models/application_list_spec.rb +54 -11
- data/spec/models/application_request_spec.rb +48 -11
- data/spec/models/application_result_spec.rb +84 -11
- data/spec/models/available_number_list_spec.rb +54 -12
- data/spec/models/available_number_spec.rb +42 -11
- data/spec/models/buy_incoming_number_request_spec.rb +24 -11
- data/spec/models/call_list_spec.rb +54 -12
- data/spec/models/call_result_spec.rb +123 -11
- data/spec/models/capabilities_spec.rb +58 -0
- data/spec/models/conference_list_spec.rb +54 -11
- data/spec/models/conference_participant_list_spec.rb +54 -11
- data/spec/models/conference_participant_result_spec.rb +66 -11
- data/spec/models/conference_result_spec.rb +98 -12
- data/spec/models/create_conference_request_spec.rb +40 -12
- data/spec/models/create_conference_spec.rb +6 -13
- data/spec/models/dequeue_spec.rb +6 -13
- data/spec/models/enqueue_spec.rb +6 -13
- data/spec/models/filter_logs_request_spec.rb +14 -13
- data/spec/models/get_digits_spec.rb +12 -13
- data/spec/models/get_speech_spec.rb +7 -14
- data/spec/models/hangup_spec.rb +4 -11
- data/spec/models/incoming_number_list_spec.rb +54 -12
- data/spec/models/incoming_number_request_spec.rb +19 -12
- data/spec/models/incoming_number_result_spec.rb +90 -12
- data/spec/models/log_list_spec.rb +54 -11
- data/spec/models/log_result_spec.rb +52 -11
- data/spec/models/make_call_request_spec.rb +66 -11
- data/spec/models/message_request_spec.rb +60 -12
- data/spec/models/message_result_spec.rb +82 -11
- data/spec/models/messages_list_spec.rb +54 -11
- data/spec/models/mutable_resource_model_spec.rb +30 -12
- data/spec/models/out_dial_spec.rb +12 -13
- data/spec/models/pagination_model_spec.rb +48 -11
- data/spec/models/pause_spec.rb +6 -13
- data/spec/models/percl_command_spec.rb +6 -13
- data/spec/models/percl_script_spec.rb +6 -13
- data/spec/models/play_early_media_spec.rb +6 -13
- data/spec/models/play_spec.rb +12 -13
- data/spec/models/queue_list_spec.rb +53 -11
- data/spec/models/queue_member_list_spec.rb +54 -11
- data/spec/models/queue_member_spec.rb +36 -12
- data/spec/models/queue_request_spec.rb +19 -13
- data/spec/models/queue_result_spec.rb +72 -11
- data/spec/models/record_utterance_spec.rb +12 -13
- data/spec/models/recording_list_spec.rb +54 -11
- data/spec/models/recording_result_spec.rb +60 -11
- data/spec/models/redirect_spec.rb +6 -13
- data/spec/models/reject_spec.rb +4 -11
- data/spec/models/remove_from_conference_spec.rb +6 -13
- data/spec/models/say_spec.rb +7 -14
- data/spec/models/send_digits_spec.rb +12 -13
- data/spec/models/set_listen_spec.rb +6 -13
- data/spec/models/set_talk_spec.rb +6 -13
- data/spec/models/sms_spec.rb +6 -13
- data/spec/models/start_record_call_spec.rb +6 -13
- data/spec/models/terminate_conference_spec.rb +6 -13
- data/spec/models/update_call_request_spec.rb +18 -13
- data/spec/models/update_conference_participant_request_spec.rb +19 -12
- data/spec/models/update_conference_request_spec.rb +28 -11
- data/spec/quickstart_spec.rb +10 -0
- data/spec/spec_helper.rb +57 -6
- metadata +20 -38
- data/freeclimb-2.0.3.gem +0 -0
- data/freeclimb-2.1.0.gem +0 -0
- data/freeclimb-2.1.1.gem +0 -0
- data/freeclimb-2.1.2.gem +0 -0
- data/spec/api/web_mocks.rb +0 -473
data/docs/DefaultApi.md
CHANGED
@@ -2,140 +2,114 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *https://www.freeclimb.com/apiserver*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
13
|
-
[**
|
14
|
-
[**
|
15
|
-
[**
|
16
|
-
[**
|
17
|
-
[**
|
18
|
-
[**
|
19
|
-
[**
|
20
|
-
[**
|
21
|
-
[**
|
22
|
-
[**
|
23
|
-
[**
|
24
|
-
[**
|
25
|
-
[**get_an_application**](DefaultApi.md#get_an_application) | **GET** /Accounts/{accountId}/Applications/{applicationId} | Get an Application
|
26
|
-
[**get_an_incoming_number**](DefaultApi.md#get_an_incoming_number) | **GET** /Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId} | Get an Incoming Number
|
27
|
-
[**get_an_sms_message**](DefaultApi.md#get_an_sms_message) | **GET** /Accounts/{accountId}/Messages/{messageId} | Get an SMS Message
|
28
|
-
[**get_head_member**](DefaultApi.md#get_head_member) | **GET** /Accounts/{accountId}/Queues/{queueId}/Members/Front | Get Head Member
|
29
|
-
[**list_active_queues**](DefaultApi.md#list_active_queues) | **GET** /Accounts/{accountId}/Queues | List Active Queues
|
30
|
-
[**list_all_account_logs**](DefaultApi.md#list_all_account_logs) | **GET** /Accounts/{accountId}/Logs | List All Account Logs
|
31
|
-
[**list_an_application**](DefaultApi.md#list_an_application) | **GET** /Accounts/{accountId}/Applications | List applications
|
32
|
-
[**list_available_numbers**](DefaultApi.md#list_available_numbers) | **GET** /AvailablePhoneNumbers | List available numbers
|
33
|
-
[**list_call_logs**](DefaultApi.md#list_call_logs) | **GET** /Accounts/{accountId}/Calls/{callId}/Logs | List Call Logs
|
34
|
-
[**list_call_recordings**](DefaultApi.md#list_call_recordings) | **GET** /Accounts/{accountId}/Calls/{callId}/Recordings | List Call Recordings
|
35
|
-
[**list_calls**](DefaultApi.md#list_calls) | **GET** /Accounts/{accountId}/Calls | List Calls
|
36
|
-
[**list_conferences**](DefaultApi.md#list_conferences) | **GET** /Accounts/{accountId}/Conferences | List Conferences
|
37
|
-
[**list_incoming_numbers**](DefaultApi.md#list_incoming_numbers) | **GET** /Accounts/{accountId}/IncomingPhoneNumbers | List Incoming Numbers
|
38
|
-
[**list_members**](DefaultApi.md#list_members) | **GET** /Accounts/{accountId}/Queues/{queueId}/Members | List Members
|
39
|
-
[**list_participants**](DefaultApi.md#list_participants) | **GET** /Accounts/{accountId}/Conferences/{conferenceId}/Participants | List Participants
|
40
|
-
[**list_recordings**](DefaultApi.md#list_recordings) | **GET** /Accounts/{accountId}/Recordings | List Recordings
|
41
|
-
[**list_sms_messages**](DefaultApi.md#list_sms_messages) | **GET** /Accounts/{accountId}/Messages | List SMS Messages
|
42
|
-
[**make_a_call**](DefaultApi.md#make_a_call) | **POST** /Accounts/{accountId}/Calls | Make a Call
|
43
|
-
[**remove_a_participant**](DefaultApi.md#remove_a_participant) | **DELETE** /Accounts/{accountId}/Conferences/{conferenceId}/Participants/{callId} | Remove a Participant
|
44
|
-
[**send_an_sms_message**](DefaultApi.md#send_an_sms_message) | **POST** /Accounts/{accountId}/Messages | Send an SMS Message
|
45
|
-
[**stream_a_recording_file**](DefaultApi.md#stream_a_recording_file) | **GET** /Accounts/{accountId}/Recordings/{recordingId}/Stream | Stream a Recording File
|
46
|
-
[**update_a_conference**](DefaultApi.md#update_a_conference) | **POST** /Accounts/{accountId}/Conferences/{conferenceId} | Update a Conference
|
47
|
-
[**update_a_live_call**](DefaultApi.md#update_a_live_call) | **POST** /Accounts/{accountId}/Calls/{callId} | Update a Live Call
|
48
|
-
[**update_a_participant**](DefaultApi.md#update_a_participant) | **POST** /Accounts/{accountId}/Conferences/{conferenceId}/Participants/{callId} | Update a Participant
|
49
|
-
[**update_a_queue**](DefaultApi.md#update_a_queue) | **POST** /Accounts/{accountId}/Queues/{queueId} | Update a Queue
|
50
|
-
[**update_an_account**](DefaultApi.md#update_an_account) | **POST** /Accounts/{accountId} | Manage an account
|
51
|
-
[**update_an_application**](DefaultApi.md#update_an_application) | **POST** /Accounts/{accountId}/Applications/{applicationId} | Update an application
|
52
|
-
[**update_an_incoming_number**](DefaultApi.md#update_an_incoming_number) | **POST** /Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId} | Update an Incoming Number
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**buy_a_phone_number**](DefaultApi.md#buy_a_phone_number) | **POST** /Accounts/{accountId}/IncomingPhoneNumbers | Buy a Phone Number |
|
8
|
+
| [**create_a_conference**](DefaultApi.md#create_a_conference) | **POST** /Accounts/{accountId}/Conferences | Create a Conference |
|
9
|
+
| [**create_a_queue**](DefaultApi.md#create_a_queue) | **POST** /Accounts/{accountId}/Queues | Create a Queue |
|
10
|
+
| [**create_an_application**](DefaultApi.md#create_an_application) | **POST** /Accounts/{accountId}/Applications | Create an application |
|
11
|
+
| [**delete_a_recording**](DefaultApi.md#delete_a_recording) | **DELETE** /Accounts/{accountId}/Recordings/{recordingId} | Delete a Recording |
|
12
|
+
| [**delete_an_application**](DefaultApi.md#delete_an_application) | **DELETE** /Accounts/{accountId}/Applications/{applicationId} | Delete an application |
|
13
|
+
| [**delete_an_incoming_number**](DefaultApi.md#delete_an_incoming_number) | **DELETE** /Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId} | Delete an Incoming Number |
|
14
|
+
| [**dequeue_a_member**](DefaultApi.md#dequeue_a_member) | **POST** /Accounts/{accountId}/Queues/{queueId}/Members/{callId} | Dequeue a Member |
|
15
|
+
| [**dequeue_head_member**](DefaultApi.md#dequeue_head_member) | **POST** /Accounts/{accountId}/Queues/{queueId}/Members/Front | Dequeue Head Member |
|
16
|
+
| [**download_a_recording_file**](DefaultApi.md#download_a_recording_file) | **GET** /Accounts/{accountId}/Recordings/{recordingId}/Download | Download a Recording File |
|
17
|
+
| [**filter_logs**](DefaultApi.md#filter_logs) | **POST** /Accounts/{accountId}/Logs | Filter Logs |
|
18
|
+
| [**get_a_call**](DefaultApi.md#get_a_call) | **GET** /Accounts/{accountId}/Calls/{callId} | Get a Call |
|
19
|
+
| [**get_a_conference**](DefaultApi.md#get_a_conference) | **GET** /Accounts/{accountId}/Conferences/{conferenceId} | Get a Conference |
|
20
|
+
| [**get_a_member**](DefaultApi.md#get_a_member) | **GET** /Accounts/{accountId}/Queues/{queueId}/Members/{callId} | Get a Member |
|
21
|
+
| [**get_a_participant**](DefaultApi.md#get_a_participant) | **GET** /Accounts/{accountId}/Conferences/{conferenceId}/Participants/{callId} | Get a Participant |
|
22
|
+
| [**get_a_queue**](DefaultApi.md#get_a_queue) | **GET** /Accounts/{accountId}/Queues/{queueId} | Get a Queue |
|
23
|
+
| [**get_a_recording**](DefaultApi.md#get_a_recording) | **GET** /Accounts/{accountId}/Recordings/{recordingId} | Get a Recording |
|
24
|
+
| [**get_an_account**](DefaultApi.md#get_an_account) | **GET** /Accounts/{accountId} | Get an Account |
|
25
|
+
| [**get_an_application**](DefaultApi.md#get_an_application) | **GET** /Accounts/{accountId}/Applications/{applicationId} | Get an Application |
|
26
|
+
| [**get_an_incoming_number**](DefaultApi.md#get_an_incoming_number) | **GET** /Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId} | Get an Incoming Number |
|
27
|
+
| [**get_an_sms_message**](DefaultApi.md#get_an_sms_message) | **GET** /Accounts/{accountId}/Messages/{messageId} | Get an SMS Message |
|
28
|
+
| [**get_head_member**](DefaultApi.md#get_head_member) | **GET** /Accounts/{accountId}/Queues/{queueId}/Members/Front | Get Head Member |
|
29
|
+
| [**list_active_queues**](DefaultApi.md#list_active_queues) | **GET** /Accounts/{accountId}/Queues | List Active Queues |
|
30
|
+
| [**list_all_account_logs**](DefaultApi.md#list_all_account_logs) | **GET** /Accounts/{accountId}/Logs | List All Account Logs |
|
31
|
+
| [**list_an_application**](DefaultApi.md#list_an_application) | **GET** /Accounts/{accountId}/Applications | List applications |
|
32
|
+
| [**list_available_numbers**](DefaultApi.md#list_available_numbers) | **GET** /AvailablePhoneNumbers | List available numbers |
|
33
|
+
| [**list_call_logs**](DefaultApi.md#list_call_logs) | **GET** /Accounts/{accountId}/Calls/{callId}/Logs | List Call Logs |
|
34
|
+
| [**list_call_recordings**](DefaultApi.md#list_call_recordings) | **GET** /Accounts/{accountId}/Calls/{callId}/Recordings | List Call Recordings |
|
35
|
+
| [**list_calls**](DefaultApi.md#list_calls) | **GET** /Accounts/{accountId}/Calls | List Calls |
|
36
|
+
| [**list_conferences**](DefaultApi.md#list_conferences) | **GET** /Accounts/{accountId}/Conferences | List Conferences |
|
37
|
+
| [**list_incoming_numbers**](DefaultApi.md#list_incoming_numbers) | **GET** /Accounts/{accountId}/IncomingPhoneNumbers | List Incoming Numbers |
|
38
|
+
| [**list_members**](DefaultApi.md#list_members) | **GET** /Accounts/{accountId}/Queues/{queueId}/Members | List Members |
|
39
|
+
| [**list_participants**](DefaultApi.md#list_participants) | **GET** /Accounts/{accountId}/Conferences/{conferenceId}/Participants | List Participants |
|
40
|
+
| [**list_recordings**](DefaultApi.md#list_recordings) | **GET** /Accounts/{accountId}/Recordings | List Recordings |
|
41
|
+
| [**list_sms_messages**](DefaultApi.md#list_sms_messages) | **GET** /Accounts/{accountId}/Messages | List SMS Messages |
|
42
|
+
| [**make_a_call**](DefaultApi.md#make_a_call) | **POST** /Accounts/{accountId}/Calls | Make a Call |
|
43
|
+
| [**remove_a_participant**](DefaultApi.md#remove_a_participant) | **DELETE** /Accounts/{accountId}/Conferences/{conferenceId}/Participants/{callId} | Remove a Participant |
|
44
|
+
| [**send_an_sms_message**](DefaultApi.md#send_an_sms_message) | **POST** /Accounts/{accountId}/Messages | Send an SMS Message |
|
45
|
+
| [**stream_a_recording_file**](DefaultApi.md#stream_a_recording_file) | **GET** /Accounts/{accountId}/Recordings/{recordingId}/Stream | Stream a Recording File |
|
46
|
+
| [**update_a_conference**](DefaultApi.md#update_a_conference) | **POST** /Accounts/{accountId}/Conferences/{conferenceId} | Update a Conference |
|
47
|
+
| [**update_a_live_call**](DefaultApi.md#update_a_live_call) | **POST** /Accounts/{accountId}/Calls/{callId} | Update a Live Call |
|
48
|
+
| [**update_a_participant**](DefaultApi.md#update_a_participant) | **POST** /Accounts/{accountId}/Conferences/{conferenceId}/Participants/{callId} | Update a Participant |
|
49
|
+
| [**update_a_queue**](DefaultApi.md#update_a_queue) | **POST** /Accounts/{accountId}/Queues/{queueId} | Update a Queue |
|
50
|
+
| [**update_an_account**](DefaultApi.md#update_an_account) | **POST** /Accounts/{accountId} | Manage an account |
|
51
|
+
| [**update_an_application**](DefaultApi.md#update_an_application) | **POST** /Accounts/{accountId}/Applications/{applicationId} | Update an application |
|
52
|
+
| [**update_an_incoming_number**](DefaultApi.md#update_an_incoming_number) | **POST** /Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId} | Update an Incoming Number |
|
53
53
|
|
54
54
|
|
55
|
+
## buy_a_phone_number
|
55
56
|
|
56
|
-
|
57
|
-
|
58
|
-
> AccountResult get_an_account
|
57
|
+
> <IncomingNumberResult> buy_a_phone_number(account_id, buy_incoming_number_request)
|
59
58
|
|
60
|
-
|
59
|
+
Buy a Phone Number
|
61
60
|
|
62
|
-
###
|
61
|
+
### Examples
|
63
62
|
|
64
63
|
```ruby
|
65
|
-
|
64
|
+
require 'time'
|
66
65
|
require 'freeclimb'
|
67
66
|
# setup authorization
|
68
67
|
Freeclimb.configure do |config|
|
69
68
|
# Configure HTTP basic authorization: fc
|
70
|
-
config.username = '
|
71
|
-
config.password = '
|
69
|
+
config.username = 'ACCOUNT_ID'
|
70
|
+
config.password = 'API_KEY'
|
72
71
|
end
|
73
72
|
|
74
73
|
api_instance = Freeclimb::DefaultApi.new
|
75
74
|
|
75
|
+
buy_incoming_number_request = Freeclimb::BuyIncomingNumberRequest.new({phone_number: 'phone_number_example'}) # BuyIncomingNumberRequest | Incoming Number transaction details
|
76
|
+
|
77
|
+
|
76
78
|
begin
|
77
|
-
|
78
|
-
|
79
|
+
|
80
|
+
# Buy a Phone Number
|
81
|
+
result = api_instance.buy_a_phone_number(buy_incoming_number_request)
|
79
82
|
p result
|
80
83
|
rescue Freeclimb::ApiError => e
|
81
|
-
puts "
|
84
|
+
puts "Error when calling DefaultApi->buy_a_phone_number: #{e}"
|
82
85
|
end
|
83
86
|
```
|
84
87
|
|
85
|
-
|
86
|
-
|
87
|
-
This endpoint does not need any parameter.
|
88
|
-
|
89
|
-
### Return type
|
90
|
-
|
91
|
-
[**AccountResult**](AccountResult.md)
|
92
|
-
|
93
|
-
### Authorization
|
94
|
-
|
95
|
-
[fc](../README.md#fc)
|
96
|
-
|
97
|
-
### HTTP request headers
|
98
|
-
|
99
|
-
- **Content-Type**: Not defined
|
100
|
-
- **Accept**: application/json
|
101
|
-
|
102
|
-
|
103
|
-
## buy_a_phone_number
|
104
|
-
|
105
|
-
> IncomingNumberResult buy_a_phone_number(buy_incoming_number_request)
|
88
|
+
#### Using the buy_a_phone_number_with_http_info variant
|
106
89
|
|
107
|
-
|
90
|
+
This returns an Array which contains the response data, status code and headers.
|
108
91
|
|
109
|
-
|
92
|
+
> <Array(<IncomingNumberResult>, Integer, Hash)> buy_a_phone_number_with_http_info(account_id, buy_incoming_number_request)
|
110
93
|
|
111
94
|
```ruby
|
112
|
-
# load the gem
|
113
|
-
require 'freeclimb'
|
114
|
-
# setup authorization
|
115
|
-
Freeclimb.configure do |config|
|
116
|
-
# Configure HTTP basic authorization: fc
|
117
|
-
config.username = 'ACCOUNT ID'
|
118
|
-
config.password = 'API KEY'
|
119
|
-
end
|
120
|
-
|
121
|
-
api_instance = Freeclimb::DefaultApi.new
|
122
|
-
buy_incoming_number_request = Freeclimb::BuyIncomingNumberRequest.new # BuyIncomingNumberRequest | Incoming Number transaction details
|
123
|
-
|
124
95
|
begin
|
125
|
-
#Buy a Phone Number
|
126
|
-
|
127
|
-
p
|
96
|
+
# Buy a Phone Number
|
97
|
+
data, status_code, headers = api_instance.buy_a_phone_number_with_http_info(buy_incoming_number_request)
|
98
|
+
p status_code # => 2xx
|
99
|
+
p headers # => { ... }
|
100
|
+
p data # => <IncomingNumberResult>
|
128
101
|
rescue Freeclimb::ApiError => e
|
129
|
-
puts "
|
102
|
+
puts "Error when calling DefaultApi->buy_a_phone_number_with_http_info: #{e}"
|
130
103
|
end
|
131
104
|
```
|
132
105
|
|
133
106
|
### Parameters
|
134
107
|
|
108
|
+
| Name | Type | Description | Notes |
|
109
|
+
| ---- | ---- | ----------- | ----- |
|
110
|
+
|
111
|
+
| **buy_incoming_number_request** | [**BuyIncomingNumberRequest**](BuyIncomingNumberRequest.md) | Incoming Number transaction details | |
|
135
112
|
|
136
|
-
Name | Type | Description | Notes
|
137
|
-
------------- | ------------- | ------------- | -------------
|
138
|
-
**buy_incoming_number_request** | [**BuyIncomingNumberRequest**](BuyIncomingNumberRequest.md)| Incoming Number transaction details |
|
139
113
|
|
140
114
|
### Return type
|
141
115
|
|
@@ -153,42 +127,63 @@ Name | Type | Description | Notes
|
|
153
127
|
|
154
128
|
## create_a_conference
|
155
129
|
|
156
|
-
> ConferenceResult create_a_conference(opts)
|
130
|
+
> <ConferenceResult> create_a_conference(account_id, opts)
|
157
131
|
|
158
132
|
Create a Conference
|
159
133
|
|
160
|
-
###
|
134
|
+
### Examples
|
161
135
|
|
162
136
|
```ruby
|
163
|
-
|
137
|
+
require 'time'
|
164
138
|
require 'freeclimb'
|
165
139
|
# setup authorization
|
166
140
|
Freeclimb.configure do |config|
|
167
141
|
# Configure HTTP basic authorization: fc
|
168
|
-
config.username = '
|
169
|
-
config.password = '
|
142
|
+
config.username = 'ACCOUNT_ID'
|
143
|
+
config.password = 'API_KEY'
|
170
144
|
end
|
171
145
|
|
172
146
|
api_instance = Freeclimb::DefaultApi.new
|
147
|
+
|
173
148
|
opts = {
|
174
149
|
create_conference_request: Freeclimb::CreateConferenceRequest.new # CreateConferenceRequest | Conference to create
|
175
150
|
}
|
176
151
|
|
177
152
|
begin
|
178
|
-
|
153
|
+
|
154
|
+
# Create a Conference
|
179
155
|
result = api_instance.create_a_conference(opts)
|
180
156
|
p result
|
181
157
|
rescue Freeclimb::ApiError => e
|
182
|
-
puts "
|
158
|
+
puts "Error when calling DefaultApi->create_a_conference: #{e}"
|
159
|
+
end
|
160
|
+
```
|
161
|
+
|
162
|
+
#### Using the create_a_conference_with_http_info variant
|
163
|
+
|
164
|
+
This returns an Array which contains the response data, status code and headers.
|
165
|
+
|
166
|
+
> <Array(<ConferenceResult>, Integer, Hash)> create_a_conference_with_http_info(account_id, opts)
|
167
|
+
|
168
|
+
```ruby
|
169
|
+
begin
|
170
|
+
# Create a Conference
|
171
|
+
data, status_code, headers = api_instance.create_a_conference_with_http_info(opts)
|
172
|
+
p status_code # => 2xx
|
173
|
+
p headers # => { ... }
|
174
|
+
p data # => <ConferenceResult>
|
175
|
+
rescue Freeclimb::ApiError => e
|
176
|
+
puts "Error when calling DefaultApi->create_a_conference_with_http_info: #{e}"
|
183
177
|
end
|
184
178
|
```
|
185
179
|
|
186
180
|
### Parameters
|
187
181
|
|
182
|
+
| Name | Type | Description | Notes |
|
183
|
+
| ---- | ---- | ----------- | ----- |
|
184
|
+
|
185
|
+
| **create_conference_request** | [**CreateConferenceRequest**](CreateConferenceRequest.md) | Conference to create | [optional] |
|
188
186
|
|
189
|
-
Name | Type | Description | Notes
|
190
|
-
------------- | ------------- | ------------- | -------------
|
191
|
-
**create_conference_request** | [**CreateConferenceRequest**](CreateConferenceRequest.md)| Conference to create | [optional]
|
192
187
|
|
193
188
|
### Return type
|
194
189
|
|
@@ -206,42 +201,63 @@ Name | Type | Description | Notes
|
|
206
201
|
|
207
202
|
## create_a_queue
|
208
203
|
|
209
|
-
> QueueResult create_a_queue(opts)
|
204
|
+
> <QueueResult> create_a_queue(account_id, opts)
|
210
205
|
|
211
206
|
Create a Queue
|
212
207
|
|
213
|
-
###
|
208
|
+
### Examples
|
214
209
|
|
215
210
|
```ruby
|
216
|
-
|
211
|
+
require 'time'
|
217
212
|
require 'freeclimb'
|
218
213
|
# setup authorization
|
219
214
|
Freeclimb.configure do |config|
|
220
215
|
# Configure HTTP basic authorization: fc
|
221
|
-
config.username = '
|
222
|
-
config.password = '
|
216
|
+
config.username = 'ACCOUNT_ID'
|
217
|
+
config.password = 'API_KEY'
|
223
218
|
end
|
224
219
|
|
225
220
|
api_instance = Freeclimb::DefaultApi.new
|
221
|
+
|
226
222
|
opts = {
|
227
223
|
queue_request: Freeclimb::QueueRequest.new # QueueRequest | Queue details used to create a queue
|
228
224
|
}
|
229
225
|
|
230
226
|
begin
|
231
|
-
|
227
|
+
|
228
|
+
# Create a Queue
|
232
229
|
result = api_instance.create_a_queue(opts)
|
233
230
|
p result
|
234
231
|
rescue Freeclimb::ApiError => e
|
235
|
-
puts "
|
232
|
+
puts "Error when calling DefaultApi->create_a_queue: #{e}"
|
233
|
+
end
|
234
|
+
```
|
235
|
+
|
236
|
+
#### Using the create_a_queue_with_http_info variant
|
237
|
+
|
238
|
+
This returns an Array which contains the response data, status code and headers.
|
239
|
+
|
240
|
+
> <Array(<QueueResult>, Integer, Hash)> create_a_queue_with_http_info(account_id, opts)
|
241
|
+
|
242
|
+
```ruby
|
243
|
+
begin
|
244
|
+
# Create a Queue
|
245
|
+
data, status_code, headers = api_instance.create_a_queue_with_http_info(opts)
|
246
|
+
p status_code # => 2xx
|
247
|
+
p headers # => { ... }
|
248
|
+
p data # => <QueueResult>
|
249
|
+
rescue Freeclimb::ApiError => e
|
250
|
+
puts "Error when calling DefaultApi->create_a_queue_with_http_info: #{e}"
|
236
251
|
end
|
237
252
|
```
|
238
253
|
|
239
254
|
### Parameters
|
240
255
|
|
256
|
+
| Name | Type | Description | Notes |
|
257
|
+
| ---- | ---- | ----------- | ----- |
|
258
|
+
|
259
|
+
| **queue_request** | [**QueueRequest**](QueueRequest.md) | Queue details used to create a queue | [optional] |
|
241
260
|
|
242
|
-
Name | Type | Description | Notes
|
243
|
-
------------- | ------------- | ------------- | -------------
|
244
|
-
**queue_request** | [**QueueRequest**](QueueRequest.md)| Queue details used to create a queue | [optional]
|
245
261
|
|
246
262
|
### Return type
|
247
263
|
|
@@ -259,42 +275,63 @@ Name | Type | Description | Notes
|
|
259
275
|
|
260
276
|
## create_an_application
|
261
277
|
|
262
|
-
> ApplicationResult create_an_application(opts)
|
278
|
+
> <ApplicationResult> create_an_application(account_id, opts)
|
263
279
|
|
264
280
|
Create an application
|
265
281
|
|
266
|
-
###
|
282
|
+
### Examples
|
267
283
|
|
268
284
|
```ruby
|
269
|
-
|
285
|
+
require 'time'
|
270
286
|
require 'freeclimb'
|
271
287
|
# setup authorization
|
272
288
|
Freeclimb.configure do |config|
|
273
289
|
# Configure HTTP basic authorization: fc
|
274
|
-
config.username = '
|
275
|
-
config.password = '
|
290
|
+
config.username = 'ACCOUNT_ID'
|
291
|
+
config.password = 'API_KEY'
|
276
292
|
end
|
277
293
|
|
278
294
|
api_instance = Freeclimb::DefaultApi.new
|
295
|
+
|
279
296
|
opts = {
|
280
297
|
application_request: Freeclimb::ApplicationRequest.new # ApplicationRequest | Application Details
|
281
298
|
}
|
282
299
|
|
283
300
|
begin
|
284
|
-
|
301
|
+
|
302
|
+
# Create an application
|
285
303
|
result = api_instance.create_an_application(opts)
|
286
304
|
p result
|
287
305
|
rescue Freeclimb::ApiError => e
|
288
|
-
puts "
|
306
|
+
puts "Error when calling DefaultApi->create_an_application: #{e}"
|
307
|
+
end
|
308
|
+
```
|
309
|
+
|
310
|
+
#### Using the create_an_application_with_http_info variant
|
311
|
+
|
312
|
+
This returns an Array which contains the response data, status code and headers.
|
313
|
+
|
314
|
+
> <Array(<ApplicationResult>, Integer, Hash)> create_an_application_with_http_info(account_id, opts)
|
315
|
+
|
316
|
+
```ruby
|
317
|
+
begin
|
318
|
+
# Create an application
|
319
|
+
data, status_code, headers = api_instance.create_an_application_with_http_info(opts)
|
320
|
+
p status_code # => 2xx
|
321
|
+
p headers # => { ... }
|
322
|
+
p data # => <ApplicationResult>
|
323
|
+
rescue Freeclimb::ApiError => e
|
324
|
+
puts "Error when calling DefaultApi->create_an_application_with_http_info: #{e}"
|
289
325
|
end
|
290
326
|
```
|
291
327
|
|
292
328
|
### Parameters
|
293
329
|
|
330
|
+
| Name | Type | Description | Notes |
|
331
|
+
| ---- | ---- | ----------- | ----- |
|
332
|
+
|
333
|
+
| **application_request** | [**ApplicationRequest**](ApplicationRequest.md) | Application Details | [optional] |
|
294
334
|
|
295
|
-
Name | Type | Description | Notes
|
296
|
-
------------- | ------------- | ------------- | -------------
|
297
|
-
**application_request** | [**ApplicationRequest**](ApplicationRequest.md)| Application Details | [optional]
|
298
335
|
|
299
336
|
### Return type
|
300
337
|
|
@@ -312,39 +349,61 @@ Name | Type | Description | Notes
|
|
312
349
|
|
313
350
|
## delete_a_recording
|
314
351
|
|
315
|
-
> delete_a_recording(recording_id)
|
352
|
+
> delete_a_recording(account_id, recording_id)
|
316
353
|
|
317
354
|
Delete a Recording
|
318
355
|
|
319
|
-
###
|
356
|
+
### Examples
|
320
357
|
|
321
358
|
```ruby
|
322
|
-
|
359
|
+
require 'time'
|
323
360
|
require 'freeclimb'
|
324
361
|
# setup authorization
|
325
362
|
Freeclimb.configure do |config|
|
326
363
|
# Configure HTTP basic authorization: fc
|
327
|
-
config.username = '
|
328
|
-
config.password = '
|
364
|
+
config.username = 'ACCOUNT_ID'
|
365
|
+
config.password = 'API_KEY'
|
329
366
|
end
|
330
367
|
|
331
368
|
api_instance = Freeclimb::DefaultApi.new
|
369
|
+
|
332
370
|
recording_id = 'recording_id_example' # String | String that uniquely identifies this recording resource.
|
333
371
|
|
372
|
+
|
334
373
|
begin
|
335
|
-
|
374
|
+
|
375
|
+
# Delete a Recording
|
336
376
|
api_instance.delete_a_recording(recording_id)
|
337
377
|
rescue Freeclimb::ApiError => e
|
338
|
-
puts "
|
378
|
+
puts "Error when calling DefaultApi->delete_a_recording: #{e}"
|
379
|
+
end
|
380
|
+
```
|
381
|
+
|
382
|
+
#### Using the delete_a_recording_with_http_info variant
|
383
|
+
|
384
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
385
|
+
|
386
|
+
> <Array(nil, Integer, Hash)> delete_a_recording_with_http_info(account_id, recording_id)
|
387
|
+
|
388
|
+
```ruby
|
389
|
+
begin
|
390
|
+
# Delete a Recording
|
391
|
+
data, status_code, headers = api_instance.delete_a_recording_with_http_info(recording_id)
|
392
|
+
p status_code # => 2xx
|
393
|
+
p headers # => { ... }
|
394
|
+
p data # => nil
|
395
|
+
rescue Freeclimb::ApiError => e
|
396
|
+
puts "Error when calling DefaultApi->delete_a_recording_with_http_info: #{e}"
|
339
397
|
end
|
340
398
|
```
|
341
399
|
|
342
400
|
### Parameters
|
343
401
|
|
402
|
+
| Name | Type | Description | Notes |
|
403
|
+
| ---- | ---- | ----------- | ----- |
|
404
|
+
|
405
|
+
| **recording_id** | **String** | String that uniquely identifies this recording resource. | |
|
344
406
|
|
345
|
-
Name | Type | Description | Notes
|
346
|
-
------------- | ------------- | ------------- | -------------
|
347
|
-
**recording_id** | **String**| String that uniquely identifies this recording resource. |
|
348
407
|
|
349
408
|
### Return type
|
350
409
|
|
@@ -362,39 +421,61 @@ nil (empty response body)
|
|
362
421
|
|
363
422
|
## delete_an_application
|
364
423
|
|
365
|
-
> delete_an_application(application_id)
|
424
|
+
> delete_an_application(account_id, application_id)
|
366
425
|
|
367
426
|
Delete an application
|
368
427
|
|
369
|
-
###
|
428
|
+
### Examples
|
370
429
|
|
371
430
|
```ruby
|
372
|
-
|
431
|
+
require 'time'
|
373
432
|
require 'freeclimb'
|
374
433
|
# setup authorization
|
375
434
|
Freeclimb.configure do |config|
|
376
435
|
# Configure HTTP basic authorization: fc
|
377
|
-
config.username = '
|
378
|
-
config.password = '
|
436
|
+
config.username = 'ACCOUNT_ID'
|
437
|
+
config.password = 'API_KEY'
|
379
438
|
end
|
380
439
|
|
381
440
|
api_instance = Freeclimb::DefaultApi.new
|
441
|
+
|
382
442
|
application_id = 'application_id_example' # String | String that uniquely identifies this application resource.
|
383
443
|
|
444
|
+
|
384
445
|
begin
|
385
|
-
|
446
|
+
|
447
|
+
# Delete an application
|
386
448
|
api_instance.delete_an_application(application_id)
|
387
449
|
rescue Freeclimb::ApiError => e
|
388
|
-
puts "
|
450
|
+
puts "Error when calling DefaultApi->delete_an_application: #{e}"
|
451
|
+
end
|
452
|
+
```
|
453
|
+
|
454
|
+
#### Using the delete_an_application_with_http_info variant
|
455
|
+
|
456
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
457
|
+
|
458
|
+
> <Array(nil, Integer, Hash)> delete_an_application_with_http_info(account_id, application_id)
|
459
|
+
|
460
|
+
```ruby
|
461
|
+
begin
|
462
|
+
# Delete an application
|
463
|
+
data, status_code, headers = api_instance.delete_an_application_with_http_info(application_id)
|
464
|
+
p status_code # => 2xx
|
465
|
+
p headers # => { ... }
|
466
|
+
p data # => nil
|
467
|
+
rescue Freeclimb::ApiError => e
|
468
|
+
puts "Error when calling DefaultApi->delete_an_application_with_http_info: #{e}"
|
389
469
|
end
|
390
470
|
```
|
391
471
|
|
392
472
|
### Parameters
|
393
473
|
|
474
|
+
| Name | Type | Description | Notes |
|
475
|
+
| ---- | ---- | ----------- | ----- |
|
476
|
+
|
477
|
+
| **application_id** | **String** | String that uniquely identifies this application resource. | |
|
394
478
|
|
395
|
-
Name | Type | Description | Notes
|
396
|
-
------------- | ------------- | ------------- | -------------
|
397
|
-
**application_id** | **String**| String that uniquely identifies this application resource. |
|
398
479
|
|
399
480
|
### Return type
|
400
481
|
|
@@ -412,39 +493,61 @@ nil (empty response body)
|
|
412
493
|
|
413
494
|
## delete_an_incoming_number
|
414
495
|
|
415
|
-
> delete_an_incoming_number(phone_number_id)
|
496
|
+
> delete_an_incoming_number(account_id, phone_number_id)
|
416
497
|
|
417
498
|
Delete an Incoming Number
|
418
499
|
|
419
|
-
###
|
500
|
+
### Examples
|
420
501
|
|
421
502
|
```ruby
|
422
|
-
|
503
|
+
require 'time'
|
423
504
|
require 'freeclimb'
|
424
505
|
# setup authorization
|
425
506
|
Freeclimb.configure do |config|
|
426
507
|
# Configure HTTP basic authorization: fc
|
427
|
-
config.username = '
|
428
|
-
config.password = '
|
508
|
+
config.username = 'ACCOUNT_ID'
|
509
|
+
config.password = 'API_KEY'
|
429
510
|
end
|
430
511
|
|
431
512
|
api_instance = Freeclimb::DefaultApi.new
|
513
|
+
|
432
514
|
phone_number_id = 'phone_number_id_example' # String | String that uniquely identifies this phone number resource.
|
433
515
|
|
516
|
+
|
434
517
|
begin
|
435
|
-
|
518
|
+
|
519
|
+
# Delete an Incoming Number
|
436
520
|
api_instance.delete_an_incoming_number(phone_number_id)
|
437
521
|
rescue Freeclimb::ApiError => e
|
438
|
-
puts "
|
522
|
+
puts "Error when calling DefaultApi->delete_an_incoming_number: #{e}"
|
523
|
+
end
|
524
|
+
```
|
525
|
+
|
526
|
+
#### Using the delete_an_incoming_number_with_http_info variant
|
527
|
+
|
528
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
529
|
+
|
530
|
+
> <Array(nil, Integer, Hash)> delete_an_incoming_number_with_http_info(account_id, phone_number_id)
|
531
|
+
|
532
|
+
```ruby
|
533
|
+
begin
|
534
|
+
# Delete an Incoming Number
|
535
|
+
data, status_code, headers = api_instance.delete_an_incoming_number_with_http_info(phone_number_id)
|
536
|
+
p status_code # => 2xx
|
537
|
+
p headers # => { ... }
|
538
|
+
p data # => nil
|
539
|
+
rescue Freeclimb::ApiError => e
|
540
|
+
puts "Error when calling DefaultApi->delete_an_incoming_number_with_http_info: #{e}"
|
439
541
|
end
|
440
542
|
```
|
441
543
|
|
442
544
|
### Parameters
|
443
545
|
|
546
|
+
| Name | Type | Description | Notes |
|
547
|
+
| ---- | ---- | ----------- | ----- |
|
548
|
+
|
549
|
+
| **phone_number_id** | **String** | String that uniquely identifies this phone number resource. | |
|
444
550
|
|
445
|
-
Name | Type | Description | Notes
|
446
|
-
------------- | ------------- | ------------- | -------------
|
447
|
-
**phone_number_id** | **String**| String that uniquely identifies this phone number resource. |
|
448
551
|
|
449
552
|
### Return type
|
450
553
|
|
@@ -462,42 +565,66 @@ nil (empty response body)
|
|
462
565
|
|
463
566
|
## dequeue_a_member
|
464
567
|
|
465
|
-
> QueueMember dequeue_a_member(queue_id, call_id)
|
568
|
+
> <QueueMember> dequeue_a_member(account_id, queue_id, call_id)
|
466
569
|
|
467
570
|
Dequeue a Member
|
468
571
|
|
469
|
-
###
|
572
|
+
### Examples
|
470
573
|
|
471
574
|
```ruby
|
472
|
-
|
575
|
+
require 'time'
|
473
576
|
require 'freeclimb'
|
474
577
|
# setup authorization
|
475
578
|
Freeclimb.configure do |config|
|
476
579
|
# Configure HTTP basic authorization: fc
|
477
|
-
config.username = '
|
478
|
-
config.password = '
|
580
|
+
config.username = 'ACCOUNT_ID'
|
581
|
+
config.password = 'API_KEY'
|
479
582
|
end
|
480
583
|
|
481
584
|
api_instance = Freeclimb::DefaultApi.new
|
585
|
+
|
482
586
|
queue_id = 'queue_id_example' # String | String that uniquely identifies the Queue that the Member belongs to.
|
587
|
+
|
483
588
|
call_id = 'call_id_example' # String | ID if the Call that the Member belongs to
|
484
589
|
|
590
|
+
|
485
591
|
begin
|
486
|
-
|
592
|
+
|
593
|
+
# Dequeue a Member
|
487
594
|
result = api_instance.dequeue_a_member(queue_id, call_id)
|
488
595
|
p result
|
489
596
|
rescue Freeclimb::ApiError => e
|
490
|
-
puts "
|
597
|
+
puts "Error when calling DefaultApi->dequeue_a_member: #{e}"
|
598
|
+
end
|
599
|
+
```
|
600
|
+
|
601
|
+
#### Using the dequeue_a_member_with_http_info variant
|
602
|
+
|
603
|
+
This returns an Array which contains the response data, status code and headers.
|
604
|
+
|
605
|
+
> <Array(<QueueMember>, Integer, Hash)> dequeue_a_member_with_http_info(account_id, queue_id, call_id)
|
606
|
+
|
607
|
+
```ruby
|
608
|
+
begin
|
609
|
+
# Dequeue a Member
|
610
|
+
data, status_code, headers = api_instance.dequeue_a_member_with_http_info(queue_id, call_id)
|
611
|
+
p status_code # => 2xx
|
612
|
+
p headers # => { ... }
|
613
|
+
p data # => <QueueMember>
|
614
|
+
rescue Freeclimb::ApiError => e
|
615
|
+
puts "Error when calling DefaultApi->dequeue_a_member_with_http_info: #{e}"
|
491
616
|
end
|
492
617
|
```
|
493
618
|
|
494
619
|
### Parameters
|
495
620
|
|
621
|
+
| Name | Type | Description | Notes |
|
622
|
+
| ---- | ---- | ----------- | ----- |
|
623
|
+
|
624
|
+
| **queue_id** | **String** | String that uniquely identifies the Queue that the Member belongs to. | |
|
625
|
+
|
626
|
+
| **call_id** | **String** | ID if the Call that the Member belongs to | |
|
496
627
|
|
497
|
-
Name | Type | Description | Notes
|
498
|
-
------------- | ------------- | ------------- | -------------
|
499
|
-
**queue_id** | **String**| String that uniquely identifies the Queue that the Member belongs to. |
|
500
|
-
**call_id** | **String**| ID if the Call that the Member belongs to |
|
501
628
|
|
502
629
|
### Return type
|
503
630
|
|
@@ -515,40 +642,62 @@ Name | Type | Description | Notes
|
|
515
642
|
|
516
643
|
## dequeue_head_member
|
517
644
|
|
518
|
-
> QueueMember dequeue_head_member(queue_id)
|
645
|
+
> <QueueMember> dequeue_head_member(account_id, queue_id)
|
519
646
|
|
520
647
|
Dequeue Head Member
|
521
648
|
|
522
|
-
###
|
649
|
+
### Examples
|
523
650
|
|
524
651
|
```ruby
|
525
|
-
|
652
|
+
require 'time'
|
526
653
|
require 'freeclimb'
|
527
654
|
# setup authorization
|
528
655
|
Freeclimb.configure do |config|
|
529
656
|
# Configure HTTP basic authorization: fc
|
530
|
-
config.username = '
|
531
|
-
config.password = '
|
657
|
+
config.username = 'ACCOUNT_ID'
|
658
|
+
config.password = 'API_KEY'
|
532
659
|
end
|
533
660
|
|
534
661
|
api_instance = Freeclimb::DefaultApi.new
|
662
|
+
|
535
663
|
queue_id = 'queue_id_example' # String | String that uniquely identifies this queue resource.
|
536
664
|
|
665
|
+
|
537
666
|
begin
|
538
|
-
|
667
|
+
|
668
|
+
# Dequeue Head Member
|
539
669
|
result = api_instance.dequeue_head_member(queue_id)
|
540
670
|
p result
|
541
671
|
rescue Freeclimb::ApiError => e
|
542
|
-
puts "
|
672
|
+
puts "Error when calling DefaultApi->dequeue_head_member: #{e}"
|
673
|
+
end
|
674
|
+
```
|
675
|
+
|
676
|
+
#### Using the dequeue_head_member_with_http_info variant
|
677
|
+
|
678
|
+
This returns an Array which contains the response data, status code and headers.
|
679
|
+
|
680
|
+
> <Array(<QueueMember>, Integer, Hash)> dequeue_head_member_with_http_info(account_id, queue_id)
|
681
|
+
|
682
|
+
```ruby
|
683
|
+
begin
|
684
|
+
# Dequeue Head Member
|
685
|
+
data, status_code, headers = api_instance.dequeue_head_member_with_http_info(queue_id)
|
686
|
+
p status_code # => 2xx
|
687
|
+
p headers # => { ... }
|
688
|
+
p data # => <QueueMember>
|
689
|
+
rescue Freeclimb::ApiError => e
|
690
|
+
puts "Error when calling DefaultApi->dequeue_head_member_with_http_info: #{e}"
|
543
691
|
end
|
544
692
|
```
|
545
693
|
|
546
694
|
### Parameters
|
547
695
|
|
696
|
+
| Name | Type | Description | Notes |
|
697
|
+
| ---- | ---- | ----------- | ----- |
|
698
|
+
|
699
|
+
| **queue_id** | **String** | String that uniquely identifies this queue resource. | |
|
548
700
|
|
549
|
-
Name | Type | Description | Notes
|
550
|
-
------------- | ------------- | ------------- | -------------
|
551
|
-
**queue_id** | **String**| String that uniquely identifies this queue resource. |
|
552
701
|
|
553
702
|
### Return type
|
554
703
|
|
@@ -566,40 +715,62 @@ Name | Type | Description | Notes
|
|
566
715
|
|
567
716
|
## download_a_recording_file
|
568
717
|
|
569
|
-
> File download_a_recording_file(recording_id)
|
718
|
+
> File download_a_recording_file(account_id, recording_id)
|
570
719
|
|
571
720
|
Download a Recording File
|
572
721
|
|
573
|
-
###
|
722
|
+
### Examples
|
574
723
|
|
575
724
|
```ruby
|
576
|
-
|
725
|
+
require 'time'
|
577
726
|
require 'freeclimb'
|
578
727
|
# setup authorization
|
579
728
|
Freeclimb.configure do |config|
|
580
729
|
# Configure HTTP basic authorization: fc
|
581
|
-
config.username = '
|
582
|
-
config.password = '
|
730
|
+
config.username = 'ACCOUNT_ID'
|
731
|
+
config.password = 'API_KEY'
|
583
732
|
end
|
584
733
|
|
585
734
|
api_instance = Freeclimb::DefaultApi.new
|
735
|
+
|
586
736
|
recording_id = 'recording_id_example' # String | String that uniquely identifies this recording resource.
|
587
737
|
|
738
|
+
|
588
739
|
begin
|
589
|
-
|
740
|
+
|
741
|
+
# Download a Recording File
|
590
742
|
result = api_instance.download_a_recording_file(recording_id)
|
591
743
|
p result
|
592
744
|
rescue Freeclimb::ApiError => e
|
593
|
-
puts "
|
745
|
+
puts "Error when calling DefaultApi->download_a_recording_file: #{e}"
|
746
|
+
end
|
747
|
+
```
|
748
|
+
|
749
|
+
#### Using the download_a_recording_file_with_http_info variant
|
750
|
+
|
751
|
+
This returns an Array which contains the response data, status code and headers.
|
752
|
+
|
753
|
+
> <Array(File, Integer, Hash)> download_a_recording_file_with_http_info(account_id, recording_id)
|
754
|
+
|
755
|
+
```ruby
|
756
|
+
begin
|
757
|
+
# Download a Recording File
|
758
|
+
data, status_code, headers = api_instance.download_a_recording_file_with_http_info(recording_id)
|
759
|
+
p status_code # => 2xx
|
760
|
+
p headers # => { ... }
|
761
|
+
p data # => File
|
762
|
+
rescue Freeclimb::ApiError => e
|
763
|
+
puts "Error when calling DefaultApi->download_a_recording_file_with_http_info: #{e}"
|
594
764
|
end
|
595
765
|
```
|
596
766
|
|
597
767
|
### Parameters
|
598
768
|
|
769
|
+
| Name | Type | Description | Notes |
|
770
|
+
| ---- | ---- | ----------- | ----- |
|
771
|
+
|
772
|
+
| **recording_id** | **String** | String that uniquely identifies this recording resource. | |
|
599
773
|
|
600
|
-
Name | Type | Description | Notes
|
601
|
-
------------- | ------------- | ------------- | -------------
|
602
|
-
**recording_id** | **String**| String that uniquely identifies this recording resource. |
|
603
774
|
|
604
775
|
### Return type
|
605
776
|
|
@@ -617,40 +788,62 @@ Name | Type | Description | Notes
|
|
617
788
|
|
618
789
|
## filter_logs
|
619
790
|
|
620
|
-
> LogList filter_logs(filter_logs_request)
|
791
|
+
> <LogList> filter_logs(account_id, filter_logs_request)
|
621
792
|
|
622
793
|
Filter Logs
|
623
794
|
|
624
|
-
###
|
795
|
+
### Examples
|
625
796
|
|
626
797
|
```ruby
|
627
|
-
|
798
|
+
require 'time'
|
628
799
|
require 'freeclimb'
|
629
800
|
# setup authorization
|
630
801
|
Freeclimb.configure do |config|
|
631
802
|
# Configure HTTP basic authorization: fc
|
632
|
-
config.username = '
|
633
|
-
config.password = '
|
803
|
+
config.username = 'ACCOUNT_ID'
|
804
|
+
config.password = 'API_KEY'
|
634
805
|
end
|
635
806
|
|
636
807
|
api_instance = Freeclimb::DefaultApi.new
|
637
|
-
|
808
|
+
|
809
|
+
filter_logs_request = Freeclimb::FilterLogsRequest.new({pql: 'pql_example'}) # FilterLogsRequest | Filter logs request paramters
|
810
|
+
|
638
811
|
|
639
812
|
begin
|
640
|
-
|
813
|
+
|
814
|
+
# Filter Logs
|
641
815
|
result = api_instance.filter_logs(filter_logs_request)
|
642
816
|
p result
|
643
817
|
rescue Freeclimb::ApiError => e
|
644
|
-
puts "
|
818
|
+
puts "Error when calling DefaultApi->filter_logs: #{e}"
|
819
|
+
end
|
820
|
+
```
|
821
|
+
|
822
|
+
#### Using the filter_logs_with_http_info variant
|
823
|
+
|
824
|
+
This returns an Array which contains the response data, status code and headers.
|
825
|
+
|
826
|
+
> <Array(<LogList>, Integer, Hash)> filter_logs_with_http_info(account_id, filter_logs_request)
|
827
|
+
|
828
|
+
```ruby
|
829
|
+
begin
|
830
|
+
# Filter Logs
|
831
|
+
data, status_code, headers = api_instance.filter_logs_with_http_info(filter_logs_request)
|
832
|
+
p status_code # => 2xx
|
833
|
+
p headers # => { ... }
|
834
|
+
p data # => <LogList>
|
835
|
+
rescue Freeclimb::ApiError => e
|
836
|
+
puts "Error when calling DefaultApi->filter_logs_with_http_info: #{e}"
|
645
837
|
end
|
646
838
|
```
|
647
839
|
|
648
840
|
### Parameters
|
649
841
|
|
842
|
+
| Name | Type | Description | Notes |
|
843
|
+
| ---- | ---- | ----------- | ----- |
|
844
|
+
|
845
|
+
| **filter_logs_request** | [**FilterLogsRequest**](FilterLogsRequest.md) | Filter logs request paramters | |
|
650
846
|
|
651
|
-
Name | Type | Description | Notes
|
652
|
-
------------- | ------------- | ------------- | -------------
|
653
|
-
**filter_logs_request** | [**FilterLogsRequest**](FilterLogsRequest.md)| Filter logs request paramters |
|
654
847
|
|
655
848
|
### Return type
|
656
849
|
|
@@ -668,40 +861,62 @@ Name | Type | Description | Notes
|
|
668
861
|
|
669
862
|
## get_a_call
|
670
863
|
|
671
|
-
> CallResult get_a_call(call_id)
|
864
|
+
> <CallResult> get_a_call(account_id, call_id)
|
672
865
|
|
673
866
|
Get a Call
|
674
867
|
|
675
|
-
###
|
868
|
+
### Examples
|
676
869
|
|
677
870
|
```ruby
|
678
|
-
|
871
|
+
require 'time'
|
679
872
|
require 'freeclimb'
|
680
873
|
# setup authorization
|
681
874
|
Freeclimb.configure do |config|
|
682
875
|
# Configure HTTP basic authorization: fc
|
683
|
-
config.username = '
|
684
|
-
config.password = '
|
876
|
+
config.username = 'ACCOUNT_ID'
|
877
|
+
config.password = 'API_KEY'
|
685
878
|
end
|
686
879
|
|
687
880
|
api_instance = Freeclimb::DefaultApi.new
|
881
|
+
|
688
882
|
call_id = 'call_id_example' # String | String that uniquely identifies this call resource.
|
689
883
|
|
884
|
+
|
690
885
|
begin
|
691
|
-
|
886
|
+
|
887
|
+
# Get a Call
|
692
888
|
result = api_instance.get_a_call(call_id)
|
693
889
|
p result
|
694
890
|
rescue Freeclimb::ApiError => e
|
695
|
-
puts "
|
891
|
+
puts "Error when calling DefaultApi->get_a_call: #{e}"
|
892
|
+
end
|
893
|
+
```
|
894
|
+
|
895
|
+
#### Using the get_a_call_with_http_info variant
|
896
|
+
|
897
|
+
This returns an Array which contains the response data, status code and headers.
|
898
|
+
|
899
|
+
> <Array(<CallResult>, Integer, Hash)> get_a_call_with_http_info(account_id, call_id)
|
900
|
+
|
901
|
+
```ruby
|
902
|
+
begin
|
903
|
+
# Get a Call
|
904
|
+
data, status_code, headers = api_instance.get_a_call_with_http_info(call_id)
|
905
|
+
p status_code # => 2xx
|
906
|
+
p headers # => { ... }
|
907
|
+
p data # => <CallResult>
|
908
|
+
rescue Freeclimb::ApiError => e
|
909
|
+
puts "Error when calling DefaultApi->get_a_call_with_http_info: #{e}"
|
696
910
|
end
|
697
911
|
```
|
698
912
|
|
699
913
|
### Parameters
|
700
914
|
|
915
|
+
| Name | Type | Description | Notes |
|
916
|
+
| ---- | ---- | ----------- | ----- |
|
917
|
+
|
918
|
+
| **call_id** | **String** | String that uniquely identifies this call resource. | |
|
701
919
|
|
702
|
-
Name | Type | Description | Notes
|
703
|
-
------------- | ------------- | ------------- | -------------
|
704
|
-
**call_id** | **String**| String that uniquely identifies this call resource. |
|
705
920
|
|
706
921
|
### Return type
|
707
922
|
|
@@ -719,40 +934,62 @@ Name | Type | Description | Notes
|
|
719
934
|
|
720
935
|
## get_a_conference
|
721
936
|
|
722
|
-
> ConferenceResult get_a_conference(conference_id)
|
937
|
+
> <ConferenceResult> get_a_conference(account_id, conference_id)
|
723
938
|
|
724
939
|
Get a Conference
|
725
940
|
|
726
|
-
###
|
941
|
+
### Examples
|
727
942
|
|
728
943
|
```ruby
|
729
|
-
|
944
|
+
require 'time'
|
730
945
|
require 'freeclimb'
|
731
946
|
# setup authorization
|
732
947
|
Freeclimb.configure do |config|
|
733
948
|
# Configure HTTP basic authorization: fc
|
734
|
-
config.username = '
|
735
|
-
config.password = '
|
949
|
+
config.username = 'ACCOUNT_ID'
|
950
|
+
config.password = 'API_KEY'
|
736
951
|
end
|
737
952
|
|
738
953
|
api_instance = Freeclimb::DefaultApi.new
|
954
|
+
|
739
955
|
conference_id = 'conference_id_example' # String | A string that uniquely identifies this conference resource.
|
740
956
|
|
957
|
+
|
741
958
|
begin
|
742
|
-
|
959
|
+
|
960
|
+
# Get a Conference
|
743
961
|
result = api_instance.get_a_conference(conference_id)
|
744
962
|
p result
|
745
963
|
rescue Freeclimb::ApiError => e
|
746
|
-
puts "
|
964
|
+
puts "Error when calling DefaultApi->get_a_conference: #{e}"
|
965
|
+
end
|
966
|
+
```
|
967
|
+
|
968
|
+
#### Using the get_a_conference_with_http_info variant
|
969
|
+
|
970
|
+
This returns an Array which contains the response data, status code and headers.
|
971
|
+
|
972
|
+
> <Array(<ConferenceResult>, Integer, Hash)> get_a_conference_with_http_info(account_id, conference_id)
|
973
|
+
|
974
|
+
```ruby
|
975
|
+
begin
|
976
|
+
# Get a Conference
|
977
|
+
data, status_code, headers = api_instance.get_a_conference_with_http_info(conference_id)
|
978
|
+
p status_code # => 2xx
|
979
|
+
p headers # => { ... }
|
980
|
+
p data # => <ConferenceResult>
|
981
|
+
rescue Freeclimb::ApiError => e
|
982
|
+
puts "Error when calling DefaultApi->get_a_conference_with_http_info: #{e}"
|
747
983
|
end
|
748
984
|
```
|
749
985
|
|
750
986
|
### Parameters
|
751
987
|
|
988
|
+
| Name | Type | Description | Notes |
|
989
|
+
| ---- | ---- | ----------- | ----- |
|
990
|
+
|
991
|
+
| **conference_id** | **String** | A string that uniquely identifies this conference resource. | |
|
752
992
|
|
753
|
-
Name | Type | Description | Notes
|
754
|
-
------------- | ------------- | ------------- | -------------
|
755
|
-
**conference_id** | **String**| A string that uniquely identifies this conference resource. |
|
756
993
|
|
757
994
|
### Return type
|
758
995
|
|
@@ -770,42 +1007,66 @@ Name | Type | Description | Notes
|
|
770
1007
|
|
771
1008
|
## get_a_member
|
772
1009
|
|
773
|
-
> QueueMember get_a_member(queue_id, call_id)
|
1010
|
+
> <QueueMember> get_a_member(account_id, queue_id, call_id)
|
774
1011
|
|
775
1012
|
Get a Member
|
776
1013
|
|
777
|
-
###
|
1014
|
+
### Examples
|
778
1015
|
|
779
1016
|
```ruby
|
780
|
-
|
1017
|
+
require 'time'
|
781
1018
|
require 'freeclimb'
|
782
1019
|
# setup authorization
|
783
1020
|
Freeclimb.configure do |config|
|
784
1021
|
# Configure HTTP basic authorization: fc
|
785
|
-
config.username = '
|
786
|
-
config.password = '
|
1022
|
+
config.username = 'ACCOUNT_ID'
|
1023
|
+
config.password = 'API_KEY'
|
787
1024
|
end
|
788
1025
|
|
789
1026
|
api_instance = Freeclimb::DefaultApi.new
|
1027
|
+
|
790
1028
|
queue_id = 'queue_id_example' # String | String that uniquely identifies the Queue that the Member belongs to.
|
1029
|
+
|
791
1030
|
call_id = 'call_id_example' # String | ID of the Call that the Member belongs to
|
792
1031
|
|
1032
|
+
|
793
1033
|
begin
|
794
|
-
|
1034
|
+
|
1035
|
+
# Get a Member
|
795
1036
|
result = api_instance.get_a_member(queue_id, call_id)
|
796
1037
|
p result
|
797
1038
|
rescue Freeclimb::ApiError => e
|
798
|
-
puts "
|
1039
|
+
puts "Error when calling DefaultApi->get_a_member: #{e}"
|
1040
|
+
end
|
1041
|
+
```
|
1042
|
+
|
1043
|
+
#### Using the get_a_member_with_http_info variant
|
1044
|
+
|
1045
|
+
This returns an Array which contains the response data, status code and headers.
|
1046
|
+
|
1047
|
+
> <Array(<QueueMember>, Integer, Hash)> get_a_member_with_http_info(account_id, queue_id, call_id)
|
1048
|
+
|
1049
|
+
```ruby
|
1050
|
+
begin
|
1051
|
+
# Get a Member
|
1052
|
+
data, status_code, headers = api_instance.get_a_member_with_http_info(queue_id, call_id)
|
1053
|
+
p status_code # => 2xx
|
1054
|
+
p headers # => { ... }
|
1055
|
+
p data # => <QueueMember>
|
1056
|
+
rescue Freeclimb::ApiError => e
|
1057
|
+
puts "Error when calling DefaultApi->get_a_member_with_http_info: #{e}"
|
799
1058
|
end
|
800
1059
|
```
|
801
1060
|
|
802
1061
|
### Parameters
|
803
1062
|
|
1063
|
+
| Name | Type | Description | Notes |
|
1064
|
+
| ---- | ---- | ----------- | ----- |
|
1065
|
+
|
1066
|
+
| **queue_id** | **String** | String that uniquely identifies the Queue that the Member belongs to. | |
|
1067
|
+
|
1068
|
+
| **call_id** | **String** | ID of the Call that the Member belongs to | |
|
804
1069
|
|
805
|
-
Name | Type | Description | Notes
|
806
|
-
------------- | ------------- | ------------- | -------------
|
807
|
-
**queue_id** | **String**| String that uniquely identifies the Queue that the Member belongs to. |
|
808
|
-
**call_id** | **String**| ID of the Call that the Member belongs to |
|
809
1070
|
|
810
1071
|
### Return type
|
811
1072
|
|
@@ -823,42 +1084,66 @@ Name | Type | Description | Notes
|
|
823
1084
|
|
824
1085
|
## get_a_participant
|
825
1086
|
|
826
|
-
> ConferenceParticipantResult get_a_participant(conference_id, call_id)
|
1087
|
+
> <ConferenceParticipantResult> get_a_participant(account_id, conference_id, call_id)
|
827
1088
|
|
828
1089
|
Get a Participant
|
829
1090
|
|
830
|
-
###
|
1091
|
+
### Examples
|
831
1092
|
|
832
1093
|
```ruby
|
833
|
-
|
1094
|
+
require 'time'
|
834
1095
|
require 'freeclimb'
|
835
1096
|
# setup authorization
|
836
1097
|
Freeclimb.configure do |config|
|
837
1098
|
# Configure HTTP basic authorization: fc
|
838
|
-
config.username = '
|
839
|
-
config.password = '
|
1099
|
+
config.username = 'ACCOUNT_ID'
|
1100
|
+
config.password = 'API_KEY'
|
840
1101
|
end
|
841
1102
|
|
842
1103
|
api_instance = Freeclimb::DefaultApi.new
|
1104
|
+
|
843
1105
|
conference_id = 'conference_id_example' # String | ID of the conference this participant is in.
|
1106
|
+
|
844
1107
|
call_id = 'call_id_example' # String | ID of the Call associated with this participant.
|
845
1108
|
|
1109
|
+
|
846
1110
|
begin
|
847
|
-
|
1111
|
+
|
1112
|
+
# Get a Participant
|
848
1113
|
result = api_instance.get_a_participant(conference_id, call_id)
|
849
1114
|
p result
|
850
1115
|
rescue Freeclimb::ApiError => e
|
851
|
-
puts "
|
1116
|
+
puts "Error when calling DefaultApi->get_a_participant: #{e}"
|
1117
|
+
end
|
1118
|
+
```
|
1119
|
+
|
1120
|
+
#### Using the get_a_participant_with_http_info variant
|
1121
|
+
|
1122
|
+
This returns an Array which contains the response data, status code and headers.
|
1123
|
+
|
1124
|
+
> <Array(<ConferenceParticipantResult>, Integer, Hash)> get_a_participant_with_http_info(account_id, conference_id, call_id)
|
1125
|
+
|
1126
|
+
```ruby
|
1127
|
+
begin
|
1128
|
+
# Get a Participant
|
1129
|
+
data, status_code, headers = api_instance.get_a_participant_with_http_info(conference_id, call_id)
|
1130
|
+
p status_code # => 2xx
|
1131
|
+
p headers # => { ... }
|
1132
|
+
p data # => <ConferenceParticipantResult>
|
1133
|
+
rescue Freeclimb::ApiError => e
|
1134
|
+
puts "Error when calling DefaultApi->get_a_participant_with_http_info: #{e}"
|
852
1135
|
end
|
853
1136
|
```
|
854
1137
|
|
855
1138
|
### Parameters
|
856
1139
|
|
1140
|
+
| Name | Type | Description | Notes |
|
1141
|
+
| ---- | ---- | ----------- | ----- |
|
1142
|
+
|
1143
|
+
| **conference_id** | **String** | ID of the conference this participant is in. | |
|
1144
|
+
|
1145
|
+
| **call_id** | **String** | ID of the Call associated with this participant. | |
|
857
1146
|
|
858
|
-
Name | Type | Description | Notes
|
859
|
-
------------- | ------------- | ------------- | -------------
|
860
|
-
**conference_id** | **String**| ID of the conference this participant is in. |
|
861
|
-
**call_id** | **String**| ID of the Call associated with this participant. |
|
862
1147
|
|
863
1148
|
### Return type
|
864
1149
|
|
@@ -876,40 +1161,62 @@ Name | Type | Description | Notes
|
|
876
1161
|
|
877
1162
|
## get_a_queue
|
878
1163
|
|
879
|
-
> QueueResult get_a_queue(queue_id)
|
1164
|
+
> <QueueResult> get_a_queue(account_id, queue_id)
|
880
1165
|
|
881
1166
|
Get a Queue
|
882
1167
|
|
883
|
-
###
|
1168
|
+
### Examples
|
884
1169
|
|
885
1170
|
```ruby
|
886
|
-
|
1171
|
+
require 'time'
|
887
1172
|
require 'freeclimb'
|
888
1173
|
# setup authorization
|
889
1174
|
Freeclimb.configure do |config|
|
890
1175
|
# Configure HTTP basic authorization: fc
|
891
|
-
config.username = '
|
892
|
-
config.password = '
|
1176
|
+
config.username = 'ACCOUNT_ID'
|
1177
|
+
config.password = 'API_KEY'
|
893
1178
|
end
|
894
1179
|
|
895
1180
|
api_instance = Freeclimb::DefaultApi.new
|
1181
|
+
|
896
1182
|
queue_id = 'queue_id_example' # String | A string that uniquely identifies this queue resource.
|
897
1183
|
|
1184
|
+
|
898
1185
|
begin
|
899
|
-
|
1186
|
+
|
1187
|
+
# Get a Queue
|
900
1188
|
result = api_instance.get_a_queue(queue_id)
|
901
1189
|
p result
|
902
1190
|
rescue Freeclimb::ApiError => e
|
903
|
-
puts "
|
1191
|
+
puts "Error when calling DefaultApi->get_a_queue: #{e}"
|
1192
|
+
end
|
1193
|
+
```
|
1194
|
+
|
1195
|
+
#### Using the get_a_queue_with_http_info variant
|
1196
|
+
|
1197
|
+
This returns an Array which contains the response data, status code and headers.
|
1198
|
+
|
1199
|
+
> <Array(<QueueResult>, Integer, Hash)> get_a_queue_with_http_info(account_id, queue_id)
|
1200
|
+
|
1201
|
+
```ruby
|
1202
|
+
begin
|
1203
|
+
# Get a Queue
|
1204
|
+
data, status_code, headers = api_instance.get_a_queue_with_http_info(queue_id)
|
1205
|
+
p status_code # => 2xx
|
1206
|
+
p headers # => { ... }
|
1207
|
+
p data # => <QueueResult>
|
1208
|
+
rescue Freeclimb::ApiError => e
|
1209
|
+
puts "Error when calling DefaultApi->get_a_queue_with_http_info: #{e}"
|
904
1210
|
end
|
905
1211
|
```
|
906
1212
|
|
907
1213
|
### Parameters
|
908
1214
|
|
1215
|
+
| Name | Type | Description | Notes |
|
1216
|
+
| ---- | ---- | ----------- | ----- |
|
1217
|
+
|
1218
|
+
| **queue_id** | **String** | A string that uniquely identifies this queue resource. | |
|
909
1219
|
|
910
|
-
Name | Type | Description | Notes
|
911
|
-
------------- | ------------- | ------------- | -------------
|
912
|
-
**queue_id** | **String**| A string that uniquely identifies this queue resource. |
|
913
1220
|
|
914
1221
|
### Return type
|
915
1222
|
|
@@ -927,40 +1234,62 @@ Name | Type | Description | Notes
|
|
927
1234
|
|
928
1235
|
## get_a_recording
|
929
1236
|
|
930
|
-
> RecordingResult get_a_recording(recording_id)
|
1237
|
+
> <RecordingResult> get_a_recording(account_id, recording_id)
|
931
1238
|
|
932
1239
|
Get a Recording
|
933
1240
|
|
934
|
-
###
|
1241
|
+
### Examples
|
935
1242
|
|
936
1243
|
```ruby
|
937
|
-
|
1244
|
+
require 'time'
|
938
1245
|
require 'freeclimb'
|
939
1246
|
# setup authorization
|
940
1247
|
Freeclimb.configure do |config|
|
941
1248
|
# Configure HTTP basic authorization: fc
|
942
|
-
config.username = '
|
943
|
-
config.password = '
|
1249
|
+
config.username = 'ACCOUNT_ID'
|
1250
|
+
config.password = 'API_KEY'
|
944
1251
|
end
|
945
1252
|
|
946
1253
|
api_instance = Freeclimb::DefaultApi.new
|
1254
|
+
|
947
1255
|
recording_id = 'recording_id_example' # String | String that uniquely identifies this recording resource.
|
948
1256
|
|
1257
|
+
|
949
1258
|
begin
|
950
|
-
|
1259
|
+
|
1260
|
+
# Get a Recording
|
951
1261
|
result = api_instance.get_a_recording(recording_id)
|
952
1262
|
p result
|
953
1263
|
rescue Freeclimb::ApiError => e
|
954
|
-
puts "
|
1264
|
+
puts "Error when calling DefaultApi->get_a_recording: #{e}"
|
1265
|
+
end
|
1266
|
+
```
|
1267
|
+
|
1268
|
+
#### Using the get_a_recording_with_http_info variant
|
1269
|
+
|
1270
|
+
This returns an Array which contains the response data, status code and headers.
|
1271
|
+
|
1272
|
+
> <Array(<RecordingResult>, Integer, Hash)> get_a_recording_with_http_info(account_id, recording_id)
|
1273
|
+
|
1274
|
+
```ruby
|
1275
|
+
begin
|
1276
|
+
# Get a Recording
|
1277
|
+
data, status_code, headers = api_instance.get_a_recording_with_http_info(recording_id)
|
1278
|
+
p status_code # => 2xx
|
1279
|
+
p headers # => { ... }
|
1280
|
+
p data # => <RecordingResult>
|
1281
|
+
rescue Freeclimb::ApiError => e
|
1282
|
+
puts "Error when calling DefaultApi->get_a_recording_with_http_info: #{e}"
|
955
1283
|
end
|
956
1284
|
```
|
957
1285
|
|
958
1286
|
### Parameters
|
959
1287
|
|
1288
|
+
| Name | Type | Description | Notes |
|
1289
|
+
| ---- | ---- | ----------- | ----- |
|
1290
|
+
|
1291
|
+
| **recording_id** | **String** | String that uniquely identifies this recording resource. | |
|
960
1292
|
|
961
|
-
Name | Type | Description | Notes
|
962
|
-
------------- | ------------- | ------------- | -------------
|
963
|
-
**recording_id** | **String**| String that uniquely identifies this recording resource. |
|
964
1293
|
|
965
1294
|
### Return type
|
966
1295
|
|
@@ -976,42 +1305,133 @@ Name | Type | Description | Notes
|
|
976
1305
|
- **Accept**: application/json
|
977
1306
|
|
978
1307
|
|
1308
|
+
## get_an_account
|
1309
|
+
|
1310
|
+
> <AccountResult> get_an_account(account_id)
|
1311
|
+
|
1312
|
+
Get an Account
|
1313
|
+
|
1314
|
+
### Examples
|
1315
|
+
|
1316
|
+
```ruby
|
1317
|
+
require 'time'
|
1318
|
+
require 'freeclimb'
|
1319
|
+
# setup authorization
|
1320
|
+
Freeclimb.configure do |config|
|
1321
|
+
# Configure HTTP basic authorization: fc
|
1322
|
+
config.username = 'ACCOUNT_ID'
|
1323
|
+
config.password = 'API_KEY'
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
api_instance = Freeclimb::DefaultApi.new
|
1327
|
+
|
1328
|
+
|
1329
|
+
begin
|
1330
|
+
|
1331
|
+
# Get an Account
|
1332
|
+
result = api_instance.get_an_account()
|
1333
|
+
p result
|
1334
|
+
rescue Freeclimb::ApiError => e
|
1335
|
+
puts "Error when calling DefaultApi->get_an_account: #{e}"
|
1336
|
+
end
|
1337
|
+
```
|
1338
|
+
|
1339
|
+
#### Using the get_an_account_with_http_info variant
|
1340
|
+
|
1341
|
+
This returns an Array which contains the response data, status code and headers.
|
1342
|
+
|
1343
|
+
> <Array(<AccountResult>, Integer, Hash)> get_an_account_with_http_info(account_id)
|
1344
|
+
|
1345
|
+
```ruby
|
1346
|
+
begin
|
1347
|
+
# Get an Account
|
1348
|
+
data, status_code, headers = api_instance.get_an_account_with_http_info()
|
1349
|
+
p status_code # => 2xx
|
1350
|
+
p headers # => { ... }
|
1351
|
+
p data # => <AccountResult>
|
1352
|
+
rescue Freeclimb::ApiError => e
|
1353
|
+
puts "Error when calling DefaultApi->get_an_account_with_http_info: #{e}"
|
1354
|
+
end
|
1355
|
+
```
|
1356
|
+
|
1357
|
+
### Parameters
|
1358
|
+
|
1359
|
+
| Name | Type | Description | Notes |
|
1360
|
+
| ---- | ---- | ----------- | ----- |
|
1361
|
+
|
1362
|
+
|
1363
|
+
### Return type
|
1364
|
+
|
1365
|
+
[**AccountResult**](AccountResult.md)
|
1366
|
+
|
1367
|
+
### Authorization
|
1368
|
+
|
1369
|
+
[fc](../README.md#fc)
|
1370
|
+
|
1371
|
+
### HTTP request headers
|
1372
|
+
|
1373
|
+
- **Content-Type**: Not defined
|
1374
|
+
- **Accept**: application/json
|
1375
|
+
|
1376
|
+
|
979
1377
|
## get_an_application
|
980
1378
|
|
981
|
-
> ApplicationResult get_an_application(application_id)
|
1379
|
+
> <ApplicationResult> get_an_application(account_id, application_id)
|
982
1380
|
|
983
1381
|
Get an Application
|
984
1382
|
|
985
|
-
###
|
1383
|
+
### Examples
|
986
1384
|
|
987
1385
|
```ruby
|
988
|
-
|
1386
|
+
require 'time'
|
989
1387
|
require 'freeclimb'
|
990
1388
|
# setup authorization
|
991
1389
|
Freeclimb.configure do |config|
|
992
1390
|
# Configure HTTP basic authorization: fc
|
993
|
-
config.username = '
|
994
|
-
config.password = '
|
1391
|
+
config.username = 'ACCOUNT_ID'
|
1392
|
+
config.password = 'API_KEY'
|
995
1393
|
end
|
996
1394
|
|
997
1395
|
api_instance = Freeclimb::DefaultApi.new
|
1396
|
+
|
998
1397
|
application_id = 'application_id_example' # String | A string that uniquely identifies this application resource.
|
999
1398
|
|
1399
|
+
|
1000
1400
|
begin
|
1001
|
-
|
1401
|
+
|
1402
|
+
# Get an Application
|
1002
1403
|
result = api_instance.get_an_application(application_id)
|
1003
1404
|
p result
|
1004
1405
|
rescue Freeclimb::ApiError => e
|
1005
|
-
puts "
|
1406
|
+
puts "Error when calling DefaultApi->get_an_application: #{e}"
|
1407
|
+
end
|
1408
|
+
```
|
1409
|
+
|
1410
|
+
#### Using the get_an_application_with_http_info variant
|
1411
|
+
|
1412
|
+
This returns an Array which contains the response data, status code and headers.
|
1413
|
+
|
1414
|
+
> <Array(<ApplicationResult>, Integer, Hash)> get_an_application_with_http_info(account_id, application_id)
|
1415
|
+
|
1416
|
+
```ruby
|
1417
|
+
begin
|
1418
|
+
# Get an Application
|
1419
|
+
data, status_code, headers = api_instance.get_an_application_with_http_info(application_id)
|
1420
|
+
p status_code # => 2xx
|
1421
|
+
p headers # => { ... }
|
1422
|
+
p data # => <ApplicationResult>
|
1423
|
+
rescue Freeclimb::ApiError => e
|
1424
|
+
puts "Error when calling DefaultApi->get_an_application_with_http_info: #{e}"
|
1006
1425
|
end
|
1007
1426
|
```
|
1008
1427
|
|
1009
1428
|
### Parameters
|
1010
1429
|
|
1430
|
+
| Name | Type | Description | Notes |
|
1431
|
+
| ---- | ---- | ----------- | ----- |
|
1432
|
+
|
1433
|
+
| **application_id** | **String** | A string that uniquely identifies this application resource. | |
|
1011
1434
|
|
1012
|
-
Name | Type | Description | Notes
|
1013
|
-
------------- | ------------- | ------------- | -------------
|
1014
|
-
**application_id** | **String**| A string that uniquely identifies this application resource. |
|
1015
1435
|
|
1016
1436
|
### Return type
|
1017
1437
|
|
@@ -1029,40 +1449,62 @@ Name | Type | Description | Notes
|
|
1029
1449
|
|
1030
1450
|
## get_an_incoming_number
|
1031
1451
|
|
1032
|
-
> IncomingNumberResult get_an_incoming_number(phone_number_id)
|
1452
|
+
> <IncomingNumberResult> get_an_incoming_number(account_id, phone_number_id)
|
1033
1453
|
|
1034
1454
|
Get an Incoming Number
|
1035
1455
|
|
1036
|
-
###
|
1456
|
+
### Examples
|
1037
1457
|
|
1038
1458
|
```ruby
|
1039
|
-
|
1459
|
+
require 'time'
|
1040
1460
|
require 'freeclimb'
|
1041
1461
|
# setup authorization
|
1042
1462
|
Freeclimb.configure do |config|
|
1043
1463
|
# Configure HTTP basic authorization: fc
|
1044
|
-
config.username = '
|
1045
|
-
config.password = '
|
1464
|
+
config.username = 'ACCOUNT_ID'
|
1465
|
+
config.password = 'API_KEY'
|
1046
1466
|
end
|
1047
1467
|
|
1048
1468
|
api_instance = Freeclimb::DefaultApi.new
|
1469
|
+
|
1049
1470
|
phone_number_id = 'phone_number_id_example' # String | String that uniquely identifies this phone number resource.
|
1050
1471
|
|
1472
|
+
|
1051
1473
|
begin
|
1052
|
-
|
1474
|
+
|
1475
|
+
# Get an Incoming Number
|
1053
1476
|
result = api_instance.get_an_incoming_number(phone_number_id)
|
1054
1477
|
p result
|
1055
1478
|
rescue Freeclimb::ApiError => e
|
1056
|
-
puts "
|
1479
|
+
puts "Error when calling DefaultApi->get_an_incoming_number: #{e}"
|
1480
|
+
end
|
1481
|
+
```
|
1482
|
+
|
1483
|
+
#### Using the get_an_incoming_number_with_http_info variant
|
1484
|
+
|
1485
|
+
This returns an Array which contains the response data, status code and headers.
|
1486
|
+
|
1487
|
+
> <Array(<IncomingNumberResult>, Integer, Hash)> get_an_incoming_number_with_http_info(account_id, phone_number_id)
|
1488
|
+
|
1489
|
+
```ruby
|
1490
|
+
begin
|
1491
|
+
# Get an Incoming Number
|
1492
|
+
data, status_code, headers = api_instance.get_an_incoming_number_with_http_info(phone_number_id)
|
1493
|
+
p status_code # => 2xx
|
1494
|
+
p headers # => { ... }
|
1495
|
+
p data # => <IncomingNumberResult>
|
1496
|
+
rescue Freeclimb::ApiError => e
|
1497
|
+
puts "Error when calling DefaultApi->get_an_incoming_number_with_http_info: #{e}"
|
1057
1498
|
end
|
1058
1499
|
```
|
1059
1500
|
|
1060
1501
|
### Parameters
|
1061
1502
|
|
1503
|
+
| Name | Type | Description | Notes |
|
1504
|
+
| ---- | ---- | ----------- | ----- |
|
1505
|
+
|
1506
|
+
| **phone_number_id** | **String** | String that uniquely identifies this phone number resource. | |
|
1062
1507
|
|
1063
|
-
Name | Type | Description | Notes
|
1064
|
-
------------- | ------------- | ------------- | -------------
|
1065
|
-
**phone_number_id** | **String**| String that uniquely identifies this phone number resource. |
|
1066
1508
|
|
1067
1509
|
### Return type
|
1068
1510
|
|
@@ -1080,40 +1522,62 @@ Name | Type | Description | Notes
|
|
1080
1522
|
|
1081
1523
|
## get_an_sms_message
|
1082
1524
|
|
1083
|
-
> MessageResult get_an_sms_message(message_id)
|
1525
|
+
> <MessageResult> get_an_sms_message(account_id, message_id)
|
1084
1526
|
|
1085
1527
|
Get an SMS Message
|
1086
1528
|
|
1087
|
-
###
|
1529
|
+
### Examples
|
1088
1530
|
|
1089
1531
|
```ruby
|
1090
|
-
|
1532
|
+
require 'time'
|
1091
1533
|
require 'freeclimb'
|
1092
1534
|
# setup authorization
|
1093
1535
|
Freeclimb.configure do |config|
|
1094
1536
|
# Configure HTTP basic authorization: fc
|
1095
|
-
config.username = '
|
1096
|
-
config.password = '
|
1537
|
+
config.username = 'ACCOUNT_ID'
|
1538
|
+
config.password = 'API_KEY'
|
1097
1539
|
end
|
1098
1540
|
|
1099
1541
|
api_instance = Freeclimb::DefaultApi.new
|
1542
|
+
|
1100
1543
|
message_id = 'message_id_example' # String | String that uniquely identifies this Message resource.
|
1101
1544
|
|
1545
|
+
|
1102
1546
|
begin
|
1103
|
-
|
1547
|
+
|
1548
|
+
# Get an SMS Message
|
1104
1549
|
result = api_instance.get_an_sms_message(message_id)
|
1105
1550
|
p result
|
1106
1551
|
rescue Freeclimb::ApiError => e
|
1107
|
-
puts "
|
1552
|
+
puts "Error when calling DefaultApi->get_an_sms_message: #{e}"
|
1553
|
+
end
|
1554
|
+
```
|
1555
|
+
|
1556
|
+
#### Using the get_an_sms_message_with_http_info variant
|
1557
|
+
|
1558
|
+
This returns an Array which contains the response data, status code and headers.
|
1559
|
+
|
1560
|
+
> <Array(<MessageResult>, Integer, Hash)> get_an_sms_message_with_http_info(account_id, message_id)
|
1561
|
+
|
1562
|
+
```ruby
|
1563
|
+
begin
|
1564
|
+
# Get an SMS Message
|
1565
|
+
data, status_code, headers = api_instance.get_an_sms_message_with_http_info(message_id)
|
1566
|
+
p status_code # => 2xx
|
1567
|
+
p headers # => { ... }
|
1568
|
+
p data # => <MessageResult>
|
1569
|
+
rescue Freeclimb::ApiError => e
|
1570
|
+
puts "Error when calling DefaultApi->get_an_sms_message_with_http_info: #{e}"
|
1108
1571
|
end
|
1109
1572
|
```
|
1110
1573
|
|
1111
1574
|
### Parameters
|
1112
1575
|
|
1576
|
+
| Name | Type | Description | Notes |
|
1577
|
+
| ---- | ---- | ----------- | ----- |
|
1578
|
+
|
1579
|
+
| **message_id** | **String** | String that uniquely identifies this Message resource. | |
|
1113
1580
|
|
1114
|
-
Name | Type | Description | Notes
|
1115
|
-
------------- | ------------- | ------------- | -------------
|
1116
|
-
**message_id** | **String**| String that uniquely identifies this Message resource. |
|
1117
1581
|
|
1118
1582
|
### Return type
|
1119
1583
|
|
@@ -1131,40 +1595,62 @@ Name | Type | Description | Notes
|
|
1131
1595
|
|
1132
1596
|
## get_head_member
|
1133
1597
|
|
1134
|
-
> QueueMember get_head_member(queue_id)
|
1598
|
+
> <QueueMember> get_head_member(account_id, queue_id)
|
1135
1599
|
|
1136
1600
|
Get Head Member
|
1137
1601
|
|
1138
|
-
###
|
1602
|
+
### Examples
|
1139
1603
|
|
1140
1604
|
```ruby
|
1141
|
-
|
1605
|
+
require 'time'
|
1142
1606
|
require 'freeclimb'
|
1143
1607
|
# setup authorization
|
1144
1608
|
Freeclimb.configure do |config|
|
1145
1609
|
# Configure HTTP basic authorization: fc
|
1146
|
-
config.username = '
|
1147
|
-
config.password = '
|
1610
|
+
config.username = 'ACCOUNT_ID'
|
1611
|
+
config.password = 'API_KEY'
|
1148
1612
|
end
|
1149
1613
|
|
1150
1614
|
api_instance = Freeclimb::DefaultApi.new
|
1615
|
+
|
1151
1616
|
queue_id = 'queue_id_example' # String | String that uniquely identifies the Queue that the Member belongs to.
|
1152
1617
|
|
1618
|
+
|
1153
1619
|
begin
|
1154
|
-
|
1620
|
+
|
1621
|
+
# Get Head Member
|
1155
1622
|
result = api_instance.get_head_member(queue_id)
|
1156
1623
|
p result
|
1157
1624
|
rescue Freeclimb::ApiError => e
|
1158
|
-
puts "
|
1625
|
+
puts "Error when calling DefaultApi->get_head_member: #{e}"
|
1626
|
+
end
|
1627
|
+
```
|
1628
|
+
|
1629
|
+
#### Using the get_head_member_with_http_info variant
|
1630
|
+
|
1631
|
+
This returns an Array which contains the response data, status code and headers.
|
1632
|
+
|
1633
|
+
> <Array(<QueueMember>, Integer, Hash)> get_head_member_with_http_info(account_id, queue_id)
|
1634
|
+
|
1635
|
+
```ruby
|
1636
|
+
begin
|
1637
|
+
# Get Head Member
|
1638
|
+
data, status_code, headers = api_instance.get_head_member_with_http_info(queue_id)
|
1639
|
+
p status_code # => 2xx
|
1640
|
+
p headers # => { ... }
|
1641
|
+
p data # => <QueueMember>
|
1642
|
+
rescue Freeclimb::ApiError => e
|
1643
|
+
puts "Error when calling DefaultApi->get_head_member_with_http_info: #{e}"
|
1159
1644
|
end
|
1160
1645
|
```
|
1161
1646
|
|
1162
1647
|
### Parameters
|
1163
1648
|
|
1649
|
+
| Name | Type | Description | Notes |
|
1650
|
+
| ---- | ---- | ----------- | ----- |
|
1651
|
+
|
1652
|
+
| **queue_id** | **String** | String that uniquely identifies the Queue that the Member belongs to. | |
|
1164
1653
|
|
1165
|
-
Name | Type | Description | Notes
|
1166
|
-
------------- | ------------- | ------------- | -------------
|
1167
|
-
**queue_id** | **String**| String that uniquely identifies the Queue that the Member belongs to. |
|
1168
1654
|
|
1169
1655
|
### Return type
|
1170
1656
|
|
@@ -1182,42 +1668,63 @@ Name | Type | Description | Notes
|
|
1182
1668
|
|
1183
1669
|
## list_active_queues
|
1184
1670
|
|
1185
|
-
> QueueList list_active_queues(opts)
|
1671
|
+
> <QueueList> list_active_queues(account_id, opts)
|
1186
1672
|
|
1187
1673
|
List Active Queues
|
1188
1674
|
|
1189
|
-
###
|
1675
|
+
### Examples
|
1190
1676
|
|
1191
1677
|
```ruby
|
1192
|
-
|
1678
|
+
require 'time'
|
1193
1679
|
require 'freeclimb'
|
1194
1680
|
# setup authorization
|
1195
1681
|
Freeclimb.configure do |config|
|
1196
1682
|
# Configure HTTP basic authorization: fc
|
1197
|
-
config.username = '
|
1198
|
-
config.password = '
|
1683
|
+
config.username = 'ACCOUNT_ID'
|
1684
|
+
config.password = 'API_KEY'
|
1199
1685
|
end
|
1200
1686
|
|
1201
1687
|
api_instance = Freeclimb::DefaultApi.new
|
1688
|
+
|
1202
1689
|
opts = {
|
1203
1690
|
_alias: '_alias_example' # String | Return only the Queue resources with aliases that exactly match this name.
|
1204
1691
|
}
|
1205
1692
|
|
1206
1693
|
begin
|
1207
|
-
|
1694
|
+
|
1695
|
+
# List Active Queues
|
1208
1696
|
result = api_instance.list_active_queues(opts)
|
1209
1697
|
p result
|
1210
1698
|
rescue Freeclimb::ApiError => e
|
1211
|
-
puts "
|
1699
|
+
puts "Error when calling DefaultApi->list_active_queues: #{e}"
|
1700
|
+
end
|
1701
|
+
```
|
1702
|
+
|
1703
|
+
#### Using the list_active_queues_with_http_info variant
|
1704
|
+
|
1705
|
+
This returns an Array which contains the response data, status code and headers.
|
1706
|
+
|
1707
|
+
> <Array(<QueueList>, Integer, Hash)> list_active_queues_with_http_info(account_id, opts)
|
1708
|
+
|
1709
|
+
```ruby
|
1710
|
+
begin
|
1711
|
+
# List Active Queues
|
1712
|
+
data, status_code, headers = api_instance.list_active_queues_with_http_info(opts)
|
1713
|
+
p status_code # => 2xx
|
1714
|
+
p headers # => { ... }
|
1715
|
+
p data # => <QueueList>
|
1716
|
+
rescue Freeclimb::ApiError => e
|
1717
|
+
puts "Error when calling DefaultApi->list_active_queues_with_http_info: #{e}"
|
1212
1718
|
end
|
1213
1719
|
```
|
1214
1720
|
|
1215
1721
|
### Parameters
|
1216
1722
|
|
1723
|
+
| Name | Type | Description | Notes |
|
1724
|
+
| ---- | ---- | ----------- | ----- |
|
1725
|
+
|
1726
|
+
| **_alias** | **String** | Return only the Queue resources with aliases that exactly match this name. | [optional] |
|
1217
1727
|
|
1218
|
-
Name | Type | Description | Notes
|
1219
|
-
------------- | ------------- | ------------- | -------------
|
1220
|
-
**_alias** | **String**| Return only the Queue resources with aliases that exactly match this name. | [optional]
|
1221
1728
|
|
1222
1729
|
### Return type
|
1223
1730
|
|
@@ -1235,36 +1742,58 @@ Name | Type | Description | Notes
|
|
1235
1742
|
|
1236
1743
|
## list_all_account_logs
|
1237
1744
|
|
1238
|
-
> LogList list_all_account_logs
|
1745
|
+
> <LogList> list_all_account_logs(account_id)
|
1239
1746
|
|
1240
1747
|
List All Account Logs
|
1241
1748
|
|
1242
|
-
###
|
1749
|
+
### Examples
|
1243
1750
|
|
1244
1751
|
```ruby
|
1245
|
-
|
1752
|
+
require 'time'
|
1246
1753
|
require 'freeclimb'
|
1247
1754
|
# setup authorization
|
1248
1755
|
Freeclimb.configure do |config|
|
1249
1756
|
# Configure HTTP basic authorization: fc
|
1250
|
-
config.username = '
|
1251
|
-
config.password = '
|
1757
|
+
config.username = 'ACCOUNT_ID'
|
1758
|
+
config.password = 'API_KEY'
|
1252
1759
|
end
|
1253
1760
|
|
1254
1761
|
api_instance = Freeclimb::DefaultApi.new
|
1255
1762
|
|
1763
|
+
|
1256
1764
|
begin
|
1257
|
-
|
1258
|
-
|
1765
|
+
|
1766
|
+
# List All Account Logs
|
1767
|
+
result = api_instance.list_all_account_logs()
|
1259
1768
|
p result
|
1260
1769
|
rescue Freeclimb::ApiError => e
|
1261
|
-
puts "
|
1770
|
+
puts "Error when calling DefaultApi->list_all_account_logs: #{e}"
|
1771
|
+
end
|
1772
|
+
```
|
1773
|
+
|
1774
|
+
#### Using the list_all_account_logs_with_http_info variant
|
1775
|
+
|
1776
|
+
This returns an Array which contains the response data, status code and headers.
|
1777
|
+
|
1778
|
+
> <Array(<LogList>, Integer, Hash)> list_all_account_logs_with_http_info(account_id)
|
1779
|
+
|
1780
|
+
```ruby
|
1781
|
+
begin
|
1782
|
+
# List All Account Logs
|
1783
|
+
data, status_code, headers = api_instance.list_all_account_logs_with_http_info()
|
1784
|
+
p status_code # => 2xx
|
1785
|
+
p headers # => { ... }
|
1786
|
+
p data # => <LogList>
|
1787
|
+
rescue Freeclimb::ApiError => e
|
1788
|
+
puts "Error when calling DefaultApi->list_all_account_logs_with_http_info: #{e}"
|
1262
1789
|
end
|
1263
1790
|
```
|
1264
1791
|
|
1265
1792
|
### Parameters
|
1266
1793
|
|
1267
|
-
|
1794
|
+
| Name | Type | Description | Notes |
|
1795
|
+
| ---- | ---- | ----------- | ----- |
|
1796
|
+
|
1268
1797
|
|
1269
1798
|
### Return type
|
1270
1799
|
|
@@ -1282,42 +1811,63 @@ This endpoint does not need any parameter.
|
|
1282
1811
|
|
1283
1812
|
## list_an_application
|
1284
1813
|
|
1285
|
-
> ApplicationList list_an_application(opts)
|
1814
|
+
> <ApplicationList> list_an_application(account_id, opts)
|
1286
1815
|
|
1287
1816
|
List applications
|
1288
1817
|
|
1289
|
-
###
|
1818
|
+
### Examples
|
1290
1819
|
|
1291
1820
|
```ruby
|
1292
|
-
|
1821
|
+
require 'time'
|
1293
1822
|
require 'freeclimb'
|
1294
1823
|
# setup authorization
|
1295
1824
|
Freeclimb.configure do |config|
|
1296
1825
|
# Configure HTTP basic authorization: fc
|
1297
|
-
config.username = '
|
1298
|
-
config.password = '
|
1826
|
+
config.username = 'ACCOUNT_ID'
|
1827
|
+
config.password = 'API_KEY'
|
1299
1828
|
end
|
1300
1829
|
|
1301
1830
|
api_instance = Freeclimb::DefaultApi.new
|
1831
|
+
|
1302
1832
|
opts = {
|
1303
1833
|
_alias: '_alias_example' # String | Return only applications with aliases that exactly match this value.
|
1304
1834
|
}
|
1305
1835
|
|
1306
1836
|
begin
|
1307
|
-
|
1837
|
+
|
1838
|
+
# List applications
|
1308
1839
|
result = api_instance.list_an_application(opts)
|
1309
1840
|
p result
|
1310
1841
|
rescue Freeclimb::ApiError => e
|
1311
|
-
puts "
|
1842
|
+
puts "Error when calling DefaultApi->list_an_application: #{e}"
|
1843
|
+
end
|
1844
|
+
```
|
1845
|
+
|
1846
|
+
#### Using the list_an_application_with_http_info variant
|
1847
|
+
|
1848
|
+
This returns an Array which contains the response data, status code and headers.
|
1849
|
+
|
1850
|
+
> <Array(<ApplicationList>, Integer, Hash)> list_an_application_with_http_info(account_id, opts)
|
1851
|
+
|
1852
|
+
```ruby
|
1853
|
+
begin
|
1854
|
+
# List applications
|
1855
|
+
data, status_code, headers = api_instance.list_an_application_with_http_info(opts)
|
1856
|
+
p status_code # => 2xx
|
1857
|
+
p headers # => { ... }
|
1858
|
+
p data # => <ApplicationList>
|
1859
|
+
rescue Freeclimb::ApiError => e
|
1860
|
+
puts "Error when calling DefaultApi->list_an_application_with_http_info: #{e}"
|
1312
1861
|
end
|
1313
1862
|
```
|
1314
1863
|
|
1315
1864
|
### Parameters
|
1316
1865
|
|
1866
|
+
| Name | Type | Description | Notes |
|
1867
|
+
| ---- | ---- | ----------- | ----- |
|
1868
|
+
|
1869
|
+
| **_alias** | **String** | Return only applications with aliases that exactly match this value. | [optional] |
|
1317
1870
|
|
1318
|
-
Name | Type | Description | Notes
|
1319
|
-
------------- | ------------- | ------------- | -------------
|
1320
|
-
**_alias** | **String**| Return only applications with aliases that exactly match this value. | [optional]
|
1321
1871
|
|
1322
1872
|
### Return type
|
1323
1873
|
|
@@ -1335,44 +1885,90 @@ Name | Type | Description | Notes
|
|
1335
1885
|
|
1336
1886
|
## list_available_numbers
|
1337
1887
|
|
1338
|
-
> AvailableNumberList list_available_numbers(opts)
|
1888
|
+
> <AvailableNumberList> list_available_numbers(opts)
|
1339
1889
|
|
1340
1890
|
List available numbers
|
1341
1891
|
|
1342
|
-
###
|
1892
|
+
### Examples
|
1343
1893
|
|
1344
1894
|
```ruby
|
1345
|
-
|
1895
|
+
require 'time'
|
1346
1896
|
require 'freeclimb'
|
1347
1897
|
# setup authorization
|
1348
1898
|
Freeclimb.configure do |config|
|
1349
1899
|
# Configure HTTP basic authorization: fc
|
1350
|
-
config.username = '
|
1351
|
-
config.password = '
|
1900
|
+
config.username = 'ACCOUNT_ID'
|
1901
|
+
config.password = 'API_KEY'
|
1352
1902
|
end
|
1353
1903
|
|
1354
1904
|
api_instance = Freeclimb::DefaultApi.new
|
1905
|
+
|
1355
1906
|
opts = {
|
1356
|
-
|
1357
|
-
|
1907
|
+
phone_number: 'phone_number_example', # String | PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format.
|
1908
|
+
region: 'region_example', # String | State or province of this phone number.
|
1909
|
+
country: 'country_example', # String | Country of this phone number.
|
1910
|
+
voice_enabled: true, # Boolean | Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
|
1911
|
+
sms_enabled: true, # Boolean | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
|
1912
|
+
capabilities_voice: true, # Boolean |
|
1913
|
+
capabilities_sms: true, # Boolean |
|
1914
|
+
capabilities_toll_free: true, # Boolean |
|
1915
|
+
capabilities_ten_dlc: true, # Boolean |
|
1916
|
+
capabilities_short_code: true # Boolean |
|
1358
1917
|
}
|
1359
1918
|
|
1360
1919
|
begin
|
1361
|
-
|
1920
|
+
|
1921
|
+
# List available numbers
|
1362
1922
|
result = api_instance.list_available_numbers(opts)
|
1363
1923
|
p result
|
1364
1924
|
rescue Freeclimb::ApiError => e
|
1365
|
-
puts "
|
1925
|
+
puts "Error when calling DefaultApi->list_available_numbers: #{e}"
|
1926
|
+
end
|
1927
|
+
```
|
1928
|
+
|
1929
|
+
#### Using the list_available_numbers_with_http_info variant
|
1930
|
+
|
1931
|
+
This returns an Array which contains the response data, status code and headers.
|
1932
|
+
|
1933
|
+
> <Array(<AvailableNumberList>, Integer, Hash)> list_available_numbers_with_http_info(opts)
|
1934
|
+
|
1935
|
+
```ruby
|
1936
|
+
begin
|
1937
|
+
# List available numbers
|
1938
|
+
data, status_code, headers = api_instance.list_available_numbers_with_http_info(opts)
|
1939
|
+
p status_code # => 2xx
|
1940
|
+
p headers # => { ... }
|
1941
|
+
p data # => <AvailableNumberList>
|
1942
|
+
rescue Freeclimb::ApiError => e
|
1943
|
+
puts "Error when calling DefaultApi->list_available_numbers_with_http_info: #{e}"
|
1366
1944
|
end
|
1367
1945
|
```
|
1368
1946
|
|
1369
1947
|
### Parameters
|
1370
1948
|
|
1949
|
+
| Name | Type | Description | Notes |
|
1950
|
+
| ---- | ---- | ----------- | ----- |
|
1951
|
+
|
1952
|
+
| **phone_number** | **String** | PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. | [optional] |
|
1953
|
+
|
1954
|
+
| **region** | **String** | State or province of this phone number. | [optional] |
|
1955
|
+
|
1956
|
+
| **country** | **String** | Country of this phone number. | [optional] |
|
1957
|
+
|
1958
|
+
| **voice_enabled** | **Boolean** | Indicates whether the phone number can handle Calls. Typically set to true for all numbers. | [optional][default to true] |
|
1959
|
+
|
1960
|
+
| **sms_enabled** | **Boolean** | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. | [optional][default to true] |
|
1961
|
+
|
1962
|
+
| **capabilities_voice** | **Boolean** | | [optional] |
|
1963
|
+
|
1964
|
+
| **capabilities_sms** | **Boolean** | | [optional] |
|
1965
|
+
|
1966
|
+
| **capabilities_toll_free** | **Boolean** | | [optional] |
|
1967
|
+
|
1968
|
+
| **capabilities_ten_dlc** | **Boolean** | | [optional] |
|
1969
|
+
|
1970
|
+
| **capabilities_short_code** | **Boolean** | | [optional] |
|
1371
1971
|
|
1372
|
-
Name | Type | Description | Notes
|
1373
|
-
------------- | ------------- | ------------- | -------------
|
1374
|
-
**_alias** | **String**| Filter on numbers based on the formatted string of the phone number. | [optional]
|
1375
|
-
**phone_number** | **String**| PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. | [optional]
|
1376
1972
|
|
1377
1973
|
### Return type
|
1378
1974
|
|
@@ -1390,40 +1986,62 @@ Name | Type | Description | Notes
|
|
1390
1986
|
|
1391
1987
|
## list_call_logs
|
1392
1988
|
|
1393
|
-
> LogList list_call_logs(call_id)
|
1989
|
+
> <LogList> list_call_logs(account_id, call_id)
|
1394
1990
|
|
1395
1991
|
List Call Logs
|
1396
1992
|
|
1397
|
-
###
|
1993
|
+
### Examples
|
1398
1994
|
|
1399
1995
|
```ruby
|
1400
|
-
|
1996
|
+
require 'time'
|
1401
1997
|
require 'freeclimb'
|
1402
1998
|
# setup authorization
|
1403
1999
|
Freeclimb.configure do |config|
|
1404
2000
|
# Configure HTTP basic authorization: fc
|
1405
|
-
config.username = '
|
1406
|
-
config.password = '
|
2001
|
+
config.username = 'ACCOUNT_ID'
|
2002
|
+
config.password = 'API_KEY'
|
1407
2003
|
end
|
1408
2004
|
|
1409
2005
|
api_instance = Freeclimb::DefaultApi.new
|
2006
|
+
|
1410
2007
|
call_id = 'call_id_example' # String | String that uniquely identifies this call resource.
|
1411
2008
|
|
2009
|
+
|
1412
2010
|
begin
|
1413
|
-
|
2011
|
+
|
2012
|
+
# List Call Logs
|
1414
2013
|
result = api_instance.list_call_logs(call_id)
|
1415
2014
|
p result
|
1416
2015
|
rescue Freeclimb::ApiError => e
|
1417
|
-
puts "
|
2016
|
+
puts "Error when calling DefaultApi->list_call_logs: #{e}"
|
2017
|
+
end
|
2018
|
+
```
|
2019
|
+
|
2020
|
+
#### Using the list_call_logs_with_http_info variant
|
2021
|
+
|
2022
|
+
This returns an Array which contains the response data, status code and headers.
|
2023
|
+
|
2024
|
+
> <Array(<LogList>, Integer, Hash)> list_call_logs_with_http_info(account_id, call_id)
|
2025
|
+
|
2026
|
+
```ruby
|
2027
|
+
begin
|
2028
|
+
# List Call Logs
|
2029
|
+
data, status_code, headers = api_instance.list_call_logs_with_http_info(call_id)
|
2030
|
+
p status_code # => 2xx
|
2031
|
+
p headers # => { ... }
|
2032
|
+
p data # => <LogList>
|
2033
|
+
rescue Freeclimb::ApiError => e
|
2034
|
+
puts "Error when calling DefaultApi->list_call_logs_with_http_info: #{e}"
|
1418
2035
|
end
|
1419
2036
|
```
|
1420
2037
|
|
1421
2038
|
### Parameters
|
1422
2039
|
|
2040
|
+
| Name | Type | Description | Notes |
|
2041
|
+
| ---- | ---- | ----------- | ----- |
|
2042
|
+
|
2043
|
+
| **call_id** | **String** | String that uniquely identifies this call resource. | |
|
1423
2044
|
|
1424
|
-
Name | Type | Description | Notes
|
1425
|
-
------------- | ------------- | ------------- | -------------
|
1426
|
-
**call_id** | **String**| String that uniquely identifies this call resource. |
|
1427
2045
|
|
1428
2046
|
### Return type
|
1429
2047
|
|
@@ -1441,44 +2059,67 @@ Name | Type | Description | Notes
|
|
1441
2059
|
|
1442
2060
|
## list_call_recordings
|
1443
2061
|
|
1444
|
-
> RecordingList list_call_recordings(call_id, opts)
|
2062
|
+
> <RecordingList> list_call_recordings(account_id, call_id, opts)
|
1445
2063
|
|
1446
2064
|
List Call Recordings
|
1447
2065
|
|
1448
|
-
###
|
2066
|
+
### Examples
|
1449
2067
|
|
1450
2068
|
```ruby
|
1451
|
-
|
2069
|
+
require 'time'
|
1452
2070
|
require 'freeclimb'
|
1453
2071
|
# setup authorization
|
1454
2072
|
Freeclimb.configure do |config|
|
1455
2073
|
# Configure HTTP basic authorization: fc
|
1456
|
-
config.username = '
|
1457
|
-
config.password = '
|
2074
|
+
config.username = 'ACCOUNT_ID'
|
2075
|
+
config.password = 'API_KEY'
|
1458
2076
|
end
|
1459
2077
|
|
1460
2078
|
api_instance = Freeclimb::DefaultApi.new
|
2079
|
+
|
1461
2080
|
call_id = 'call_id_example' # String | String that uniquely identifies this call resource.
|
2081
|
+
|
1462
2082
|
opts = {
|
1463
2083
|
date_created: 'date_created_example' # String | Only show recordings created on the specified date, in the form *YYYY-MM-DD*.
|
1464
2084
|
}
|
1465
2085
|
|
1466
2086
|
begin
|
1467
|
-
|
2087
|
+
|
2088
|
+
# List Call Recordings
|
1468
2089
|
result = api_instance.list_call_recordings(call_id, opts)
|
1469
2090
|
p result
|
1470
2091
|
rescue Freeclimb::ApiError => e
|
1471
|
-
puts "
|
2092
|
+
puts "Error when calling DefaultApi->list_call_recordings: #{e}"
|
2093
|
+
end
|
2094
|
+
```
|
2095
|
+
|
2096
|
+
#### Using the list_call_recordings_with_http_info variant
|
2097
|
+
|
2098
|
+
This returns an Array which contains the response data, status code and headers.
|
2099
|
+
|
2100
|
+
> <Array(<RecordingList>, Integer, Hash)> list_call_recordings_with_http_info(account_id, call_id, opts)
|
2101
|
+
|
2102
|
+
```ruby
|
2103
|
+
begin
|
2104
|
+
# List Call Recordings
|
2105
|
+
data, status_code, headers = api_instance.list_call_recordings_with_http_info(call_id, opts)
|
2106
|
+
p status_code # => 2xx
|
2107
|
+
p headers # => { ... }
|
2108
|
+
p data # => <RecordingList>
|
2109
|
+
rescue Freeclimb::ApiError => e
|
2110
|
+
puts "Error when calling DefaultApi->list_call_recordings_with_http_info: #{e}"
|
1472
2111
|
end
|
1473
2112
|
```
|
1474
2113
|
|
1475
2114
|
### Parameters
|
1476
2115
|
|
2116
|
+
| Name | Type | Description | Notes |
|
2117
|
+
| ---- | ---- | ----------- | ----- |
|
2118
|
+
|
2119
|
+
| **call_id** | **String** | String that uniquely identifies this call resource. | |
|
2120
|
+
|
2121
|
+
| **date_created** | **String** | Only show recordings created on the specified date, in the form *YYYY-MM-DD*. | [optional] |
|
1477
2122
|
|
1478
|
-
Name | Type | Description | Notes
|
1479
|
-
------------- | ------------- | ------------- | -------------
|
1480
|
-
**call_id** | **String**| String that uniquely identifies this call resource. |
|
1481
|
-
**date_created** | **String**| Only show recordings created on the specified date, in the form *YYYY-MM-DD*. | [optional]
|
1482
2123
|
|
1483
2124
|
### Return type
|
1484
2125
|
|
@@ -1496,24 +2137,26 @@ Name | Type | Description | Notes
|
|
1496
2137
|
|
1497
2138
|
## list_calls
|
1498
2139
|
|
1499
|
-
> CallList list_calls(opts)
|
2140
|
+
> <CallList> list_calls(account_id, opts)
|
1500
2141
|
|
1501
2142
|
List Calls
|
1502
2143
|
|
1503
|
-
###
|
2144
|
+
### Examples
|
1504
2145
|
|
1505
2146
|
```ruby
|
1506
|
-
|
2147
|
+
require 'time'
|
1507
2148
|
require 'freeclimb'
|
1508
2149
|
# setup authorization
|
1509
2150
|
Freeclimb.configure do |config|
|
1510
2151
|
# Configure HTTP basic authorization: fc
|
1511
|
-
config.username = '
|
1512
|
-
config.password = '
|
2152
|
+
config.username = 'ACCOUNT_ID'
|
2153
|
+
config.password = 'API_KEY'
|
1513
2154
|
end
|
1514
2155
|
|
1515
2156
|
api_instance = Freeclimb::DefaultApi.new
|
2157
|
+
|
1516
2158
|
opts = {
|
2159
|
+
active: true, # Boolean | If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query.
|
1517
2160
|
to: 'to_example', # String | Only show Calls to this phone number.
|
1518
2161
|
from: 'from_example', # String | Only show Calls from this phone number.
|
1519
2162
|
status: 'status_example', # String | Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`.
|
@@ -1523,25 +2166,52 @@ opts = {
|
|
1523
2166
|
}
|
1524
2167
|
|
1525
2168
|
begin
|
1526
|
-
|
2169
|
+
|
2170
|
+
# List Calls
|
1527
2171
|
result = api_instance.list_calls(opts)
|
1528
2172
|
p result
|
1529
2173
|
rescue Freeclimb::ApiError => e
|
1530
|
-
puts "
|
2174
|
+
puts "Error when calling DefaultApi->list_calls: #{e}"
|
2175
|
+
end
|
2176
|
+
```
|
2177
|
+
|
2178
|
+
#### Using the list_calls_with_http_info variant
|
2179
|
+
|
2180
|
+
This returns an Array which contains the response data, status code and headers.
|
2181
|
+
|
2182
|
+
> <Array(<CallList>, Integer, Hash)> list_calls_with_http_info(account_id, opts)
|
2183
|
+
|
2184
|
+
```ruby
|
2185
|
+
begin
|
2186
|
+
# List Calls
|
2187
|
+
data, status_code, headers = api_instance.list_calls_with_http_info(opts)
|
2188
|
+
p status_code # => 2xx
|
2189
|
+
p headers # => { ... }
|
2190
|
+
p data # => <CallList>
|
2191
|
+
rescue Freeclimb::ApiError => e
|
2192
|
+
puts "Error when calling DefaultApi->list_calls_with_http_info: #{e}"
|
1531
2193
|
end
|
1532
2194
|
```
|
1533
2195
|
|
1534
2196
|
### Parameters
|
1535
2197
|
|
2198
|
+
| Name | Type | Description | Notes |
|
2199
|
+
| ---- | ---- | ----------- | ----- |
|
2200
|
+
|
2201
|
+
| **active** | **Boolean** | If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. | [optional][default to false] |
|
2202
|
+
|
2203
|
+
| **to** | **String** | Only show Calls to this phone number. | [optional] |
|
2204
|
+
|
2205
|
+
| **from** | **String** | Only show Calls from this phone number. | [optional] |
|
2206
|
+
|
2207
|
+
| **status** | **String** | Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. | [optional] |
|
2208
|
+
|
2209
|
+
| **start_time** | **String** | Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
|
2210
|
+
|
2211
|
+
| **end_time** | **String** | Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. | [optional] |
|
2212
|
+
|
2213
|
+
| **parent_call_id** | **String** | Only show Calls spawned by the call with this ID. | [optional] |
|
1536
2214
|
|
1537
|
-
Name | Type | Description | Notes
|
1538
|
-
------------- | ------------- | ------------- | -------------
|
1539
|
-
**to** | **String**| Only show Calls to this phone number. | [optional]
|
1540
|
-
**from** | **String**| Only show Calls from this phone number. | [optional]
|
1541
|
-
**status** | **String**| Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. | [optional]
|
1542
|
-
**start_time** | **String**| Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional]
|
1543
|
-
**end_time** | **String**| Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. | [optional]
|
1544
|
-
**parent_call_id** | **String**| Only show Calls spawned by the call with this ID. | [optional]
|
1545
2215
|
|
1546
2216
|
### Return type
|
1547
2217
|
|
@@ -1559,23 +2229,24 @@ Name | Type | Description | Notes
|
|
1559
2229
|
|
1560
2230
|
## list_conferences
|
1561
2231
|
|
1562
|
-
> ConferenceList list_conferences(opts)
|
2232
|
+
> <ConferenceList> list_conferences(account_id, opts)
|
1563
2233
|
|
1564
2234
|
List Conferences
|
1565
2235
|
|
1566
|
-
###
|
2236
|
+
### Examples
|
1567
2237
|
|
1568
2238
|
```ruby
|
1569
|
-
|
2239
|
+
require 'time'
|
1570
2240
|
require 'freeclimb'
|
1571
2241
|
# setup authorization
|
1572
2242
|
Freeclimb.configure do |config|
|
1573
2243
|
# Configure HTTP basic authorization: fc
|
1574
|
-
config.username = '
|
1575
|
-
config.password = '
|
2244
|
+
config.username = 'ACCOUNT_ID'
|
2245
|
+
config.password = 'API_KEY'
|
1576
2246
|
end
|
1577
2247
|
|
1578
2248
|
api_instance = Freeclimb::DefaultApi.new
|
2249
|
+
|
1579
2250
|
opts = {
|
1580
2251
|
status: 'status_example', # String | Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`.
|
1581
2252
|
_alias: '_alias_example', # String | List Conferences whose alias exactly matches this string.
|
@@ -1584,23 +2255,46 @@ opts = {
|
|
1584
2255
|
}
|
1585
2256
|
|
1586
2257
|
begin
|
1587
|
-
|
2258
|
+
|
2259
|
+
# List Conferences
|
1588
2260
|
result = api_instance.list_conferences(opts)
|
1589
2261
|
p result
|
1590
2262
|
rescue Freeclimb::ApiError => e
|
1591
|
-
puts "
|
2263
|
+
puts "Error when calling DefaultApi->list_conferences: #{e}"
|
2264
|
+
end
|
2265
|
+
```
|
2266
|
+
|
2267
|
+
#### Using the list_conferences_with_http_info variant
|
2268
|
+
|
2269
|
+
This returns an Array which contains the response data, status code and headers.
|
2270
|
+
|
2271
|
+
> <Array(<ConferenceList>, Integer, Hash)> list_conferences_with_http_info(account_id, opts)
|
2272
|
+
|
2273
|
+
```ruby
|
2274
|
+
begin
|
2275
|
+
# List Conferences
|
2276
|
+
data, status_code, headers = api_instance.list_conferences_with_http_info(opts)
|
2277
|
+
p status_code # => 2xx
|
2278
|
+
p headers # => { ... }
|
2279
|
+
p data # => <ConferenceList>
|
2280
|
+
rescue Freeclimb::ApiError => e
|
2281
|
+
puts "Error when calling DefaultApi->list_conferences_with_http_info: #{e}"
|
1592
2282
|
end
|
1593
2283
|
```
|
1594
2284
|
|
1595
2285
|
### Parameters
|
1596
2286
|
|
2287
|
+
| Name | Type | Description | Notes |
|
2288
|
+
| ---- | ---- | ----------- | ----- |
|
2289
|
+
|
2290
|
+
| **status** | **String** | Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. | [optional] |
|
2291
|
+
|
2292
|
+
| **_alias** | **String** | List Conferences whose alias exactly matches this string. | [optional] |
|
2293
|
+
|
2294
|
+
| **date_created** | **String** | Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. | [optional] |
|
2295
|
+
|
2296
|
+
| **date_updated** | **String** | Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. | [optional] |
|
1597
2297
|
|
1598
|
-
Name | Type | Description | Notes
|
1599
|
-
------------- | ------------- | ------------- | -------------
|
1600
|
-
**status** | **String**| Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. | [optional]
|
1601
|
-
**_alias** | **String**| List Conferences whose alias exactly matches this string. | [optional]
|
1602
|
-
**date_created** | **String**| Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. | [optional]
|
1603
|
-
**date_updated** | **String**| Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. | [optional]
|
1604
2298
|
|
1605
2299
|
### Return type
|
1606
2300
|
|
@@ -1618,44 +2312,99 @@ Name | Type | Description | Notes
|
|
1618
2312
|
|
1619
2313
|
## list_incoming_numbers
|
1620
2314
|
|
1621
|
-
> IncomingNumberList list_incoming_numbers(opts)
|
2315
|
+
> <IncomingNumberList> list_incoming_numbers(account_id, opts)
|
1622
2316
|
|
1623
2317
|
List Incoming Numbers
|
1624
2318
|
|
1625
|
-
###
|
2319
|
+
### Examples
|
1626
2320
|
|
1627
2321
|
```ruby
|
1628
|
-
|
2322
|
+
require 'time'
|
1629
2323
|
require 'freeclimb'
|
1630
2324
|
# setup authorization
|
1631
2325
|
Freeclimb.configure do |config|
|
1632
2326
|
# Configure HTTP basic authorization: fc
|
1633
|
-
config.username = '
|
1634
|
-
config.password = '
|
2327
|
+
config.username = 'ACCOUNT_ID'
|
2328
|
+
config.password = 'API_KEY'
|
1635
2329
|
end
|
1636
2330
|
|
1637
2331
|
api_instance = Freeclimb::DefaultApi.new
|
2332
|
+
|
1638
2333
|
opts = {
|
1639
2334
|
phone_number: 'phone_number_example', # String | Only show incoming phone number resources that match this PCRE-compatible regular expression.
|
1640
|
-
_alias: '_alias_example' # String | Only show incoming phone numbers with aliases that exactly match this value.
|
2335
|
+
_alias: '_alias_example', # String | Only show incoming phone numbers with aliases that exactly match this value.
|
2336
|
+
region: 'region_example', # String | State or province of this phone number.
|
2337
|
+
country: 'country_example', # String | Country of this phone number.
|
2338
|
+
application_id: 'application_id_example', # String | ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId.
|
2339
|
+
has_application: true, # Boolean | Indication of whether the phone number has an application linked to it.
|
2340
|
+
voice_enabled: true, # Boolean | Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
|
2341
|
+
sms_enabled: true, # Boolean | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
|
2342
|
+
capabilities_voice: true, # Boolean |
|
2343
|
+
capabilities_sms: true, # Boolean |
|
2344
|
+
capabilities_toll_free: true, # Boolean |
|
2345
|
+
capabilities_ten_dlc: true, # Boolean |
|
2346
|
+
capabilities_short_code: true # Boolean |
|
1641
2347
|
}
|
1642
2348
|
|
1643
2349
|
begin
|
1644
|
-
|
2350
|
+
|
2351
|
+
# List Incoming Numbers
|
1645
2352
|
result = api_instance.list_incoming_numbers(opts)
|
1646
2353
|
p result
|
1647
2354
|
rescue Freeclimb::ApiError => e
|
1648
|
-
puts "
|
2355
|
+
puts "Error when calling DefaultApi->list_incoming_numbers: #{e}"
|
2356
|
+
end
|
2357
|
+
```
|
2358
|
+
|
2359
|
+
#### Using the list_incoming_numbers_with_http_info variant
|
2360
|
+
|
2361
|
+
This returns an Array which contains the response data, status code and headers.
|
2362
|
+
|
2363
|
+
> <Array(<IncomingNumberList>, Integer, Hash)> list_incoming_numbers_with_http_info(account_id, opts)
|
2364
|
+
|
2365
|
+
```ruby
|
2366
|
+
begin
|
2367
|
+
# List Incoming Numbers
|
2368
|
+
data, status_code, headers = api_instance.list_incoming_numbers_with_http_info(opts)
|
2369
|
+
p status_code # => 2xx
|
2370
|
+
p headers # => { ... }
|
2371
|
+
p data # => <IncomingNumberList>
|
2372
|
+
rescue Freeclimb::ApiError => e
|
2373
|
+
puts "Error when calling DefaultApi->list_incoming_numbers_with_http_info: #{e}"
|
1649
2374
|
end
|
1650
2375
|
```
|
1651
2376
|
|
1652
2377
|
### Parameters
|
1653
2378
|
|
2379
|
+
| Name | Type | Description | Notes |
|
2380
|
+
| ---- | ---- | ----------- | ----- |
|
2381
|
+
|
2382
|
+
| **phone_number** | **String** | Only show incoming phone number resources that match this PCRE-compatible regular expression. | [optional] |
|
2383
|
+
|
2384
|
+
| **_alias** | **String** | Only show incoming phone numbers with aliases that exactly match this value. | [optional] |
|
2385
|
+
|
2386
|
+
| **region** | **String** | State or province of this phone number. | [optional] |
|
2387
|
+
|
2388
|
+
| **country** | **String** | Country of this phone number. | [optional] |
|
2389
|
+
|
2390
|
+
| **application_id** | **String** | ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. | [optional] |
|
2391
|
+
|
2392
|
+
| **has_application** | **Boolean** | Indication of whether the phone number has an application linked to it. | [optional][default to false] |
|
2393
|
+
|
2394
|
+
| **voice_enabled** | **Boolean** | Indicates whether the phone number can handle Calls. Typically set to true for all numbers. | [optional][default to true] |
|
2395
|
+
|
2396
|
+
| **sms_enabled** | **Boolean** | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. | [optional][default to true] |
|
2397
|
+
|
2398
|
+
| **capabilities_voice** | **Boolean** | | [optional] |
|
2399
|
+
|
2400
|
+
| **capabilities_sms** | **Boolean** | | [optional] |
|
2401
|
+
|
2402
|
+
| **capabilities_toll_free** | **Boolean** | | [optional] |
|
2403
|
+
|
2404
|
+
| **capabilities_ten_dlc** | **Boolean** | | [optional] |
|
2405
|
+
|
2406
|
+
| **capabilities_short_code** | **Boolean** | | [optional] |
|
1654
2407
|
|
1655
|
-
Name | Type | Description | Notes
|
1656
|
-
------------- | ------------- | ------------- | -------------
|
1657
|
-
**phone_number** | **String**| Only show incoming phone number resources that match this PCRE-compatible regular expression. | [optional]
|
1658
|
-
**_alias** | **String**| Only show incoming phone numbers with aliases that exactly match this value. | [optional]
|
1659
2408
|
|
1660
2409
|
### Return type
|
1661
2410
|
|
@@ -1673,40 +2422,62 @@ Name | Type | Description | Notes
|
|
1673
2422
|
|
1674
2423
|
## list_members
|
1675
2424
|
|
1676
|
-
> QueueMemberList list_members(queue_id)
|
2425
|
+
> <QueueMemberList> list_members(account_id, queue_id)
|
1677
2426
|
|
1678
2427
|
List Members
|
1679
2428
|
|
1680
|
-
###
|
2429
|
+
### Examples
|
1681
2430
|
|
1682
2431
|
```ruby
|
1683
|
-
|
2432
|
+
require 'time'
|
1684
2433
|
require 'freeclimb'
|
1685
2434
|
# setup authorization
|
1686
2435
|
Freeclimb.configure do |config|
|
1687
2436
|
# Configure HTTP basic authorization: fc
|
1688
|
-
config.username = '
|
1689
|
-
config.password = '
|
2437
|
+
config.username = 'ACCOUNT_ID'
|
2438
|
+
config.password = 'API_KEY'
|
1690
2439
|
end
|
1691
2440
|
|
1692
2441
|
api_instance = Freeclimb::DefaultApi.new
|
2442
|
+
|
1693
2443
|
queue_id = 'queue_id_example' # String | String that uniquely identifies the Queue that the Member belongs to.
|
1694
2444
|
|
2445
|
+
|
1695
2446
|
begin
|
1696
|
-
|
2447
|
+
|
2448
|
+
# List Members
|
1697
2449
|
result = api_instance.list_members(queue_id)
|
1698
2450
|
p result
|
1699
2451
|
rescue Freeclimb::ApiError => e
|
1700
|
-
puts "
|
2452
|
+
puts "Error when calling DefaultApi->list_members: #{e}"
|
2453
|
+
end
|
2454
|
+
```
|
2455
|
+
|
2456
|
+
#### Using the list_members_with_http_info variant
|
2457
|
+
|
2458
|
+
This returns an Array which contains the response data, status code and headers.
|
2459
|
+
|
2460
|
+
> <Array(<QueueMemberList>, Integer, Hash)> list_members_with_http_info(account_id, queue_id)
|
2461
|
+
|
2462
|
+
```ruby
|
2463
|
+
begin
|
2464
|
+
# List Members
|
2465
|
+
data, status_code, headers = api_instance.list_members_with_http_info(queue_id)
|
2466
|
+
p status_code # => 2xx
|
2467
|
+
p headers # => { ... }
|
2468
|
+
p data # => <QueueMemberList>
|
2469
|
+
rescue Freeclimb::ApiError => e
|
2470
|
+
puts "Error when calling DefaultApi->list_members_with_http_info: #{e}"
|
1701
2471
|
end
|
1702
2472
|
```
|
1703
2473
|
|
1704
2474
|
### Parameters
|
1705
2475
|
|
2476
|
+
| Name | Type | Description | Notes |
|
2477
|
+
| ---- | ---- | ----------- | ----- |
|
2478
|
+
|
2479
|
+
| **queue_id** | **String** | String that uniquely identifies the Queue that the Member belongs to. | |
|
1706
2480
|
|
1707
|
-
Name | Type | Description | Notes
|
1708
|
-
------------- | ------------- | ------------- | -------------
|
1709
|
-
**queue_id** | **String**| String that uniquely identifies the Queue that the Member belongs to. |
|
1710
2481
|
|
1711
2482
|
### Return type
|
1712
2483
|
|
@@ -1724,46 +2495,70 @@ Name | Type | Description | Notes
|
|
1724
2495
|
|
1725
2496
|
## list_participants
|
1726
2497
|
|
1727
|
-
> ConferenceParticipantList list_participants(conference_id, opts)
|
2498
|
+
> <ConferenceParticipantList> list_participants(account_id, conference_id, opts)
|
1728
2499
|
|
1729
2500
|
List Participants
|
1730
2501
|
|
1731
|
-
###
|
2502
|
+
### Examples
|
1732
2503
|
|
1733
2504
|
```ruby
|
1734
|
-
|
2505
|
+
require 'time'
|
1735
2506
|
require 'freeclimb'
|
1736
2507
|
# setup authorization
|
1737
2508
|
Freeclimb.configure do |config|
|
1738
2509
|
# Configure HTTP basic authorization: fc
|
1739
|
-
config.username = '
|
1740
|
-
config.password = '
|
2510
|
+
config.username = 'ACCOUNT_ID'
|
2511
|
+
config.password = 'API_KEY'
|
1741
2512
|
end
|
1742
2513
|
|
1743
2514
|
api_instance = Freeclimb::DefaultApi.new
|
2515
|
+
|
1744
2516
|
conference_id = 'conference_id_example' # String | ID of the conference this participant is in.
|
2517
|
+
|
1745
2518
|
opts = {
|
1746
2519
|
talk: true, # Boolean | Only show Participants with the talk privilege.
|
1747
2520
|
listen: true # Boolean | Only show Participants with the listen privilege.
|
1748
2521
|
}
|
1749
2522
|
|
1750
2523
|
begin
|
1751
|
-
|
2524
|
+
|
2525
|
+
# List Participants
|
1752
2526
|
result = api_instance.list_participants(conference_id, opts)
|
1753
2527
|
p result
|
1754
2528
|
rescue Freeclimb::ApiError => e
|
1755
|
-
puts "
|
2529
|
+
puts "Error when calling DefaultApi->list_participants: #{e}"
|
2530
|
+
end
|
2531
|
+
```
|
2532
|
+
|
2533
|
+
#### Using the list_participants_with_http_info variant
|
2534
|
+
|
2535
|
+
This returns an Array which contains the response data, status code and headers.
|
2536
|
+
|
2537
|
+
> <Array(<ConferenceParticipantList>, Integer, Hash)> list_participants_with_http_info(account_id, conference_id, opts)
|
2538
|
+
|
2539
|
+
```ruby
|
2540
|
+
begin
|
2541
|
+
# List Participants
|
2542
|
+
data, status_code, headers = api_instance.list_participants_with_http_info(conference_id, opts)
|
2543
|
+
p status_code # => 2xx
|
2544
|
+
p headers # => { ... }
|
2545
|
+
p data # => <ConferenceParticipantList>
|
2546
|
+
rescue Freeclimb::ApiError => e
|
2547
|
+
puts "Error when calling DefaultApi->list_participants_with_http_info: #{e}"
|
1756
2548
|
end
|
1757
2549
|
```
|
1758
2550
|
|
1759
2551
|
### Parameters
|
1760
2552
|
|
2553
|
+
| Name | Type | Description | Notes |
|
2554
|
+
| ---- | ---- | ----------- | ----- |
|
2555
|
+
|
2556
|
+
| **conference_id** | **String** | ID of the conference this participant is in. | |
|
2557
|
+
|
2558
|
+
| **talk** | **Boolean** | Only show Participants with the talk privilege. | [optional] |
|
2559
|
+
|
2560
|
+
| **listen** | **Boolean** | Only show Participants with the listen privilege. | [optional] |
|
1761
2561
|
|
1762
|
-
Name | Type | Description | Notes
|
1763
|
-
------------- | ------------- | ------------- | -------------
|
1764
|
-
**conference_id** | **String**| ID of the conference this participant is in. |
|
1765
|
-
**talk** | **Boolean**| Only show Participants with the talk privilege. | [optional]
|
1766
|
-
**listen** | **Boolean**| Only show Participants with the listen privilege. | [optional]
|
1767
2562
|
|
1768
2563
|
### Return type
|
1769
2564
|
|
@@ -1781,23 +2576,24 @@ Name | Type | Description | Notes
|
|
1781
2576
|
|
1782
2577
|
## list_recordings
|
1783
2578
|
|
1784
|
-
> RecordingList list_recordings(opts)
|
2579
|
+
> <RecordingList> list_recordings(account_id, opts)
|
1785
2580
|
|
1786
2581
|
List Recordings
|
1787
2582
|
|
1788
|
-
###
|
2583
|
+
### Examples
|
1789
2584
|
|
1790
2585
|
```ruby
|
1791
|
-
|
2586
|
+
require 'time'
|
1792
2587
|
require 'freeclimb'
|
1793
2588
|
# setup authorization
|
1794
2589
|
Freeclimb.configure do |config|
|
1795
2590
|
# Configure HTTP basic authorization: fc
|
1796
|
-
config.username = '
|
1797
|
-
config.password = '
|
2591
|
+
config.username = 'ACCOUNT_ID'
|
2592
|
+
config.password = 'API_KEY'
|
1798
2593
|
end
|
1799
2594
|
|
1800
2595
|
api_instance = Freeclimb::DefaultApi.new
|
2596
|
+
|
1801
2597
|
opts = {
|
1802
2598
|
call_id: 'call_id_example', # String | Show only Recordings made during the Call with this ID.
|
1803
2599
|
conference_id: 'conference_id_example', # String | Show only Recordings made during the conference with this ID.
|
@@ -1805,22 +2601,44 @@ opts = {
|
|
1805
2601
|
}
|
1806
2602
|
|
1807
2603
|
begin
|
1808
|
-
|
2604
|
+
|
2605
|
+
# List Recordings
|
1809
2606
|
result = api_instance.list_recordings(opts)
|
1810
2607
|
p result
|
1811
2608
|
rescue Freeclimb::ApiError => e
|
1812
|
-
puts "
|
2609
|
+
puts "Error when calling DefaultApi->list_recordings: #{e}"
|
2610
|
+
end
|
2611
|
+
```
|
2612
|
+
|
2613
|
+
#### Using the list_recordings_with_http_info variant
|
2614
|
+
|
2615
|
+
This returns an Array which contains the response data, status code and headers.
|
2616
|
+
|
2617
|
+
> <Array(<RecordingList>, Integer, Hash)> list_recordings_with_http_info(account_id, opts)
|
2618
|
+
|
2619
|
+
```ruby
|
2620
|
+
begin
|
2621
|
+
# List Recordings
|
2622
|
+
data, status_code, headers = api_instance.list_recordings_with_http_info(opts)
|
2623
|
+
p status_code # => 2xx
|
2624
|
+
p headers # => { ... }
|
2625
|
+
p data # => <RecordingList>
|
2626
|
+
rescue Freeclimb::ApiError => e
|
2627
|
+
puts "Error when calling DefaultApi->list_recordings_with_http_info: #{e}"
|
1813
2628
|
end
|
1814
2629
|
```
|
1815
2630
|
|
1816
2631
|
### Parameters
|
1817
2632
|
|
2633
|
+
| Name | Type | Description | Notes |
|
2634
|
+
| ---- | ---- | ----------- | ----- |
|
2635
|
+
|
2636
|
+
| **call_id** | **String** | Show only Recordings made during the Call with this ID. | [optional] |
|
2637
|
+
|
2638
|
+
| **conference_id** | **String** | Show only Recordings made during the conference with this ID. | [optional] |
|
2639
|
+
|
2640
|
+
| **date_created** | **String** | Only show Recordings created on this date, formatted as *YYYY-MM-DD*. | [optional] |
|
1818
2641
|
|
1819
|
-
Name | Type | Description | Notes
|
1820
|
-
------------- | ------------- | ------------- | -------------
|
1821
|
-
**call_id** | **String**| Show only Recordings made during the Call with this ID. | [optional]
|
1822
|
-
**conference_id** | **String**| Show only Recordings made during the conference with this ID. | [optional]
|
1823
|
-
**date_created** | **String**| Only show Recordings created on this date, formatted as *YYYY-MM-DD*. | [optional]
|
1824
2642
|
|
1825
2643
|
### Return type
|
1826
2644
|
|
@@ -1838,52 +2656,75 @@ Name | Type | Description | Notes
|
|
1838
2656
|
|
1839
2657
|
## list_sms_messages
|
1840
2658
|
|
1841
|
-
> MessagesList list_sms_messages(opts)
|
2659
|
+
> <MessagesList> list_sms_messages(account_id, opts)
|
1842
2660
|
|
1843
2661
|
List SMS Messages
|
1844
2662
|
|
1845
|
-
###
|
2663
|
+
### Examples
|
1846
2664
|
|
1847
2665
|
```ruby
|
1848
|
-
|
2666
|
+
require 'time'
|
1849
2667
|
require 'freeclimb'
|
1850
2668
|
# setup authorization
|
1851
2669
|
Freeclimb.configure do |config|
|
1852
2670
|
# Configure HTTP basic authorization: fc
|
1853
|
-
config.username = '
|
1854
|
-
config.password = '
|
2671
|
+
config.username = 'ACCOUNT_ID'
|
2672
|
+
config.password = 'API_KEY'
|
1855
2673
|
end
|
1856
2674
|
|
1857
2675
|
api_instance = Freeclimb::DefaultApi.new
|
2676
|
+
|
1858
2677
|
opts = {
|
1859
2678
|
to: 'to_example', # String | Only show Messages to this phone number.
|
1860
2679
|
from: 'from_example', # String | Only show Messages from this phone number.
|
1861
2680
|
begin_time: 'begin_time_example', # String | Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*.
|
1862
2681
|
end_time: 'end_time_example', # String | Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*..
|
1863
|
-
direction: 'direction_example'
|
1864
|
-
account_id: 'account_id_example' # String | String that uniquely identifies this account resource.
|
2682
|
+
direction: 'direction_example' # String | Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb.
|
1865
2683
|
}
|
1866
2684
|
|
1867
2685
|
begin
|
1868
|
-
|
2686
|
+
|
2687
|
+
# List SMS Messages
|
1869
2688
|
result = api_instance.list_sms_messages(opts)
|
1870
2689
|
p result
|
1871
2690
|
rescue Freeclimb::ApiError => e
|
1872
|
-
puts "
|
2691
|
+
puts "Error when calling DefaultApi->list_sms_messages: #{e}"
|
2692
|
+
end
|
2693
|
+
```
|
2694
|
+
|
2695
|
+
#### Using the list_sms_messages_with_http_info variant
|
2696
|
+
|
2697
|
+
This returns an Array which contains the response data, status code and headers.
|
2698
|
+
|
2699
|
+
> <Array(<MessagesList>, Integer, Hash)> list_sms_messages_with_http_info(account_id, opts)
|
2700
|
+
|
2701
|
+
```ruby
|
2702
|
+
begin
|
2703
|
+
# List SMS Messages
|
2704
|
+
data, status_code, headers = api_instance.list_sms_messages_with_http_info(opts)
|
2705
|
+
p status_code # => 2xx
|
2706
|
+
p headers # => { ... }
|
2707
|
+
p data # => <MessagesList>
|
2708
|
+
rescue Freeclimb::ApiError => e
|
2709
|
+
puts "Error when calling DefaultApi->list_sms_messages_with_http_info: #{e}"
|
1873
2710
|
end
|
1874
2711
|
```
|
1875
2712
|
|
1876
2713
|
### Parameters
|
1877
2714
|
|
2715
|
+
| Name | Type | Description | Notes |
|
2716
|
+
| ---- | ---- | ----------- | ----- |
|
2717
|
+
|
2718
|
+
| **to** | **String** | Only show Messages to this phone number. | [optional] |
|
2719
|
+
|
2720
|
+
| **from** | **String** | Only show Messages from this phone number. | [optional] |
|
2721
|
+
|
2722
|
+
| **begin_time** | **String** | Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. | [optional] |
|
2723
|
+
|
2724
|
+
| **end_time** | **String** | Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. | [optional] |
|
2725
|
+
|
2726
|
+
| **direction** | **String** | Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. | [optional] |
|
1878
2727
|
|
1879
|
-
Name | Type | Description | Notes
|
1880
|
-
------------- | ------------- | ------------- | -------------
|
1881
|
-
**to** | **String**| Only show Messages to this phone number. | [optional]
|
1882
|
-
**from** | **String**| Only show Messages from this phone number. | [optional]
|
1883
|
-
**begin_time** | **String**| Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. | [optional]
|
1884
|
-
**end_time** | **String**| Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. | [optional]
|
1885
|
-
**direction** | **String**| Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. | [optional]
|
1886
|
-
**account_id** | **String**| String that uniquely identifies this account resource. | [optional]
|
1887
2728
|
|
1888
2729
|
### Return type
|
1889
2730
|
|
@@ -1901,42 +2742,63 @@ Name | Type | Description | Notes
|
|
1901
2742
|
|
1902
2743
|
## make_a_call
|
1903
2744
|
|
1904
|
-
> CallResult make_a_call(opts)
|
2745
|
+
> <CallResult> make_a_call(account_id, opts)
|
1905
2746
|
|
1906
2747
|
Make a Call
|
1907
2748
|
|
1908
|
-
###
|
2749
|
+
### Examples
|
1909
2750
|
|
1910
2751
|
```ruby
|
1911
|
-
|
2752
|
+
require 'time'
|
1912
2753
|
require 'freeclimb'
|
1913
2754
|
# setup authorization
|
1914
2755
|
Freeclimb.configure do |config|
|
1915
2756
|
# Configure HTTP basic authorization: fc
|
1916
|
-
config.username = '
|
1917
|
-
config.password = '
|
2757
|
+
config.username = 'ACCOUNT_ID'
|
2758
|
+
config.password = 'API_KEY'
|
1918
2759
|
end
|
1919
2760
|
|
1920
2761
|
api_instance = Freeclimb::DefaultApi.new
|
2762
|
+
|
1921
2763
|
opts = {
|
1922
|
-
make_call_request: Freeclimb::MakeCallRequest.new # MakeCallRequest | Call details for making a call
|
2764
|
+
make_call_request: Freeclimb::MakeCallRequest.new({from: 'from_example', to: 'to_example'}) # MakeCallRequest | Call details for making a call
|
1923
2765
|
}
|
1924
2766
|
|
1925
2767
|
begin
|
1926
|
-
|
2768
|
+
|
2769
|
+
# Make a Call
|
1927
2770
|
result = api_instance.make_a_call(opts)
|
1928
2771
|
p result
|
1929
2772
|
rescue Freeclimb::ApiError => e
|
1930
|
-
puts "
|
2773
|
+
puts "Error when calling DefaultApi->make_a_call: #{e}"
|
2774
|
+
end
|
2775
|
+
```
|
2776
|
+
|
2777
|
+
#### Using the make_a_call_with_http_info variant
|
2778
|
+
|
2779
|
+
This returns an Array which contains the response data, status code and headers.
|
2780
|
+
|
2781
|
+
> <Array(<CallResult>, Integer, Hash)> make_a_call_with_http_info(account_id, opts)
|
2782
|
+
|
2783
|
+
```ruby
|
2784
|
+
begin
|
2785
|
+
# Make a Call
|
2786
|
+
data, status_code, headers = api_instance.make_a_call_with_http_info(opts)
|
2787
|
+
p status_code # => 2xx
|
2788
|
+
p headers # => { ... }
|
2789
|
+
p data # => <CallResult>
|
2790
|
+
rescue Freeclimb::ApiError => e
|
2791
|
+
puts "Error when calling DefaultApi->make_a_call_with_http_info: #{e}"
|
1931
2792
|
end
|
1932
2793
|
```
|
1933
2794
|
|
1934
2795
|
### Parameters
|
1935
2796
|
|
2797
|
+
| Name | Type | Description | Notes |
|
2798
|
+
| ---- | ---- | ----------- | ----- |
|
2799
|
+
|
2800
|
+
| **make_call_request** | [**MakeCallRequest**](MakeCallRequest.md) | Call details for making a call | [optional] |
|
1936
2801
|
|
1937
|
-
Name | Type | Description | Notes
|
1938
|
-
------------- | ------------- | ------------- | -------------
|
1939
|
-
**make_call_request** | [**MakeCallRequest**](MakeCallRequest.md)| Call details for making a call | [optional]
|
1940
2802
|
|
1941
2803
|
### Return type
|
1942
2804
|
|
@@ -1954,41 +2816,65 @@ Name | Type | Description | Notes
|
|
1954
2816
|
|
1955
2817
|
## remove_a_participant
|
1956
2818
|
|
1957
|
-
> remove_a_participant(conference_id, call_id)
|
2819
|
+
> remove_a_participant(account_id, conference_id, call_id)
|
1958
2820
|
|
1959
2821
|
Remove a Participant
|
1960
2822
|
|
1961
|
-
###
|
2823
|
+
### Examples
|
1962
2824
|
|
1963
2825
|
```ruby
|
1964
|
-
|
2826
|
+
require 'time'
|
1965
2827
|
require 'freeclimb'
|
1966
2828
|
# setup authorization
|
1967
2829
|
Freeclimb.configure do |config|
|
1968
2830
|
# Configure HTTP basic authorization: fc
|
1969
|
-
config.username = '
|
1970
|
-
config.password = '
|
2831
|
+
config.username = 'ACCOUNT_ID'
|
2832
|
+
config.password = 'API_KEY'
|
1971
2833
|
end
|
1972
2834
|
|
1973
2835
|
api_instance = Freeclimb::DefaultApi.new
|
2836
|
+
|
1974
2837
|
conference_id = 'conference_id_example' # String | ID of the conference this participant is in.
|
2838
|
+
|
1975
2839
|
call_id = 'call_id_example' # String | ID of the Call associated with this participant.
|
1976
2840
|
|
2841
|
+
|
1977
2842
|
begin
|
1978
|
-
|
2843
|
+
|
2844
|
+
# Remove a Participant
|
1979
2845
|
api_instance.remove_a_participant(conference_id, call_id)
|
1980
2846
|
rescue Freeclimb::ApiError => e
|
1981
|
-
puts "
|
2847
|
+
puts "Error when calling DefaultApi->remove_a_participant: #{e}"
|
2848
|
+
end
|
2849
|
+
```
|
2850
|
+
|
2851
|
+
#### Using the remove_a_participant_with_http_info variant
|
2852
|
+
|
2853
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
2854
|
+
|
2855
|
+
> <Array(nil, Integer, Hash)> remove_a_participant_with_http_info(account_id, conference_id, call_id)
|
2856
|
+
|
2857
|
+
```ruby
|
2858
|
+
begin
|
2859
|
+
# Remove a Participant
|
2860
|
+
data, status_code, headers = api_instance.remove_a_participant_with_http_info(conference_id, call_id)
|
2861
|
+
p status_code # => 2xx
|
2862
|
+
p headers # => { ... }
|
2863
|
+
p data # => nil
|
2864
|
+
rescue Freeclimb::ApiError => e
|
2865
|
+
puts "Error when calling DefaultApi->remove_a_participant_with_http_info: #{e}"
|
1982
2866
|
end
|
1983
2867
|
```
|
1984
2868
|
|
1985
2869
|
### Parameters
|
1986
2870
|
|
2871
|
+
| Name | Type | Description | Notes |
|
2872
|
+
| ---- | ---- | ----------- | ----- |
|
2873
|
+
|
2874
|
+
| **conference_id** | **String** | ID of the conference this participant is in. | |
|
2875
|
+
|
2876
|
+
| **call_id** | **String** | ID of the Call associated with this participant. | |
|
1987
2877
|
|
1988
|
-
Name | Type | Description | Notes
|
1989
|
-
------------- | ------------- | ------------- | -------------
|
1990
|
-
**conference_id** | **String**| ID of the conference this participant is in. |
|
1991
|
-
**call_id** | **String**| ID of the Call associated with this participant. |
|
1992
2878
|
|
1993
2879
|
### Return type
|
1994
2880
|
|
@@ -2006,40 +2892,62 @@ nil (empty response body)
|
|
2006
2892
|
|
2007
2893
|
## send_an_sms_message
|
2008
2894
|
|
2009
|
-
> MessageResult send_an_sms_message(message_request)
|
2895
|
+
> <MessageResult> send_an_sms_message(account_id, message_request)
|
2010
2896
|
|
2011
2897
|
Send an SMS Message
|
2012
2898
|
|
2013
|
-
###
|
2899
|
+
### Examples
|
2014
2900
|
|
2015
2901
|
```ruby
|
2016
|
-
|
2902
|
+
require 'time'
|
2017
2903
|
require 'freeclimb'
|
2018
2904
|
# setup authorization
|
2019
2905
|
Freeclimb.configure do |config|
|
2020
2906
|
# Configure HTTP basic authorization: fc
|
2021
|
-
config.username = '
|
2022
|
-
config.password = '
|
2907
|
+
config.username = 'ACCOUNT_ID'
|
2908
|
+
config.password = 'API_KEY'
|
2023
2909
|
end
|
2024
2910
|
|
2025
2911
|
api_instance = Freeclimb::DefaultApi.new
|
2026
|
-
|
2912
|
+
|
2913
|
+
message_request = Freeclimb::MessageRequest.new({from: 'from_example', to: 'to_example', text: 'text_example'}) # MessageRequest | Details to create a message
|
2914
|
+
|
2027
2915
|
|
2028
2916
|
begin
|
2029
|
-
|
2917
|
+
|
2918
|
+
# Send an SMS Message
|
2030
2919
|
result = api_instance.send_an_sms_message(message_request)
|
2031
2920
|
p result
|
2032
2921
|
rescue Freeclimb::ApiError => e
|
2033
|
-
puts "
|
2922
|
+
puts "Error when calling DefaultApi->send_an_sms_message: #{e}"
|
2923
|
+
end
|
2924
|
+
```
|
2925
|
+
|
2926
|
+
#### Using the send_an_sms_message_with_http_info variant
|
2927
|
+
|
2928
|
+
This returns an Array which contains the response data, status code and headers.
|
2929
|
+
|
2930
|
+
> <Array(<MessageResult>, Integer, Hash)> send_an_sms_message_with_http_info(account_id, message_request)
|
2931
|
+
|
2932
|
+
```ruby
|
2933
|
+
begin
|
2934
|
+
# Send an SMS Message
|
2935
|
+
data, status_code, headers = api_instance.send_an_sms_message_with_http_info(message_request)
|
2936
|
+
p status_code # => 2xx
|
2937
|
+
p headers # => { ... }
|
2938
|
+
p data # => <MessageResult>
|
2939
|
+
rescue Freeclimb::ApiError => e
|
2940
|
+
puts "Error when calling DefaultApi->send_an_sms_message_with_http_info: #{e}"
|
2034
2941
|
end
|
2035
2942
|
```
|
2036
2943
|
|
2037
2944
|
### Parameters
|
2038
2945
|
|
2946
|
+
| Name | Type | Description | Notes |
|
2947
|
+
| ---- | ---- | ----------- | ----- |
|
2948
|
+
|
2949
|
+
| **message_request** | [**MessageRequest**](MessageRequest.md) | Details to create a message | |
|
2039
2950
|
|
2040
|
-
Name | Type | Description | Notes
|
2041
|
-
------------- | ------------- | ------------- | -------------
|
2042
|
-
**message_request** | [**MessageRequest**](MessageRequest.md)| Details to create a message |
|
2043
2951
|
|
2044
2952
|
### Return type
|
2045
2953
|
|
@@ -2057,40 +2965,62 @@ Name | Type | Description | Notes
|
|
2057
2965
|
|
2058
2966
|
## stream_a_recording_file
|
2059
2967
|
|
2060
|
-
> File stream_a_recording_file(recording_id)
|
2968
|
+
> File stream_a_recording_file(account_id, recording_id)
|
2061
2969
|
|
2062
2970
|
Stream a Recording File
|
2063
2971
|
|
2064
|
-
###
|
2972
|
+
### Examples
|
2065
2973
|
|
2066
2974
|
```ruby
|
2067
|
-
|
2975
|
+
require 'time'
|
2068
2976
|
require 'freeclimb'
|
2069
2977
|
# setup authorization
|
2070
2978
|
Freeclimb.configure do |config|
|
2071
2979
|
# Configure HTTP basic authorization: fc
|
2072
|
-
config.username = '
|
2073
|
-
config.password = '
|
2980
|
+
config.username = 'ACCOUNT_ID'
|
2981
|
+
config.password = 'API_KEY'
|
2074
2982
|
end
|
2075
2983
|
|
2076
2984
|
api_instance = Freeclimb::DefaultApi.new
|
2985
|
+
|
2077
2986
|
recording_id = 'recording_id_example' # String | String that uniquely identifies this recording resource.
|
2078
2987
|
|
2988
|
+
|
2079
2989
|
begin
|
2080
|
-
|
2990
|
+
|
2991
|
+
# Stream a Recording File
|
2081
2992
|
result = api_instance.stream_a_recording_file(recording_id)
|
2082
2993
|
p result
|
2083
2994
|
rescue Freeclimb::ApiError => e
|
2084
|
-
puts "
|
2995
|
+
puts "Error when calling DefaultApi->stream_a_recording_file: #{e}"
|
2996
|
+
end
|
2997
|
+
```
|
2998
|
+
|
2999
|
+
#### Using the stream_a_recording_file_with_http_info variant
|
3000
|
+
|
3001
|
+
This returns an Array which contains the response data, status code and headers.
|
3002
|
+
|
3003
|
+
> <Array(File, Integer, Hash)> stream_a_recording_file_with_http_info(account_id, recording_id)
|
3004
|
+
|
3005
|
+
```ruby
|
3006
|
+
begin
|
3007
|
+
# Stream a Recording File
|
3008
|
+
data, status_code, headers = api_instance.stream_a_recording_file_with_http_info(recording_id)
|
3009
|
+
p status_code # => 2xx
|
3010
|
+
p headers # => { ... }
|
3011
|
+
p data # => File
|
3012
|
+
rescue Freeclimb::ApiError => e
|
3013
|
+
puts "Error when calling DefaultApi->stream_a_recording_file_with_http_info: #{e}"
|
2085
3014
|
end
|
2086
3015
|
```
|
2087
3016
|
|
2088
3017
|
### Parameters
|
2089
3018
|
|
3019
|
+
| Name | Type | Description | Notes |
|
3020
|
+
| ---- | ---- | ----------- | ----- |
|
3021
|
+
|
3022
|
+
| **recording_id** | **String** | String that uniquely identifies this recording resource. | |
|
2090
3023
|
|
2091
|
-
Name | Type | Description | Notes
|
2092
|
-
------------- | ------------- | ------------- | -------------
|
2093
|
-
**recording_id** | **String**| String that uniquely identifies this recording resource. |
|
2094
3024
|
|
2095
3025
|
### Return type
|
2096
3026
|
|
@@ -2108,44 +3038,67 @@ Name | Type | Description | Notes
|
|
2108
3038
|
|
2109
3039
|
## update_a_conference
|
2110
3040
|
|
2111
|
-
> ConferenceResult update_a_conference(conference_id, opts)
|
3041
|
+
> <ConferenceResult> update_a_conference(account_id, conference_id, opts)
|
2112
3042
|
|
2113
3043
|
Update a Conference
|
2114
3044
|
|
2115
|
-
###
|
3045
|
+
### Examples
|
2116
3046
|
|
2117
3047
|
```ruby
|
2118
|
-
|
3048
|
+
require 'time'
|
2119
3049
|
require 'freeclimb'
|
2120
3050
|
# setup authorization
|
2121
3051
|
Freeclimb.configure do |config|
|
2122
3052
|
# Configure HTTP basic authorization: fc
|
2123
|
-
config.username = '
|
2124
|
-
config.password = '
|
3053
|
+
config.username = 'ACCOUNT_ID'
|
3054
|
+
config.password = 'API_KEY'
|
2125
3055
|
end
|
2126
3056
|
|
2127
3057
|
api_instance = Freeclimb::DefaultApi.new
|
3058
|
+
|
2128
3059
|
conference_id = 'conference_id_example' # String | String that uniquely identifies this conference resource.
|
3060
|
+
|
2129
3061
|
opts = {
|
2130
3062
|
update_conference_request: Freeclimb::UpdateConferenceRequest.new # UpdateConferenceRequest | Conference Details to update
|
2131
3063
|
}
|
2132
3064
|
|
2133
3065
|
begin
|
2134
|
-
|
3066
|
+
|
3067
|
+
# Update a Conference
|
2135
3068
|
result = api_instance.update_a_conference(conference_id, opts)
|
2136
3069
|
p result
|
2137
3070
|
rescue Freeclimb::ApiError => e
|
2138
|
-
puts "
|
3071
|
+
puts "Error when calling DefaultApi->update_a_conference: #{e}"
|
3072
|
+
end
|
3073
|
+
```
|
3074
|
+
|
3075
|
+
#### Using the update_a_conference_with_http_info variant
|
3076
|
+
|
3077
|
+
This returns an Array which contains the response data, status code and headers.
|
3078
|
+
|
3079
|
+
> <Array(<ConferenceResult>, Integer, Hash)> update_a_conference_with_http_info(account_id, conference_id, opts)
|
3080
|
+
|
3081
|
+
```ruby
|
3082
|
+
begin
|
3083
|
+
# Update a Conference
|
3084
|
+
data, status_code, headers = api_instance.update_a_conference_with_http_info(conference_id, opts)
|
3085
|
+
p status_code # => 2xx
|
3086
|
+
p headers # => { ... }
|
3087
|
+
p data # => <ConferenceResult>
|
3088
|
+
rescue Freeclimb::ApiError => e
|
3089
|
+
puts "Error when calling DefaultApi->update_a_conference_with_http_info: #{e}"
|
2139
3090
|
end
|
2140
3091
|
```
|
2141
3092
|
|
2142
3093
|
### Parameters
|
2143
3094
|
|
3095
|
+
| Name | Type | Description | Notes |
|
3096
|
+
| ---- | ---- | ----------- | ----- |
|
3097
|
+
|
3098
|
+
| **conference_id** | **String** | String that uniquely identifies this conference resource. | |
|
3099
|
+
|
3100
|
+
| **update_conference_request** | [**UpdateConferenceRequest**](UpdateConferenceRequest.md) | Conference Details to update | [optional] |
|
2144
3101
|
|
2145
|
-
Name | Type | Description | Notes
|
2146
|
-
------------- | ------------- | ------------- | -------------
|
2147
|
-
**conference_id** | **String**| String that uniquely identifies this conference resource. |
|
2148
|
-
**update_conference_request** | [**UpdateConferenceRequest**](UpdateConferenceRequest.md)| Conference Details to update | [optional]
|
2149
3102
|
|
2150
3103
|
### Return type
|
2151
3104
|
|
@@ -2163,41 +3116,65 @@ Name | Type | Description | Notes
|
|
2163
3116
|
|
2164
3117
|
## update_a_live_call
|
2165
3118
|
|
2166
|
-
> update_a_live_call(call_id, update_call_request)
|
3119
|
+
> update_a_live_call(account_id, call_id, update_call_request)
|
2167
3120
|
|
2168
3121
|
Update a Live Call
|
2169
3122
|
|
2170
|
-
###
|
3123
|
+
### Examples
|
2171
3124
|
|
2172
3125
|
```ruby
|
2173
|
-
|
3126
|
+
require 'time'
|
2174
3127
|
require 'freeclimb'
|
2175
3128
|
# setup authorization
|
2176
3129
|
Freeclimb.configure do |config|
|
2177
3130
|
# Configure HTTP basic authorization: fc
|
2178
|
-
config.username = '
|
2179
|
-
config.password = '
|
3131
|
+
config.username = 'ACCOUNT_ID'
|
3132
|
+
config.password = 'API_KEY'
|
2180
3133
|
end
|
2181
3134
|
|
2182
3135
|
api_instance = Freeclimb::DefaultApi.new
|
3136
|
+
|
2183
3137
|
call_id = 'call_id_example' # String | String that uniquely identifies this call resource.
|
2184
|
-
|
3138
|
+
|
3139
|
+
update_call_request = Freeclimb::UpdateCallRequest.new({status: 'canceled'}) # UpdateCallRequest | Call details to update
|
3140
|
+
|
2185
3141
|
|
2186
3142
|
begin
|
2187
|
-
|
3143
|
+
|
3144
|
+
# Update a Live Call
|
2188
3145
|
api_instance.update_a_live_call(call_id, update_call_request)
|
2189
3146
|
rescue Freeclimb::ApiError => e
|
2190
|
-
puts "
|
3147
|
+
puts "Error when calling DefaultApi->update_a_live_call: #{e}"
|
3148
|
+
end
|
3149
|
+
```
|
3150
|
+
|
3151
|
+
#### Using the update_a_live_call_with_http_info variant
|
3152
|
+
|
3153
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
3154
|
+
|
3155
|
+
> <Array(nil, Integer, Hash)> update_a_live_call_with_http_info(account_id, call_id, update_call_request)
|
3156
|
+
|
3157
|
+
```ruby
|
3158
|
+
begin
|
3159
|
+
# Update a Live Call
|
3160
|
+
data, status_code, headers = api_instance.update_a_live_call_with_http_info(call_id, update_call_request)
|
3161
|
+
p status_code # => 2xx
|
3162
|
+
p headers # => { ... }
|
3163
|
+
p data # => nil
|
3164
|
+
rescue Freeclimb::ApiError => e
|
3165
|
+
puts "Error when calling DefaultApi->update_a_live_call_with_http_info: #{e}"
|
2191
3166
|
end
|
2192
3167
|
```
|
2193
3168
|
|
2194
3169
|
### Parameters
|
2195
3170
|
|
3171
|
+
| Name | Type | Description | Notes |
|
3172
|
+
| ---- | ---- | ----------- | ----- |
|
3173
|
+
|
3174
|
+
| **call_id** | **String** | String that uniquely identifies this call resource. | |
|
3175
|
+
|
3176
|
+
| **update_call_request** | [**UpdateCallRequest**](UpdateCallRequest.md) | Call details to update | |
|
2196
3177
|
|
2197
|
-
Name | Type | Description | Notes
|
2198
|
-
------------- | ------------- | ------------- | -------------
|
2199
|
-
**call_id** | **String**| String that uniquely identifies this call resource. |
|
2200
|
-
**update_call_request** | [**UpdateCallRequest**](UpdateCallRequest.md)| Call details to update |
|
2201
3178
|
|
2202
3179
|
### Return type
|
2203
3180
|
|
@@ -2215,46 +3192,71 @@ nil (empty response body)
|
|
2215
3192
|
|
2216
3193
|
## update_a_participant
|
2217
3194
|
|
2218
|
-
> ConferenceParticipantResult update_a_participant(conference_id, call_id, opts)
|
3195
|
+
> <ConferenceParticipantResult> update_a_participant(account_id, conference_id, call_id, opts)
|
2219
3196
|
|
2220
3197
|
Update a Participant
|
2221
3198
|
|
2222
|
-
###
|
3199
|
+
### Examples
|
2223
3200
|
|
2224
3201
|
```ruby
|
2225
|
-
|
3202
|
+
require 'time'
|
2226
3203
|
require 'freeclimb'
|
2227
3204
|
# setup authorization
|
2228
3205
|
Freeclimb.configure do |config|
|
2229
3206
|
# Configure HTTP basic authorization: fc
|
2230
|
-
config.username = '
|
2231
|
-
config.password = '
|
3207
|
+
config.username = 'ACCOUNT_ID'
|
3208
|
+
config.password = 'API_KEY'
|
2232
3209
|
end
|
2233
3210
|
|
2234
3211
|
api_instance = Freeclimb::DefaultApi.new
|
3212
|
+
|
2235
3213
|
conference_id = 'conference_id_example' # String | ID of the conference this participant is in.
|
3214
|
+
|
2236
3215
|
call_id = 'call_id_example' # String | ID of the Call associated with this participant.
|
3216
|
+
|
2237
3217
|
opts = {
|
2238
3218
|
update_conference_participant_request: Freeclimb::UpdateConferenceParticipantRequest.new # UpdateConferenceParticipantRequest | Conference participant details to update
|
2239
3219
|
}
|
2240
3220
|
|
2241
3221
|
begin
|
2242
|
-
|
3222
|
+
|
3223
|
+
# Update a Participant
|
2243
3224
|
result = api_instance.update_a_participant(conference_id, call_id, opts)
|
2244
3225
|
p result
|
2245
3226
|
rescue Freeclimb::ApiError => e
|
2246
|
-
puts "
|
3227
|
+
puts "Error when calling DefaultApi->update_a_participant: #{e}"
|
3228
|
+
end
|
3229
|
+
```
|
3230
|
+
|
3231
|
+
#### Using the update_a_participant_with_http_info variant
|
3232
|
+
|
3233
|
+
This returns an Array which contains the response data, status code and headers.
|
3234
|
+
|
3235
|
+
> <Array(<ConferenceParticipantResult>, Integer, Hash)> update_a_participant_with_http_info(account_id, conference_id, call_id, opts)
|
3236
|
+
|
3237
|
+
```ruby
|
3238
|
+
begin
|
3239
|
+
# Update a Participant
|
3240
|
+
data, status_code, headers = api_instance.update_a_participant_with_http_info(conference_id, call_id, opts)
|
3241
|
+
p status_code # => 2xx
|
3242
|
+
p headers # => { ... }
|
3243
|
+
p data # => <ConferenceParticipantResult>
|
3244
|
+
rescue Freeclimb::ApiError => e
|
3245
|
+
puts "Error when calling DefaultApi->update_a_participant_with_http_info: #{e}"
|
2247
3246
|
end
|
2248
3247
|
```
|
2249
3248
|
|
2250
3249
|
### Parameters
|
2251
3250
|
|
3251
|
+
| Name | Type | Description | Notes |
|
3252
|
+
| ---- | ---- | ----------- | ----- |
|
3253
|
+
|
3254
|
+
| **conference_id** | **String** | ID of the conference this participant is in. | |
|
3255
|
+
|
3256
|
+
| **call_id** | **String** | ID of the Call associated with this participant. | |
|
3257
|
+
|
3258
|
+
| **update_conference_participant_request** | [**UpdateConferenceParticipantRequest**](UpdateConferenceParticipantRequest.md) | Conference participant details to update | [optional] |
|
2252
3259
|
|
2253
|
-
Name | Type | Description | Notes
|
2254
|
-
------------- | ------------- | ------------- | -------------
|
2255
|
-
**conference_id** | **String**| ID of the conference this participant is in. |
|
2256
|
-
**call_id** | **String**| ID of the Call associated with this participant. |
|
2257
|
-
**update_conference_participant_request** | [**UpdateConferenceParticipantRequest**](UpdateConferenceParticipantRequest.md)| Conference participant details to update | [optional]
|
2258
3260
|
|
2259
3261
|
### Return type
|
2260
3262
|
|
@@ -2272,44 +3274,67 @@ Name | Type | Description | Notes
|
|
2272
3274
|
|
2273
3275
|
## update_a_queue
|
2274
3276
|
|
2275
|
-
> QueueResult update_a_queue(queue_id, opts)
|
3277
|
+
> <QueueResult> update_a_queue(account_id, queue_id, opts)
|
2276
3278
|
|
2277
3279
|
Update a Queue
|
2278
3280
|
|
2279
|
-
###
|
3281
|
+
### Examples
|
2280
3282
|
|
2281
3283
|
```ruby
|
2282
|
-
|
3284
|
+
require 'time'
|
2283
3285
|
require 'freeclimb'
|
2284
3286
|
# setup authorization
|
2285
3287
|
Freeclimb.configure do |config|
|
2286
3288
|
# Configure HTTP basic authorization: fc
|
2287
|
-
config.username = '
|
2288
|
-
config.password = '
|
3289
|
+
config.username = 'ACCOUNT_ID'
|
3290
|
+
config.password = 'API_KEY'
|
2289
3291
|
end
|
2290
3292
|
|
2291
3293
|
api_instance = Freeclimb::DefaultApi.new
|
3294
|
+
|
2292
3295
|
queue_id = 'queue_id_example' # String | A string that uniquely identifies this Queue resource.
|
3296
|
+
|
2293
3297
|
opts = {
|
2294
3298
|
queue_request: Freeclimb::QueueRequest.new # QueueRequest | Queue Details to update
|
2295
3299
|
}
|
2296
3300
|
|
2297
3301
|
begin
|
2298
|
-
|
3302
|
+
|
3303
|
+
# Update a Queue
|
2299
3304
|
result = api_instance.update_a_queue(queue_id, opts)
|
2300
3305
|
p result
|
2301
3306
|
rescue Freeclimb::ApiError => e
|
2302
|
-
puts "
|
3307
|
+
puts "Error when calling DefaultApi->update_a_queue: #{e}"
|
3308
|
+
end
|
3309
|
+
```
|
3310
|
+
|
3311
|
+
#### Using the update_a_queue_with_http_info variant
|
3312
|
+
|
3313
|
+
This returns an Array which contains the response data, status code and headers.
|
3314
|
+
|
3315
|
+
> <Array(<QueueResult>, Integer, Hash)> update_a_queue_with_http_info(account_id, queue_id, opts)
|
3316
|
+
|
3317
|
+
```ruby
|
3318
|
+
begin
|
3319
|
+
# Update a Queue
|
3320
|
+
data, status_code, headers = api_instance.update_a_queue_with_http_info(queue_id, opts)
|
3321
|
+
p status_code # => 2xx
|
3322
|
+
p headers # => { ... }
|
3323
|
+
p data # => <QueueResult>
|
3324
|
+
rescue Freeclimb::ApiError => e
|
3325
|
+
puts "Error when calling DefaultApi->update_a_queue_with_http_info: #{e}"
|
2303
3326
|
end
|
2304
3327
|
```
|
2305
3328
|
|
2306
3329
|
### Parameters
|
2307
3330
|
|
3331
|
+
| Name | Type | Description | Notes |
|
3332
|
+
| ---- | ---- | ----------- | ----- |
|
3333
|
+
|
3334
|
+
| **queue_id** | **String** | A string that uniquely identifies this Queue resource. | |
|
3335
|
+
|
3336
|
+
| **queue_request** | [**QueueRequest**](QueueRequest.md) | Queue Details to update | [optional] |
|
2308
3337
|
|
2309
|
-
Name | Type | Description | Notes
|
2310
|
-
------------- | ------------- | ------------- | -------------
|
2311
|
-
**queue_id** | **String**| A string that uniquely identifies this Queue resource. |
|
2312
|
-
**queue_request** | [**QueueRequest**](QueueRequest.md)| Queue Details to update | [optional]
|
2313
3338
|
|
2314
3339
|
### Return type
|
2315
3340
|
|
@@ -2327,41 +3352,62 @@ Name | Type | Description | Notes
|
|
2327
3352
|
|
2328
3353
|
## update_an_account
|
2329
3354
|
|
2330
|
-
> update_an_account(opts)
|
3355
|
+
> update_an_account(account_id, opts)
|
2331
3356
|
|
2332
3357
|
Manage an account
|
2333
3358
|
|
2334
|
-
###
|
3359
|
+
### Examples
|
2335
3360
|
|
2336
3361
|
```ruby
|
2337
|
-
|
3362
|
+
require 'time'
|
2338
3363
|
require 'freeclimb'
|
2339
3364
|
# setup authorization
|
2340
3365
|
Freeclimb.configure do |config|
|
2341
3366
|
# Configure HTTP basic authorization: fc
|
2342
|
-
config.username = '
|
2343
|
-
config.password = '
|
3367
|
+
config.username = 'ACCOUNT_ID'
|
3368
|
+
config.password = 'API_KEY'
|
2344
3369
|
end
|
2345
3370
|
|
2346
3371
|
api_instance = Freeclimb::DefaultApi.new
|
3372
|
+
|
2347
3373
|
opts = {
|
2348
3374
|
account_request: Freeclimb::AccountRequest.new # AccountRequest | Account details to update
|
2349
3375
|
}
|
2350
3376
|
|
2351
3377
|
begin
|
2352
|
-
|
3378
|
+
|
3379
|
+
# Manage an account
|
2353
3380
|
api_instance.update_an_account(opts)
|
2354
3381
|
rescue Freeclimb::ApiError => e
|
2355
|
-
puts "
|
3382
|
+
puts "Error when calling DefaultApi->update_an_account: #{e}"
|
3383
|
+
end
|
3384
|
+
```
|
3385
|
+
|
3386
|
+
#### Using the update_an_account_with_http_info variant
|
3387
|
+
|
3388
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
3389
|
+
|
3390
|
+
> <Array(nil, Integer, Hash)> update_an_account_with_http_info(account_id, opts)
|
3391
|
+
|
3392
|
+
```ruby
|
3393
|
+
begin
|
3394
|
+
# Manage an account
|
3395
|
+
data, status_code, headers = api_instance.update_an_account_with_http_info(opts)
|
3396
|
+
p status_code # => 2xx
|
3397
|
+
p headers # => { ... }
|
3398
|
+
p data # => nil
|
3399
|
+
rescue Freeclimb::ApiError => e
|
3400
|
+
puts "Error when calling DefaultApi->update_an_account_with_http_info: #{e}"
|
2356
3401
|
end
|
2357
3402
|
```
|
2358
3403
|
|
2359
3404
|
### Parameters
|
2360
3405
|
|
3406
|
+
| Name | Type | Description | Notes |
|
3407
|
+
| ---- | ---- | ----------- | ----- |
|
3408
|
+
|
3409
|
+
| **account_request** | [**AccountRequest**](AccountRequest.md) | Account details to update | [optional] |
|
2361
3410
|
|
2362
|
-
Name | Type | Description | Notes
|
2363
|
-
------------- | ------------- | ------------- | -------------
|
2364
|
-
**account_request** | [**AccountRequest**](AccountRequest.md)| Account details to update | [optional]
|
2365
3411
|
|
2366
3412
|
### Return type
|
2367
3413
|
|
@@ -2379,44 +3425,67 @@ nil (empty response body)
|
|
2379
3425
|
|
2380
3426
|
## update_an_application
|
2381
3427
|
|
2382
|
-
> ApplicationResult update_an_application(application_id, opts)
|
3428
|
+
> <ApplicationResult> update_an_application(account_id, application_id, opts)
|
2383
3429
|
|
2384
3430
|
Update an application
|
2385
3431
|
|
2386
|
-
###
|
3432
|
+
### Examples
|
2387
3433
|
|
2388
3434
|
```ruby
|
2389
|
-
|
3435
|
+
require 'time'
|
2390
3436
|
require 'freeclimb'
|
2391
3437
|
# setup authorization
|
2392
3438
|
Freeclimb.configure do |config|
|
2393
3439
|
# Configure HTTP basic authorization: fc
|
2394
|
-
config.username = '
|
2395
|
-
config.password = '
|
3440
|
+
config.username = 'ACCOUNT_ID'
|
3441
|
+
config.password = 'API_KEY'
|
2396
3442
|
end
|
2397
3443
|
|
2398
3444
|
api_instance = Freeclimb::DefaultApi.new
|
3445
|
+
|
2399
3446
|
application_id = 'application_id_example' # String | A string that uniquely identifies this application resource.
|
3447
|
+
|
2400
3448
|
opts = {
|
2401
3449
|
application_request: Freeclimb::ApplicationRequest.new # ApplicationRequest | Application details to update.
|
2402
3450
|
}
|
2403
3451
|
|
2404
3452
|
begin
|
2405
|
-
|
3453
|
+
|
3454
|
+
# Update an application
|
2406
3455
|
result = api_instance.update_an_application(application_id, opts)
|
2407
3456
|
p result
|
2408
3457
|
rescue Freeclimb::ApiError => e
|
2409
|
-
puts "
|
3458
|
+
puts "Error when calling DefaultApi->update_an_application: #{e}"
|
3459
|
+
end
|
3460
|
+
```
|
3461
|
+
|
3462
|
+
#### Using the update_an_application_with_http_info variant
|
3463
|
+
|
3464
|
+
This returns an Array which contains the response data, status code and headers.
|
3465
|
+
|
3466
|
+
> <Array(<ApplicationResult>, Integer, Hash)> update_an_application_with_http_info(account_id, application_id, opts)
|
3467
|
+
|
3468
|
+
```ruby
|
3469
|
+
begin
|
3470
|
+
# Update an application
|
3471
|
+
data, status_code, headers = api_instance.update_an_application_with_http_info(application_id, opts)
|
3472
|
+
p status_code # => 2xx
|
3473
|
+
p headers # => { ... }
|
3474
|
+
p data # => <ApplicationResult>
|
3475
|
+
rescue Freeclimb::ApiError => e
|
3476
|
+
puts "Error when calling DefaultApi->update_an_application_with_http_info: #{e}"
|
2410
3477
|
end
|
2411
3478
|
```
|
2412
3479
|
|
2413
3480
|
### Parameters
|
2414
3481
|
|
3482
|
+
| Name | Type | Description | Notes |
|
3483
|
+
| ---- | ---- | ----------- | ----- |
|
3484
|
+
|
3485
|
+
| **application_id** | **String** | A string that uniquely identifies this application resource. | |
|
3486
|
+
|
3487
|
+
| **application_request** | [**ApplicationRequest**](ApplicationRequest.md) | Application details to update. | [optional] |
|
2415
3488
|
|
2416
|
-
Name | Type | Description | Notes
|
2417
|
-
------------- | ------------- | ------------- | -------------
|
2418
|
-
**application_id** | **String**| A string that uniquely identifies this application resource. |
|
2419
|
-
**application_request** | [**ApplicationRequest**](ApplicationRequest.md)| Application details to update. | [optional]
|
2420
3489
|
|
2421
3490
|
### Return type
|
2422
3491
|
|
@@ -2434,44 +3503,67 @@ Name | Type | Description | Notes
|
|
2434
3503
|
|
2435
3504
|
## update_an_incoming_number
|
2436
3505
|
|
2437
|
-
> IncomingNumberResult update_an_incoming_number(phone_number_id, opts)
|
3506
|
+
> <IncomingNumberResult> update_an_incoming_number(account_id, phone_number_id, opts)
|
2438
3507
|
|
2439
3508
|
Update an Incoming Number
|
2440
3509
|
|
2441
|
-
###
|
3510
|
+
### Examples
|
2442
3511
|
|
2443
3512
|
```ruby
|
2444
|
-
|
3513
|
+
require 'time'
|
2445
3514
|
require 'freeclimb'
|
2446
3515
|
# setup authorization
|
2447
3516
|
Freeclimb.configure do |config|
|
2448
3517
|
# Configure HTTP basic authorization: fc
|
2449
|
-
config.username = '
|
2450
|
-
config.password = '
|
3518
|
+
config.username = 'ACCOUNT_ID'
|
3519
|
+
config.password = 'API_KEY'
|
2451
3520
|
end
|
2452
3521
|
|
2453
3522
|
api_instance = Freeclimb::DefaultApi.new
|
3523
|
+
|
2454
3524
|
phone_number_id = 'phone_number_id_example' # String | String that uniquely identifies this phone number resource.
|
3525
|
+
|
2455
3526
|
opts = {
|
2456
3527
|
incoming_number_request: Freeclimb::IncomingNumberRequest.new # IncomingNumberRequest | Incoming Number details to update
|
2457
3528
|
}
|
2458
3529
|
|
2459
3530
|
begin
|
2460
|
-
|
3531
|
+
|
3532
|
+
# Update an Incoming Number
|
2461
3533
|
result = api_instance.update_an_incoming_number(phone_number_id, opts)
|
2462
3534
|
p result
|
2463
3535
|
rescue Freeclimb::ApiError => e
|
2464
|
-
puts "
|
3536
|
+
puts "Error when calling DefaultApi->update_an_incoming_number: #{e}"
|
3537
|
+
end
|
3538
|
+
```
|
3539
|
+
|
3540
|
+
#### Using the update_an_incoming_number_with_http_info variant
|
3541
|
+
|
3542
|
+
This returns an Array which contains the response data, status code and headers.
|
3543
|
+
|
3544
|
+
> <Array(<IncomingNumberResult>, Integer, Hash)> update_an_incoming_number_with_http_info(account_id, phone_number_id, opts)
|
3545
|
+
|
3546
|
+
```ruby
|
3547
|
+
begin
|
3548
|
+
# Update an Incoming Number
|
3549
|
+
data, status_code, headers = api_instance.update_an_incoming_number_with_http_info(phone_number_id, opts)
|
3550
|
+
p status_code # => 2xx
|
3551
|
+
p headers # => { ... }
|
3552
|
+
p data # => <IncomingNumberResult>
|
3553
|
+
rescue Freeclimb::ApiError => e
|
3554
|
+
puts "Error when calling DefaultApi->update_an_incoming_number_with_http_info: #{e}"
|
2465
3555
|
end
|
2466
3556
|
```
|
2467
3557
|
|
2468
3558
|
### Parameters
|
2469
3559
|
|
3560
|
+
| Name | Type | Description | Notes |
|
3561
|
+
| ---- | ---- | ----------- | ----- |
|
3562
|
+
|
3563
|
+
| **phone_number_id** | **String** | String that uniquely identifies this phone number resource. | |
|
3564
|
+
|
3565
|
+
| **incoming_number_request** | [**IncomingNumberRequest**](IncomingNumberRequest.md) | Incoming Number details to update | [optional] |
|
2470
3566
|
|
2471
|
-
Name | Type | Description | Notes
|
2472
|
-
------------- | ------------- | ------------- | -------------
|
2473
|
-
**phone_number_id** | **String**| String that uniquely identifies this phone number resource. |
|
2474
|
-
**incoming_number_request** | [**IncomingNumberRequest**](IncomingNumberRequest.md)| Incoming Number details to update | [optional]
|
2475
3567
|
|
2476
3568
|
### Return type
|
2477
3569
|
|