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": "2b608974-4b5d-4a92-85fb-bf7e0eb3578f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "23372c10-9877-4367-b4c5-4394a2943323",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "fd2c95cd-4b84-43a2-94bf-1d7e579d92f2",
"CreateDate": "2026-10-28T20:18:49.2440028-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-28T20:18:49.2440028-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "83eb1159-c1fa-46c4-b19d-c1f38f7ec5a9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9022aa8f-4dff-46da-9c24-285596082642",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d6468eab-dec9-412b-bb8b-ac60dae94b97",
"CreateDate": "2026-10-28T20:18:49.2440028-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-28T20:18:49.2440028-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "8e76eb15-2808-45ed-9466-dcbd77839bf6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-28T20:18:49.2440028-07:00",
"MeasurementValueNeededDate": "2026-10-28T20:18:49.2440028-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "16890cd4-9dec-4578-8ef1-9f28dff278ef",
"CreateDate": "2026-10-28T20:18:49.2440028-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-28T20:18:49.2440028-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-28T20:18:49.2440028-07:00",
"MeasurementValueNeededDate": "2026-10-28T20:18:49.2440028-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1550d497-8e12-454a-bb23-ba3ce9aaf702",
"CreateDate": "2026-10-28T20:18:49.2440028-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-28T20:18:49.2440028-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-28T20:18:49.2440028-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d4b61bea-1510-42ec-bb0d-68e200e1d308",
"CreateDate": "2026-10-28T20:18:49.2440028-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-28T20:18:49.2440028-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": "db0e874c-4abb-49f0-9d6b-3f1b0dc01930",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "6a9175a1-dd0e-4595-ae46-9280ca15085f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "cd45e41d-4dee-4cd9-baab-5cc2f4f871ac",
"CreateDate": "2026-10-28T20:18:49.2596088-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-28T20:18:49.2596088-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "e16f99f2-b56e-4d27-8606-31b729e6d0d5",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "875ac0e1-b1b1-47e1-a3d9-5ee7eccef5a1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7ebaae4b-fd5e-4514-8683-1386ca571fb1",
"CreateDate": "2026-10-28T20:18:49.2596088-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-28T20:18:49.2596088-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "27e07ae1-b95e-40fc-a024-0866954d065a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-28T20:18:49.2596088-07:00",
"MeasurementValueNeededDate": "2026-10-28T20:18:49.2596088-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8eea062a-9ac9-4af2-bf83-66219d92d252",
"CreateDate": "2026-10-28T20:18:49.2596088-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-28T20:18:49.2596088-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-28T20:18:49.2596088-07:00",
"MeasurementValueNeededDate": "2026-10-28T20:18:49.2596088-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b414589c-dffa-4c5f-b0b6-e3ccb2d21965",
"CreateDate": "2026-10-28T20:18:49.2596088-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-28T20:18:49.2596088-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-28T20:18:49.2596088-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "914a617e-5aaf-4046-ac49-1219e7f86fde",
"CreateDate": "2026-10-28T20:18:49.2596088-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-28T20:18:49.2596088-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}