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": "e4b87db9-4525-4675-84ef-aebcc327e0d3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "75663c14-5990-400c-9476-7b67393d0757",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "ede3c5bc-4467-428d-9c7c-d0b09f8d924a",
"CreateDate": "2026-03-13T13:41:22.9265996-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-13T13:41:22.9265996-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f6eed9e9-537d-4bc7-9656-ca7c1cb5967d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1971401a-0cd1-4930-b36f-439393ad8fd0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d73e52fb-b82b-481b-b606-f8af175abe27",
"CreateDate": "2026-03-13T13:41:22.9265996-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T13:41:22.9265996-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "2a60604d-7ec1-40e0-9f2a-2d49db730f3d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T13:41:22.9265996-07:00",
"MeasurementValueNeededDate": "2026-03-13T13:41:22.9265996-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d06ce54f-1ef4-453b-acf5-4f7cc34cee76",
"CreateDate": "2026-03-13T13:41:22.9265996-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T13:41:22.9265996-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-13T13:41:22.9265996-07:00",
"MeasurementValueNeededDate": "2026-03-13T13:41:22.9265996-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "77338fa1-2054-4c54-9975-a9eeed35268e",
"CreateDate": "2026-03-13T13:41:22.9265996-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T13:41:22.9265996-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-13T13:41:22.9265996-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a1b75651-9c48-4cc4-a63e-675eac114294",
"CreateDate": "2026-03-13T13:41:22.9265996-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T13:41:22.9265996-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": "9ec77e9c-cb1c-4523-aae0-ec620e160fc2",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "058e1788-eee1-40b1-991d-d89cb8a6adbf",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4432420f-56e4-456c-8342-492083b8142a",
"CreateDate": "2026-03-13T13:41:22.9265996-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-13T13:41:22.9265996-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "592acbbc-79b4-46f7-8cf6-1d0c20d668df",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a6720d45-7dcd-4d78-845c-cec07b22c0c1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f7b017d5-7778-491c-9e11-9a6334c6cef4",
"CreateDate": "2026-03-13T13:41:22.9265996-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T13:41:22.9265996-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "3864176c-b6f2-4c9f-ad5d-205e0de9838f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T13:41:22.9265996-07:00",
"MeasurementValueNeededDate": "2026-03-13T13:41:22.9265996-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2dcb1543-4767-4a4d-9da1-8ff4475361bb",
"CreateDate": "2026-03-13T13:41:22.9265996-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T13:41:22.9265996-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-13T13:41:22.9265996-07:00",
"MeasurementValueNeededDate": "2026-03-13T13:41:22.9265996-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "26a6d0e1-dee3-4302-bdd5-725184599601",
"CreateDate": "2026-03-13T13:41:22.9265996-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T13:41:22.9265996-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-13T13:41:22.9265996-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "40b1f204-5a0d-4a1f-86fb-1ea058d706f7",
"CreateDate": "2026-03-13T13:41:22.9265996-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T13:41:22.9265996-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}