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": "7de17b8c-de28-4f3b-b783-b3fa554445e3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "188b5405-4384-4ebe-a173-b38d7a619b27",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "351a4443-07c7-46db-b751-4ed280ef7178",
"CreateDate": "2026-06-25T14:29:46.3342862-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-25T14:29:46.3342862-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b4af9b47-db0e-43f0-8202-2d519b0a7148",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "e85ee649-19c9-48bf-b7f2-b71f6be1a4b9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "01efb059-cf75-4c84-8cd1-92178ae16325",
"CreateDate": "2026-06-25T14:29:46.3342862-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T14:29:46.3342862-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "11edbdae-e1f7-4986-82e5-7cef6f35f20f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-25T14:29:46.3342862-07:00",
"MeasurementValueNeededDate": "2026-06-25T14:29:46.3342862-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e3773a54-548e-45ff-abf4-3f1ee2677b3c",
"CreateDate": "2026-06-25T14:29:46.3342862-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T14:29:46.3342862-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-25T14:29:46.3342862-07:00",
"MeasurementValueNeededDate": "2026-06-25T14:29:46.3342862-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b8504f0f-18d3-42ca-a706-d540313d7bb0",
"CreateDate": "2026-06-25T14:29:46.3342862-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-25T14:29:46.3342862-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-25T14:29:46.3342862-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "63c2c32e-daec-4832-89ec-09ae1cc900e2",
"CreateDate": "2026-06-25T14:29:46.3342862-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T14:29:46.3342862-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": "587ed1a6-1427-4f04-9dbf-232a1801687e",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "b65e7b8b-c744-4c55-afbf-5ebec88bb9b1",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "8ee891c7-237c-4292-b988-44fc571ba193",
"CreateDate": "2026-06-25T14:29:46.3342862-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-25T14:29:46.3342862-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "0ed70bab-0ee0-42f7-bf16-065add0b1558",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "701ae183-7dd1-43cc-b70c-5ea6be3e9d25",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "343d792b-b78d-4093-ae09-4c165333ddf8",
"CreateDate": "2026-06-25T14:29:46.3342862-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T14:29:46.3342862-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "69b456bb-66f2-4b2c-97a2-8ccc71d7c537",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-25T14:29:46.3342862-07:00",
"MeasurementValueNeededDate": "2026-06-25T14:29:46.3342862-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3d3ebda7-a7a6-4d7b-b803-6b237b372de5",
"CreateDate": "2026-06-25T14:29:46.3342862-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T14:29:46.3342862-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-25T14:29:46.3342862-07:00",
"MeasurementValueNeededDate": "2026-06-25T14:29:46.3342862-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "08b56063-76da-40f0-903e-70131b2742f1",
"CreateDate": "2026-06-25T14:29:46.3342862-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-25T14:29:46.3342862-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-25T14:29:46.3342862-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "88899aae-2f4a-4db6-93ce-44cd9f6f4cd9",
"CreateDate": "2026-06-25T14:29:46.3342862-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T14:29:46.3342862-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}