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": "2bcc41b3-c950-4450-a9fe-9c1d5ba30b3a",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5f17f06d-376b-48f3-ab8f-bb805c3e673d",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "9742ff64-7431-4f9e-8c50-e093e29ebb5c",
"CreateDate": "2026-07-30T20:56:12.8136626-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-30T20:56:12.8136626-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "ec7f0fe6-c5ac-455a-be71-3c792881e396",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5fca5a7e-a6ea-4e32-8ddc-49c168010793",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ed55464d-239f-497f-b27d-dcd2a7e9e2ff",
"CreateDate": "2026-07-30T20:56:12.8136626-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-30T20:56:12.8136626-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "9d589acb-47ed-4dbe-b484-1796e65ebd74",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-30T20:56:12.8136626-07:00",
"MeasurementValueNeededDate": "2026-07-30T20:56:12.8136626-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "03adc113-9d53-40f1-8fac-ac1f1fc6c02e",
"CreateDate": "2026-07-30T20:56:12.8136626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-30T20:56:12.8136626-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-07-30T20:56:12.8136626-07:00",
"MeasurementValueNeededDate": "2026-07-30T20:56:12.8136626-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8c1e8a29-9886-489c-9032-67ea23a91c8d",
"CreateDate": "2026-07-30T20:56:12.8136626-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-30T20:56:12.8136626-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-30T20:56:12.8136626-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "c2404524-0f9a-4bb9-b779-715eb4e4ae7d",
"CreateDate": "2026-07-30T20:56:12.8136626-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-30T20:56:12.8136626-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": "38aa6a46-4dd3-450c-ad2f-9ba131e0dfd9",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3fe528e7-b453-4b92-8831-ab242db8598a",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "ec08e1b0-c5e5-4e2d-b78e-6f571d4f2e3b",
"CreateDate": "2026-07-30T20:56:12.8136626-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-30T20:56:12.8136626-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "1a34984d-ad0e-4b47-a057-d01bec082195",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "33378134-5e41-47d5-98d2-1514ce975223",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7177118e-d51a-406b-8bf9-96537e2103e1",
"CreateDate": "2026-07-30T20:56:12.8136626-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-30T20:56:12.8136626-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "a22fbeff-7351-4718-9e9e-2d2fcd7fc716",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-30T20:56:12.8136626-07:00",
"MeasurementValueNeededDate": "2026-07-30T20:56:12.8136626-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a1d4a325-45da-4c95-b105-15b310c3afed",
"CreateDate": "2026-07-30T20:56:12.8136626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-30T20:56:12.8136626-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-07-30T20:56:12.8136626-07:00",
"MeasurementValueNeededDate": "2026-07-30T20:56:12.8136626-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c85edea2-b4f6-45a8-b7a9-1be555aacf30",
"CreateDate": "2026-07-30T20:56:12.8136626-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-30T20:56:12.8136626-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-30T20:56:12.8136626-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "8cd580c0-8d9c-4732-91cc-e6ba2ec8d505",
"CreateDate": "2026-07-30T20:56:12.8136626-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-30T20:56:12.8136626-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}