Package com.mypurecloud.sdk.v2.api
Class TelephonyApi
java.lang.Object
com.mypurecloud.sdk.v2.api.TelephonyApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the list of AWS regions media can stream through.Retrieve the list of AWS regions media can stream through.getTelephonyMediaregions(ApiRequest<Void> request) Retrieve the list of AWS regions media can stream through.Retrieve the list of AWS regions media can stream through.Get a SIP message.Get a SIP message.getTelephonySipmessagesConversation(String conversationId) Get a SIP message.getTelephonySipmessagesConversationHeaders(GetTelephonySipmessagesConversationHeadersRequest request) Get SIP headers.Get SIP headers.getTelephonySipmessagesConversationHeaders(String conversationId, List<String> keys) Get SIP headers.getTelephonySipmessagesConversationHeadersWithHttpInfo(String conversationId, List<String> keys) Get SIP headers.getTelephonySipmessagesConversationWithHttpInfo(String conversationId) Get a SIP message.Fetch SIP metadata Fetch SIP metadata that matches a given parameter.getTelephonySiptraces(ApiRequest<Void> request) Fetch SIP metadata Fetch SIP metadata that matches a given parameter.getTelephonySiptraces(Date dateStart, Date dateEnd, String callId, String toUser, String fromUser, String conversationId) Fetch SIP metadata Fetch SIP metadata that matches a given parameter.Get signed S3 URL for a pcap downloadGet signed S3 URL for a pcap downloadgetTelephonySiptracesDownloadDownloadId(String downloadId) Get signed S3 URL for a pcap downloadGet signed S3 URL for a pcap downloadgetTelephonySiptracesWithHttpInfo(Date dateStart, Date dateEnd, String callId, String toUser, String fromUser, String conversationId) Fetch SIP metadata Fetch SIP metadata that matches a given parameter.Request a download of a pcap file to S3Request a download of a pcap file to S3postTelephonySiptracesDownload(SIPSearchPublicRequest sIPSearchPublicRequest) Request a download of a pcap file to S3postTelephonySiptracesDownloadWithHttpInfo(SIPSearchPublicRequest sIPSearchPublicRequest) Request a download of a pcap file to S3
-
Constructor Details
-
TelephonyApi
public TelephonyApi() -
TelephonyApi
-
-
Method Details
-
getTelephonyMediaregions
Retrieve the list of AWS regions media can stream through.- Returns:
- MediaRegions
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTelephonyMediaregionsWithHttpInfo
Retrieve the list of AWS regions media can stream through.- Returns:
- MediaRegions
- Throws:
IOException- if the request fails to be processed
-
getTelephonyMediaregions
public MediaRegions getTelephonyMediaregions(GetTelephonyMediaregionsRequest request) throws IOException, ApiException Retrieve the list of AWS regions media can stream through.- Parameters:
request- The request object- Returns:
- MediaRegions
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTelephonyMediaregions
public ApiResponse<MediaRegions> getTelephonyMediaregions(ApiRequest<Void> request) throws IOException Retrieve the list of AWS regions media can stream through.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getTelephonySipmessagesConversation
public Callmessage getTelephonySipmessagesConversation(String conversationId) throws IOException, ApiException Get a SIP message. Get the raw form of the SIP message- Parameters:
conversationId- Conversation id (required)- Returns:
- Callmessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTelephonySipmessagesConversationWithHttpInfo
public ApiResponse<Callmessage> getTelephonySipmessagesConversationWithHttpInfo(String conversationId) throws IOException Get a SIP message. Get the raw form of the SIP message- Parameters:
conversationId- Conversation id (required)- Returns:
- Callmessage
- Throws:
IOException- if the request fails to be processed
-
getTelephonySipmessagesConversation
public Callmessage getTelephonySipmessagesConversation(GetTelephonySipmessagesConversationRequest request) throws IOException, ApiException Get a SIP message. Get the raw form of the SIP message- Parameters:
request- The request object- Returns:
- Callmessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTelephonySipmessagesConversation
public ApiResponse<Callmessage> getTelephonySipmessagesConversation(ApiRequest<Void> request) throws IOException Get a SIP message. Get the raw form of the SIP message- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getTelephonySipmessagesConversationHeaders
public Callheader getTelephonySipmessagesConversationHeaders(String conversationId, List<String> keys) throws IOException, ApiException Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.- Parameters:
conversationId- Conversation id (required)keys- comma-separated list of header identifiers to query. e.g. ruri,to,from (optional)- Returns:
- Callheader
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTelephonySipmessagesConversationHeadersWithHttpInfo
public ApiResponse<Callheader> getTelephonySipmessagesConversationHeadersWithHttpInfo(String conversationId, List<String> keys) throws IOException Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.- Parameters:
conversationId- Conversation id (required)keys- comma-separated list of header identifiers to query. e.g. ruri,to,from (optional)- Returns:
- Callheader
- Throws:
IOException- if the request fails to be processed
-
getTelephonySipmessagesConversationHeaders
public Callheader getTelephonySipmessagesConversationHeaders(GetTelephonySipmessagesConversationHeadersRequest request) throws IOException, ApiException Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.- Parameters:
request- The request object- Returns:
- Callheader
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTelephonySipmessagesConversationHeaders
public ApiResponse<Callheader> getTelephonySipmessagesConversationHeaders(ApiRequest<Void> request) throws IOException Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getTelephonySiptraces
public SipSearchResult getTelephonySiptraces(Date dateStart, Date dateEnd, String callId, String toUser, String fromUser, String conversationId) throws IOException, ApiException Fetch SIP metadata Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected- Parameters:
dateStart- Start date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)dateEnd- End date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)callId- unique identification of the placed call (optional)toUser- User to who the call was placed (optional)fromUser- user who placed the call (optional)conversationId- Unique identification of the conversation (optional)- Returns:
- SipSearchResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTelephonySiptracesWithHttpInfo
public ApiResponse<SipSearchResult> getTelephonySiptracesWithHttpInfo(Date dateStart, Date dateEnd, String callId, String toUser, String fromUser, String conversationId) throws IOException Fetch SIP metadata Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected- Parameters:
dateStart- Start date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)dateEnd- End date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)callId- unique identification of the placed call (optional)toUser- User to who the call was placed (optional)fromUser- user who placed the call (optional)conversationId- Unique identification of the conversation (optional)- Returns:
- SipSearchResult
- Throws:
IOException- if the request fails to be processed
-
getTelephonySiptraces
public SipSearchResult getTelephonySiptraces(GetTelephonySiptracesRequest request) throws IOException, ApiException Fetch SIP metadata Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected- Parameters:
request- The request object- Returns:
- SipSearchResult
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTelephonySiptraces
public ApiResponse<SipSearchResult> getTelephonySiptraces(ApiRequest<Void> request) throws IOException Fetch SIP metadata Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getTelephonySiptracesDownloadDownloadId
public SignedUrlResponse getTelephonySiptracesDownloadDownloadId(String downloadId) throws IOException, ApiException Get signed S3 URL for a pcap download- Parameters:
downloadId- unique id for the downloaded file in S3 (required)- Returns:
- SignedUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTelephonySiptracesDownloadDownloadIdWithHttpInfo
public ApiResponse<SignedUrlResponse> getTelephonySiptracesDownloadDownloadIdWithHttpInfo(String downloadId) throws IOException Get signed S3 URL for a pcap download- Parameters:
downloadId- unique id for the downloaded file in S3 (required)- Returns:
- SignedUrlResponse
- Throws:
IOException- if the request fails to be processed
-
getTelephonySiptracesDownloadDownloadId
public SignedUrlResponse getTelephonySiptracesDownloadDownloadId(GetTelephonySiptracesDownloadDownloadIdRequest request) throws IOException, ApiException Get signed S3 URL for a pcap download- Parameters:
request- The request object- Returns:
- SignedUrlResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getTelephonySiptracesDownloadDownloadId
public ApiResponse<SignedUrlResponse> getTelephonySiptracesDownloadDownloadId(ApiRequest<Void> request) throws IOException Get signed S3 URL for a pcap download- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postTelephonySiptracesDownload
public SipDownloadResponse postTelephonySiptracesDownload(SIPSearchPublicRequest sIPSearchPublicRequest) throws IOException, ApiException Request a download of a pcap file to S3- Parameters:
sIPSearchPublicRequest- (required)- Returns:
- SipDownloadResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postTelephonySiptracesDownloadWithHttpInfo
public ApiResponse<SipDownloadResponse> postTelephonySiptracesDownloadWithHttpInfo(SIPSearchPublicRequest sIPSearchPublicRequest) throws IOException Request a download of a pcap file to S3- Parameters:
sIPSearchPublicRequest- (required)- Returns:
- SipDownloadResponse
- Throws:
IOException- if the request fails to be processed
-
postTelephonySiptracesDownload
public SipDownloadResponse postTelephonySiptracesDownload(PostTelephonySiptracesDownloadRequest request) throws IOException, ApiException Request a download of a pcap file to S3- Parameters:
request- The request object- Returns:
- SipDownloadResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postTelephonySiptracesDownload
public ApiResponse<SipDownloadResponse> postTelephonySiptracesDownload(ApiRequest<SIPSearchPublicRequest> request) throws IOException Request a download of a pcap file to S3- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-