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": "9ab3eaa6-e04c-4223-8c88-19e352c8c9ad",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "967f99b5-7e06-4419-90b0-2455c3f6e869",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "cba30ad3-926d-4448-9c8d-c32fcb6ef962",
"CreateDate": "2025-12-05T06:21:13.1027753-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-05T06:21:13.1027753-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "0a978c25-ba46-4f11-8742-b38968067367",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "224d28f5-7302-4d97-87fc-8e6ce77aea54",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "85ce752d-5ea5-4629-90e5-5c2deb97b4c8",
"CreateDate": "2025-12-05T06:21:13.1027753-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-05T06:21:13.1027753-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "7987a244-1727-471a-a48b-0efdf4c1fd43",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-05T06:21:13.1027753-08:00",
"MeasurementValueNeededDate": "2025-12-05T06:21:13.1027753-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "22319c27-ceff-4d96-aef3-281a7d6d2d60",
"CreateDate": "2025-12-05T06:21:13.1027753-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-05T06:21:13.1027753-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-05T06:21:13.1027753-08:00",
"MeasurementValueNeededDate": "2025-12-05T06:21:13.1027753-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6ea11cde-53c3-4ce7-a058-cdf8b2552ee8",
"CreateDate": "2025-12-05T06:21:13.1027753-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-05T06:21:13.1027753-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-05T06:21:13.1027753-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "5de23b22-b593-444d-af15-aeb681c8ac98",
"CreateDate": "2025-12-05T06:21:13.1027753-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-05T06:21:13.1027753-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": "c3c2946c-0976-40ea-a5be-7de8ae772a2f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "c28dc862-f3e9-4354-bdb1-8e9eae5e1195",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0e5baa40-cb60-41e4-9148-0962244ae853",
"CreateDate": "2025-12-05T06:21:13.1027753-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-05T06:21:13.1027753-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5bc9f9fe-3029-40dc-ae4d-a181beab523d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bfaa4b41-3c94-43b6-86ab-f44c46bde1df",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "49ad8414-c488-4d64-b371-3e76ef0c96cb",
"CreateDate": "2025-12-05T06:21:13.1027753-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-05T06:21:13.1027753-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "0f4a6e41-b7fb-490d-80b2-5a0c1624edd9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-05T06:21:13.1027753-08:00",
"MeasurementValueNeededDate": "2025-12-05T06:21:13.1027753-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "48676030-6d26-4e4b-ac90-c9dc7a4f2788",
"CreateDate": "2025-12-05T06:21:13.1027753-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-05T06:21:13.1027753-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-05T06:21:13.1027753-08:00",
"MeasurementValueNeededDate": "2025-12-05T06:21:13.1027753-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "280659ef-e104-4f49-9a3c-c437f4571e73",
"CreateDate": "2025-12-05T06:21:13.1027753-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-05T06:21:13.1027753-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-05T06:21:13.1027753-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "3f9982d9-59e5-489b-b26f-054a6674def3",
"CreateDate": "2025-12-05T06:21:13.1027753-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-05T06:21:13.1027753-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}