ERP

Generate presigned S3 URL for transaction file upload

Creates a presigned S3 URL that allows direct client-side file upload to S3. Only supports NetSuite connections. Use the returned file_path in complete_upload.

post/data-tables/{data_table_id}/transactions/uploads/presign

Request

  • Base URL
    https://api.cubesoftware.com
  • Auth
    OAuth 2
    Authorization code: https://portal.cubesoftware.com/o/authorize/
    Token URL: https://api.cubesoftware.com/o/token/

Path parameters

data_table_idstring required

Data table UUID

Headers

X-Company-IDstring required

Associates request with company

Request body

file_namestring required
content_typestring required

Response

Presigned URL generated successfully

upload_urlstring

Presigned S3 URL for PUT upload (expires in 1 hour)

file_pathstring

S3 key to use in complete_upload

Changes

No operation changes recorded.