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": "ab9d71b3-f4e4-49d6-a818-ce716ccf8fac",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "9f1bb7e5-e4d5-4568-82c6-d2c641b9d323",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "36950dce-0e68-4ecd-b78f-401d8d6b134d",
"CreateDate": "2026-01-22T19:58:53.7834889-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-22T19:58:53.7834889-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "14b054f5-42fb-4963-90ae-4b58a9848001",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7614fb09-f622-4a9b-a9b2-b2264ddec39e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1b1f9c8d-0193-418a-9a5d-405377ebb33c",
"CreateDate": "2026-01-22T19:58:53.7834889-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T19:58:53.7834889-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "6368ba12-36e7-4b3b-b71a-fa0984461b70",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-22T19:58:53.7834889-08:00",
"MeasurementValueNeededDate": "2026-01-22T19:58:53.7834889-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3358205b-f50a-47b7-946c-87fe472c4e00",
"CreateDate": "2026-01-22T19:58:53.7834889-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T19:58:53.7834889-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-22T19:58:53.7834889-08:00",
"MeasurementValueNeededDate": "2026-01-22T19:58:53.7834889-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "02827c76-9bcc-4860-b205-37bc1b3b3f60",
"CreateDate": "2026-01-22T19:58:53.7834889-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-22T19:58:53.7834889-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-22T19:58:53.7834889-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "fdc489fa-dd87-44a8-95ef-5a565266e8b5",
"CreateDate": "2026-01-22T19:58:53.7834889-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T19:58:53.7834889-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": "4479c978-6b1e-4187-9ea2-365e0b4445b3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "004c9ff9-4787-4f7e-9c2e-362fa0c5bad7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "59f383d2-69ec-48b5-9d39-0da6d05f0f61",
"CreateDate": "2026-01-22T19:58:53.7834889-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-22T19:58:53.7834889-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "390191c1-56f3-44af-9adc-7e0d8b0b990e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4498ec75-d73e-4a37-b095-18ef32b6bbac",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e1b4e707-10b7-490a-bfe6-788719bfb18d",
"CreateDate": "2026-01-22T19:58:53.7834889-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T19:58:53.7834889-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "b6c45fd6-a3cc-4300-98fc-123831421c96",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-22T19:58:53.7834889-08:00",
"MeasurementValueNeededDate": "2026-01-22T19:58:53.7834889-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "74d11978-15c8-47c3-832e-1454050bb18a",
"CreateDate": "2026-01-22T19:58:53.7834889-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T19:58:53.7834889-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-22T19:58:53.7834889-08:00",
"MeasurementValueNeededDate": "2026-01-22T19:58:53.7834889-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "73b645cc-f176-496e-aa01-8c1ba9a8125b",
"CreateDate": "2026-01-22T19:58:53.7834889-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-22T19:58:53.7834889-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-22T19:58:53.7834889-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a20229c3-ed99-4214-99e7-9efb874d6bd5",
"CreateDate": "2026-01-22T19:58:53.7834889-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T19:58:53.7834889-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}