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": "db3c879d-3eef-4d66-b440-48c8506a0e1c",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "c20f49b7-1918-4aef-9dc5-d274b6a02ec1",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "2be0ba24-bac8-4178-bfc6-cae20eec80e7",
"CreateDate": "2026-06-28T09:42:54.1162684-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-28T09:42:54.1162684-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "1beddcf3-e9cd-4b0f-8054-948ea0b0fb5a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8700813a-fa99-4bf2-9336-1550655c68f0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e3b0e71c-c31a-4d75-a4dc-6e6bc299515d",
"CreateDate": "2026-06-28T09:42:54.1162684-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:42:54.1162684-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "229d205b-18f0-44aa-ab49-ffd6f67f739e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-28T09:42:54.1162684-07:00",
"MeasurementValueNeededDate": "2026-06-28T09:42:54.1162684-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "1d4e0934-9a0a-4ba1-9222-9dac48810486",
"CreateDate": "2026-06-28T09:42:54.1162684-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T09:42:54.1162684-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-28T09:42:54.1162684-07:00",
"MeasurementValueNeededDate": "2026-06-28T09:42:54.1162684-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "95032b8b-cdd9-4bb1-ae3d-457608540953",
"CreateDate": "2026-06-28T09:42:54.1162684-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T09:42:54.1162684-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-28T09:42:54.1162684-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "53030e95-c29e-484d-9cae-130ebca6bc35",
"CreateDate": "2026-06-28T09:42:54.1162684-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:42:54.1162684-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": "5fc02a92-04a9-40fa-94c3-0fedb1437fd4",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "4c921487-9be7-4782-86f9-50bc94f8e297",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4b6c157c-2cf6-475a-9212-b10e986f9c6f",
"CreateDate": "2026-06-28T09:42:54.1162684-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-28T09:42:54.1162684-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "3f4d9b8f-4903-4b05-a3f5-4938443b20c7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "551caa27-dde5-4098-bc75-218055596976",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "430a3b3e-44fa-46f4-b6ce-5710d0578f00",
"CreateDate": "2026-06-28T09:42:54.1162684-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:42:54.1162684-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "e2ff965b-e072-41a5-95ee-b08d432b519f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-28T09:42:54.1162684-07:00",
"MeasurementValueNeededDate": "2026-06-28T09:42:54.1162684-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "41987740-edf7-43f2-8571-03c73ff8e06e",
"CreateDate": "2026-06-28T09:42:54.1162684-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T09:42:54.1162684-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-28T09:42:54.1162684-07:00",
"MeasurementValueNeededDate": "2026-06-28T09:42:54.1162684-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "54d182ff-066c-4e8b-b694-9be036f2acd2",
"CreateDate": "2026-06-28T09:42:54.1162684-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T09:42:54.1162684-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-28T09:42:54.1162684-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "21e79356-83f6-42a2-b1e9-3f14106e1c4f",
"CreateDate": "2026-06-28T09:42:54.1162684-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:42:54.1162684-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}