Package com.mypurecloud.sdk.v2.api
Class WebChatApi
java.lang.Object
com.mypurecloud.sdk.v2.api.WebChatApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.deleteWebchatDeployment(ApiRequest<Void> request) Deprecated.voiddeleteWebchatDeployment(String deploymentId) Deprecated.deleteWebchatDeploymentWithHttpInfo(String deploymentId) Deprecated.voidRemove a member from a chat conversationRemove a member from a chat conversationvoiddeleteWebchatGuestConversationMember(String conversationId, String memberId) Remove a member from a chat conversationdeleteWebchatGuestConversationMemberWithHttpInfo(String conversationId, String memberId) Remove a member from a chat conversationvoidRemove WebChat deployment settingsvoidRemove WebChat deployment settingsdeleteWebchatSettings(ApiRequest<Void> request) Remove WebChat deployment settingsRemove WebChat deployment settingsDeprecated.getWebchatDeployment(ApiRequest<Void> request) Deprecated.getWebchatDeployment(String deploymentId) Deprecated.Deprecated.Deprecated.getWebchatDeployments(ApiRequest<Void> request) Deprecated.Deprecated.getWebchatDeploymentWithHttpInfo(String deploymentId) Deprecated.Get a media request in the conversationGet a media request in the conversationgetWebchatGuestConversationMediarequest(String conversationId, String mediaRequestId) Get a media request in the conversationGet all media requests to the guest in the conversationGet all media requests to the guest in the conversationgetWebchatGuestConversationMediarequests(String conversationId) Get all media requests to the guest in the conversationgetWebchatGuestConversationMediarequestsWithHttpInfo(String conversationId) Get all media requests to the guest in the conversationgetWebchatGuestConversationMediarequestWithHttpInfo(String conversationId, String mediaRequestId) Get a media request in the conversationGet a web chat conversation membergetWebchatGuestConversationMember(ApiRequest<Void> request) Get a web chat conversation membergetWebchatGuestConversationMember(String conversationId, String memberId) Get a web chat conversation memberGet the members of a chat conversation.getWebchatGuestConversationMembers(ApiRequest<Void> request) Get the members of a chat conversation.getWebchatGuestConversationMembers(String conversationId, Integer pageSize, Integer pageNumber, Boolean excludeDisconnectedMembers) Get the members of a chat conversation.getWebchatGuestConversationMembersWithHttpInfo(String conversationId, Integer pageSize, Integer pageNumber, Boolean excludeDisconnectedMembers) Get the members of a chat conversation.getWebchatGuestConversationMemberWithHttpInfo(String conversationId, String memberId) Get a web chat conversation memberGet a web chat conversation messagegetWebchatGuestConversationMessage(ApiRequest<Void> request) Get a web chat conversation messagegetWebchatGuestConversationMessage(String conversationId, String messageId) Get a web chat conversation messageGet the messages of a chat conversation.Get the messages of a chat conversation.getWebchatGuestConversationMessages(String conversationId, String after, String before, String sortOrder, Integer maxResults) Get the messages of a chat conversation.getWebchatGuestConversationMessagesWithHttpInfo(String conversationId, String after, String before, String sortOrder, Integer maxResults) Get the messages of a chat conversation.getWebchatGuestConversationMessageWithHttpInfo(String conversationId, String messageId) Get a web chat conversation messageGet WebChat deployment settingsGet WebChat deployment settingsgetWebchatSettings(ApiRequest<Void> request) Get WebChat deployment settingsGet WebChat deployment settingsUpdate a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERROREDUpdate a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERROREDpatchWebchatGuestConversationMediarequest(String conversationId, String mediaRequestId, WebChatGuestMediaRequest body) Update a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERROREDpatchWebchatGuestConversationMediarequestWithHttpInfo(String conversationId, String mediaRequestId, WebChatGuestMediaRequest body) Update a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERROREDDeprecated.Deprecated.Deprecated.Deprecated.postWebchatGuestConversationMemberMessages(PostWebchatGuestConversationMemberMessagesRequest request) Send a message in a chat conversation.Send a message in a chat conversation.postWebchatGuestConversationMemberMessages(String conversationId, String memberId, CreateWebChatMessageRequest body) Send a message in a chat conversation.postWebchatGuestConversationMemberMessagesWithHttpInfo(String conversationId, String memberId, CreateWebChatMessageRequest body) Send a message in a chat conversation.Send a typing-indicator in a chat conversation.Send a typing-indicator in a chat conversation.postWebchatGuestConversationMemberTyping(String conversationId, String memberId) Send a typing-indicator in a chat conversation.postWebchatGuestConversationMemberTypingWithHttpInfo(String conversationId, String memberId) Send a typing-indicator in a chat conversation.Create an ACD chat conversation from an external customer.Create an ACD chat conversation from an external customer.Create an ACD chat conversation from an external customer.Create an ACD chat conversation from an external customer.Deprecated.putWebchatDeployment(ApiRequest<WebChatDeployment> request) Deprecated.putWebchatDeployment(String deploymentId, WebChatDeployment body) Deprecated.putWebchatDeploymentWithHttpInfo(String deploymentId, WebChatDeployment body) Deprecated.Update WebChat deployment settingsputWebchatSettings(ApiRequest<WebChatSettings> request) Update WebChat deployment settingsUpdate WebChat deployment settingsUpdate WebChat deployment settings
-
Constructor Details
-
WebChatApi
public WebChatApi() -
WebChatApi
-
-
Method Details
-
deleteWebchatDeployment
Deprecated.Delete a WebChat deployment- Parameters:
deploymentId- Deployment Id (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteWebchatDeploymentWithHttpInfo
public ApiResponse<Void> deleteWebchatDeploymentWithHttpInfo(String deploymentId) throws IOException Deprecated.Delete a WebChat deployment- Parameters:
deploymentId- Deployment Id (required)- Throws:
IOException- if the request fails to be processed
-
deleteWebchatDeployment
public void deleteWebchatDeployment(DeleteWebchatDeploymentRequest request) throws IOException, ApiException Deprecated.Delete a WebChat deployment- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteWebchatDeployment
Deprecated.Delete a WebChat deployment- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
deleteWebchatGuestConversationMember
public void deleteWebchatGuestConversationMember(String conversationId, String memberId) throws IOException, ApiException Remove a member from a chat conversation- Parameters:
conversationId- conversationId (required)memberId- memberId (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteWebchatGuestConversationMemberWithHttpInfo
public ApiResponse<Void> deleteWebchatGuestConversationMemberWithHttpInfo(String conversationId, String memberId) throws IOException Remove a member from a chat conversation- Parameters:
conversationId- conversationId (required)memberId- memberId (required)- Throws:
IOException- if the request fails to be processed
-
deleteWebchatGuestConversationMember
public void deleteWebchatGuestConversationMember(DeleteWebchatGuestConversationMemberRequest request) throws IOException, ApiException Remove a member from a chat conversation- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteWebchatGuestConversationMember
public ApiResponse<Void> deleteWebchatGuestConversationMember(ApiRequest<Void> request) throws IOException Remove a member from a chat conversation- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
deleteWebchatSettings
Remove WebChat deployment settings- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteWebchatSettingsWithHttpInfo
Remove WebChat deployment settings- Throws:
IOException- if the request fails to be processed
-
deleteWebchatSettings
public void deleteWebchatSettings(DeleteWebchatSettingsRequest request) throws IOException, ApiException Remove WebChat deployment settings- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteWebchatSettings
Remove WebChat deployment settings- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getWebchatDeployment
Deprecated.Get a WebChat deployment- Parameters:
deploymentId- Deployment Id (required)- Returns:
- WebChatDeployment
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatDeploymentWithHttpInfo
public ApiResponse<WebChatDeployment> getWebchatDeploymentWithHttpInfo(String deploymentId) throws IOException Deprecated.Get a WebChat deployment- Parameters:
deploymentId- Deployment Id (required)- Returns:
- WebChatDeployment
- Throws:
IOException- if the request fails to be processed
-
getWebchatDeployment
public WebChatDeployment getWebchatDeployment(GetWebchatDeploymentRequest request) throws IOException, ApiException Deprecated.Get a WebChat deployment- Parameters:
request- The request object- Returns:
- WebChatDeployment
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatDeployment
public ApiResponse<WebChatDeployment> getWebchatDeployment(ApiRequest<Void> request) throws IOException Deprecated.Get a WebChat deployment- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getWebchatDeployments
Deprecated.List WebChat deployments- Returns:
- WebChatDeploymentEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatDeploymentsWithHttpInfo
public ApiResponse<WebChatDeploymentEntityListing> getWebchatDeploymentsWithHttpInfo() throws IOExceptionDeprecated.List WebChat deployments- Returns:
- WebChatDeploymentEntityListing
- Throws:
IOException- if the request fails to be processed
-
getWebchatDeployments
public WebChatDeploymentEntityListing getWebchatDeployments(GetWebchatDeploymentsRequest request) throws IOException, ApiException Deprecated.List WebChat deployments- Parameters:
request- The request object- Returns:
- WebChatDeploymentEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatDeployments
public ApiResponse<WebChatDeploymentEntityListing> getWebchatDeployments(ApiRequest<Void> request) throws IOException Deprecated.List WebChat deployments- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMediarequest
public WebChatGuestMediaRequest getWebchatGuestConversationMediarequest(String conversationId, String mediaRequestId) throws IOException, ApiException Get a media request in the conversation- Parameters:
conversationId- conversationId (required)mediaRequestId- mediaRequestId (required)- Returns:
- WebChatGuestMediaRequest
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMediarequestWithHttpInfo
public ApiResponse<WebChatGuestMediaRequest> getWebchatGuestConversationMediarequestWithHttpInfo(String conversationId, String mediaRequestId) throws IOException Get a media request in the conversation- Parameters:
conversationId- conversationId (required)mediaRequestId- mediaRequestId (required)- Returns:
- WebChatGuestMediaRequest
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMediarequest
public WebChatGuestMediaRequest getWebchatGuestConversationMediarequest(GetWebchatGuestConversationMediarequestRequest request) throws IOException, ApiException Get a media request in the conversation- Parameters:
request- The request object- Returns:
- WebChatGuestMediaRequest
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMediarequest
public ApiResponse<WebChatGuestMediaRequest> getWebchatGuestConversationMediarequest(ApiRequest<Void> request) throws IOException Get a media request in the conversation- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMediarequests
public WebChatGuestMediaRequestEntityList getWebchatGuestConversationMediarequests(String conversationId) throws IOException, ApiException Get all media requests to the guest in the conversation- Parameters:
conversationId- conversationId (required)- Returns:
- WebChatGuestMediaRequestEntityList
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMediarequestsWithHttpInfo
public ApiResponse<WebChatGuestMediaRequestEntityList> getWebchatGuestConversationMediarequestsWithHttpInfo(String conversationId) throws IOException Get all media requests to the guest in the conversation- Parameters:
conversationId- conversationId (required)- Returns:
- WebChatGuestMediaRequestEntityList
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMediarequests
public WebChatGuestMediaRequestEntityList getWebchatGuestConversationMediarequests(GetWebchatGuestConversationMediarequestsRequest request) throws IOException, ApiException Get all media requests to the guest in the conversation- Parameters:
request- The request object- Returns:
- WebChatGuestMediaRequestEntityList
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMediarequests
public ApiResponse<WebChatGuestMediaRequestEntityList> getWebchatGuestConversationMediarequests(ApiRequest<Void> request) throws IOException Get all media requests to the guest in the conversation- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMember
public WebChatMemberInfo getWebchatGuestConversationMember(String conversationId, String memberId) throws IOException, ApiException Get a web chat conversation member- Parameters:
conversationId- conversationId (required)memberId- memberId (required)- Returns:
- WebChatMemberInfo
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMemberWithHttpInfo
public ApiResponse<WebChatMemberInfo> getWebchatGuestConversationMemberWithHttpInfo(String conversationId, String memberId) throws IOException Get a web chat conversation member- Parameters:
conversationId- conversationId (required)memberId- memberId (required)- Returns:
- WebChatMemberInfo
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMember
public WebChatMemberInfo getWebchatGuestConversationMember(GetWebchatGuestConversationMemberRequest request) throws IOException, ApiException Get a web chat conversation member- Parameters:
request- The request object- Returns:
- WebChatMemberInfo
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMember
public ApiResponse<WebChatMemberInfo> getWebchatGuestConversationMember(ApiRequest<Void> request) throws IOException Get a web chat conversation member- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMembers
public WebChatMemberInfoEntityList getWebchatGuestConversationMembers(String conversationId, Integer pageSize, Integer pageNumber, Boolean excludeDisconnectedMembers) throws IOException, ApiException Get the members of a chat conversation.- Parameters:
conversationId- conversationId (required)pageSize- The number of entries to return per page, or omitted for the default. (optional, default to 25)pageNumber- The page number to return, or omitted for the first page. (optional, default to 1)excludeDisconnectedMembers- If true, the results will not contain members who have a DISCONNECTED state. (optional, default to false)- Returns:
- WebChatMemberInfoEntityList
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMembersWithHttpInfo
public ApiResponse<WebChatMemberInfoEntityList> getWebchatGuestConversationMembersWithHttpInfo(String conversationId, Integer pageSize, Integer pageNumber, Boolean excludeDisconnectedMembers) throws IOException Get the members of a chat conversation.- Parameters:
conversationId- conversationId (required)pageSize- The number of entries to return per page, or omitted for the default. (optional, default to 25)pageNumber- The page number to return, or omitted for the first page. (optional, default to 1)excludeDisconnectedMembers- If true, the results will not contain members who have a DISCONNECTED state. (optional, default to false)- Returns:
- WebChatMemberInfoEntityList
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMembers
public WebChatMemberInfoEntityList getWebchatGuestConversationMembers(GetWebchatGuestConversationMembersRequest request) throws IOException, ApiException Get the members of a chat conversation.- Parameters:
request- The request object- Returns:
- WebChatMemberInfoEntityList
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMembers
public ApiResponse<WebChatMemberInfoEntityList> getWebchatGuestConversationMembers(ApiRequest<Void> request) throws IOException Get the members of a chat conversation.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMessage
public WebChatMessage getWebchatGuestConversationMessage(String conversationId, String messageId) throws IOException, ApiException Get a web chat conversation message- Parameters:
conversationId- conversationId (required)messageId- messageId (required)- Returns:
- WebChatMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMessageWithHttpInfo
public ApiResponse<WebChatMessage> getWebchatGuestConversationMessageWithHttpInfo(String conversationId, String messageId) throws IOException Get a web chat conversation message- Parameters:
conversationId- conversationId (required)messageId- messageId (required)- Returns:
- WebChatMessage
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMessage
public WebChatMessage getWebchatGuestConversationMessage(GetWebchatGuestConversationMessageRequest request) throws IOException, ApiException Get a web chat conversation message- Parameters:
request- The request object- Returns:
- WebChatMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMessage
public ApiResponse<WebChatMessage> getWebchatGuestConversationMessage(ApiRequest<Void> request) throws IOException Get a web chat conversation message- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMessages
public WebChatMessageEntityList getWebchatGuestConversationMessages(String conversationId, String after, String before, String sortOrder, Integer maxResults) throws IOException, ApiException Get the messages of a chat conversation.- Parameters:
conversationId- conversationId (required)after- If available, get the messages chronologically after the id of this message (optional)before- If available, get the messages chronologically before the id of this message (optional)sortOrder- Sort order (optional, default to ascending)maxResults- Limit the returned number of messages, up to a maximum of 100 (optional, default to 100)- Returns:
- WebChatMessageEntityList
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMessagesWithHttpInfo
public ApiResponse<WebChatMessageEntityList> getWebchatGuestConversationMessagesWithHttpInfo(String conversationId, String after, String before, String sortOrder, Integer maxResults) throws IOException Get the messages of a chat conversation.- Parameters:
conversationId- conversationId (required)after- If available, get the messages chronologically after the id of this message (optional)before- If available, get the messages chronologically before the id of this message (optional)sortOrder- Sort order (optional, default to ascending)maxResults- Limit the returned number of messages, up to a maximum of 100 (optional, default to 100)- Returns:
- WebChatMessageEntityList
- Throws:
IOException- if the request fails to be processed
-
getWebchatGuestConversationMessages
public WebChatMessageEntityList getWebchatGuestConversationMessages(GetWebchatGuestConversationMessagesRequest request) throws IOException, ApiException Get the messages of a chat conversation.- Parameters:
request- The request object- Returns:
- WebChatMessageEntityList
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatGuestConversationMessages
public ApiResponse<WebChatMessageEntityList> getWebchatGuestConversationMessages(ApiRequest<Void> request) throws IOException Get the messages of a chat conversation.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getWebchatSettings
Get WebChat deployment settings- Returns:
- WebChatSettings
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatSettingsWithHttpInfo
Get WebChat deployment settings- Returns:
- WebChatSettings
- Throws:
IOException- if the request fails to be processed
-
getWebchatSettings
public WebChatSettings getWebchatSettings(GetWebchatSettingsRequest request) throws IOException, ApiException Get WebChat deployment settings- Parameters:
request- The request object- Returns:
- WebChatSettings
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebchatSettings
Get WebChat deployment settings- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchWebchatGuestConversationMediarequest
public WebChatGuestMediaRequest patchWebchatGuestConversationMediarequest(String conversationId, String mediaRequestId, WebChatGuestMediaRequest body) throws IOException, ApiException Update a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERRORED- Parameters:
conversationId- conversationId (required)mediaRequestId- mediaRequestId (required)body- Request (required)- Returns:
- WebChatGuestMediaRequest
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchWebchatGuestConversationMediarequestWithHttpInfo
public ApiResponse<WebChatGuestMediaRequest> patchWebchatGuestConversationMediarequestWithHttpInfo(String conversationId, String mediaRequestId, WebChatGuestMediaRequest body) throws IOException Update a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERRORED- Parameters:
conversationId- conversationId (required)mediaRequestId- mediaRequestId (required)body- Request (required)- Returns:
- WebChatGuestMediaRequest
- Throws:
IOException- if the request fails to be processed
-
patchWebchatGuestConversationMediarequest
public WebChatGuestMediaRequest patchWebchatGuestConversationMediarequest(PatchWebchatGuestConversationMediarequestRequest request) throws IOException, ApiException Update a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERRORED- Parameters:
request- The request object- Returns:
- WebChatGuestMediaRequest
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchWebchatGuestConversationMediarequest
public ApiResponse<WebChatGuestMediaRequest> patchWebchatGuestConversationMediarequest(ApiRequest<WebChatGuestMediaRequest> request) throws IOException Update a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERRORED- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postWebchatDeployments
public WebChatDeployment postWebchatDeployments(WebChatDeployment body) throws IOException, ApiException Deprecated.Create WebChat deployment- Parameters:
body- Deployment (required)- Returns:
- WebChatDeployment
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postWebchatDeploymentsWithHttpInfo
public ApiResponse<WebChatDeployment> postWebchatDeploymentsWithHttpInfo(WebChatDeployment body) throws IOException Deprecated.Create WebChat deployment- Parameters:
body- Deployment (required)- Returns:
- WebChatDeployment
- Throws:
IOException- if the request fails to be processed
-
postWebchatDeployments
public WebChatDeployment postWebchatDeployments(PostWebchatDeploymentsRequest request) throws IOException, ApiException Deprecated.Create WebChat deployment- Parameters:
request- The request object- Returns:
- WebChatDeployment
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postWebchatDeployments
public ApiResponse<WebChatDeployment> postWebchatDeployments(ApiRequest<WebChatDeployment> request) throws IOException Deprecated.Create WebChat deployment- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postWebchatGuestConversationMemberMessages
public WebChatMessage postWebchatGuestConversationMemberMessages(String conversationId, String memberId, CreateWebChatMessageRequest body) throws IOException, ApiException Send a message in a chat conversation.- Parameters:
conversationId- conversationId (required)memberId- memberId (required)body- Message (required)- Returns:
- WebChatMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postWebchatGuestConversationMemberMessagesWithHttpInfo
public ApiResponse<WebChatMessage> postWebchatGuestConversationMemberMessagesWithHttpInfo(String conversationId, String memberId, CreateWebChatMessageRequest body) throws IOException Send a message in a chat conversation.- Parameters:
conversationId- conversationId (required)memberId- memberId (required)body- Message (required)- Returns:
- WebChatMessage
- Throws:
IOException- if the request fails to be processed
-
postWebchatGuestConversationMemberMessages
public WebChatMessage postWebchatGuestConversationMemberMessages(PostWebchatGuestConversationMemberMessagesRequest request) throws IOException, ApiException Send a message in a chat conversation.- Parameters:
request- The request object- Returns:
- WebChatMessage
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postWebchatGuestConversationMemberMessages
public ApiResponse<WebChatMessage> postWebchatGuestConversationMemberMessages(ApiRequest<CreateWebChatMessageRequest> request) throws IOException Send a message in a chat conversation.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postWebchatGuestConversationMemberTyping
public WebChatTyping postWebchatGuestConversationMemberTyping(String conversationId, String memberId) throws IOException, ApiException Send a typing-indicator in a chat conversation.- Parameters:
conversationId- conversationId (required)memberId- memberId (required)- Returns:
- WebChatTyping
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postWebchatGuestConversationMemberTypingWithHttpInfo
public ApiResponse<WebChatTyping> postWebchatGuestConversationMemberTypingWithHttpInfo(String conversationId, String memberId) throws IOException Send a typing-indicator in a chat conversation.- Parameters:
conversationId- conversationId (required)memberId- memberId (required)- Returns:
- WebChatTyping
- Throws:
IOException- if the request fails to be processed
-
postWebchatGuestConversationMemberTyping
public WebChatTyping postWebchatGuestConversationMemberTyping(PostWebchatGuestConversationMemberTypingRequest request) throws IOException, ApiException Send a typing-indicator in a chat conversation.- Parameters:
request- The request object- Returns:
- WebChatTyping
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postWebchatGuestConversationMemberTyping
public ApiResponse<WebChatTyping> postWebchatGuestConversationMemberTyping(ApiRequest<Void> request) throws IOException Send a typing-indicator in a chat conversation.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postWebchatGuestConversations
public CreateWebChatConversationResponse postWebchatGuestConversations(CreateWebChatConversationRequest body) throws IOException, ApiException Create an ACD chat conversation from an external customer. This endpoint will create a new ACD Chat conversation under the specified Chat Deployment. The conversation will begin with a guest member in it (with a role=CUSTOMER) according to the customer information that is supplied. If the guest member is authenticated, the 'memberAuthToken' field should include his JWT as generated by the 'POST /api/v2/signeddata' resource; if the guest member is anonymous (and the Deployment permits it) this field can be omitted. The returned data includes the IDs of the conversation created, along with a newly-create JWT token that you can supply to all future endpoints as authentication to perform operations against that conversation. After successfully creating a conversation, you should connect a websocket to the event stream named in the 'eventStreamUri' field of the response; the conversation is not routed until the event stream is attached.- Parameters:
body- CreateConversationRequest (required)- Returns:
- CreateWebChatConversationResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postWebchatGuestConversationsWithHttpInfo
public ApiResponse<CreateWebChatConversationResponse> postWebchatGuestConversationsWithHttpInfo(CreateWebChatConversationRequest body) throws IOException Create an ACD chat conversation from an external customer. This endpoint will create a new ACD Chat conversation under the specified Chat Deployment. The conversation will begin with a guest member in it (with a role=CUSTOMER) according to the customer information that is supplied. If the guest member is authenticated, the 'memberAuthToken' field should include his JWT as generated by the 'POST /api/v2/signeddata' resource; if the guest member is anonymous (and the Deployment permits it) this field can be omitted. The returned data includes the IDs of the conversation created, along with a newly-create JWT token that you can supply to all future endpoints as authentication to perform operations against that conversation. After successfully creating a conversation, you should connect a websocket to the event stream named in the 'eventStreamUri' field of the response; the conversation is not routed until the event stream is attached.- Parameters:
body- CreateConversationRequest (required)- Returns:
- CreateWebChatConversationResponse
- Throws:
IOException- if the request fails to be processed
-
postWebchatGuestConversations
public CreateWebChatConversationResponse postWebchatGuestConversations(PostWebchatGuestConversationsRequest request) throws IOException, ApiException Create an ACD chat conversation from an external customer. This endpoint will create a new ACD Chat conversation under the specified Chat Deployment. The conversation will begin with a guest member in it (with a role=CUSTOMER) according to the customer information that is supplied. If the guest member is authenticated, the 'memberAuthToken' field should include his JWT as generated by the 'POST /api/v2/signeddata' resource; if the guest member is anonymous (and the Deployment permits it) this field can be omitted. The returned data includes the IDs of the conversation created, along with a newly-create JWT token that you can supply to all future endpoints as authentication to perform operations against that conversation. After successfully creating a conversation, you should connect a websocket to the event stream named in the 'eventStreamUri' field of the response; the conversation is not routed until the event stream is attached.- Parameters:
request- The request object- Returns:
- CreateWebChatConversationResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postWebchatGuestConversations
public ApiResponse<CreateWebChatConversationResponse> postWebchatGuestConversations(ApiRequest<CreateWebChatConversationRequest> request) throws IOException Create an ACD chat conversation from an external customer. This endpoint will create a new ACD Chat conversation under the specified Chat Deployment. The conversation will begin with a guest member in it (with a role=CUSTOMER) according to the customer information that is supplied. If the guest member is authenticated, the 'memberAuthToken' field should include his JWT as generated by the 'POST /api/v2/signeddata' resource; if the guest member is anonymous (and the Deployment permits it) this field can be omitted. The returned data includes the IDs of the conversation created, along with a newly-create JWT token that you can supply to all future endpoints as authentication to perform operations against that conversation. After successfully creating a conversation, you should connect a websocket to the event stream named in the 'eventStreamUri' field of the response; the conversation is not routed until the event stream is attached.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putWebchatDeployment
public WebChatDeployment putWebchatDeployment(String deploymentId, WebChatDeployment body) throws IOException, ApiException Deprecated.Update a WebChat deployment- Parameters:
deploymentId- Deployment Id (required)body- Deployment (required)- Returns:
- WebChatDeployment
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putWebchatDeploymentWithHttpInfo
public ApiResponse<WebChatDeployment> putWebchatDeploymentWithHttpInfo(String deploymentId, WebChatDeployment body) throws IOException Deprecated.Update a WebChat deployment- Parameters:
deploymentId- Deployment Id (required)body- Deployment (required)- Returns:
- WebChatDeployment
- Throws:
IOException- if the request fails to be processed
-
putWebchatDeployment
public WebChatDeployment putWebchatDeployment(PutWebchatDeploymentRequest request) throws IOException, ApiException Deprecated.Update a WebChat deployment- Parameters:
request- The request object- Returns:
- WebChatDeployment
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putWebchatDeployment
public ApiResponse<WebChatDeployment> putWebchatDeployment(ApiRequest<WebChatDeployment> request) throws IOException Deprecated.Update a WebChat deployment- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putWebchatSettings
Update WebChat deployment settings- Parameters:
body- webChatSettings (required)- Returns:
- WebChatSettings
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putWebchatSettingsWithHttpInfo
public ApiResponse<WebChatSettings> putWebchatSettingsWithHttpInfo(WebChatSettings body) throws IOException Update WebChat deployment settings- Parameters:
body- webChatSettings (required)- Returns:
- WebChatSettings
- Throws:
IOException- if the request fails to be processed
-
putWebchatSettings
public WebChatSettings putWebchatSettings(PutWebchatSettingsRequest request) throws IOException, ApiException Update WebChat deployment settings- Parameters:
request- The request object- Returns:
- WebChatSettings
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putWebchatSettings
public ApiResponse<WebChatSettings> putWebchatSettings(ApiRequest<WebChatSettings> request) throws IOException Update WebChat deployment settings- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-