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": "ba98a166-af49-4f46-86bd-6b689fa5c2a2",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "4bf8b2cd-5c69-483f-9613-e61e919bb4c7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "25a7fbfe-89b7-47ad-bbfc-caf444518f4d",
"CreateDate": "2026-11-27T21:56:45.1333091-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-27T21:56:45.1333091-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "558804be-1742-452c-b478-330d4d910756",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1794d685-01d2-4bba-8b7b-b6c39c4397ca",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "65bae2a0-99e2-46e6-b0f4-450789a3641a",
"CreateDate": "2026-11-27T21:56:45.1333091-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-27T21:56:45.1333091-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "ae7d26f6-fc64-4ad5-9b06-def454551ed7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-27T21:56:45.1333091-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:56:45.1333091-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7a991717-da01-4a5a-a7f1-e9ba7da445a9",
"CreateDate": "2026-11-27T21:56:45.1333091-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:56:45.1333091-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-27T21:56:45.1333091-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:56:45.1333091-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ee92c2f2-6f24-482a-9b0d-1f202fa362d0",
"CreateDate": "2026-11-27T21:56:45.1333091-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-27T21:56:45.1333091-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-27T21:56:45.1333091-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "6b2075c7-0cec-4631-8ff6-cb8d9b1302d5",
"CreateDate": "2026-11-27T21:56:45.1333091-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-27T21:56:45.1333091-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": "edebbc44-4d2d-4aba-a0e5-9650a69f74ec",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "1dfcd905-8288-4d9f-8c8d-133ce2914b99",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4d6f2aff-6ca9-469a-b367-58bb55f908ef",
"CreateDate": "2026-11-27T21:56:45.4301308-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-27T21:56:45.4301308-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "007b453b-9bde-446f-850c-5f0339ad454b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "06c8d49c-8763-4947-aefe-6e1092b221ef",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f17333be-9a32-419d-a38b-9b75feb12662",
"CreateDate": "2026-11-27T21:56:45.4301308-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-27T21:56:45.4301308-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "d7aca814-15d7-4501-92c6-4c83a50ea914",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-27T21:56:45.4301308-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:56:45.4301308-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "48c817a9-a47d-46e5-935c-397a05c6d03b",
"CreateDate": "2026-11-27T21:56:45.4301308-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:56:45.4301308-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-27T21:56:45.4301308-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:56:45.4301308-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "19c9de40-f5f6-4ffd-a5b3-2e8d7977c65f",
"CreateDate": "2026-11-27T21:56:45.4301308-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-27T21:56:45.4301308-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-27T21:56:45.4301308-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "0403b01e-5b55-4f30-ac9e-63ed0943d8b8",
"CreateDate": "2026-11-27T21:56:45.4301308-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-27T21:56:45.4301308-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}