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": "83d3724c-587d-4fe2-a29c-a68f0b783f68",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "90e9eb82-eef6-4973-8390-e4357fedfc96",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "97f5861e-73c9-4045-aba5-8b092f031432",
"CreateDate": "2026-08-23T08:29:18.7011552-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-23T08:29:18.7011552-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4bded1e1-a14f-4255-9125-9417117c1dca",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "04509fcf-8ae2-49ef-8950-0074ce8de2c8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ab6b3b1e-d16c-4eb1-aea1-1dce709be0de",
"CreateDate": "2026-08-23T08:29:18.7011552-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-23T08:29:18.7011552-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "b12fe4ab-5e38-46fa-bc0f-fe84b9ad15a2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-23T08:29:18.7011552-07:00",
"MeasurementValueNeededDate": "2026-08-23T08:29:18.7011552-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e2422f53-24d6-4cd3-98e0-534730e784f5",
"CreateDate": "2026-08-23T08:29:18.7011552-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-23T08:29:18.7011552-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-23T08:29:18.7011552-07:00",
"MeasurementValueNeededDate": "2026-08-23T08:29:18.7011552-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "beddfde0-e400-4e91-8c3c-7bc1dc77ceb5",
"CreateDate": "2026-08-23T08:29:18.7011552-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-23T08:29:18.7011552-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-23T08:29:18.7011552-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "b8a4a61f-90b8-4574-98cc-223c81052de2",
"CreateDate": "2026-08-23T08:29:18.7011552-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-23T08:29:18.7011552-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": "afef61f0-2fda-45be-a24f-b8dcce355951",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "1dce6786-f9c5-4f96-82f8-728d83bc3b40",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "85dc5fc5-539e-48e0-baa5-a57427f71626",
"CreateDate": "2026-08-23T08:29:18.7011552-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-23T08:29:18.7011552-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "6aa77fda-0e9b-418e-b114-ab883d8e8a2b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "08d1cebf-1a11-4a20-8f8b-54f1393295c7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6c9778c4-997b-4e96-82d5-1c692c35416c",
"CreateDate": "2026-08-23T08:29:18.7011552-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-23T08:29:18.7011552-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "126a792f-e12c-47d2-9d9e-7012067b71d3",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-23T08:29:18.7011552-07:00",
"MeasurementValueNeededDate": "2026-08-23T08:29:18.7011552-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2c9ed073-0b51-417c-817b-27037887ee9f",
"CreateDate": "2026-08-23T08:29:18.7011552-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-23T08:29:18.7011552-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-23T08:29:18.7011552-07:00",
"MeasurementValueNeededDate": "2026-08-23T08:29:18.7011552-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "71c5ce8e-48af-48ca-96c2-8289aca27bf3",
"CreateDate": "2026-08-23T08:29:18.7011552-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-23T08:29:18.7011552-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-23T08:29:18.7011552-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "0069702e-3ca6-4a2a-8a84-64ea19cb950a",
"CreateDate": "2026-08-23T08:29:18.7011552-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-23T08:29:18.7011552-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}