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": "21b3e7bf-4fd7-411c-bd80-020eb86f4e35",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "1bdca53d-3b9c-40cc-9e99-a4ec68c5e3c8",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "05610e12-d295-4578-bcad-98efb8c2d5c4",
"CreateDate": "2026-09-28T22:53:32.3821849-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-28T22:53:32.3821849-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5121242a-b0c8-47f1-bbc5-a9c8cb09e362",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "12689a75-e18d-4b9c-87cd-0c1d02d6305c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ccf5f246-2273-427e-8724-2c2f5e27e668",
"CreateDate": "2026-09-28T22:53:32.3821849-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T22:53:32.3821849-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "8a464e26-0571-45b0-92c9-d768949b22f2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-28T22:53:32.3821849-07:00",
"MeasurementValueNeededDate": "2026-09-28T22:53:32.3821849-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cdceb6bc-3647-4f68-b5ef-708771d21920",
"CreateDate": "2026-09-28T22:53:32.3821849-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-28T22:53:32.3821849-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-28T22:53:32.3821849-07:00",
"MeasurementValueNeededDate": "2026-09-28T22:53:32.3821849-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a55016e6-ca8c-4499-ab4f-b388d8338391",
"CreateDate": "2026-09-28T22:53:32.3821849-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-28T22:53:32.3821849-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-28T22:53:32.3821849-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "15c6d134-e2ea-43f2-bc41-ddd914d722c2",
"CreateDate": "2026-09-28T22:53:32.3821849-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T22:53:32.3821849-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": "402eb52f-f395-4155-85c8-b155b39e8722",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "9245edf2-cfe7-4855-8c1c-826db3126af9",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "98ffcf05-222b-433b-8abf-629f085edccd",
"CreateDate": "2026-09-28T22:53:32.5384894-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-28T22:53:32.5384894-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4ce9b672-0f87-463c-bbd6-d7fce2bfdc8c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "93ecff63-ac3f-49cb-bb16-400771a9fc9d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5f31c642-c86d-4410-935a-9b54f7cc95c9",
"CreateDate": "2026-09-28T22:53:32.5384894-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T22:53:32.5384894-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "9beb31d7-2c68-4710-ae2a-7590e973c4d9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-28T22:53:32.5384894-07:00",
"MeasurementValueNeededDate": "2026-09-28T22:53:32.5384894-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d74df67b-e965-40ac-9e2a-7693f1a79e6f",
"CreateDate": "2026-09-28T22:53:32.5384894-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-28T22:53:32.5384894-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-28T22:53:32.5384894-07:00",
"MeasurementValueNeededDate": "2026-09-28T22:53:32.5384894-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1f153ece-f2f5-4c0b-8a5e-e76c7922327e",
"CreateDate": "2026-09-28T22:53:32.5384894-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-28T22:53:32.5384894-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-28T22:53:32.5384894-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "836edb33-c15d-441c-a6d5-02b8aa89eec4",
"CreateDate": "2026-09-28T22:53:32.5384894-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T22:53:32.5384894-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}