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": "5e9a00fd-74e7-4f74-8a6d-3d149daeea5d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "d24a6b5f-49e4-4852-bbdc-6ebe6cb97372",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "c69e341e-7de3-45d8-8410-cb8884cd0df6",
"CreateDate": "2026-10-04T14:38:44.8726831-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-04T14:38:44.8726831-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "816a1545-4629-4c61-afd2-b41804257672",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f207d856-5de0-4dd0-ad0f-4ec64be62f26",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b3c91480-e27c-496f-a4b5-8724c7001b12",
"CreateDate": "2026-10-04T14:38:44.8726831-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T14:38:44.8726831-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "baa6c33f-b88c-4387-be84-219423ff60db",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-04T14:38:44.8726831-07:00",
"MeasurementValueNeededDate": "2026-10-04T14:38:44.8726831-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e84645cd-7e85-4b08-ba4b-c3f8cfbbbf6f",
"CreateDate": "2026-10-04T14:38:44.8726831-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T14:38:44.8726831-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-04T14:38:44.8726831-07:00",
"MeasurementValueNeededDate": "2026-10-04T14:38:44.8726831-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9f2b8691-5aea-42d9-b19e-989155b57d55",
"CreateDate": "2026-10-04T14:38:44.8726831-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T14:38:44.8726831-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-04T14:38:44.8726831-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "38a81482-8d8a-4a67-85cd-f30da18fcf8e",
"CreateDate": "2026-10-04T14:38:44.8726831-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T14:38:44.8726831-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": "1cf198ae-f1a3-4fde-b726-b9446de5c18a",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "997d292d-11e1-495e-8b23-2524ca898663",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "e2b32e2f-8ad7-4255-9dd6-47dcaf933484",
"CreateDate": "2026-10-04T14:38:44.8726831-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-04T14:38:44.8726831-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "9f659d68-5419-4a2c-934a-0f1d502bfbac",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "83afdd14-ad7a-4f9f-8320-b7afc0883032",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "65155d58-f0b0-4c8d-b2e9-743379d71763",
"CreateDate": "2026-10-04T14:38:44.8726831-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T14:38:44.8726831-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "bab051b4-0c18-48ef-8a5e-6bb9dabc8886",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-04T14:38:44.8726831-07:00",
"MeasurementValueNeededDate": "2026-10-04T14:38:44.8726831-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8521c634-b09e-4803-a598-495727078b66",
"CreateDate": "2026-10-04T14:38:44.8726831-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T14:38:44.8726831-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-04T14:38:44.8726831-07:00",
"MeasurementValueNeededDate": "2026-10-04T14:38:44.8726831-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fc5c1977-94d2-48a5-9657-9130c596f5fe",
"CreateDate": "2026-10-04T14:38:44.8726831-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T14:38:44.8726831-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-04T14:38:44.8726831-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "cf03f01c-8001-4fb8-abef-e32827ab66e9",
"CreateDate": "2026-10-04T14:38:44.8726831-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T14:38:44.8726831-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}