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": "970d6567-cfd5-4a73-bbec-9b4df58efc79",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "779a790a-de2e-4468-a17c-4d7ee44e11fd",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "5e281e98-b2b6-46ab-ad37-ee2207c18545",
"CreateDate": "2026-05-20T22:12:25.8469902-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-20T22:12:25.8469902-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "93830191-f55f-44c5-9899-202230249ac4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "fc251937-1fd7-4a31-a6f0-49b92cbb35d9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b539aea8-9948-495b-89dd-446c69a34d21",
"CreateDate": "2026-05-20T22:12:25.8469902-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T22:12:25.8469902-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "dc19673d-e6c0-499e-9908-337f92850da3",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-20T22:12:25.8469902-07:00",
"MeasurementValueNeededDate": "2026-05-20T22:12:25.8469902-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c62a54df-3afc-4d9e-9042-a2afeb6e7058",
"CreateDate": "2026-05-20T22:12:25.8469902-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T22:12:25.8469902-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-05-20T22:12:25.8469902-07:00",
"MeasurementValueNeededDate": "2026-05-20T22:12:25.8469902-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "105a4d40-ee32-4bd4-914d-842f747d36b4",
"CreateDate": "2026-05-20T22:12:25.8469902-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-20T22:12:25.8469902-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-20T22:12:25.8469902-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "10292cfb-c038-4293-a432-4dc15fca3b2d",
"CreateDate": "2026-05-20T22:12:25.8469902-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T22:12:25.8469902-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": "2065e1e0-13fd-41cd-9117-2ef73f606958",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "56e9918f-5ddd-4f25-80ce-df00d6b23bf4",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "12b622be-b0b9-4731-b041-8a47b95d8102",
"CreateDate": "2026-05-20T22:12:25.8469902-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-20T22:12:25.8469902-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "6cb6323c-3567-4fd6-bfd5-085f32af4890",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b8c3867b-7166-45a7-aa5c-9b4de920f959",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a385870a-8277-44cd-a325-346445800b2c",
"CreateDate": "2026-05-20T22:12:25.8469902-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T22:12:25.8469902-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "e622cd7d-a461-436e-afc3-519c1eb5b1b7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-20T22:12:25.8469902-07:00",
"MeasurementValueNeededDate": "2026-05-20T22:12:25.8469902-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "de4bf183-606a-44b4-b062-006710c4a4ac",
"CreateDate": "2026-05-20T22:12:25.8469902-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T22:12:25.8469902-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-05-20T22:12:25.8469902-07:00",
"MeasurementValueNeededDate": "2026-05-20T22:12:25.8469902-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d3524fc5-900e-4573-ba31-85f7cc482042",
"CreateDate": "2026-05-20T22:12:25.8469902-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-20T22:12:25.8469902-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-20T22:12:25.8469902-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "f7609121-aad8-4511-bfd8-1cc441f28cd6",
"CreateDate": "2026-05-20T22:12:25.8469902-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T22:12:25.8469902-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}