Package com.mypurecloud.sdk.v2.api
Class FaxApi
java.lang.Object
com.mypurecloud.sdk.v2.api.FaxApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a fax document.deleteFaxDocument(ApiRequest<Void> request) Delete a fax document.voiddeleteFaxDocument(String documentId) Delete a fax document.deleteFaxDocumentWithHttpInfo(String documentId) Delete a fax document.getFaxDocument(GetFaxDocumentRequest request) Get a document.getFaxDocument(ApiRequest<Void> request) Get a document.getFaxDocument(String documentId) Get a document.Download a fax document.getFaxDocumentContent(ApiRequest<Void> request) Download a fax document.getFaxDocumentContent(String documentId) Download a fax document.getFaxDocumentContentWithHttpInfo(String documentId) Download a fax document.getFaxDocuments(GetFaxDocumentsRequest request) Get a list of fax documents.getFaxDocuments(ApiRequest<Void> request) Get a list of fax documents.getFaxDocuments(Integer pageSize, Integer pageNumber) Get a list of fax documents.getFaxDocumentsWithHttpInfo(Integer pageSize, Integer pageNumber) Get a list of fax documents.getFaxDocumentWithHttpInfo(String documentId) Get a document.Get organization config for given organizationgetFaxSettings(GetFaxSettingsRequest request) Get organization config for given organizationgetFaxSettings(ApiRequest<Void> request) Get organization config for given organizationGet organization config for given organizationGet fax summarygetFaxSummary(GetFaxSummaryRequest request) Get fax summarygetFaxSummary(ApiRequest<Void> request) Get fax summaryGet fax summaryputFaxDocument(PutFaxDocumentRequest request) Update a fax document.putFaxDocument(ApiRequest<FaxDocument> request) Update a fax document.putFaxDocument(String documentId, FaxDocument body) Update a fax document.putFaxDocumentWithHttpInfo(String documentId, FaxDocument body) Update a fax document.putFaxSettings(PutFaxSettingsRequest request) Update/write organization config for given organizationputFaxSettings(ApiRequest<FaxConfig> request) Update/write organization config for given organizationputFaxSettings(FaxConfig body) Update/write organization config for given organizationUpdate/write organization config for given organization
-
Constructor Details
-
FaxApi
public FaxApi() -
FaxApi
-
-
Method Details
-
deleteFaxDocument
Delete a fax document.- Parameters:
documentId- Document ID (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteFaxDocumentWithHttpInfo
Delete a fax document.- Parameters:
documentId- Document ID (required)- Throws:
IOException- if the request fails to be processed
-
deleteFaxDocument
Delete a fax document.- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteFaxDocument
Delete a fax document.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getFaxDocument
Get a document.- Parameters:
documentId- Document ID (required)- Returns:
- FaxDocument
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFaxDocumentWithHttpInfo
Get a document.- Parameters:
documentId- Document ID (required)- Returns:
- FaxDocument
- Throws:
IOException- if the request fails to be processed
-
getFaxDocument
Get a document.- Parameters:
request- The request object- Returns:
- FaxDocument
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFaxDocument
Get a document.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getFaxDocumentContent
Download a fax document.- Parameters:
documentId- Document ID (required)- Returns:
- DownloadResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFaxDocumentContentWithHttpInfo
public ApiResponse<DownloadResponse> getFaxDocumentContentWithHttpInfo(String documentId) throws IOException Download a fax document.- Parameters:
documentId- Document ID (required)- Returns:
- DownloadResponse
- Throws:
IOException- if the request fails to be processed
-
getFaxDocumentContent
public DownloadResponse getFaxDocumentContent(GetFaxDocumentContentRequest request) throws IOException, ApiException Download a fax document.- Parameters:
request- The request object- Returns:
- DownloadResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFaxDocumentContent
public ApiResponse<DownloadResponse> getFaxDocumentContent(ApiRequest<Void> request) throws IOException Download a fax document.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getFaxDocuments
public FaxDocumentEntityListing getFaxDocuments(Integer pageSize, Integer pageNumber) throws IOException, ApiException Get a list of fax documents.- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- FaxDocumentEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFaxDocumentsWithHttpInfo
public ApiResponse<FaxDocumentEntityListing> getFaxDocumentsWithHttpInfo(Integer pageSize, Integer pageNumber) throws IOException Get a list of fax documents.- Parameters:
pageSize- Page size (optional, default to 25)pageNumber- Page number (optional, default to 1)- Returns:
- FaxDocumentEntityListing
- Throws:
IOException- if the request fails to be processed
-
getFaxDocuments
public FaxDocumentEntityListing getFaxDocuments(GetFaxDocumentsRequest request) throws IOException, ApiException Get a list of fax documents.- Parameters:
request- The request object- Returns:
- FaxDocumentEntityListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFaxDocuments
public ApiResponse<FaxDocumentEntityListing> getFaxDocuments(ApiRequest<Void> request) throws IOException Get a list of fax documents.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getFaxSettings
Get organization config for given organization- Returns:
- FaxConfig
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFaxSettingsWithHttpInfo
Get organization config for given organization- Returns:
- FaxConfig
- Throws:
IOException- if the request fails to be processed
-
getFaxSettings
Get organization config for given organization- Parameters:
request- The request object- Returns:
- FaxConfig
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFaxSettings
Get organization config for given organization- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getFaxSummary
Get fax summary- Returns:
- FaxSummary
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFaxSummaryWithHttpInfo
Get fax summary- Returns:
- FaxSummary
- Throws:
IOException- if the request fails to be processed
-
getFaxSummary
Get fax summary- Parameters:
request- The request object- Returns:
- FaxSummary
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getFaxSummary
Get fax summary- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putFaxDocument
public FaxDocument putFaxDocument(String documentId, FaxDocument body) throws IOException, ApiException Update a fax document.- Parameters:
documentId- Document ID (required)body- Document (required)- Returns:
- FaxDocument
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putFaxDocumentWithHttpInfo
public ApiResponse<FaxDocument> putFaxDocumentWithHttpInfo(String documentId, FaxDocument body) throws IOException Update a fax document.- Parameters:
documentId- Document ID (required)body- Document (required)- Returns:
- FaxDocument
- Throws:
IOException- if the request fails to be processed
-
putFaxDocument
Update a fax document.- Parameters:
request- The request object- Returns:
- FaxDocument
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putFaxDocument
Update a fax document.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putFaxSettings
Update/write organization config for given organization- Parameters:
body- (optional)- Returns:
- FaxConfig
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putFaxSettingsWithHttpInfo
Update/write organization config for given organization- Parameters:
body- (optional)- Returns:
- FaxConfig
- Throws:
IOException- if the request fails to be processed
-
putFaxSettings
Update/write organization config for given organization- Parameters:
request- The request object- Returns:
- FaxConfig
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putFaxSettings
Update/write organization config for given organization- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-