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": "8fa5482b-7a0d-49aa-b7d6-c30d1f348d22",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "7c853159-a4d0-4d29-934b-6a1acc37a485",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4c7392f6-cdde-45d5-ac20-5cbd2bcdc746",
"CreateDate": "2026-03-23T14:45:25.2904111-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-23T14:45:25.2904111-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "108be31d-061a-42aa-bcd4-4616b550c35b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a4c19a19-b37e-4875-a1ee-af2a21175813",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6f1f3615-90a8-43b0-8d35-fb9e5120b02b",
"CreateDate": "2026-03-23T14:45:25.2904111-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-23T14:45:25.2904111-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "cbafd242-2214-44da-9bfe-8485f8f9ad5d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-23T14:45:25.2904111-07:00",
"MeasurementValueNeededDate": "2026-03-23T14:45:25.2904111-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a0a99114-9fb6-471b-9e81-446f9cef1515",
"CreateDate": "2026-03-23T14:45:25.2904111-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-23T14:45:25.2904111-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-23T14:45:25.2904111-07:00",
"MeasurementValueNeededDate": "2026-03-23T14:45:25.2904111-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "97c87748-7f6f-4fa1-ac35-4823682e7fa3",
"CreateDate": "2026-03-23T14:45:25.2904111-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-23T14:45:25.2904111-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-23T14:45:25.2904111-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "cd26a7a6-b941-496e-a00a-ca94e3b79f2e",
"CreateDate": "2026-03-23T14:45:25.2904111-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-23T14:45:25.2904111-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": "a530a96c-57f8-41c9-aecb-36879fda7d92",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "0b97f4ee-524e-44a1-8340-f91d009d2841",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "c9501920-dd2b-4e5b-8669-c44e312e29cb",
"CreateDate": "2026-03-23T14:45:25.2904111-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-23T14:45:25.2904111-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "70ba8724-652e-4675-a7e0-ff95b2a70236",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "689a2d69-d650-49e1-b779-522d714a86dc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1b629235-c864-451a-aab5-ef8af0199e99",
"CreateDate": "2026-03-23T14:45:25.2904111-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-23T14:45:25.2904111-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "9ff1c615-2703-410c-b039-2238cc3aa05c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-23T14:45:25.2904111-07:00",
"MeasurementValueNeededDate": "2026-03-23T14:45:25.2904111-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ac9dcdeb-0ce6-4c65-b18c-87535b9c7273",
"CreateDate": "2026-03-23T14:45:25.2904111-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-23T14:45:25.2904111-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-23T14:45:25.2904111-07:00",
"MeasurementValueNeededDate": "2026-03-23T14:45:25.2904111-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "92958ce6-7dc1-4794-a76c-be992fe8c88f",
"CreateDate": "2026-03-23T14:45:25.2904111-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-23T14:45:25.2904111-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-23T14:45:25.2904111-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ea815734-4a1d-4571-8ba0-7b22ef3284f4",
"CreateDate": "2026-03-23T14:45:25.2904111-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-23T14:45:25.2904111-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}