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": "cac81429-b417-4547-85ab-8922a403afba",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "002a0982-a68c-4f22-a137-97549b73ba5c",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "c28a6f41-82f6-499a-b788-05b88f483902",
"CreateDate": "2026-03-03T08:08:28.2805933-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-03T08:08:28.2805933-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "0c3b4a0c-2ff7-4893-be6f-526b7491d84f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c3cb8995-e672-45bf-93c9-ae086a023cef",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "af6b79a6-d42d-4b05-97ca-ffa84482870a",
"CreateDate": "2026-03-03T08:08:28.2805933-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-03T08:08:28.2805933-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "2fe7248c-c30f-4d93-818e-dc7c554ffdd2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-03T08:08:28.2805933-08:00",
"MeasurementValueNeededDate": "2026-03-03T08:08:28.2805933-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9101b9b4-4249-4e96-9277-4e179abc9a92",
"CreateDate": "2026-03-03T08:08:28.2805933-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-03T08:08:28.2805933-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-03T08:08:28.2805933-08:00",
"MeasurementValueNeededDate": "2026-03-03T08:08:28.2805933-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bfa1f6f5-5f7e-46cd-abff-cde1d48ecc89",
"CreateDate": "2026-03-03T08:08:28.2805933-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-03T08:08:28.2805933-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-03T08:08:28.2805933-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "de6c14a1-ea34-4d0b-93df-05766b593944",
"CreateDate": "2026-03-03T08:08:28.2805933-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-03T08:08:28.2805933-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": "fb27b887-ee95-4b50-b7b8-d046aeee7a1d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "2564945a-0f7e-4ea4-b7ea-7012dab0e864",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d8749a99-ebbc-4265-bf5c-075d5f37e2ee",
"CreateDate": "2026-03-03T08:08:28.2805933-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-03T08:08:28.2805933-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "27069fb8-6770-4efb-ac25-37ac91c24807",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "afb54a95-31e0-4ad5-91bf-5e7e08a19473",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8cba119b-e714-45ec-a186-d6137a6f7837",
"CreateDate": "2026-03-03T08:08:28.2805933-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-03T08:08:28.2805933-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "ed2a7167-6008-49d6-9cba-226cc8578b9a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-03T08:08:28.2805933-08:00",
"MeasurementValueNeededDate": "2026-03-03T08:08:28.2805933-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d7d6076e-90e0-4e46-8777-ff6ff41db9bb",
"CreateDate": "2026-03-03T08:08:28.2805933-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-03T08:08:28.2805933-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-03T08:08:28.2805933-08:00",
"MeasurementValueNeededDate": "2026-03-03T08:08:28.2805933-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1d8ef2a2-77e5-409c-89cc-9ae8e82878f1",
"CreateDate": "2026-03-03T08:08:28.2805933-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-03T08:08:28.2805933-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-03T08:08:28.2805933-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "21fe67c5-394f-405b-b5e9-b31a02a2ac62",
"CreateDate": "2026-03-03T08:08:28.2805933-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-03T08:08:28.2805933-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}