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": "4ecdd398-33c6-40e2-a4a1-ebcc5f18da42",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "45063263-3e2d-4b93-96df-93423fc08bd2",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "cd0ba111-9e93-4ffc-a13d-c011277b6dc8",
"CreateDate": "2026-03-24T07:59:01.7855597-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-24T07:59:01.7855597-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b42d33bd-6787-4929-b5f2-a7164edb5c89",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "6b8e4e15-4c6c-4951-80bd-7feadb4ea453",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "69924a85-b170-4396-86c2-0e0e63f974ae",
"CreateDate": "2026-03-24T07:59:01.7855597-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T07:59:01.7855597-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "9b2a9c84-4684-40a0-beb5-da4aa83b8651",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-24T07:59:01.7855597-07:00",
"MeasurementValueNeededDate": "2026-03-24T07:59:01.7855597-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "6748dad7-6f0c-402c-8565-8c063845a6f8",
"CreateDate": "2026-03-24T07:59:01.7855597-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T07:59:01.7855597-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-24T07:59:01.7855597-07:00",
"MeasurementValueNeededDate": "2026-03-24T07:59:01.7855597-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8cf5b3d9-d4f0-4c3a-a0e8-48411709fb66",
"CreateDate": "2026-03-24T07:59:01.7855597-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-24T07:59:01.7855597-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-24T07:59:01.7855597-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "5359f4d7-014c-4681-8c3b-040aff9c4496",
"CreateDate": "2026-03-24T07:59:01.7855597-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T07:59:01.7855597-07: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": "7f756c38-f6dd-49da-8d87-926790de7955",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3e81573b-9d41-41bd-a978-d65ea6f680d1",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "af3fb3fa-535b-4586-845f-182d6c85c8b3",
"CreateDate": "2026-03-24T07:59:01.7855597-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-24T07:59:01.7855597-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "63b2e54c-f5b0-4343-a1e1-423ff98564e2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b231a022-5a92-41b7-91e7-c2b29664f57d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "03c8fd10-5fe7-4a57-ace0-7707e2365a52",
"CreateDate": "2026-03-24T07:59:01.7855597-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T07:59:01.7855597-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "5a1a5fda-ad7c-413a-ad8c-e52aea1734e0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-24T07:59:01.7855597-07:00",
"MeasurementValueNeededDate": "2026-03-24T07:59:01.7855597-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c551e88c-42d2-40d6-90af-5db9a3fb464c",
"CreateDate": "2026-03-24T07:59:01.7855597-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T07:59:01.7855597-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-24T07:59:01.7855597-07:00",
"MeasurementValueNeededDate": "2026-03-24T07:59:01.7855597-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d55e773b-03bc-47d1-9166-d946d8791a0a",
"CreateDate": "2026-03-24T07:59:01.7855597-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-24T07:59:01.7855597-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-24T07:59:01.7855597-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a8a2a5ba-f304-4a7a-88ed-006bfbf6847c",
"CreateDate": "2026-03-24T07:59:01.7855597-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T07:59:01.7855597-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}