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": "dcb5ba42-2c7c-4b40-8035-a76a80ea6d8a",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "356eb973-50d7-4337-915b-d902bf8eff96",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0bf0fb8a-0020-4f17-b556-fb1cd9da109d",
"CreateDate": "2026-09-19T05:19:24.3429112-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-19T05:19:24.3429112-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "bcd08704-a9d1-4261-b975-1b7f2a59ba6f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f5ee7e6d-9a72-4f0d-9340-c74bd6de7c28",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5f01d82a-bb24-42c8-88b0-51f5f5d4a1e7",
"CreateDate": "2026-09-19T05:19:24.3429112-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-19T05:19:24.3429112-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "8a81251e-ec83-4472-9b2e-bf355387ec18",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-19T05:19:24.3429112-07:00",
"MeasurementValueNeededDate": "2026-09-19T05:19:24.3429112-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7dda991c-4c34-410e-8686-d14a42ee1311",
"CreateDate": "2026-09-19T05:19:24.3429112-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-19T05:19:24.3429112-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-19T05:19:24.3429112-07:00",
"MeasurementValueNeededDate": "2026-09-19T05:19:24.3429112-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "dc7fc3e5-aa14-4f8b-bdb9-e759d2430e1a",
"CreateDate": "2026-09-19T05:19:24.3429112-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-19T05:19:24.3429112-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-19T05:19:24.3429112-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "776f2e5a-ec91-4924-8706-b72f3c1b86ae",
"CreateDate": "2026-09-19T05:19:24.3429112-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-19T05:19:24.3429112-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": "e6af8bc2-a102-4ba5-8ca2-6a4396365624",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "235b4987-50ba-4907-b470-143116ca1db8",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "727f5d94-369f-402c-ad91-4e00f3805100",
"CreateDate": "2026-09-19T05:19:24.3585443-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-19T05:19:24.3585443-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "e3f11488-187d-4506-99cb-db6803651b26",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d5516ac8-46ae-406c-b9d2-ede46927004b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7f0155f7-edb1-42dc-8058-3252be6a58f8",
"CreateDate": "2026-09-19T05:19:24.3585443-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-19T05:19:24.3585443-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "d3a47504-780d-4e69-aea4-7988fc030d6c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-19T05:19:24.3585443-07:00",
"MeasurementValueNeededDate": "2026-09-19T05:19:24.3585443-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d007e0a7-63f0-4c1b-be87-c7cc9506a849",
"CreateDate": "2026-09-19T05:19:24.3585443-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-19T05:19:24.3585443-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-19T05:19:24.3585443-07:00",
"MeasurementValueNeededDate": "2026-09-19T05:19:24.3585443-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e2affdbb-ec34-4b2a-bc05-dd1a77c6140e",
"CreateDate": "2026-09-19T05:19:24.3585443-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-19T05:19:24.3585443-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-19T05:19:24.3585443-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a9792d4f-46c7-4c8d-9a3f-d90cf9ce2e2c",
"CreateDate": "2026-09-19T05:19:24.3585443-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-19T05:19:24.3585443-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}