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": "0f573698-332d-4490-846b-dc994bae0621",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "6bb98251-9a16-4d13-9219-e17b150bad44",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "c28aa196-8d67-43cf-ba7e-089d087e9e45",
"CreateDate": "2026-02-12T01:17:12.6094945-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-12T01:17:12.6094945-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "35e7acf1-6186-4b02-9f63-08fa3432a27e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "6d930876-a1d5-4182-a32f-8b096ff122cd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bd6421a6-ea41-4d0f-9341-af1b9b0cee4c",
"CreateDate": "2026-02-12T01:17:12.6094945-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-12T01:17:12.6094945-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "878d6059-a624-4772-9b32-516b1b524996",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-12T01:17:12.6094945-08:00",
"MeasurementValueNeededDate": "2026-02-12T01:17:12.6094945-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "0c777b03-72c0-4fc3-a73d-86b5a5d3cf82",
"CreateDate": "2026-02-12T01:17:12.6094945-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-12T01:17:12.6094945-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-02-12T01:17:12.6094945-08:00",
"MeasurementValueNeededDate": "2026-02-12T01:17:12.6094945-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "76eb0b37-6dbd-48dc-aa65-4de3738f443f",
"CreateDate": "2026-02-12T01:17:12.6094945-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-12T01:17:12.6094945-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-12T01:17:12.6094945-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "148fdf44-d263-44bf-b8a7-f30efdd873e1",
"CreateDate": "2026-02-12T01:17:12.6094945-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-12T01:17:12.6094945-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": "292aa7f7-b2ba-4afa-8ee7-d93d244e787e",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "86e0c95c-cc05-478a-9510-6c6dc5fbe7e3",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d5d2de38-d0e4-4515-acba-2c36ddce5f61",
"CreateDate": "2026-02-12T01:17:12.6094945-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-12T01:17:12.6094945-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "d4094907-5dc5-4991-8dad-7956b7bb5cf2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "90d83b25-2165-4498-a745-ddae293b5a70",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "36dca9f1-7182-4809-936d-a5339dff3046",
"CreateDate": "2026-02-12T01:17:12.6094945-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-12T01:17:12.6094945-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "26e93cc2-9c0a-41d0-9f96-04f0b079ae4d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-12T01:17:12.6094945-08:00",
"MeasurementValueNeededDate": "2026-02-12T01:17:12.6094945-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "546725c0-bdc3-4fb9-ad52-35e2b8ffc8c6",
"CreateDate": "2026-02-12T01:17:12.6094945-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-12T01:17:12.6094945-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-02-12T01:17:12.6094945-08:00",
"MeasurementValueNeededDate": "2026-02-12T01:17:12.6094945-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7382c57a-f7fc-46b4-8699-639329e6c810",
"CreateDate": "2026-02-12T01:17:12.6094945-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-12T01:17:12.6094945-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-12T01:17:12.6094945-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "3bfae1e6-cdff-431e-81fe-f6d4c2b0ee0d",
"CreateDate": "2026-02-12T01:17:12.6094945-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-12T01:17:12.6094945-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}