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": "612f82e0-d51c-41db-bff1-abc58a486fd6",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5f846d80-fee0-44d0-b407-b92551c7b52d",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "34df26ee-15a6-4045-9dab-188b470c4b9f",
"CreateDate": "2026-08-09T23:43:42.1537317-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-09T23:43:42.1537317-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f70ebb3b-6d02-4017-9305-defbd91c0a1d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7aeea84d-1e53-40f4-98ed-ac7e7c520410",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "78c1a4e4-efeb-4633-bd8c-bb00556d3fe9",
"CreateDate": "2026-08-09T23:43:42.1537317-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:43:42.1537317-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "da0d843a-ba20-4f37-9b7e-8bad01c96f48",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-09T23:43:42.1537317-07:00",
"MeasurementValueNeededDate": "2026-08-09T23:43:42.1537317-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "14d94193-4f94-4ad8-b2df-432d687ee1d8",
"CreateDate": "2026-08-09T23:43:42.1537317-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:43:42.1537317-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-09T23:43:42.1537317-07:00",
"MeasurementValueNeededDate": "2026-08-09T23:43:42.1537317-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "955ab67c-c9d2-4a2a-8f0c-420c851ff170",
"CreateDate": "2026-08-09T23:43:42.1537317-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-09T23:43:42.1537317-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-09T23:43:42.1537317-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "dd57f3e2-ddd0-4d4a-a8a3-b0e738a490b5",
"CreateDate": "2026-08-09T23:43:42.1537317-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:43:42.1537317-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": "c25be899-0c82-4239-91b6-927a3f5ef489",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "b60a7ef3-eb01-4641-abdf-047b0cfe3d32",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4f965d33-809a-4b0c-8e53-fc6ff13fbb12",
"CreateDate": "2026-08-09T23:43:42.1537317-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-09T23:43:42.1537317-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4480db9d-ae82-4353-923b-3b5e83e5eefa",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "23a80ed1-bd13-4478-b97c-cb4a3ff22f78",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bba9bc89-98d8-4ffd-b2dc-dcf2e857324c",
"CreateDate": "2026-08-09T23:43:42.1537317-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:43:42.1537317-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "7f772e25-1634-4556-9bda-c5bd1b3fd593",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-09T23:43:42.1537317-07:00",
"MeasurementValueNeededDate": "2026-08-09T23:43:42.1537317-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f789c833-5d9b-42c8-a44b-2939eeabf154",
"CreateDate": "2026-08-09T23:43:42.1537317-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:43:42.1537317-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-09T23:43:42.1537317-07:00",
"MeasurementValueNeededDate": "2026-08-09T23:43:42.1537317-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "65c9f96b-b50d-4a38-94c3-b69d7606d20a",
"CreateDate": "2026-08-09T23:43:42.1537317-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-09T23:43:42.1537317-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-09T23:43:42.1537317-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a2c995a0-c1bb-453a-9abd-19f7c8a7d67f",
"CreateDate": "2026-08-09T23:43:42.1537317-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:43:42.1537317-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}