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": "d6e82cdf-8f18-4933-9682-682a251713ac",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "4823f30e-e94b-47e1-9851-688cb0250668",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "58289dea-5711-4e2d-b1ed-feb95e54a3ae",
"CreateDate": "2025-12-30T08:52:32.306734-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-30T08:52:32.306734-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5ad6f39e-e061-491c-866b-7b7c683636ef",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f4979a6d-a28a-4b06-93d3-7c036d80f538",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a6b84f27-a51b-4e33-ac5d-863e51185716",
"CreateDate": "2025-12-30T08:52:32.306734-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:52:32.306734-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "9b0d7477-cf14-4ac1-99c2-d0898acb0ea6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-30T08:52:32.306734-08:00",
"MeasurementValueNeededDate": "2025-12-30T08:52:32.306734-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ffd752ca-1f16-44d3-9ad4-13907c366c5a",
"CreateDate": "2025-12-30T08:52:32.306734-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-30T08:52:32.306734-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-30T08:52:32.306734-08:00",
"MeasurementValueNeededDate": "2025-12-30T08:52:32.306734-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "77810558-2d81-46b5-8766-2ddeb31604d7",
"CreateDate": "2025-12-30T08:52:32.306734-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-30T08:52:32.306734-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-30T08:52:32.306734-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d754f77f-c14e-4c93-a641-a30766c8d4e4",
"CreateDate": "2025-12-30T08:52:32.306734-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:52:32.306734-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": "2ee5001f-9498-4ea8-a9fe-5194042eccb4",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "444a4012-634e-4e2b-915c-92d79d92c414",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d480d994-9e64-4352-804d-51df6f809289",
"CreateDate": "2025-12-30T08:52:32.306734-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-30T08:52:32.306734-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "490bdf70-ed74-4034-b158-177af2530438",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a3e76af0-cecf-4507-b7e4-1aa787ff7b73",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "72aa533f-0129-4676-8126-4aaa26b529a3",
"CreateDate": "2025-12-30T08:52:32.306734-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:52:32.306734-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "d0e21531-2975-4b2f-a554-0629c612ac9a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-30T08:52:32.306734-08:00",
"MeasurementValueNeededDate": "2025-12-30T08:52:32.306734-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "158d5456-2a1e-43ef-8857-0a88c26c8316",
"CreateDate": "2025-12-30T08:52:32.306734-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-30T08:52:32.306734-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-30T08:52:32.306734-08:00",
"MeasurementValueNeededDate": "2025-12-30T08:52:32.306734-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "209cd0ff-b908-42a4-a10d-80fb16539ca8",
"CreateDate": "2025-12-30T08:52:32.306734-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-30T08:52:32.306734-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-30T08:52:32.306734-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "7d846191-43c4-49be-9c22-0635ec9fb734",
"CreateDate": "2025-12-30T08:52:32.306734-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T08:52:32.306734-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}