Use cloud storage to define targets for delivery of report output. See Cloud Storage for reports in the Sage Intacct Help Center for details.
Returns a collection with a key, ID, and link for each cloud storage. This operation is mostly for use in testing; use the query service to find employee groups that meet certain criteria and specify the properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "AWS cloud Storage A1",
- "href": "/objects/company-config/cloud-storage/1"
}, - {
- "key": "2",
- "id": "AWS cloud Storage A2",
- "href": "/objects/company-config/cloud-storage/2"
}, - {
- "key": "3",
- "id": "AWS cloud Storage A3",
- "href": "/objects/company-config/cloud-storage/3"
}, - {
- "key": "4",
- "id": "AWS cloud Storage A4",
- "href": "/objects/company-config/cloud-storage/4"
}, - {
- "key": "5",
- "id": "AWS cloud Storage A5",
- "href": "/objects/company-config/cloud-storage/5"
}
], - "ia::meta": {
- "totalCount": 5,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new cloud storage object.
Creates a new cloud storage object.
storageType required | string Cloud storage targets supported for Intacct report delivery. Example: "box" | ||||||
id required | string Name for the cloud storage. Example: "Amazon Storage Plan" | ||||||
required | object The user who owns the cloud storage target. | ||||||
| |||||||
errorNotificationEmail | string The email address where any error reports for the cloud storage target are sent. Example: "[email protected]" | ||||||
object For report output delivered to another application using an HTTP POST request. | |||||||
| |||||||
isPrivate | boolean Default: true Private targets can be used only by the owner of the target and any administrators. Example: true | ||||||
path | string The location relative to the top level of the cloud storage target, where reports are to be delivered. Example: "/" | ||||||
lastDeliveryStatus | string The status of the most recent delivery. Example: "Delivery error" | ||||||
object Storage details for report output delivered to Amazon. | |||||||
| |||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
Created
Bad Request
{- "id": "Amazon Storage Plan",
- "storageType": "aws",
- "status": "active",
- "path": "/",
- "awsStorage": {
- "s3Bucket": "S3",
- "restrictFileAccess": "bucketOwnerOnly"
}, - "owner": {
- "id": "Admin"
}
}
{- "ia::result": {
- "key": "44",
- "id": "AWS Cloud Storage1",
- "href": "/objects/company-config/cloud-storage/44"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified cloud storage.
key required | string System-assigned unique key for the cloud storage. Example: 34 |
OK
Bad Request
{- "ia::result": {
- "key": "44",
- "id": "Amazon Storage Plan",
- "status": "active",
- "storageType": "aws",
- "state": "active",
- "audit": {
- "createdDateTime": "2023-11-30T10:19:22Z",
- "modifiedDateTime": "2023-11-30T10:19:22Z",
- "createdBy": "34",
- "modifiedBy": "1",
- "createdByUser": {
- "key": "34",
- "id": "Admin",
- "href": "/objects/company-config/user/34"
}, - "modifiedByUser": {
- "key": "1",
- "id": "Aman",
- "href": "/objects/company-config/user/1"
}
}, - "queuedCount": 2,
- "isPrivate": true,
- "path": "/",
- "lastDeliveryDateTime": "2023-01-12T18:08:58Z",
- "lastDeliveryStatus": "Delivery error",
- "owner": {
- "key": "1",
- "id": "Admin",
- "userName": "ADMIN",
- "href": "/objects/company-config/user/1"
}, - "awsStorage": {
- "s3Bucket": "S3",
- "enableEncryption": false,
- "restrictFileAccess": "bucketOwnerOnly"
}, - "href": "/objects/company-config/cloud-storage/44"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing cloud storage by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for the cloud storage. Example: 34 |
errorNotificationEmail | string The email address where any error reports for the cloud storage target are sent. Example: "[email protected]" | ||||||
object For report output delivered to another application using an HTTP POST request. | |||||||
| |||||||
isPrivate | boolean Default: true Private targets can be used only by the owner of the target and any administrators. Example: true | ||||||
path | string The location relative to the top level of the cloud storage target, where reports are to be delivered. Example: "/" | ||||||
lastDeliveryStatus | string The status of the most recent delivery. Example: "Delivery error" | ||||||
object Storage details for report output delivered to Amazon. | |||||||
| |||||||
object The user who owns the cloud storage target. | |||||||
| |||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
OK
Bad Request
{- "ia::result": {
- "key": "44",
- "id": "Amazon Storage Plan",
- "href": "/objects/company-config/cloud-storage/44"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Delete a cloud storage object.
key required | string System-assigned unique key for the cloud storage. Example: 34 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}