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": "647aaf92-a4ff-4229-b359-171e5121c297",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "6ae74d0d-5e42-4342-b6c4-4107320f22eb",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "a3bb2343-b3b9-4907-a3b1-1a3fc5642af7",
"CreateDate": "2026-04-30T21:02:12.6382046-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-30T21:02:12.6382046-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4abda3e1-429b-47c9-9b35-de3452b673a5",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "89de7afa-38e7-4986-8301-e377e0377c35",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8bbf7ddf-11c3-45f8-9818-1c6019006305",
"CreateDate": "2026-04-30T21:02:12.6382046-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:02:12.6382046-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "d6d967f1-805b-4557-b3f6-7b1c9b5d3d94",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-30T21:02:12.6382046-07:00",
"MeasurementValueNeededDate": "2026-04-30T21:02:12.6382046-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "aa487b5d-81fd-4efd-8883-41bf81663117",
"CreateDate": "2026-04-30T21:02:12.6382046-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T21:02:12.6382046-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-30T21:02:12.6382046-07:00",
"MeasurementValueNeededDate": "2026-04-30T21:02:12.6382046-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4554540d-b531-420f-bdad-9663aef0dda0",
"CreateDate": "2026-04-30T21:02:12.6382046-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-30T21:02:12.6382046-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-30T21:02:12.6382046-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "abb34ed3-206a-4de0-a194-600a7ba7b36e",
"CreateDate": "2026-04-30T21:02:12.6382046-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:02:12.6382046-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": "8a262442-722a-4dd9-8fbf-0da7c9aea460",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "882cd67b-80f1-4d6e-915a-1413552a3d64",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "432e9a96-7749-4a0f-a957-efd867b787b4",
"CreateDate": "2026-04-30T21:02:12.6382046-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-30T21:02:12.6382046-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b7d9e4b4-e928-4f93-ac69-ba1bae8d3321",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "48cda281-340b-417c-a895-e395611fc6f2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cf4689cd-85ed-47eb-9209-592199e273ca",
"CreateDate": "2026-04-30T21:02:12.6382046-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:02:12.6382046-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "f4af2f95-5033-44b9-84a0-5b2e5bd448f5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-30T21:02:12.6382046-07:00",
"MeasurementValueNeededDate": "2026-04-30T21:02:12.6382046-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "bb75fc96-7594-46c5-bcf9-34342d6a553f",
"CreateDate": "2026-04-30T21:02:12.6382046-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T21:02:12.6382046-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-30T21:02:12.6382046-07:00",
"MeasurementValueNeededDate": "2026-04-30T21:02:12.6382046-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1669472d-4551-4e26-8b4f-3d9b9cafb7cc",
"CreateDate": "2026-04-30T21:02:12.6382046-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-30T21:02:12.6382046-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-30T21:02:12.6382046-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ca9952e5-6e19-4899-91cb-bc23204ca839",
"CreateDate": "2026-04-30T21:02:12.6382046-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:02:12.6382046-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}