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": "ea761c01-3fd5-4c91-a7bb-2fa66f634d3c",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "9f975329-9967-446d-a2ab-04b2937d8646",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d7c1ca8b-20b8-4f8d-baad-65506ee490d1",
"CreateDate": "2026-10-27T23:46:35.4238664-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-27T23:46:35.4238664-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5debab6e-5506-4bc0-b747-9a4985fd955b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "dbe9c274-f4aa-4a15-8672-d608e6fd8893",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "786bd869-db10-448c-adff-66e0cb1285f2",
"CreateDate": "2026-10-27T23:46:35.4238664-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T23:46:35.4238664-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "cd0b3ec8-c455-4d82-9286-753fb57eeaa4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-27T23:46:35.4238664-07:00",
"MeasurementValueNeededDate": "2026-10-27T23:46:35.4238664-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "37e17701-318c-4c22-a7bf-ca705ec9b9b0",
"CreateDate": "2026-10-27T23:46:35.4238664-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T23:46:35.4238664-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-27T23:46:35.4238664-07:00",
"MeasurementValueNeededDate": "2026-10-27T23:46:35.4238664-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "813517b1-04aa-4687-9988-00a3cab32a33",
"CreateDate": "2026-10-27T23:46:35.4238664-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-27T23:46:35.4238664-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-27T23:46:35.4238664-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ad9b61c9-a1e9-485a-a27c-2dd4b192a04e",
"CreateDate": "2026-10-27T23:46:35.4238664-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T23:46:35.4238664-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": "151a3f10-4e5b-4d69-8429-659a6eaf5ec7",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5a3ff40a-6da5-496d-96e4-ae404baebc62",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4f31a9f4-9d4d-44fe-976b-ac106a1ae553",
"CreateDate": "2026-10-27T23:46:35.4238664-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-27T23:46:35.4238664-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4bef372c-6cf3-40f9-af49-32e5656efc0a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c526627c-fd60-45b4-bb09-7ab30f10b1c7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fd5c137c-db2b-483c-9ca2-e4c6305fcf81",
"CreateDate": "2026-10-27T23:46:35.4238664-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T23:46:35.4238664-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "40e0b1be-1e85-4392-9afa-f56aac1f4128",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-27T23:46:35.4238664-07:00",
"MeasurementValueNeededDate": "2026-10-27T23:46:35.4238664-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "87bf7a09-3452-4879-b8a7-2f47228d6b07",
"CreateDate": "2026-10-27T23:46:35.4238664-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T23:46:35.4238664-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-27T23:46:35.4238664-07:00",
"MeasurementValueNeededDate": "2026-10-27T23:46:35.4238664-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c4afea7a-4df5-48a7-b625-81e522322f62",
"CreateDate": "2026-10-27T23:46:35.4238664-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-27T23:46:35.4238664-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-27T23:46:35.4238664-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "92a238d6-f9f2-48cb-a9bb-798b55f7bce6",
"CreateDate": "2026-10-27T23:46:35.4238664-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T23:46:35.4238664-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}