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": "7a6fff22-d755-4866-9de2-09f146842e06",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "99e4b62f-d668-4688-a654-9999b95a8423",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0ceb4039-6a2e-4efb-bafc-998773215226",
"CreateDate": "2025-12-31T16:16:50.7468436-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-31T16:16:50.7468436-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "7a9bae8e-16b0-49c1-8837-a98e6cc170d9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3bdb0882-896a-4b03-86fb-98dc4939ec85",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8cebf9fc-77bb-414e-bb37-e568ca2887cf",
"CreateDate": "2025-12-31T16:16:50.7468436-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:16:50.7468436-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "5ee0e53c-3890-4961-bbb7-e89f62954617",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-31T16:16:50.7468436-08:00",
"MeasurementValueNeededDate": "2025-12-31T16:16:50.7468436-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2a6638b1-fa27-460f-9f9d-53fe3bbd1ad4",
"CreateDate": "2025-12-31T16:16:50.7468436-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T16:16:50.7468436-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-31T16:16:50.7468436-08:00",
"MeasurementValueNeededDate": "2025-12-31T16:16:50.7468436-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "519e9c0d-bf02-4fa5-9495-4d8521453d2e",
"CreateDate": "2025-12-31T16:16:50.7468436-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-31T16:16:50.7468436-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-31T16:16:50.7468436-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "82b7d5fd-3f85-44b2-bfbd-7cd24a30e352",
"CreateDate": "2025-12-31T16:16:50.7468436-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:16:50.7468436-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": "385b3b1f-6241-4c9c-8588-6b24dad94c9c",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "7daf8fb0-43ec-4238-a3b4-0e56ae710eba",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "031a5f08-a683-4dc9-be74-dbc964bf10b7",
"CreateDate": "2025-12-31T16:16:50.7468436-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-31T16:16:50.7468436-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "d5984593-ba4c-4b02-a497-f3c480667a16",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1ce3c299-075f-4847-9462-2c3678df64cc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7b8cb0ff-fb01-416d-9026-f8d6fca35e55",
"CreateDate": "2025-12-31T16:16:50.7468436-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:16:50.7468436-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "97df5064-00f2-4946-97cb-36a4f33fdbe2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-31T16:16:50.7468436-08:00",
"MeasurementValueNeededDate": "2025-12-31T16:16:50.7468436-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "45ff4742-3f9b-4f6a-99b5-0f8f7436f03f",
"CreateDate": "2025-12-31T16:16:50.7468436-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T16:16:50.7468436-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-31T16:16:50.7468436-08:00",
"MeasurementValueNeededDate": "2025-12-31T16:16:50.7468436-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "24b86994-e0b6-41ac-80cf-f563a109bc2d",
"CreateDate": "2025-12-31T16:16:50.7468436-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-31T16:16:50.7468436-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-31T16:16:50.7468436-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "250453ed-911c-4065-8859-36caf9f4f8d9",
"CreateDate": "2025-12-31T16:16:50.7468436-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:16:50.7468436-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}