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": "c7abe4bf-a969-4fd6-82dd-7891b0d5c629",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "a8f946b4-a532-41b9-9230-53c8724a21c9",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "37e968ba-49f4-495a-9c43-f93885d4dbf5",
"CreateDate": "2026-01-01T18:09:34.1669356-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-01T18:09:34.1669356-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "3b895527-7663-404f-b5c5-f7a054d6e26c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b314ff5e-0d7a-459f-b775-deb31f81de79",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "20bb42ba-2ce7-497d-8a85-2535b52dd842",
"CreateDate": "2026-01-01T18:09:34.1669356-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-01T18:09:34.1669356-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "bc6bba45-dc1b-43b0-9698-59988207984e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-01T18:09:34.1669356-08:00",
"MeasurementValueNeededDate": "2026-01-01T18:09:34.1669356-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e20c4eac-13ee-4d3d-bc47-509accb57f2f",
"CreateDate": "2026-01-01T18:09:34.1669356-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-01T18:09:34.1669356-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-01T18:09:34.1669356-08:00",
"MeasurementValueNeededDate": "2026-01-01T18:09:34.1669356-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a26a5991-663d-4c70-b484-ae268f27d2fb",
"CreateDate": "2026-01-01T18:09:34.1669356-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-01T18:09:34.1669356-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-01T18:09:34.1669356-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "e9f96e6d-b118-4592-a3a4-555ed2430e34",
"CreateDate": "2026-01-01T18:09:34.1669356-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-01T18:09:34.1669356-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": "315174f8-29e3-4417-b840-a51e73482182",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "251e15a2-7178-48e8-9ecd-2c54a3681ec8",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1ae03088-8655-415e-9633-9d98eb2e8f4b",
"CreateDate": "2026-01-01T18:09:34.1669356-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-01T18:09:34.1669356-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "152003f5-002c-4630-8163-5911bf908177",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "226b42e5-3e4e-4968-a139-ce38d6645f75",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a4d9f8dd-7dae-4add-8f4f-2a9866ee4f84",
"CreateDate": "2026-01-01T18:09:34.1669356-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-01T18:09:34.1669356-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "23f12554-2cd8-4d18-80f4-0a47efdbaf32",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-01T18:09:34.1669356-08:00",
"MeasurementValueNeededDate": "2026-01-01T18:09:34.1669356-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "fcffe6ff-6f47-4f00-885a-8cf4f2b431cb",
"CreateDate": "2026-01-01T18:09:34.1669356-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-01T18:09:34.1669356-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-01T18:09:34.1669356-08:00",
"MeasurementValueNeededDate": "2026-01-01T18:09:34.1669356-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a6ccf801-f1c6-4808-abf8-6a2c4ab5d47a",
"CreateDate": "2026-01-01T18:09:34.1669356-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-01T18:09:34.1669356-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-01T18:09:34.1669356-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "1708b2f0-174e-4406-a038-3703f0ee423e",
"CreateDate": "2026-01-01T18:09:34.1669356-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-01T18:09:34.1669356-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}