Download OpenAPI specification:
This API provides a backend service for performing eXtendFiles file uploads integrated with NetSuite. Prerequisites:
Uploads a complete file in a single request. Use this method for files smaller than 5MB.
The request body must be multipart/form-data.
Dynamic metadata for the NetSuite record can be passed via custom headers formatted as x-{netsuite_field_id}.
Handles large file uploads by breaking them into parts. Use this method for files larger than 5MB. The process is stateful:
application/octet-stream. The first request initiates the upload and returns an uploadId and filePath. Subsequent requests must include these values.x-commit-upload: 1 header. The body of this final request must be application/json and contain an array of the partUploadResponse objects received in the previous steps.Generates a temporary, pre-signed URL for a file in storage.
You must provide either fileUrl or both bucket and path.
| fileUrl | string <uri> The full URL of the file in storage. If provided, bucket and path are ignored |
| bucket | string The name of the storage bucket/container. Required if fileUrl is not provided |
| path | string The path or key of the file within the storage bucket/container. Required if fileUrl is not provided |
| expiration | integer Default: 3600 The expiration time in seconds. Defaults to 3600 (1 hour) |
{- "bucket": "string",
- "path": "string",
- "expiration": 3600
}