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": "0e72d38a-c3f2-42be-b9a4-282381879a68",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e6549971-f27b-4013-82e1-fe0b5c1bf0c5",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "3d50a0e0-d679-42a2-8302-9af6c070b1c7",
"CreateDate": "2026-11-22T18:25:17.2777209-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-22T18:25:17.2777209-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "35059270-8158-408b-843c-0a59745429a0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "513e7705-7c9c-46e2-a2da-1979a839a886",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3ae6a55a-d2b9-48fa-832b-bfac82208a31",
"CreateDate": "2026-11-22T18:25:17.2777209-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T18:25:17.2777209-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "bb0a5c3d-269a-41d2-a0ea-9769ee728cc3",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T18:25:17.2777209-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:17.2777209-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "50f46ff6-9fa7-4200-a9a5-a136191aa029",
"CreateDate": "2026-11-22T18:25:17.2777209-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:17.2777209-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-22T18:25:17.2777209-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:17.2777209-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "edc36195-8127-460a-a137-e8cf4798ee2a",
"CreateDate": "2026-11-22T18:25:17.2777209-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T18:25:17.2777209-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-22T18:25:17.2777209-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "6731fed6-8aa9-451f-9e2c-90834bfb6209",
"CreateDate": "2026-11-22T18:25:17.2777209-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T18:25:17.2777209-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": "204fc312-87ef-4807-a9eb-cbb5b54fd735",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "f873d637-9abe-45ed-9971-e55887f5c7a3",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "e2c94357-f90d-40ba-8809-df8a8c41f170",
"CreateDate": "2026-11-22T18:25:17.2777209-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-22T18:25:17.2777209-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "47d42955-af91-4be9-b6d8-a43093303f8e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "57d42a3b-73d1-418b-b010-6a5a6b38293c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c3a828d1-b9e1-4853-ab70-664a3437bf32",
"CreateDate": "2026-11-22T18:25:17.2777209-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T18:25:17.2777209-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "8278fc8f-0927-4f4f-8b25-c489a190d6b6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T18:25:17.2777209-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:17.2777209-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f427e75a-a14f-42c4-9f3f-099a3f519fe3",
"CreateDate": "2026-11-22T18:25:17.2777209-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:17.2777209-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-22T18:25:17.2777209-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:17.2777209-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2eacc3c1-acec-40ae-aadf-3b36a8f7e5e3",
"CreateDate": "2026-11-22T18:25:17.2777209-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T18:25:17.2777209-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-22T18:25:17.2777209-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "17e13184-e66a-4aae-b51c-da6bc04fccf5",
"CreateDate": "2026-11-22T18:25:17.2777209-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T18:25:17.2777209-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}