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": "c29cb50c-068a-42ec-afe0-17db3e1475bb",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "a3c7a061-1c27-4b9c-ad67-8bc60c8d9c48",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "ae6e386d-da5d-46fd-ac40-de70d91b2386",
"CreateDate": "2026-05-09T23:10:13.1189378-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-09T23:10:13.1189378-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "af262637-a9fd-4787-8452-7d46ef9b4abb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "80ba4424-d3e8-44c8-b916-27c28a84d4c7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4cecf3df-e8c1-4c6e-b4aa-c8354172e9a4",
"CreateDate": "2026-05-09T23:10:13.1189378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-09T23:10:13.1189378-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "667e11e6-69f3-46a5-b3f2-dece8d68b151",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-09T23:10:13.1189378-07:00",
"MeasurementValueNeededDate": "2026-05-09T23:10:13.1189378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f19e8ce3-3d79-4158-9ce4-5a5e2566d105",
"CreateDate": "2026-05-09T23:10:13.1189378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-09T23:10:13.1189378-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-05-09T23:10:13.1189378-07:00",
"MeasurementValueNeededDate": "2026-05-09T23:10:13.1189378-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "58f12eb8-7394-4230-8f20-e2d83499727a",
"CreateDate": "2026-05-09T23:10:13.1189378-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-09T23:10:13.1189378-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-09T23:10:13.1189378-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "102488b3-749c-46cf-a24b-f6c215c244fc",
"CreateDate": "2026-05-09T23:10:13.1189378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-09T23:10:13.1189378-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": "8bd70932-d367-4f9b-94b5-f168af577d57",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e5f89de9-2a1a-4639-948e-4d305e31ad12",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "716cb67f-d81d-4028-8d93-4a04cfbb2730",
"CreateDate": "2026-05-09T23:10:13.1189378-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-09T23:10:13.1189378-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "99f9c305-3f56-4f5c-b2eb-bd935d3a381e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "487303bb-89f8-48cd-bb28-3b8e8cdf5a8d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4754ef43-5dcc-4fc1-a79b-ad4ebea9ee74",
"CreateDate": "2026-05-09T23:10:13.1189378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-09T23:10:13.1189378-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "ace0f6b4-7cb8-4609-bad7-410f4763f6aa",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-09T23:10:13.1189378-07:00",
"MeasurementValueNeededDate": "2026-05-09T23:10:13.1189378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3f24455b-6ef3-4cc8-80a0-bc491310dec9",
"CreateDate": "2026-05-09T23:10:13.1189378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-09T23:10:13.1189378-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-05-09T23:10:13.1189378-07:00",
"MeasurementValueNeededDate": "2026-05-09T23:10:13.1189378-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5121e0c7-bfa3-446a-b0e6-8a31c6fa7a4c",
"CreateDate": "2026-05-09T23:10:13.1189378-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-09T23:10:13.1189378-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-09T23:10:13.1189378-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "abf99050-9713-4bac-9da2-9b59505af5ab",
"CreateDate": "2026-05-09T23:10:13.1189378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-09T23:10:13.1189378-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}