StatementAttachments
Updates an existing statement attachment.
Updates the properties (name, description) of an existing statement attachment. File content cannot be changed.
put/public/v1/billing/statements/{statementId}/attachments/{id}
Request
- Base URL: https://api.platform.softwareone.com
- URL: https://api.platform.softwareone.com/public/v1/billing/statements/{statementId}/attachments/{id}
- Auth: none declared
Path parameters
statementIdstring required
The ID of the statement to which the attachment belongs.
idstring required
The ID of the attachment to update.
Request body
Example request
{
"name": "raw records data",
"filename": "invoice.pdf",
"size": 102400,
"contentType": "application/pdf",
"description": "Invoice for March 2025",
"id": "STA-1234-1234",
"statement": {
"id": "SOM-1234-1234-1234-1234-1234"
}
}Response
OK
Example response
{
"name": "raw records data",
"filename": "invoice.pdf",
"size": 102400,
"contentType": "application/pdf",
"description": "Invoice for March 2025",
"id": "STA-1234-1234",
"statement": {
"id": "SOM-1234-1234-1234-1234-1234"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.