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": "106a3a33-7b5b-4dfd-b985-ed27668d7ed8",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "cd77472f-4fb5-4b45-a86c-773b98ded098",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1e8de9e8-c643-4345-9515-b96800f45272",
"CreateDate": "2026-03-04T05:05:21.0670643-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-04T05:05:21.0670643-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "fd85cb86-e551-43af-93f4-232464771779",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "65ba77f7-c468-485c-800d-eac5e331eefe",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e22b5e8c-65c2-47ba-8f97-444bc2a8c918",
"CreateDate": "2026-03-04T05:05:21.0670643-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-04T05:05:21.0670643-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "fc3c8daf-4511-4d86-9ab5-8b96f78e857c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-04T05:05:21.0670643-08:00",
"MeasurementValueNeededDate": "2026-03-04T05:05:21.0670643-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c447889f-cbae-4718-b1ca-bd932c16afc3",
"CreateDate": "2026-03-04T05:05:21.0670643-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-04T05:05:21.0670643-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-04T05:05:21.0670643-08:00",
"MeasurementValueNeededDate": "2026-03-04T05:05:21.0670643-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cd9c2dce-c9aa-4ab4-9012-77edb4bd4055",
"CreateDate": "2026-03-04T05:05:21.0670643-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-04T05:05:21.0670643-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-04T05:05:21.0670643-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a90ca772-b84a-4761-8ab7-514d1b2648c6",
"CreateDate": "2026-03-04T05:05:21.0670643-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-04T05:05:21.0670643-08: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": "d8622dfe-9e80-4301-894e-f812671a2ba0",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ec5b5a3c-692b-4768-b0fd-30372f6e21f3",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "5aacb455-c052-4795-9ff4-8eb3848ce254",
"CreateDate": "2026-03-04T05:05:21.0670643-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-04T05:05:21.0670643-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "a47b388c-b16c-49ad-aca8-6dbd90de4d39",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "cdc4888e-3535-485d-88c9-e560671501a4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "036a69b2-cf46-4ae8-9e6e-b7b562a5bcf1",
"CreateDate": "2026-03-04T05:05:21.0670643-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-04T05:05:21.0670643-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "7d1c470c-34b4-4c04-9b79-3ae1822e8978",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-04T05:05:21.0670643-08:00",
"MeasurementValueNeededDate": "2026-03-04T05:05:21.0670643-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "119e7218-bf1b-4b40-8a0d-6635ad30f963",
"CreateDate": "2026-03-04T05:05:21.0670643-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-04T05:05:21.0670643-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-04T05:05:21.0670643-08:00",
"MeasurementValueNeededDate": "2026-03-04T05:05:21.0670643-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bfd1589b-6526-483a-95bf-4c0d468e809d",
"CreateDate": "2026-03-04T05:05:21.0670643-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-04T05:05:21.0670643-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-04T05:05:21.0670643-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "059ebc8d-8a26-4dfb-ae09-37fa67a35ef3",
"CreateDate": "2026-03-04T05:05:21.0670643-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-04T05:05:21.0670643-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}