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": "069e7d39-2add-45eb-bcf8-f6066973d582",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5ff7c7c4-0b1a-47cd-a09d-11794817e80d",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d2140835-bdbb-4d04-a1e1-8e12a90d701b",
"CreateDate": "2026-03-24T11:17:11.0732115-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-24T11:17:11.0732115-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b1ad327e-9a44-4402-b405-312c174e5ec0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a8d78792-4d86-4038-8aaf-6cc249cf9343",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8109d2d5-f3e0-4097-9774-dd4f3a9df70e",
"CreateDate": "2026-03-24T11:17:11.0732115-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T11:17:11.0732115-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "b685b45c-83d4-4285-9723-6205ba632e45",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-24T11:17:11.0732115-07:00",
"MeasurementValueNeededDate": "2026-03-24T11:17:11.0732115-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e7441602-8bc6-434f-a0e3-c1baec617d97",
"CreateDate": "2026-03-24T11:17:11.0732115-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T11:17:11.0732115-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-24T11:17:11.0732115-07:00",
"MeasurementValueNeededDate": "2026-03-24T11:17:11.0732115-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b8bfd1c0-a0c8-4237-9752-5f5a4951d7a7",
"CreateDate": "2026-03-24T11:17:11.0732115-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-24T11:17:11.0732115-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-24T11:17:11.0732115-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ffa0a550-3753-4e3c-8265-69818b098dff",
"CreateDate": "2026-03-24T11:17:11.0732115-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T11:17:11.0732115-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": "54e1ffb1-08ea-4f45-842b-9a2e8c3fe4c0",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "f6f9be4d-91f9-48bd-835e-be2dad60a99b",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "60643c62-cad2-429b-993f-c30dbc42a4fa",
"CreateDate": "2026-03-24T11:17:11.0888149-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-24T11:17:11.0888149-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "04f68b11-40ac-49d7-9fb8-b970f9e14836",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "57b538bb-9102-4f83-bba5-67bc62ec6b71",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "981644c9-2919-47d3-8baf-a71472bf146e",
"CreateDate": "2026-03-24T11:17:11.0888149-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T11:17:11.0888149-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "5433327f-fffd-4257-9a8e-a0bc48878b7a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-24T11:17:11.0888149-07:00",
"MeasurementValueNeededDate": "2026-03-24T11:17:11.0888149-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cfd7d0b5-0de8-4552-bece-c59bbfab3011",
"CreateDate": "2026-03-24T11:17:11.0888149-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T11:17:11.0888149-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-24T11:17:11.0888149-07:00",
"MeasurementValueNeededDate": "2026-03-24T11:17:11.0888149-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d4bfbb8a-65c3-4d98-8338-351897646f5d",
"CreateDate": "2026-03-24T11:17:11.0888149-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-24T11:17:11.0888149-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-24T11:17:11.0888149-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "f6062db7-747e-444f-9bff-1a41ba7961f1",
"CreateDate": "2026-03-24T11:17:11.0888149-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T11:17:11.0888149-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}