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": "b3282a5a-f528-435e-baae-f4d95f4941b2",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "0d17a219-a64f-427b-bbad-a0178335464f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "6c3f73f3-52d2-4199-af20-1242ffc87115",
"CreateDate": "2026-09-28T18:03:31.9671264-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-28T18:03:31.9671264-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "df98ad3b-e5e1-4564-aa7f-c6b6be7a0897",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f4a30931-1ffe-44e5-8f3b-681de777a251",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b18c4d67-d3dd-46e5-8743-aa64c38c01ec",
"CreateDate": "2026-09-28T18:03:31.9671264-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T18:03:31.9671264-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "464e785e-1140-48cc-885d-98085761e725",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-28T18:03:31.9671264-07:00",
"MeasurementValueNeededDate": "2026-09-28T18:03:31.9671264-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ad2f1cee-8bf2-42c8-b6ba-0ca4e29a482c",
"CreateDate": "2026-09-28T18:03:31.9671264-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-28T18:03:31.9671264-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-28T18:03:31.9671264-07:00",
"MeasurementValueNeededDate": "2026-09-28T18:03:31.9671264-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "61d9c039-d4ab-4f86-a4ad-a22274ceeb64",
"CreateDate": "2026-09-28T18:03:31.9671264-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-28T18:03:31.9671264-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-28T18:03:31.9671264-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "8f7ad58a-129f-4dac-b8db-b99679606c3c",
"CreateDate": "2026-09-28T18:03:31.9671264-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T18:03:31.9671264-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": "e33f505d-759d-49f1-b086-fb658e24215b",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3d664f07-e4e1-47be-b4f4-43d3aeda2f81",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "a23a1809-6a8c-4528-a58a-651decd5e7e2",
"CreateDate": "2026-09-28T18:03:31.9671264-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-28T18:03:31.9671264-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "78648052-6f9c-45cf-a6bb-82af2303529e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1ff7e27e-7f94-4890-a4e7-780d6f1175aa",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4be86f46-eb90-46bf-9d2c-1c4fed2f4a29",
"CreateDate": "2026-09-28T18:03:31.9671264-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T18:03:31.9671264-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "c005ef6d-459a-492a-b6dc-5faaa1d65e05",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-28T18:03:31.9671264-07:00",
"MeasurementValueNeededDate": "2026-09-28T18:03:31.9671264-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d7c81eb1-caa2-402a-85a7-2f6916912e0a",
"CreateDate": "2026-09-28T18:03:31.9671264-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-28T18:03:31.9671264-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-28T18:03:31.9671264-07:00",
"MeasurementValueNeededDate": "2026-09-28T18:03:31.9671264-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cc57db0c-857c-4e99-8ab3-2c34cf547b1e",
"CreateDate": "2026-09-28T18:03:31.9671264-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-28T18:03:31.9671264-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-28T18:03:31.9671264-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ae237ec0-f8c6-46ef-a780-f4bd9031757a",
"CreateDate": "2026-09-28T18:03:31.9671264-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T18:03:31.9671264-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}