NextGen APIs

POST /assets/r1/assets/{assetId}/attachments

Http Verb

POST

Url

/assets/r1/assets/{assetId}/attachments

Permissions required

 Technical Object: Edit (fsm.core.technicalobject.facility.edit)

Personally Identifiable Information (PII)

No

Sensitive Information

No

Last Modified Version

r1

Released since

2025 W2 (FSM 20.0)

Deprecated since

 

Removed since

 

Tech Tags

 

Business Logic

This API creates a new attachment related to the given asset.

Please note that if you want to create an attachment for an asset, the file must be created beforehand using the POST /documents/r1/files API.

Header Parameters

Default.

Request Body Parameters

Field

Validations

Note

uuid

 

 

documentCategoryId

Referenced resource id existence check

This field is optional in the request payload. However, if it is not provided, a default value must be configured in the system settings (the value must not be null during processing)

Response documentation

Response payload fields

Field

Note

Example value

payload

 

 

Response error codes

NOT_FOUND, BASE_0001, DOCUMENTS_002