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": "2e33f190-9408-4362-a9d5-a480efdb56c5",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ef8ecc4c-7405-4acd-b500-47676f5f04d7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "375d2dbd-1a1f-42e2-a829-78d5f9db7382",
"CreateDate": "2026-11-19T01:24:21.3184189-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-19T01:24:21.3184189-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "3e0f28db-f646-45e1-b27b-46ec36532b70",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "dc916941-c455-47c0-90e4-5be805a980b6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "63082ce4-c92d-402b-a3e4-36ac985bd5d0",
"CreateDate": "2026-11-19T01:24:21.3184189-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-19T01:24:21.3184189-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "3e0512f9-0b8b-46bc-a27d-cd930421f5fb",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-19T01:24:21.3184189-08:00",
"MeasurementValueNeededDate": "2026-11-19T01:24:21.3184189-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "da1d7aaa-bc93-457d-a753-d1dce10abb28",
"CreateDate": "2026-11-19T01:24:21.3184189-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-19T01:24:21.3184189-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-19T01:24:21.3184189-08:00",
"MeasurementValueNeededDate": "2026-11-19T01:24:21.3184189-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cd1b85e2-2e87-45b0-994e-4551fc6f0322",
"CreateDate": "2026-11-19T01:24:21.3184189-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-19T01:24:21.3184189-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-19T01:24:21.3184189-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "04a73872-ffdb-4492-a7e9-79f24e254bd3",
"CreateDate": "2026-11-19T01:24:21.3184189-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-19T01:24:21.3184189-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": "e289b081-b7e3-45c2-aaa0-c9ffc6493406",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "2577433b-0561-48c6-a6c1-c543c8714461",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "14af509e-428c-435b-9624-15b6e75c9d86",
"CreateDate": "2026-11-19T01:24:21.3184189-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-19T01:24:21.3184189-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "ed5ad58b-939f-4e79-b460-a0249b6f54bb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "84947493-9945-42e3-b22a-6d2c0548139d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "dc169961-3923-44fe-92d3-4de07361d51e",
"CreateDate": "2026-11-19T01:24:21.3184189-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-19T01:24:21.3184189-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "db959fc1-a8be-42f4-8e76-cfd61d25fee6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-19T01:24:21.3184189-08:00",
"MeasurementValueNeededDate": "2026-11-19T01:24:21.3184189-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cac735dc-b5c7-43ac-8eb6-97de2c4099ad",
"CreateDate": "2026-11-19T01:24:21.3184189-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-19T01:24:21.3184189-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-19T01:24:21.3184189-08:00",
"MeasurementValueNeededDate": "2026-11-19T01:24:21.3184189-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8f794031-a4e7-4012-80c5-bf84c84df928",
"CreateDate": "2026-11-19T01:24:21.3184189-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-19T01:24:21.3184189-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-19T01:24:21.3184189-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "c856bd83-ee70-47b3-9fd3-7cacc8e7f725",
"CreateDate": "2026-11-19T01:24:21.3184189-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-19T01:24:21.3184189-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}