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": "9b2ca892-e09a-480e-9e51-c178e13cf167",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "73106d79-5a94-4744-aea0-47f7b9b28613",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "b2d1abcf-da4f-458d-a0e9-2b3d4e99081f",
"CreateDate": "2026-06-30T20:48:24.1907779-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-30T20:48:24.1907779-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "2a27bbf7-c665-42d3-8d20-70171cc6e1d1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bda37d1e-be98-4cdb-a442-37961c9737be",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f46c8f3a-e189-41e0-8aef-7338cebd91d3",
"CreateDate": "2026-06-30T20:48:24.1907779-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T20:48:24.1907779-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "2faef5d0-c96a-42d5-8b9d-3d1c7d31fff2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-30T20:48:24.1907779-07:00",
"MeasurementValueNeededDate": "2026-06-30T20:48:24.1907779-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "70514634-b17b-48c7-8bf3-e6b55956087f",
"CreateDate": "2026-06-30T20:48:24.1907779-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-30T20:48:24.1907779-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-30T20:48:24.1907779-07:00",
"MeasurementValueNeededDate": "2026-06-30T20:48:24.1907779-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8798d2fd-49cb-4f3b-b8cb-4dc2ad345ef6",
"CreateDate": "2026-06-30T20:48:24.1907779-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-30T20:48:24.1907779-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-30T20:48:24.1907779-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "070da4ed-53ce-4376-ba77-f0c4c46d04b8",
"CreateDate": "2026-06-30T20:48:24.1907779-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T20:48:24.1907779-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": "6e93952b-b3dd-48ff-90f8-f3885dca22a5",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "12ba4ec1-da8a-4303-81ae-2ecaacbfec15",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "3400eaf8-eaaa-4c57-83db-67437296ea7d",
"CreateDate": "2026-06-30T20:48:24.1907779-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-30T20:48:24.1907779-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "0be2dc7f-d9ba-4fc2-a663-31a74ebd94d6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "dac2d41f-7583-4089-89e0-d422bf7c8649",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e21fb10c-4dfd-4456-a717-f3dfc067dae2",
"CreateDate": "2026-06-30T20:48:24.1907779-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T20:48:24.1907779-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "386c4e8c-8ffc-42fe-9431-8255bbd0f43b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-30T20:48:24.1907779-07:00",
"MeasurementValueNeededDate": "2026-06-30T20:48:24.1907779-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3ab29390-f970-462f-9247-039c6178790b",
"CreateDate": "2026-06-30T20:48:24.1907779-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-30T20:48:24.1907779-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-30T20:48:24.1907779-07:00",
"MeasurementValueNeededDate": "2026-06-30T20:48:24.1907779-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0b9845fa-c077-4e06-8e77-d424c6376db8",
"CreateDate": "2026-06-30T20:48:24.1907779-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-30T20:48:24.1907779-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-30T20:48:24.1907779-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "b99a68cb-365d-495a-b543-95fcb1813808",
"CreateDate": "2026-06-30T20:48:24.1907779-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T20:48:24.1907779-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}