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": "3c579b5b-4699-4e11-ad33-eb02696cb2ab",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5022fb72-d9f6-4790-a970-37eb668deff9",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "33d24383-fb0d-40d5-b332-86e9231af3bd",
"CreateDate": "2026-06-13T17:47:03.0659009-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-13T17:47:03.0659009-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "c0d4ecdd-00ba-439d-97a2-9db22ee3c812",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f98ec468-f75e-4d97-8091-0ff773d82a5c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a29f131a-5fe0-4a3b-89f5-ced80ed8b0e3",
"CreateDate": "2026-06-13T17:47:03.0659009-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:47:03.0659009-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "ef8e6747-c9b4-4ebc-9a7a-47fac39e9b8c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-13T17:47:03.0659009-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:47:03.0659009-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "459258ff-015e-42f2-9264-503480c7374a",
"CreateDate": "2026-06-13T17:47:03.0659009-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T17:47:03.0659009-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-13T17:47:03.0659009-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:47:03.0659009-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0b6594ff-4c1c-4890-a49e-7a06f044ed8b",
"CreateDate": "2026-06-13T17:47:03.0659009-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-13T17:47:03.0659009-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-13T17:47:03.0659009-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "9971c5ef-4293-4dd6-9f2d-35f00722111f",
"CreateDate": "2026-06-13T17:47:03.0659009-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:47:03.0659009-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": "b29fa8a4-4c5b-45fa-af68-7b9a44743058",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "dba6b519-0c4b-45de-b51d-92649640bd23",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "bc57ca61-d74b-4337-a9d9-28fcc65bc8f4",
"CreateDate": "2026-06-13T17:47:03.0659009-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-13T17:47:03.0659009-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "e665006f-dc7c-4073-8a03-25c5d2135e43",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0cd34e30-3016-4800-a8d5-2084e19a678f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5eee0ee9-84ea-444e-a7cd-8fbf830f1386",
"CreateDate": "2026-06-13T17:47:03.0659009-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:47:03.0659009-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "3b095adf-62e3-460e-b207-d00f01326e7c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-13T17:47:03.0659009-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:47:03.0659009-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "228e7a36-ccd6-4be5-a78b-5d755b363617",
"CreateDate": "2026-06-13T17:47:03.0659009-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T17:47:03.0659009-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-13T17:47:03.0659009-07:00",
"MeasurementValueNeededDate": "2026-06-13T17:47:03.0659009-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b1ffd5ae-26ed-4ece-9ad5-b14e286e4813",
"CreateDate": "2026-06-13T17:47:03.0659009-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-13T17:47:03.0659009-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-13T17:47:03.0659009-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "f0d1ced4-91b1-4abc-b43a-c184e827027c",
"CreateDate": "2026-06-13T17:47:03.0659009-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T17:47:03.0659009-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}