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": "62be65fc-d4bb-4807-ab8e-47d0d7600df3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5b3e402d-da21-4b4a-bd52-c53821b6679d",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d1817e5a-9920-4205-8aa9-40e120fe7d75",
"CreateDate": "2025-12-13T23:53:32.4759197-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-13T23:53:32.4759197-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "e2662db0-8566-46ff-ae59-a44371b8cd27",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "e3a38610-842f-4cff-922c-ef8cc9ebd58c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d210c011-6814-42f8-9d68-3b44edfa03ba",
"CreateDate": "2025-12-13T23:53:32.4759197-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T23:53:32.4759197-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "2fd28c44-ead0-48fb-a95d-3480428463f3",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-13T23:53:32.4759197-08:00",
"MeasurementValueNeededDate": "2025-12-13T23:53:32.4759197-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "446c78d7-5ee0-4a47-ad8f-5a7a6aac2d38",
"CreateDate": "2025-12-13T23:53:32.4759197-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T23:53:32.4759197-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-13T23:53:32.4759197-08:00",
"MeasurementValueNeededDate": "2025-12-13T23:53:32.4759197-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "aeaa8a22-4aad-4c0c-bebc-a9befb904467",
"CreateDate": "2025-12-13T23:53:32.4759197-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-13T23:53:32.4759197-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-13T23:53:32.4759197-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d2da8564-9ca0-4bdd-bf0d-f1e17c4a5a96",
"CreateDate": "2025-12-13T23:53:32.4759197-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T23:53:32.4759197-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": "5fbf724c-0ac7-4f4f-a087-4aee2efb3b1f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "0ba358c1-f260-4e92-b307-48a0cab737df",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "b8756aef-cda6-4a4e-a291-144283884de6",
"CreateDate": "2025-12-13T23:53:32.4759197-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-13T23:53:32.4759197-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "7d951539-666b-4d8a-99ce-bbafc628e453",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4fba5ac6-cbcc-4bfe-8736-de6d416003ec",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ddcdbfd1-f9c6-44a5-8880-857e520eaf35",
"CreateDate": "2025-12-13T23:53:32.4759197-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T23:53:32.4759197-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "2bf63325-869b-4e4e-adaf-5bdd1df533bd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-13T23:53:32.4759197-08:00",
"MeasurementValueNeededDate": "2025-12-13T23:53:32.4759197-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "50ed5d1c-218b-434d-bef7-12742144c1c9",
"CreateDate": "2025-12-13T23:53:32.4759197-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T23:53:32.4759197-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-13T23:53:32.4759197-08:00",
"MeasurementValueNeededDate": "2025-12-13T23:53:32.4759197-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3d1be0bc-bbf3-439a-a858-2cea00f7e82d",
"CreateDate": "2025-12-13T23:53:32.4759197-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-13T23:53:32.4759197-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-13T23:53:32.4759197-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "6de12b58-421e-4cdc-9898-019021d190be",
"CreateDate": "2025-12-13T23:53:32.4759197-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T23:53:32.4759197-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}