public class IssuedDocumentsApi
extends java.lang.Object
| Constructor and Description |
|---|
IssuedDocumentsApi() |
IssuedDocumentsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CreateIssuedDocumentResponse |
createIssuedDocument(java.lang.Integer companyId,
CreateIssuedDocumentRequest createIssuedDocumentRequest)
Create Issued Document Creates a new document.
|
okhttp3.Call |
createIssuedDocumentAsync(java.lang.Integer companyId,
CreateIssuedDocumentRequest createIssuedDocumentRequest,
ApiCallback<CreateIssuedDocumentResponse> _callback)
Create Issued Document (asynchronously) Creates a new document.
|
okhttp3.Call |
createIssuedDocumentCall(java.lang.Integer companyId,
CreateIssuedDocumentRequest createIssuedDocumentRequest,
ApiCallback _callback)
Build call for createIssuedDocument
|
ApiResponse<CreateIssuedDocumentResponse> |
createIssuedDocumentWithHttpInfo(java.lang.Integer companyId,
CreateIssuedDocumentRequest createIssuedDocumentRequest)
Create Issued Document Creates a new document.
|
void |
deleteIssuedDocument(java.lang.Integer companyId,
java.lang.Integer documentId)
Delete Issued Document Deletes the specified document.
|
okhttp3.Call |
deleteIssuedDocumentAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback<java.lang.Void> _callback)
Delete Issued Document (asynchronously) Deletes the specified document.
|
void |
deleteIssuedDocumentAttachment(java.lang.Integer companyId,
java.lang.Integer documentId)
Delete Issued Document Attachment Removes the attachment of the specified document.
|
okhttp3.Call |
deleteIssuedDocumentAttachmentAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback<java.lang.Void> _callback)
Delete Issued Document Attachment (asynchronously) Removes the attachment of the specified
document.
|
okhttp3.Call |
deleteIssuedDocumentAttachmentCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback _callback)
Build call for deleteIssuedDocumentAttachment
|
ApiResponse<java.lang.Void> |
deleteIssuedDocumentAttachmentWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer documentId)
Delete Issued Document Attachment Removes the attachment of the specified document.
|
okhttp3.Call |
deleteIssuedDocumentCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback _callback)
Build call for deleteIssuedDocument
|
ApiResponse<java.lang.Void> |
deleteIssuedDocumentWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer documentId)
Delete Issued Document Deletes the specified document.
|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
GetEmailDataResponse |
getEmailData(java.lang.Integer companyId,
java.lang.Integer documentId)
Get Email Data Gets the pre-compiled email details.
|
okhttp3.Call |
getEmailDataAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback<GetEmailDataResponse> _callback)
Get Email Data (asynchronously) Gets the pre-compiled email details.
|
okhttp3.Call |
getEmailDataCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback _callback)
Build call for getEmailData
|
ApiResponse<GetEmailDataResponse> |
getEmailDataWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer documentId)
Get Email Data Gets the pre-compiled email details.
|
GetExistingIssuedDocumentTotalsResponse |
getExistingIssuedDocumentTotals(java.lang.Integer companyId,
java.lang.Integer documentId,
GetExistingIssuedDocumentTotalsRequest getExistingIssuedDocumentTotalsRequest)
Get Existing Issued Document Totals Returns the totals for a specified document.
|
okhttp3.Call |
getExistingIssuedDocumentTotalsAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
GetExistingIssuedDocumentTotalsRequest getExistingIssuedDocumentTotalsRequest,
ApiCallback<GetExistingIssuedDocumentTotalsResponse> _callback)
Get Existing Issued Document Totals (asynchronously) Returns the totals for a specified
document.
|
okhttp3.Call |
getExistingIssuedDocumentTotalsCall(java.lang.Integer companyId,
java.lang.Integer documentId,
GetExistingIssuedDocumentTotalsRequest getExistingIssuedDocumentTotalsRequest,
ApiCallback _callback)
Build call for getExistingIssuedDocumentTotals
|
ApiResponse<GetExistingIssuedDocumentTotalsResponse> |
getExistingIssuedDocumentTotalsWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer documentId,
GetExistingIssuedDocumentTotalsRequest getExistingIssuedDocumentTotalsRequest)
Get Existing Issued Document Totals Returns the totals for a specified document.
|
int |
getHostIndex() |
GetIssuedDocumentResponse |
getIssuedDocument(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.String fields,
java.lang.String fieldset)
Get Issued Document Gets the specified document.
|
okhttp3.Call |
getIssuedDocumentAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback<GetIssuedDocumentResponse> _callback)
Get Issued Document (asynchronously) Gets the specified document.
|
okhttp3.Call |
getIssuedDocumentCall(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback _callback)
Build call for getIssuedDocument
|
GetIssuedDocumentPreCreateInfoResponse |
getIssuedDocumentPreCreateInfo(java.lang.Integer companyId,
java.lang.String type)
Get Issued Document Pre-Create Info Retrieves the information useful while creating a new
document.
|
okhttp3.Call |
getIssuedDocumentPreCreateInfoAsync(java.lang.Integer companyId,
java.lang.String type,
ApiCallback<GetIssuedDocumentPreCreateInfoResponse> _callback)
Get Issued Document Pre-Create Info (asynchronously) Retrieves the information useful while
creating a new document.
|
okhttp3.Call |
getIssuedDocumentPreCreateInfoCall(java.lang.Integer companyId,
java.lang.String type,
ApiCallback _callback)
Build call for getIssuedDocumentPreCreateInfo
|
ApiResponse<GetIssuedDocumentPreCreateInfoResponse> |
getIssuedDocumentPreCreateInfoWithHttpInfo(java.lang.Integer companyId,
java.lang.String type)
Get Issued Document Pre-Create Info Retrieves the information useful while creating a new
document.
|
ApiResponse<GetIssuedDocumentResponse> |
getIssuedDocumentWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.String fields,
java.lang.String fieldset)
Get Issued Document Gets the specified document.
|
GetNewIssuedDocumentTotalsResponse |
getNewIssuedDocumentTotals(java.lang.Integer companyId,
GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest)
Get New Issued Document Totals Returns the totals for a new document.
|
okhttp3.Call |
getNewIssuedDocumentTotalsAsync(java.lang.Integer companyId,
GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest,
ApiCallback<GetNewIssuedDocumentTotalsResponse> _callback)
Get New Issued Document Totals (asynchronously) Returns the totals for a new document.
|
okhttp3.Call |
getNewIssuedDocumentTotalsCall(java.lang.Integer companyId,
GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest,
ApiCallback _callback)
Build call for getNewIssuedDocumentTotals
|
ApiResponse<GetNewIssuedDocumentTotalsResponse> |
getNewIssuedDocumentTotalsWithHttpInfo(java.lang.Integer companyId,
GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest)
Get New Issued Document Totals Returns the totals for a new document.
|
JoinIssuedDocumentsResponse |
joinIssuedDocuments(java.lang.Integer companyId,
java.lang.String ids,
java.lang.Integer group,
java.lang.String type)
Join Issued Documents Joins issued documents.
|
okhttp3.Call |
joinIssuedDocumentsAsync(java.lang.Integer companyId,
java.lang.String ids,
java.lang.Integer group,
java.lang.String type,
ApiCallback<JoinIssuedDocumentsResponse> _callback)
Join Issued Documents (asynchronously) Joins issued documents.
|
okhttp3.Call |
joinIssuedDocumentsCall(java.lang.Integer companyId,
java.lang.String ids,
java.lang.Integer group,
java.lang.String type,
ApiCallback _callback)
Build call for joinIssuedDocuments
|
ApiResponse<JoinIssuedDocumentsResponse> |
joinIssuedDocumentsWithHttpInfo(java.lang.Integer companyId,
java.lang.String ids,
java.lang.Integer group,
java.lang.String type)
Join Issued Documents Joins issued documents.
|
ListIssuedDocumentsResponse |
listIssuedDocuments(java.lang.Integer companyId,
java.lang.String type,
java.lang.String fields,
java.lang.String fieldset,
java.lang.String sort,
java.lang.Integer page,
java.lang.Integer perPage,
java.lang.String q,
java.lang.Integer inclusive)
List Issued Documents Lists the issued documents.
|
okhttp3.Call |
listIssuedDocumentsAsync(java.lang.Integer companyId,
java.lang.String type,
java.lang.String fields,
java.lang.String fieldset,
java.lang.String sort,
java.lang.Integer page,
java.lang.Integer perPage,
java.lang.String q,
java.lang.Integer inclusive,
ApiCallback<ListIssuedDocumentsResponse> _callback)
List Issued Documents (asynchronously) Lists the issued documents.
|
okhttp3.Call |
listIssuedDocumentsCall(java.lang.Integer companyId,
java.lang.String type,
java.lang.String fields,
java.lang.String fieldset,
java.lang.String sort,
java.lang.Integer page,
java.lang.Integer perPage,
java.lang.String q,
java.lang.Integer inclusive,
ApiCallback _callback)
Build call for listIssuedDocuments
|
ApiResponse<ListIssuedDocumentsResponse> |
listIssuedDocumentsWithHttpInfo(java.lang.Integer companyId,
java.lang.String type,
java.lang.String fields,
java.lang.String fieldset,
java.lang.String sort,
java.lang.Integer page,
java.lang.Integer perPage,
java.lang.String q,
java.lang.Integer inclusive)
List Issued Documents Lists the issued documents.
|
ModifyIssuedDocumentResponse |
modifyIssuedDocument(java.lang.Integer companyId,
java.lang.Integer documentId,
ModifyIssuedDocumentRequest modifyIssuedDocumentRequest)
Modify Issued Document Modifies the specified document.
|
okhttp3.Call |
modifyIssuedDocumentAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ModifyIssuedDocumentRequest modifyIssuedDocumentRequest,
ApiCallback<ModifyIssuedDocumentResponse> _callback)
Modify Issued Document (asynchronously) Modifies the specified document.
|
okhttp3.Call |
modifyIssuedDocumentCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ModifyIssuedDocumentRequest modifyIssuedDocumentRequest,
ApiCallback _callback)
Build call for modifyIssuedDocument
|
ApiResponse<ModifyIssuedDocumentResponse> |
modifyIssuedDocumentWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer documentId,
ModifyIssuedDocumentRequest modifyIssuedDocumentRequest)
Modify Issued Document Modifies the specified document.
|
void |
scheduleEmail(java.lang.Integer companyId,
java.lang.Integer documentId,
ScheduleEmailRequest scheduleEmailRequest)
Schedule Email Schedules the sending of a document by email.
|
okhttp3.Call |
scheduleEmailAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ScheduleEmailRequest scheduleEmailRequest,
ApiCallback<java.lang.Void> _callback)
Schedule Email (asynchronously) Schedules the sending of a document by email.
|
okhttp3.Call |
scheduleEmailCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ScheduleEmailRequest scheduleEmailRequest,
ApiCallback _callback)
Build call for scheduleEmail
|
ApiResponse<java.lang.Void> |
scheduleEmailWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer documentId,
ScheduleEmailRequest scheduleEmailRequest)
Schedule Email Schedules the sending of a document by email.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
TransformIssuedDocumentResponse |
transformIssuedDocument(java.lang.Integer companyId,
java.lang.Integer originalDocumentId,
java.lang.String newType,
java.lang.String type,
java.lang.Integer eInvoice,
java.lang.Integer transformKeepCopy)
Transform Issued Document Transforms the document.
|
okhttp3.Call |
transformIssuedDocumentAsync(java.lang.Integer companyId,
java.lang.Integer originalDocumentId,
java.lang.String newType,
java.lang.String type,
java.lang.Integer eInvoice,
java.lang.Integer transformKeepCopy,
ApiCallback<TransformIssuedDocumentResponse> _callback)
Transform Issued Document (asynchronously) Transforms the document.
|
okhttp3.Call |
transformIssuedDocumentCall(java.lang.Integer companyId,
java.lang.Integer originalDocumentId,
java.lang.String newType,
java.lang.String type,
java.lang.Integer eInvoice,
java.lang.Integer transformKeepCopy,
ApiCallback _callback)
Build call for transformIssuedDocument
|
ApiResponse<TransformIssuedDocumentResponse> |
transformIssuedDocumentWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer originalDocumentId,
java.lang.String newType,
java.lang.String type,
java.lang.Integer eInvoice,
java.lang.Integer transformKeepCopy)
Transform Issued Document Transforms the document.
|
UploadIssuedDocumentAttachmentResponse |
uploadIssuedDocumentAttachment(java.lang.Integer companyId,
java.lang.String filename,
java.io.File attachment)
Upload Issued Document Attachment Uploads an attachment destined to an issued document.
|
okhttp3.Call |
uploadIssuedDocumentAttachmentAsync(java.lang.Integer companyId,
java.lang.String filename,
java.io.File attachment,
ApiCallback<UploadIssuedDocumentAttachmentResponse> _callback)
Upload Issued Document Attachment (asynchronously) Uploads an attachment destined to an issued
document.
|
okhttp3.Call |
uploadIssuedDocumentAttachmentCall(java.lang.Integer companyId,
java.lang.String filename,
java.io.File attachment,
ApiCallback _callback)
Build call for uploadIssuedDocumentAttachment
|
ApiResponse<UploadIssuedDocumentAttachmentResponse> |
uploadIssuedDocumentAttachmentWithHttpInfo(java.lang.Integer companyId,
java.lang.String filename,
java.io.File attachment)
Upload Issued Document Attachment Uploads an attachment destined to an issued document.
|
public IssuedDocumentsApi()
public IssuedDocumentsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call createIssuedDocumentCall(java.lang.Integer companyId,
CreateIssuedDocumentRequest createIssuedDocumentRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)createIssuedDocumentRequest - The Issued Document (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Document created. | - |
| 401 | Unauthorized | - |
public CreateIssuedDocumentResponse createIssuedDocument(java.lang.Integer companyId, CreateIssuedDocumentRequest createIssuedDocumentRequest) throws ApiException
companyId - The ID of the company. (required)createIssuedDocumentRequest - The Issued Document (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Document created. | - |
| 401 | Unauthorized | - |
public ApiResponse<CreateIssuedDocumentResponse> createIssuedDocumentWithHttpInfo(java.lang.Integer companyId, CreateIssuedDocumentRequest createIssuedDocumentRequest) throws ApiException
companyId - The ID of the company. (required)createIssuedDocumentRequest - The Issued Document (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Document created. | - |
| 401 | Unauthorized | - |
public okhttp3.Call createIssuedDocumentAsync(java.lang.Integer companyId,
CreateIssuedDocumentRequest createIssuedDocumentRequest,
ApiCallback<CreateIssuedDocumentResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)createIssuedDocumentRequest - The Issued Document (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Document created. | - |
| 401 | Unauthorized | - |
public okhttp3.Call deleteIssuedDocumentCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Document removed | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public void deleteIssuedDocument(java.lang.Integer companyId,
java.lang.Integer documentId)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Document removed | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<java.lang.Void> deleteIssuedDocumentWithHttpInfo(java.lang.Integer companyId, java.lang.Integer documentId) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Document removed | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call deleteIssuedDocumentAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback<java.lang.Void> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Document removed | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call deleteIssuedDocumentAttachmentCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | File removed. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public void deleteIssuedDocumentAttachment(java.lang.Integer companyId,
java.lang.Integer documentId)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | File removed. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<java.lang.Void> deleteIssuedDocumentAttachmentWithHttpInfo(java.lang.Integer companyId, java.lang.Integer documentId) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | File removed. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call deleteIssuedDocumentAttachmentAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback<java.lang.Void> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | File removed. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call getEmailDataCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | EmailData | - |
public GetEmailDataResponse getEmailData(java.lang.Integer companyId, java.lang.Integer documentId) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | EmailData | - |
public ApiResponse<GetEmailDataResponse> getEmailDataWithHttpInfo(java.lang.Integer companyId, java.lang.Integer documentId) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | EmailData | - |
public okhttp3.Call getEmailDataAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ApiCallback<GetEmailDataResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | EmailData | - |
public okhttp3.Call getExistingIssuedDocumentTotalsCall(java.lang.Integer companyId,
java.lang.Integer documentId,
GetExistingIssuedDocumentTotalsRequest getExistingIssuedDocumentTotalsRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)getExistingIssuedDocumentTotalsRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Totals. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public GetExistingIssuedDocumentTotalsResponse getExistingIssuedDocumentTotals(java.lang.Integer companyId, java.lang.Integer documentId, GetExistingIssuedDocumentTotalsRequest getExistingIssuedDocumentTotalsRequest) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)getExistingIssuedDocumentTotalsRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Totals. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<GetExistingIssuedDocumentTotalsResponse> getExistingIssuedDocumentTotalsWithHttpInfo(java.lang.Integer companyId, java.lang.Integer documentId, GetExistingIssuedDocumentTotalsRequest getExistingIssuedDocumentTotalsRequest) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)getExistingIssuedDocumentTotalsRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Totals. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call getExistingIssuedDocumentTotalsAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
GetExistingIssuedDocumentTotalsRequest getExistingIssuedDocumentTotalsRequest,
ApiCallback<GetExistingIssuedDocumentTotalsResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)getExistingIssuedDocumentTotalsRequest - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Totals. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call getIssuedDocumentCall(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Document Details. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public GetIssuedDocumentResponse getIssuedDocument(java.lang.Integer companyId, java.lang.Integer documentId, java.lang.String fields, java.lang.String fieldset) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Document Details. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<GetIssuedDocumentResponse> getIssuedDocumentWithHttpInfo(java.lang.Integer companyId, java.lang.Integer documentId, java.lang.String fields, java.lang.String fieldset) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Document Details. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call getIssuedDocumentAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback<GetIssuedDocumentResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Document Details. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call getIssuedDocumentPreCreateInfoCall(java.lang.Integer companyId,
java.lang.String type,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)type - The type of the issued document. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Pre-create info. | - |
public GetIssuedDocumentPreCreateInfoResponse getIssuedDocumentPreCreateInfo(java.lang.Integer companyId, java.lang.String type) throws ApiException
companyId - The ID of the company. (required)type - The type of the issued document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Pre-create info. | - |
public ApiResponse<GetIssuedDocumentPreCreateInfoResponse> getIssuedDocumentPreCreateInfoWithHttpInfo(java.lang.Integer companyId, java.lang.String type) throws ApiException
companyId - The ID of the company. (required)type - The type of the issued document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Pre-create info. | - |
public okhttp3.Call getIssuedDocumentPreCreateInfoAsync(java.lang.Integer companyId,
java.lang.String type,
ApiCallback<GetIssuedDocumentPreCreateInfoResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)type - The type of the issued document. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Pre-create info. | - |
public okhttp3.Call getNewIssuedDocumentTotalsCall(java.lang.Integer companyId,
GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)getNewIssuedDocumentTotalsRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Totals. | - |
| 401 | Unauthorized | - |
public GetNewIssuedDocumentTotalsResponse getNewIssuedDocumentTotals(java.lang.Integer companyId, GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest) throws ApiException
companyId - The ID of the company. (required)getNewIssuedDocumentTotalsRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Totals. | - |
| 401 | Unauthorized | - |
public ApiResponse<GetNewIssuedDocumentTotalsResponse> getNewIssuedDocumentTotalsWithHttpInfo(java.lang.Integer companyId, GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest) throws ApiException
companyId - The ID of the company. (required)getNewIssuedDocumentTotalsRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Totals. | - |
| 401 | Unauthorized | - |
public okhttp3.Call getNewIssuedDocumentTotalsAsync(java.lang.Integer companyId,
GetNewIssuedDocumentTotalsRequest getNewIssuedDocumentTotalsRequest,
ApiCallback<GetNewIssuedDocumentTotalsResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)getNewIssuedDocumentTotalsRequest - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Totals. | - |
| 401 | Unauthorized | - |
public okhttp3.Call joinIssuedDocumentsCall(java.lang.Integer companyId,
java.lang.String ids,
java.lang.Integer group,
java.lang.String type,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)ids - Ids of the documents. (required)group - Group items. (optional)type - Type of the documents to be joined (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public JoinIssuedDocumentsResponse joinIssuedDocuments(java.lang.Integer companyId, java.lang.String ids, java.lang.Integer group, java.lang.String type) throws ApiException
companyId - The ID of the company. (required)ids - Ids of the documents. (required)group - Group items. (optional)type - Type of the documents to be joined (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<JoinIssuedDocumentsResponse> joinIssuedDocumentsWithHttpInfo(java.lang.Integer companyId, java.lang.String ids, java.lang.Integer group, java.lang.String type) throws ApiException
companyId - The ID of the company. (required)ids - Ids of the documents. (required)group - Group items. (optional)type - Type of the documents to be joined (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call joinIssuedDocumentsAsync(java.lang.Integer companyId,
java.lang.String ids,
java.lang.Integer group,
java.lang.String type,
ApiCallback<JoinIssuedDocumentsResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)ids - Ids of the documents. (required)group - Group items. (optional)type - Type of the documents to be joined (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call listIssuedDocumentsCall(java.lang.Integer companyId,
java.lang.String type,
java.lang.String fields,
java.lang.String fieldset,
java.lang.String sort,
java.lang.Integer page,
java.lang.Integer perPage,
java.lang.String q,
java.lang.Integer inclusive,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)type - The type of the issued document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)sort - List of comma-separated fields for result sorting (minus for desc sorting).
(optional)page - The page to retrieve. (optional, default to 1)perPage - The size of the page. (optional, default to 5)q - Query for filtering the results. (optional)inclusive - (Only for type = delivery_notes) Include invoices delivery notes.
(optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Results list. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ListIssuedDocumentsResponse listIssuedDocuments(java.lang.Integer companyId, java.lang.String type, java.lang.String fields, java.lang.String fieldset, java.lang.String sort, java.lang.Integer page, java.lang.Integer perPage, java.lang.String q, java.lang.Integer inclusive) throws ApiException
companyId - The ID of the company. (required)type - The type of the issued document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)sort - List of comma-separated fields for result sorting (minus for desc sorting).
(optional)page - The page to retrieve. (optional, default to 1)perPage - The size of the page. (optional, default to 5)q - Query for filtering the results. (optional)inclusive - (Only for type = delivery_notes) Include invoices delivery notes.
(optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Results list. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<ListIssuedDocumentsResponse> listIssuedDocumentsWithHttpInfo(java.lang.Integer companyId, java.lang.String type, java.lang.String fields, java.lang.String fieldset, java.lang.String sort, java.lang.Integer page, java.lang.Integer perPage, java.lang.String q, java.lang.Integer inclusive) throws ApiException
companyId - The ID of the company. (required)type - The type of the issued document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)sort - List of comma-separated fields for result sorting (minus for desc sorting).
(optional)page - The page to retrieve. (optional, default to 1)perPage - The size of the page. (optional, default to 5)q - Query for filtering the results. (optional)inclusive - (Only for type = delivery_notes) Include invoices delivery notes.
(optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Results list. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call listIssuedDocumentsAsync(java.lang.Integer companyId,
java.lang.String type,
java.lang.String fields,
java.lang.String fieldset,
java.lang.String sort,
java.lang.Integer page,
java.lang.Integer perPage,
java.lang.String q,
java.lang.Integer inclusive,
ApiCallback<ListIssuedDocumentsResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)type - The type of the issued document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)sort - List of comma-separated fields for result sorting (minus for desc sorting).
(optional)page - The page to retrieve. (optional, default to 1)perPage - The size of the page. (optional, default to 5)q - Query for filtering the results. (optional)inclusive - (Only for type = delivery_notes) Include invoices delivery notes.
(optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Results list. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call modifyIssuedDocumentCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ModifyIssuedDocumentRequest modifyIssuedDocumentRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)modifyIssuedDocumentRequest - The modified document (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Document edited | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ModifyIssuedDocumentResponse modifyIssuedDocument(java.lang.Integer companyId, java.lang.Integer documentId, ModifyIssuedDocumentRequest modifyIssuedDocumentRequest) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)modifyIssuedDocumentRequest - The modified document (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Document edited | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<ModifyIssuedDocumentResponse> modifyIssuedDocumentWithHttpInfo(java.lang.Integer companyId, java.lang.Integer documentId, ModifyIssuedDocumentRequest modifyIssuedDocumentRequest) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)modifyIssuedDocumentRequest - The modified document (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Document edited | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call modifyIssuedDocumentAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ModifyIssuedDocumentRequest modifyIssuedDocumentRequest,
ApiCallback<ModifyIssuedDocumentResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)modifyIssuedDocumentRequest - The modified document (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Document edited | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call scheduleEmailCall(java.lang.Integer companyId,
java.lang.Integer documentId,
ScheduleEmailRequest scheduleEmailRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)scheduleEmailRequest - Email Schedule (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public void scheduleEmail(java.lang.Integer companyId,
java.lang.Integer documentId,
ScheduleEmailRequest scheduleEmailRequest)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)scheduleEmailRequest - Email Schedule (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<java.lang.Void> scheduleEmailWithHttpInfo(java.lang.Integer companyId, java.lang.Integer documentId, ScheduleEmailRequest scheduleEmailRequest) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)scheduleEmailRequest - Email Schedule (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call scheduleEmailAsync(java.lang.Integer companyId,
java.lang.Integer documentId,
ScheduleEmailRequest scheduleEmailRequest,
ApiCallback<java.lang.Void> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)scheduleEmailRequest - Email Schedule (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call transformIssuedDocumentCall(java.lang.Integer companyId,
java.lang.Integer originalDocumentId,
java.lang.String newType,
java.lang.String type,
java.lang.Integer eInvoice,
java.lang.Integer transformKeepCopy,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)originalDocumentId - Original document id. (required)newType - New document type. (required)type - Current document type. (optional)eInvoice - New document e_invoice. (optional)transformKeepCopy - Keep the old document. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public TransformIssuedDocumentResponse transformIssuedDocument(java.lang.Integer companyId, java.lang.Integer originalDocumentId, java.lang.String newType, java.lang.String type, java.lang.Integer eInvoice, java.lang.Integer transformKeepCopy) throws ApiException
companyId - The ID of the company. (required)originalDocumentId - Original document id. (required)newType - New document type. (required)type - Current document type. (optional)eInvoice - New document e_invoice. (optional)transformKeepCopy - Keep the old document. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<TransformIssuedDocumentResponse> transformIssuedDocumentWithHttpInfo(java.lang.Integer companyId, java.lang.Integer originalDocumentId, java.lang.String newType, java.lang.String type, java.lang.Integer eInvoice, java.lang.Integer transformKeepCopy) throws ApiException
companyId - The ID of the company. (required)originalDocumentId - Original document id. (required)newType - New document type. (required)type - Current document type. (optional)eInvoice - New document e_invoice. (optional)transformKeepCopy - Keep the old document. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call transformIssuedDocumentAsync(java.lang.Integer companyId,
java.lang.Integer originalDocumentId,
java.lang.String newType,
java.lang.String type,
java.lang.Integer eInvoice,
java.lang.Integer transformKeepCopy,
ApiCallback<TransformIssuedDocumentResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)originalDocumentId - Original document id. (required)newType - New document type. (required)type - Current document type. (optional)eInvoice - New document e_invoice. (optional)transformKeepCopy - Keep the old document. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call uploadIssuedDocumentAttachmentCall(java.lang.Integer companyId,
java.lang.String filename,
java.io.File attachment,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)filename - Attachment file name (optional)attachment - Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
(optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Attachment Token. | - |
| 401 | Unauthorized | - |
public UploadIssuedDocumentAttachmentResponse uploadIssuedDocumentAttachment(java.lang.Integer companyId, java.lang.String filename, java.io.File attachment) throws ApiException
companyId - The ID of the company. (required)filename - Attachment file name (optional)attachment - Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
(optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Attachment Token. | - |
| 401 | Unauthorized | - |
public ApiResponse<UploadIssuedDocumentAttachmentResponse> uploadIssuedDocumentAttachmentWithHttpInfo(java.lang.Integer companyId, java.lang.String filename, java.io.File attachment) throws ApiException
companyId - The ID of the company. (required)filename - Attachment file name (optional)attachment - Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
(optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Attachment Token. | - |
| 401 | Unauthorized | - |
public okhttp3.Call uploadIssuedDocumentAttachmentAsync(java.lang.Integer companyId,
java.lang.String filename,
java.io.File attachment,
ApiCallback<UploadIssuedDocumentAttachmentResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)filename - Attachment file name (optional)attachment - Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
(optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Attachment Token. | - |
| 401 | Unauthorized | - |