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": "3bcaa9d0-301f-4b91-98b4-38800440e4ab",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "035e429e-dbcc-418c-b91d-5cd22577245e",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0c222dbf-1589-492d-8cf7-f67556b4fef8",
"CreateDate": "2026-08-03T02:27:08.7010299-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-03T02:27:08.7010299-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "591acfa5-d059-4f2e-996d-2905d0cead0c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "66c5bfa1-9048-4860-8ef3-e58d3166b9ac",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f0717a2c-6e1a-4b82-98de-6b5fa889cb4d",
"CreateDate": "2026-08-03T02:27:08.7010299-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T02:27:08.7010299-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "dae33b71-5b34-4db0-b3da-58b19f82a1a5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-03T02:27:08.7010299-07:00",
"MeasurementValueNeededDate": "2026-08-03T02:27:08.7010299-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "912b41c0-67b0-451d-9c84-1b3273bb2735",
"CreateDate": "2026-08-03T02:27:08.7010299-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-03T02:27:08.7010299-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-03T02:27:08.7010299-07:00",
"MeasurementValueNeededDate": "2026-08-03T02:27:08.7010299-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c2bc2645-67b4-4ca9-9e24-324cb689da72",
"CreateDate": "2026-08-03T02:27:08.7010299-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-03T02:27:08.7010299-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-03T02:27:08.7010299-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "bf91e899-6376-4d57-82a8-bebd91a565cc",
"CreateDate": "2026-08-03T02:27:08.7010299-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T02:27:08.7010299-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": "a683e97d-c90c-451e-b501-43fa10b51f9f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3ca5e8dc-5c68-44db-bf87-b643eed9589b",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "97824831-8112-4a09-8f87-2e107d89a12a",
"CreateDate": "2026-08-03T02:27:08.7010299-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-03T02:27:08.7010299-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "a7010211-cde6-4115-a26d-d187effc5624",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d1a6e7ef-678d-418e-8a88-8cc1623243e4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b434d983-ca54-4013-a4ea-e11e07907b57",
"CreateDate": "2026-08-03T02:27:08.7010299-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T02:27:08.7010299-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "384618bd-4e07-4d94-adc8-54597b8054b7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-03T02:27:08.7010299-07:00",
"MeasurementValueNeededDate": "2026-08-03T02:27:08.7010299-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "1f9595de-10ba-4f0d-ae4a-5ca6a9879260",
"CreateDate": "2026-08-03T02:27:08.7010299-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-03T02:27:08.7010299-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-03T02:27:08.7010299-07:00",
"MeasurementValueNeededDate": "2026-08-03T02:27:08.7010299-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f02e8238-cb0a-4730-b952-6a5e188123ea",
"CreateDate": "2026-08-03T02:27:08.7010299-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-03T02:27:08.7010299-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-03T02:27:08.7010299-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ffe60599-6597-41fb-b4aa-5fbf89ceb713",
"CreateDate": "2026-08-03T02:27:08.7010299-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T02:27:08.7010299-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}