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": "42cd0b4c-2e13-4b29-9627-1b97d445db0d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "d530f71c-870f-4d65-8cf7-f54372bba44b",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "038d3a31-9f8b-4873-b184-0f013264dcf5",
"CreateDate": "2025-12-10T05:03:45.9128614-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-10T05:03:45.9128614-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5dc683f0-bfd0-4e92-ab64-f57d17d44419",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8898bf2f-dc27-4039-a669-5bbb511477c2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "60ea0b3b-a531-42c8-b511-2e2998b00bd1",
"CreateDate": "2025-12-10T05:03:45.9128614-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T05:03:45.9128614-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "307632cc-6a45-4aa0-a3e1-43fe8b09431e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-10T05:03:45.9128614-08:00",
"MeasurementValueNeededDate": "2025-12-10T05:03:45.9128614-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "18c731f1-fc4e-4d66-9fe1-02a575cdb585",
"CreateDate": "2025-12-10T05:03:45.9128614-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T05:03:45.9128614-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-10T05:03:45.9128614-08:00",
"MeasurementValueNeededDate": "2025-12-10T05:03:45.9128614-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f6d361d2-5b1b-4f78-8c12-75e462ebd1b4",
"CreateDate": "2025-12-10T05:03:45.9128614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-10T05:03:45.9128614-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-10T05:03:45.9128614-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "6444a9e4-f2ad-41bf-a6d3-5c9449dac275",
"CreateDate": "2025-12-10T05:03:45.9128614-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T05:03:45.9128614-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": "4bec8271-82c0-4649-8948-4275c30cc21c",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "4f356f40-67c6-4609-b8b2-741221d99311",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "60e7cb83-e7b9-4252-9b42-6ea21a5bcb59",
"CreateDate": "2025-12-10T05:03:45.9128614-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-10T05:03:45.9128614-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b6be85e3-1def-4566-af33-23cd67f3c989",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8aa89814-07c0-4889-a25e-04b2c2734e3b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3f935a25-f64a-4f0f-af68-52064079ff38",
"CreateDate": "2025-12-10T05:03:45.9128614-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T05:03:45.9128614-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "3695c8d2-645b-45e9-9380-b37ed480b1bf",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-10T05:03:45.9128614-08:00",
"MeasurementValueNeededDate": "2025-12-10T05:03:45.9128614-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "595eb453-e914-44be-a83c-bdfd434dc2e4",
"CreateDate": "2025-12-10T05:03:45.9128614-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T05:03:45.9128614-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-10T05:03:45.9128614-08:00",
"MeasurementValueNeededDate": "2025-12-10T05:03:45.9128614-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "39d0ec8d-9fc4-47a8-a08e-0438faf38fdc",
"CreateDate": "2025-12-10T05:03:45.9128614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-10T05:03:45.9128614-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-10T05:03:45.9128614-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "3cf6840a-116c-405c-831c-7e8ce50bc344",
"CreateDate": "2025-12-10T05:03:45.9128614-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T05:03:45.9128614-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}