PUT Attachments
Updates the given attachment. Only the Name and Description of the attachment may be updated.
Request Information
URI Parameters
None.
Body Parameters
The attachment to update
Attachment| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AttachmentCategory | AttachmentCategory |
None. |
|
| Asset | Asset |
None. |
|
| FileType | string |
None. |
|
| FileSize | integer |
None. |
|
| UploadDate | date |
None. |
|
| Content | Collection of byte |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttachmentId": "f162d5aa-0c41-44d3-b77a-902d39be8162",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "7d0629ff-20fa-4f40-96eb-dabad26f002f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0ee076ae-7eba-4aaf-b60c-0d1ff22d6c9d",
"CreateDate": "2026-07-20T18:53:40.6426816-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-20T18:53:40.6426816-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "58b92d44-7866-49ab-aea8-4cd0c9fa8a50",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "dd357933-8be1-4c41-b999-246787ba56a3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0c41fc29-6bd0-499a-bf53-490cf65f60e7",
"CreateDate": "2026-07-20T18:53:40.6426816-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-20T18:53:40.6426816-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "2375b9ef-60e8-4b4c-b15c-fc63e279cc01",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-20T18:53:40.6426816-07:00",
"MeasurementValueNeededDate": "2026-07-20T18:53:40.6426816-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3ba133f8-ce05-438c-822f-5a6a6474de02",
"CreateDate": "2026-07-20T18:53:40.6426816-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T18:53:40.6426816-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-07-20T18:53:40.6426816-07:00",
"MeasurementValueNeededDate": "2026-07-20T18:53:40.6426816-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "48214a25-1fc4-4c21-b20c-e53fcc2351e0",
"CreateDate": "2026-07-20T18:53:40.6426816-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T18:53:40.6426816-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-20T18:53:40.6426816-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "8aacff24-2ff7-416d-b080-a2746e04fc98",
"CreateDate": "2026-07-20T18:53:40.6426816-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-20T18:53:40.6426816-07:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
On success, the updated attachment. The Content of the attachment will not be filled in.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Attachment |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"AttachmentId": "c3b08344-2b5c-4718-a108-15dbf4b1ac73",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "35c63412-533c-4b7f-a924-f8367e7b0cf5",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "08809a27-f05c-4a21-b017-db26abdb988d",
"CreateDate": "2026-07-20T18:53:40.6426816-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-20T18:53:40.6426816-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "fe3ff766-5c1d-48d3-8598-363e48a2b2db",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "6cd81cee-b8a4-4db9-9f81-983fdf45063c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f1c7b9d6-62b4-4af0-98bf-b0da741d01a9",
"CreateDate": "2026-07-20T18:53:40.6426816-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-20T18:53:40.6426816-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "58d3efb3-b6ef-41be-acb7-a4528c3896e5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-20T18:53:40.6426816-07:00",
"MeasurementValueNeededDate": "2026-07-20T18:53:40.6426816-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "0ea47745-1053-4dde-8d46-5f8be7d2b6c2",
"CreateDate": "2026-07-20T18:53:40.6426816-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T18:53:40.6426816-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-07-20T18:53:40.6426816-07:00",
"MeasurementValueNeededDate": "2026-07-20T18:53:40.6426816-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "00ecffd4-9c22-4f62-8fd0-996b3bf7adf2",
"CreateDate": "2026-07-20T18:53:40.6426816-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T18:53:40.6426816-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-20T18:53:40.6426816-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "2828728d-b181-4577-9434-63fe2f970ce5",
"CreateDate": "2026-07-20T18:53:40.6426816-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-20T18:53:40.6426816-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}