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": "46a5b6fe-6250-4e35-bad0-f2bf15a5f1eb",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "35e1bfaf-a24d-484a-b962-66d1e519458f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1905f7ae-caf0-463f-a722-7d89b0cb5884",
"CreateDate": "2026-02-11T01:26:40.5717604-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-11T01:26:40.5717604-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "deecd8cb-e223-4f9b-ad7d-771b9cd2020a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9753eb95-dd7f-4f0b-ab9d-57c7c52a7575",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e8179668-d956-47f4-bc95-f592c8a72e21",
"CreateDate": "2026-02-11T01:26:40.5717604-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-11T01:26:40.5717604-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "1c7ad02f-94fa-4d79-9262-343066250ccb",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-11T01:26:40.5717604-08:00",
"MeasurementValueNeededDate": "2026-02-11T01:26:40.5717604-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a2bc86b0-d400-4804-a5bd-a3e00d036d65",
"CreateDate": "2026-02-11T01:26:40.5717604-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T01:26:40.5717604-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-02-11T01:26:40.5717604-08:00",
"MeasurementValueNeededDate": "2026-02-11T01:26:40.5717604-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6048b0d1-fb43-49e2-858d-80d1fdc1f304",
"CreateDate": "2026-02-11T01:26:40.5717604-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-11T01:26:40.5717604-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-11T01:26:40.5717604-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "5520e4a6-4c5e-4cab-bbe6-51623c6cd0be",
"CreateDate": "2026-02-11T01:26:40.5717604-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-11T01:26:40.5717604-08: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": "fa26a6c7-ee09-4841-acc0-e42580c87e4d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "9f2794b1-4e24-409c-8afb-3ed60d1acd26",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0d4b5493-bf2f-4513-82dd-9136419b9dc2",
"CreateDate": "2026-02-11T01:26:40.5717604-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-11T01:26:40.5717604-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "0f3fd78f-9e3b-4b46-8b74-0f1a41638049",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8c0bbe32-77ee-493d-875a-f8cc28e7d001",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "584bd640-ae12-4489-82d3-dab94e054d62",
"CreateDate": "2026-02-11T01:26:40.5717604-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-11T01:26:40.5717604-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "7041ef7d-7ad0-4e42-8b18-34c97401d389",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-11T01:26:40.5717604-08:00",
"MeasurementValueNeededDate": "2026-02-11T01:26:40.5717604-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7eb46f2f-f806-46c8-a3ee-583afdf45df7",
"CreateDate": "2026-02-11T01:26:40.5717604-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T01:26:40.5717604-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-02-11T01:26:40.5717604-08:00",
"MeasurementValueNeededDate": "2026-02-11T01:26:40.5717604-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5ffef0c6-b8ea-4d21-9f1e-4ea6e60046a8",
"CreateDate": "2026-02-11T01:26:40.5717604-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-11T01:26:40.5717604-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-11T01:26:40.5717604-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "288d33de-2fca-4255-a0ba-4445ffbf41b2",
"CreateDate": "2026-02-11T01:26:40.5717604-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-11T01:26:40.5717604-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}