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": "aa9862ca-966c-44f5-9763-844845cac8a2",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "fbb9fb0b-6309-41bc-82f2-5ff67da7bebc",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "fc9a6348-9fa3-42b5-b990-821a59d2f1fa",
"CreateDate": "2026-07-13T23:58:14.4564806-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-13T23:58:14.4564806-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "cd84d326-bf01-4e11-b911-aac8aac291e1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0c5ddfb1-37f5-4c31-874c-910914637d52",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3e520b3a-8085-43a4-9a88-15449559ee24",
"CreateDate": "2026-07-13T23:58:14.4564806-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-13T23:58:14.4564806-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "45b8bfc5-f597-4ced-9559-b4ad3208bed0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-13T23:58:14.4564806-07:00",
"MeasurementValueNeededDate": "2026-07-13T23:58:14.4564806-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2de56c21-a52a-4647-a3d1-f4243fe3aa2f",
"CreateDate": "2026-07-13T23:58:14.4564806-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-13T23:58:14.4564806-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-07-13T23:58:14.4564806-07:00",
"MeasurementValueNeededDate": "2026-07-13T23:58:14.4564806-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f48a8539-ccdb-4be7-8ab8-51214ac833ae",
"CreateDate": "2026-07-13T23:58:14.4564806-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-13T23:58:14.4564806-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-13T23:58:14.4564806-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ea060f02-ed60-4661-8889-fec0cefec152",
"CreateDate": "2026-07-13T23:58:14.4564806-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-13T23:58:14.4564806-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": "a2c2c674-214e-4ac0-9207-57bdd116b17a",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "d433f657-ef00-4121-a813-806f1cfde7c3",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "8dc1b8df-5441-491b-9a6f-6f400ef48f32",
"CreateDate": "2026-07-13T23:58:14.4564806-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-13T23:58:14.4564806-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b124f72e-3bed-4e7b-914e-bde8f260ed1e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2cef2a00-fdfa-4ad2-ae4c-fa84d5c1268b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1f623eae-afe1-4023-8f1b-f72be53e87c8",
"CreateDate": "2026-07-13T23:58:14.4564806-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-13T23:58:14.4564806-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "6eeaac86-5297-4610-b36d-edec4e13ab95",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-13T23:58:14.4564806-07:00",
"MeasurementValueNeededDate": "2026-07-13T23:58:14.4564806-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c0745bac-4c71-44ef-a745-07b2ebf34466",
"CreateDate": "2026-07-13T23:58:14.4564806-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-13T23:58:14.4564806-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-07-13T23:58:14.4564806-07:00",
"MeasurementValueNeededDate": "2026-07-13T23:58:14.4564806-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ab44a670-603f-4f83-9052-365962ccdd46",
"CreateDate": "2026-07-13T23:58:14.4564806-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-13T23:58:14.4564806-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-13T23:58:14.4564806-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "2f213ff0-7d37-4ca4-9a04-ae1328c9d991",
"CreateDate": "2026-07-13T23:58:14.4564806-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-13T23:58:14.4564806-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}