All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
attachmentDownloadV1 | GET /1/object/attachment/{pkiAttachmentID}/download | Retrieve the content |
attachmentGetAttachmentlogsV1 | GET /1/object/attachment/{pkiAttachmentID}/getAttachmentlogs | Retrieve the Attachmentlogs |
attachmentGetDownloadUrlV1 | GET /1/object/attachment/{pkiAttachmentID}/getDownloadUrl | Retrieve a URL to download attachments. |
attachmentDownloadV1(pkiAttachmentID)
Retrieve the content
Using this endpoint, you can retrieve the content of an attachment.
// Import classes:
//import org.openapitools.client.api.ObjectAttachmentApi;
ObjectAttachmentApi apiInstance = new ObjectAttachmentApi();
Integer pkiAttachmentID = null; // Integer |
try {
apiInstance.attachmentDownloadV1(pkiAttachmentID);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectAttachmentApi#attachmentDownloadV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiAttachmentID | Integer | [default to null] |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
AttachmentGetAttachmentlogsV1Response attachmentGetAttachmentlogsV1(pkiAttachmentID)
Retrieve the Attachmentlogs
Using this endpoint, you can retrieve the Attachmentlogs of an attachment.
// Import classes:
//import org.openapitools.client.api.ObjectAttachmentApi;
ObjectAttachmentApi apiInstance = new ObjectAttachmentApi();
Integer pkiAttachmentID = null; // Integer |
try {
AttachmentGetAttachmentlogsV1Response result = apiInstance.attachmentGetAttachmentlogsV1(pkiAttachmentID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectAttachmentApi#attachmentGetAttachmentlogsV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiAttachmentID | Integer | [default to null] |
AttachmentGetAttachmentlogsV1Response
- Content-Type: Not defined
- Accept: application/json
AttachmentGetDownloadUrlV1Response attachmentGetDownloadUrlV1(pkiAttachmentID)
Retrieve a URL to download attachments.
This endpoint returns an URL to download the attachment. These links will expire after 5 minutes so the download of the file should be made soon after retrieving the link.
// Import classes:
//import org.openapitools.client.api.ObjectAttachmentApi;
ObjectAttachmentApi apiInstance = new ObjectAttachmentApi();
Integer pkiAttachmentID = null; // Integer |
try {
AttachmentGetDownloadUrlV1Response result = apiInstance.attachmentGetDownloadUrlV1(pkiAttachmentID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectAttachmentApi#attachmentGetDownloadUrlV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiAttachmentID | Integer | [default to null] |
AttachmentGetDownloadUrlV1Response
- Content-Type: Not defined
- Accept: application/json