Package com.mypurecloud.sdk.v2.api
Class WebMessagingApi
java.lang.Object
com.mypurecloud.sdk.v2.api.WebMessagingApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete device informationDelete device informationvoiddeleteWebmessagingDeploymentPushdevice(String deploymentId, String tokenId) Delete device informationdeleteWebmessagingDeploymentPushdeviceWithHttpInfo(String deploymentId, String tokenId) Delete device informationGet the messages for a web messaging session.getWebmessagingMessages(ApiRequest<Void> request) Get the messages for a web messaging session.getWebmessagingMessages(Integer pageSize, Integer pageNumber) Get the messages for a web messaging session.getWebmessagingMessagesWithHttpInfo(Integer pageSize, Integer pageNumber) Get the messages for a web messaging session.voidEdit device informationEdit device informationvoidpatchWebmessagingDeploymentPushdevice(String deploymentId, String tokenId, PushDeviceUpdateRequest body) Edit device informationpatchWebmessagingDeploymentPushdeviceWithHttpInfo(String deploymentId, String tokenId, PushDeviceUpdateRequest body) Edit device informationvoidAdd a new device informationAdd a new device informationvoidpostWebmessagingDeploymentPushdevice(String deploymentId, String tokenId, PushDeviceInsertRequest body) Add a new device informationpostWebmessagingDeploymentPushdeviceWithHttpInfo(String deploymentId, String tokenId, PushDeviceInsertRequest body) Add a new device information
-
Constructor Details
-
WebMessagingApi
public WebMessagingApi() -
WebMessagingApi
-
-
Method Details
-
deleteWebmessagingDeploymentPushdevice
public void deleteWebmessagingDeploymentPushdevice(String deploymentId, String tokenId) throws IOException, ApiException Delete device information- Parameters:
deploymentId- WebMessaging deployment id (required)tokenId- Device token id or cookie id (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteWebmessagingDeploymentPushdeviceWithHttpInfo
public ApiResponse<Void> deleteWebmessagingDeploymentPushdeviceWithHttpInfo(String deploymentId, String tokenId) throws IOException Delete device information- Parameters:
deploymentId- WebMessaging deployment id (required)tokenId- Device token id or cookie id (required)- Throws:
IOException- if the request fails to be processed
-
deleteWebmessagingDeploymentPushdevice
public void deleteWebmessagingDeploymentPushdevice(DeleteWebmessagingDeploymentPushdeviceRequest request) throws IOException, ApiException Delete device information- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteWebmessagingDeploymentPushdevice
public ApiResponse<Void> deleteWebmessagingDeploymentPushdevice(ApiRequest<Void> request) throws IOException Delete device information- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getWebmessagingMessages
public WebMessagingMessageEntityList getWebmessagingMessages(Integer pageSize, Integer pageNumber) throws IOException, ApiException Get the messages for a web messaging session.- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- WebMessagingMessageEntityList
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebmessagingMessagesWithHttpInfo
public ApiResponse<WebMessagingMessageEntityList> getWebmessagingMessagesWithHttpInfo(Integer pageSize, Integer pageNumber) throws IOException Get the messages for a web messaging session.- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- WebMessagingMessageEntityList
- Throws:
IOException- if the request fails to be processed
-
getWebmessagingMessages
public WebMessagingMessageEntityList getWebmessagingMessages(GetWebmessagingMessagesRequest request) throws IOException, ApiException Get the messages for a web messaging session.- Parameters:
request- The request object- Returns:
- WebMessagingMessageEntityList
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getWebmessagingMessages
public ApiResponse<WebMessagingMessageEntityList> getWebmessagingMessages(ApiRequest<Void> request) throws IOException Get the messages for a web messaging session.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchWebmessagingDeploymentPushdevice
public void patchWebmessagingDeploymentPushdevice(String deploymentId, String tokenId, PushDeviceUpdateRequest body) throws IOException, ApiException Edit device information- Parameters:
deploymentId- WebMessaging deployment id (required)tokenId- Device token id or cookie id (required)body- Request body (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchWebmessagingDeploymentPushdeviceWithHttpInfo
public ApiResponse<Void> patchWebmessagingDeploymentPushdeviceWithHttpInfo(String deploymentId, String tokenId, PushDeviceUpdateRequest body) throws IOException Edit device information- Parameters:
deploymentId- WebMessaging deployment id (required)tokenId- Device token id or cookie id (required)body- Request body (required)- Throws:
IOException- if the request fails to be processed
-
patchWebmessagingDeploymentPushdevice
public void patchWebmessagingDeploymentPushdevice(PatchWebmessagingDeploymentPushdeviceRequest request) throws IOException, ApiException Edit device information- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchWebmessagingDeploymentPushdevice
public ApiResponse<Void> patchWebmessagingDeploymentPushdevice(ApiRequest<PushDeviceUpdateRequest> request) throws IOException Edit device information- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postWebmessagingDeploymentPushdevice
public void postWebmessagingDeploymentPushdevice(String deploymentId, String tokenId, PushDeviceInsertRequest body) throws IOException, ApiException Add a new device information- Parameters:
deploymentId- WebMessaging deployment id (required)tokenId- Device token id or cookie id (required)body- Request body (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postWebmessagingDeploymentPushdeviceWithHttpInfo
public ApiResponse<Void> postWebmessagingDeploymentPushdeviceWithHttpInfo(String deploymentId, String tokenId, PushDeviceInsertRequest body) throws IOException Add a new device information- Parameters:
deploymentId- WebMessaging deployment id (required)tokenId- Device token id or cookie id (required)body- Request body (required)- Throws:
IOException- if the request fails to be processed
-
postWebmessagingDeploymentPushdevice
public void postWebmessagingDeploymentPushdevice(PostWebmessagingDeploymentPushdeviceRequest request) throws IOException, ApiException Add a new device information- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postWebmessagingDeploymentPushdevice
public ApiResponse<Void> postWebmessagingDeploymentPushdevice(ApiRequest<PushDeviceInsertRequest> request) throws IOException Add a new device information- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-