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": "b01ebd41-2c1c-4797-9909-ca1f21b71ede",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "001703a6-2cfb-4a42-80b5-e1d64c6441ee",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "9aad7597-3f7e-4349-a3eb-8ba149a44c77",
"CreateDate": "2026-06-30T11:49:41.348704-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-30T11:49:41.348704-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "54eeafe3-bc0e-4540-bfe8-63a21b89f0fa",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7798643e-a68c-4acb-af97-f2c5363bc4fc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0289ab45-4db3-45c6-bbe7-2a4b4f91fd78",
"CreateDate": "2026-06-30T11:49:41.348704-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:49:41.348704-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "73177a12-4bd9-4d82-b65b-0e13ecae9566",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-30T11:49:41.348704-07:00",
"MeasurementValueNeededDate": "2026-06-30T11:49:41.348704-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "bc44b6b1-9c5b-421b-8109-5793482c053b",
"CreateDate": "2026-06-30T11:49:41.348704-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-30T11:49:41.348704-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-30T11:49:41.348704-07:00",
"MeasurementValueNeededDate": "2026-06-30T11:49:41.348704-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f8ae0c01-cb03-402b-aea3-6bef4d551a36",
"CreateDate": "2026-06-30T11:49:41.348704-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-30T11:49:41.348704-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-30T11:49:41.348704-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "767ef5e7-11a4-42f8-bf36-87c92057d149",
"CreateDate": "2026-06-30T11:49:41.348704-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:49:41.348704-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": "386a2b56-00bc-4cf5-aae4-a77cd69b3bfb",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "2a6ba220-2808-4bbd-a9b2-c647a244c95b",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "2cf52e11-55ec-41e5-a3d2-5a2db30fa4c3",
"CreateDate": "2026-06-30T11:49:41.348704-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-30T11:49:41.348704-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b30f4a2e-8f98-469b-8110-992ff0d318dc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bca775b3-2d87-453a-ab09-1b84814eddc0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "06d3072c-e855-44f8-878f-183bb8074b8a",
"CreateDate": "2026-06-30T11:49:41.348704-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:49:41.348704-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "00f282e2-6c10-4e95-a8d5-314183001212",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-30T11:49:41.348704-07:00",
"MeasurementValueNeededDate": "2026-06-30T11:49:41.348704-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "11841853-275c-4a79-a455-af82eab5b248",
"CreateDate": "2026-06-30T11:49:41.348704-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-30T11:49:41.348704-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-30T11:49:41.348704-07:00",
"MeasurementValueNeededDate": "2026-06-30T11:49:41.348704-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fa17e400-2397-411a-bd8e-b2601679f125",
"CreateDate": "2026-06-30T11:49:41.348704-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-30T11:49:41.348704-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-30T11:49:41.348704-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "1d5bbf85-b6e5-4ec1-819b-3f4d4f7e43b0",
"CreateDate": "2026-06-30T11:49:41.348704-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:49:41.348704-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}