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": "e0992fde-1044-4356-97a5-b5ae94034153",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "4bd1753d-a58d-4945-824d-d2181ade5d05",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1422b07f-8134-41cd-840b-7719c8fdb5f0",
"CreateDate": "2026-04-01T17:52:34.7834617-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-01T17:52:34.7834617-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "be3cf58d-e99f-4a74-ba96-8edee3f50884",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5fe8d2b9-03a6-463f-b60b-8db0ccb6dabd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b45b31b4-bd0c-41d3-ba21-6fa324899a24",
"CreateDate": "2026-04-01T17:52:34.7834617-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-01T17:52:34.7834617-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "dfc6a8f2-84a6-4284-8e39-5a2fb3e333bd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-01T17:52:34.7834617-07:00",
"MeasurementValueNeededDate": "2026-04-01T17:52:34.7834617-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "998eb310-f767-4057-84d1-7941f022658d",
"CreateDate": "2026-04-01T17:52:34.7834617-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-01T17:52:34.7834617-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-01T17:52:34.7834617-07:00",
"MeasurementValueNeededDate": "2026-04-01T17:52:34.7834617-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c867cefb-ebc6-48b8-9f42-8982a96272f1",
"CreateDate": "2026-04-01T17:52:34.7834617-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-01T17:52:34.7834617-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-01T17:52:34.7834617-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "43e3831a-12ac-4e50-9446-ad74a2e7c307",
"CreateDate": "2026-04-01T17:52:34.7834617-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-01T17:52:34.7834617-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": "ae561c9e-f713-49c3-a56f-27378a4f6fa7",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "a59f49d4-919c-465f-8eef-19772a2a61c0",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "aeff79d2-87ac-49dc-9843-f041a071c843",
"CreateDate": "2026-04-01T17:52:34.7834617-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-01T17:52:34.7834617-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "598bc7a2-5450-4039-8fee-12a48616c37e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b8f8a8d5-32a1-4fd0-9caa-e67f81b22e04",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d7161788-cacd-442b-908b-d5ccb1998eed",
"CreateDate": "2026-04-01T17:52:34.7834617-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-01T17:52:34.7834617-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "7e5535a8-b3d0-4805-86f1-5ddeb7a2fe3d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-01T17:52:34.7834617-07:00",
"MeasurementValueNeededDate": "2026-04-01T17:52:34.7834617-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ca34cf98-17f0-4633-b5eb-c2274e11a62b",
"CreateDate": "2026-04-01T17:52:34.7834617-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-01T17:52:34.7834617-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-01T17:52:34.7834617-07:00",
"MeasurementValueNeededDate": "2026-04-01T17:52:34.7834617-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7d71b5bb-d1ec-4c49-873d-0fbf05fef77e",
"CreateDate": "2026-04-01T17:52:34.7834617-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-01T17:52:34.7834617-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-01T17:52:34.7834617-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "6c9f16a1-d44a-4145-bc7e-d00538656692",
"CreateDate": "2026-04-01T17:52:34.7834617-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-01T17:52:34.7834617-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}