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": "42db979b-0f6b-44a9-9bb8-25be3f0d3534",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "c340b3c6-eb8b-4c90-a1e7-0dfe4299c43f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "989b49ee-26a0-4297-828a-a6387d67c30b",
"CreateDate": "2026-04-14T09:16:28.3368059-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-14T09:16:28.3368059-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "33a9842f-1f36-40d6-8565-bb0fb801a34d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "99cf3763-dfb3-4e17-ae0a-70ff02309217",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e234cf43-d094-4308-af56-70a37c1a8ffc",
"CreateDate": "2026-04-14T09:16:28.3368059-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-14T09:16:28.3368059-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "297a01b1-dcff-42a0-8935-96e4b63586e6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-14T09:16:28.3368059-07:00",
"MeasurementValueNeededDate": "2026-04-14T09:16:28.3368059-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c0ce9df0-b395-42ae-a265-a8f751ac6de7",
"CreateDate": "2026-04-14T09:16:28.3368059-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-14T09:16:28.3368059-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-14T09:16:28.3368059-07:00",
"MeasurementValueNeededDate": "2026-04-14T09:16:28.3368059-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "da4186a1-f1d5-4fc2-a4e0-eff04a016fff",
"CreateDate": "2026-04-14T09:16:28.3368059-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-14T09:16:28.3368059-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-14T09:16:28.3368059-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a5d8321b-fa94-4252-9353-a3c7f8a64dc7",
"CreateDate": "2026-04-14T09:16:28.3368059-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-14T09:16:28.3368059-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": "ad657662-4148-4ca3-98e8-5551cf89d07a",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "9891b740-bdcf-4dc5-8426-56f58e931967",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "7755fd1e-1f93-4d9b-8358-252a41b6c466",
"CreateDate": "2026-04-14T09:16:28.3368059-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-14T09:16:28.3368059-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "8dd38c74-f088-4dfc-8e23-067d0e7d0971",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "854128b8-9eae-4ec9-a73c-afa21c02861f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "93887405-7d51-42b6-84cc-0e873920bd60",
"CreateDate": "2026-04-14T09:16:28.3368059-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-14T09:16:28.3368059-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "b66f631f-898f-40d2-96b1-bb74803824c1",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-14T09:16:28.3368059-07:00",
"MeasurementValueNeededDate": "2026-04-14T09:16:28.3368059-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f9f0d65c-c901-4051-8acb-9b00af337e07",
"CreateDate": "2026-04-14T09:16:28.3368059-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-14T09:16:28.3368059-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-14T09:16:28.3368059-07:00",
"MeasurementValueNeededDate": "2026-04-14T09:16:28.3368059-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6941efe9-55d7-438d-b390-92dccb314f15",
"CreateDate": "2026-04-14T09:16:28.3368059-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-14T09:16:28.3368059-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-14T09:16:28.3368059-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "44dee12b-c215-43a0-b3de-c3daf030109b",
"CreateDate": "2026-04-14T09:16:28.3368059-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-14T09:16:28.3368059-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}