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": "7396fe61-2a38-483e-9fc4-0adcfa91c2cd",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "9478bf1f-6b75-45e1-9544-22e8ae70bd64",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "da821d94-2ad8-44ea-8ef4-e073992530a0",
"CreateDate": "2026-05-31T19:55:00.0934796-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-31T19:55:00.0934796-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "85ad747a-fdd3-4712-880b-0b747a51b3f5",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "05f57357-e0e0-40d9-ac0e-924fd3644d3e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "756d3c69-c9e4-43e2-b85c-827743e80e43",
"CreateDate": "2026-05-31T19:55:00.0934796-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-31T19:55:00.0934796-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "e995e017-5d90-42e7-8105-8caad93d0080",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-31T19:55:00.0934796-07:00",
"MeasurementValueNeededDate": "2026-05-31T19:55:00.0934796-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b32f8ab4-06bc-44e0-be0c-efb1a32654b4",
"CreateDate": "2026-05-31T19:55:00.0934796-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-31T19:55:00.0934796-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-05-31T19:55:00.0934796-07:00",
"MeasurementValueNeededDate": "2026-05-31T19:55:00.0934796-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "07d07e8b-a0d1-4381-93f9-0e9d280f40ab",
"CreateDate": "2026-05-31T19:55:00.0934796-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T19:55:00.0934796-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-31T19:55:00.0934796-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ff5d39cc-1d29-431b-8681-d459f70bd774",
"CreateDate": "2026-05-31T19:55:00.0934796-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-31T19:55:00.0934796-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": "00a13371-05b2-42eb-bef1-c60a7dba0532",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "4d801d8e-f6e9-4177-a8f8-5e940631abca",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "7a642c48-17a3-4a29-ad75-ec0c72d6f898",
"CreateDate": "2026-05-31T19:55:00.0934796-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-31T19:55:00.0934796-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "21bfa9fe-7de7-4ef0-8d6b-63c72b70f527",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d7895b3e-414c-4fd9-98a9-3e2c276b9ea9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bbfc5ec0-8a77-430d-a66e-f1fa51287bbe",
"CreateDate": "2026-05-31T19:55:00.0934796-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-31T19:55:00.0934796-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "2a543bfc-f684-4476-a8e0-62c7301ad7ff",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-31T19:55:00.0934796-07:00",
"MeasurementValueNeededDate": "2026-05-31T19:55:00.0934796-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8184b3f9-c0a5-49d2-b962-c902217b8cda",
"CreateDate": "2026-05-31T19:55:00.0934796-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-31T19:55:00.0934796-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-05-31T19:55:00.0934796-07:00",
"MeasurementValueNeededDate": "2026-05-31T19:55:00.0934796-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3a6246f4-9057-444d-8149-8e0e86876326",
"CreateDate": "2026-05-31T19:55:00.0934796-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-31T19:55:00.0934796-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-31T19:55:00.0934796-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a38f02e6-0736-4abe-9fc4-1b15c8593bd3",
"CreateDate": "2026-05-31T19:55:00.0934796-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-31T19:55:00.0934796-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}