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": "ff9c92ca-3246-41f8-9bda-79971d8ab847",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "36233f63-8ce8-4b96-b128-796f3131cd3e",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "12e693d9-3afb-4543-98ca-91d89fc70894",
"CreateDate": "2025-11-14T23:48:47.4891846-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-14T23:48:47.4891846-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "1392eebd-9fcd-4a0a-ad30-7aea8d212df9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "633bfc0e-e5e1-4cfb-ad0c-ff3770185f3b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e46ae1e7-728f-4078-bde0-f9a756b9436d",
"CreateDate": "2025-11-14T23:48:47.4891846-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-14T23:48:47.4891846-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "29f4ecb9-8066-4ca5-b20f-0dc1df9f72e7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-14T23:48:47.4891846-08:00",
"MeasurementValueNeededDate": "2025-11-14T23:48:47.4891846-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "bcca9da7-2737-4f95-8ff6-db5d2881cb63",
"CreateDate": "2025-11-14T23:48:47.4891846-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-14T23:48:47.4891846-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-14T23:48:47.4891846-08:00",
"MeasurementValueNeededDate": "2025-11-14T23:48:47.4891846-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "78e36271-8d76-4d29-afb1-8f25e3311ec3",
"CreateDate": "2025-11-14T23:48:47.4891846-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-14T23:48:47.4891846-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-14T23:48:47.4891846-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "7c5f3e0f-058b-4787-97f8-4c10c6fec104",
"CreateDate": "2025-11-14T23:48:47.4891846-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-14T23:48:47.4891846-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": "d3f3b628-d03f-4b1a-a88c-6fa1089876df",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "686075db-5821-4650-8db5-f236523c7966",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "7326b7dc-a5a1-4ce9-802c-ed20080af97e",
"CreateDate": "2025-11-14T23:48:47.4891846-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-14T23:48:47.4891846-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "7d97f48d-29f5-4450-aed2-988a948974ca",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f6ff5b51-2f1b-490e-b371-c5196a4df3f3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6d52c8fd-0231-4656-9610-1fe0f8a59810",
"CreateDate": "2025-11-14T23:48:47.4891846-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-14T23:48:47.4891846-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "ef3a9ace-f5f1-4770-b457-0b8911fc394f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-14T23:48:47.4891846-08:00",
"MeasurementValueNeededDate": "2025-11-14T23:48:47.4891846-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "6be7f1ab-c7a5-425c-a66e-5c541afb1fac",
"CreateDate": "2025-11-14T23:48:47.4891846-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-14T23:48:47.4891846-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-14T23:48:47.4891846-08:00",
"MeasurementValueNeededDate": "2025-11-14T23:48:47.4891846-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7aa05e12-c742-4d0f-84d1-48045252d5fe",
"CreateDate": "2025-11-14T23:48:47.4891846-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-14T23:48:47.4891846-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-14T23:48:47.4891846-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "1d48e286-d980-4389-9f37-4e580aa7b11e",
"CreateDate": "2025-11-14T23:48:47.4891846-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-14T23:48:47.4891846-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}