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": "f36b5920-bae5-45d5-8ea2-ffb1559abcf5",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "82642ee5-1229-4c52-a186-88994dbe17a4",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "bc45d316-5c32-438d-b5f8-9c406c6ab05d",
"CreateDate": "2026-08-29T21:25:11.6651551-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-29T21:25:11.6651551-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "43ca4679-9bd2-425a-8909-38a6afb7dac0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4bfd6a8c-4767-4927-a03d-29abd340b71b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3ed14ef1-5900-472e-b76f-d70e8d68c480",
"CreateDate": "2026-08-29T21:25:11.6651551-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-29T21:25:11.6651551-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "e36d5dad-2fbe-4f0e-ad63-880059edbb00",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-29T21:25:11.6651551-07:00",
"MeasurementValueNeededDate": "2026-08-29T21:25:11.6651551-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "409b4e36-de3a-47b8-8186-92479160d50a",
"CreateDate": "2026-08-29T21:25:11.6651551-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-29T21:25:11.6651551-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-29T21:25:11.6651551-07:00",
"MeasurementValueNeededDate": "2026-08-29T21:25:11.6651551-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "da6e6607-ec0f-4c3d-8e3f-7754280c2f41",
"CreateDate": "2026-08-29T21:25:11.6651551-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-29T21:25:11.6651551-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-29T21:25:11.6651551-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "0123fee5-ee1c-4133-ba08-7072cccdeef9",
"CreateDate": "2026-08-29T21:25:11.6651551-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-29T21:25:11.6651551-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": "4897dc6b-0c7c-42b7-bd06-d56428835b88",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "2a0e3bcf-266e-49a5-901e-7f35a4923015",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "ff3e35a7-5469-4297-a07e-eb37799975c7",
"CreateDate": "2026-08-29T21:25:11.6964064-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-29T21:25:11.6964064-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "07c6905b-8437-42a5-9197-801c7780efb0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1def1072-0319-4bd4-9e3b-6af0cc9f1321",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "529c2724-174e-465c-b7ed-1d2d687de595",
"CreateDate": "2026-08-29T21:25:11.6964064-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-29T21:25:11.6964064-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "fec15490-9d7e-46f3-b1b9-4f08fe9cddfa",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-29T21:25:11.6964064-07:00",
"MeasurementValueNeededDate": "2026-08-29T21:25:11.6964064-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "57f3858a-55d3-4eab-8efe-a592b7890dcb",
"CreateDate": "2026-08-29T21:25:11.6964064-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-29T21:25:11.6964064-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-29T21:25:11.6964064-07:00",
"MeasurementValueNeededDate": "2026-08-29T21:25:11.6964064-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "931d632d-199a-462f-8e1d-80df65f58abf",
"CreateDate": "2026-08-29T21:25:11.6964064-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-29T21:25:11.6964064-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-29T21:25:11.6964064-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d76c95ee-ab0b-4839-8b19-9f982c92dc81",
"CreateDate": "2026-08-29T21:25:11.6964064-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-29T21:25:11.6964064-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}