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
AttachmentName | 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": "76b3a12c-1f39-42c4-8766-aef0a0d11cd5", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "100c0017-e249-4c3d-8528-86fcdaa794ab", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "c259d903-e74b-4cf8-8369-b0ba138ab6df", "CreateDate": "2025-06-22T22:58:38.7093674-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-22T22:58:38.7093674-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "2685ed58-12ec-4a11-bfc9-39a8f8c9c851", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "87259f55-383f-4fe7-ad80-5890cddd9732", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "04c09d94-3cb6-43a9-abf1-ea3f6e05e53c", "CreateDate": "2025-06-22T22:58:38.7093674-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-22T22:58:38.7093674-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "12b8d11b-0716-4552-91d5-c89944d49711", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-22T22:58:38.7093674-07:00", "MeasurementValueNeededDate": "2025-06-22T22:58:38.7093674-07:00", "SourceSystemId": "sample string 3", "CompanyId": "d0e46966-62c0-4458-998a-0e1e3b23760a", "CreateDate": "2025-06-22T22:58:38.7093674-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-22T22:58:38.7093674-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-22T22:58:38.7093674-07:00", "MeasurementValueNeededDate": "2025-06-22T22:58:38.7093674-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c606d9f3-4c76-4edb-9c6c-6a21e28fd9d5", "CreateDate": "2025-06-22T22:58:38.7093674-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-22T22:58:38.7093674-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-22T22:58:38.7093674-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "99495223-590c-4cd4-b9cc-059708d3b1d4", "CreateDate": "2025-06-22T22:58:38.7093674-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-22T22:58:38.7093674-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": "5197d736-312c-4ed1-9615-225625ac70e8", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "3ba4b71e-58bb-4607-a5a3-e683238a5a59", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "1f5ff348-4eed-431d-8348-8bd64a4b7c88", "CreateDate": "2025-06-22T22:58:38.7093674-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-22T22:58:38.7093674-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "837f9418-d35d-4704-a6a0-732c50cf74e6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7be0a3b5-63f5-4954-9b89-5857f002aff1", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6e63b906-07dc-41db-8114-abd45bb424ce", "CreateDate": "2025-06-22T22:58:38.7093674-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-22T22:58:38.7093674-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "b389143b-0703-4785-a17a-270ae217eb91", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-22T22:58:38.7093674-07:00", "MeasurementValueNeededDate": "2025-06-22T22:58:38.7093674-07:00", "SourceSystemId": "sample string 3", "CompanyId": "c43e258b-6334-46e6-b401-29dd3d247c97", "CreateDate": "2025-06-22T22:58:38.7093674-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-22T22:58:38.7093674-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-22T22:58:38.7093674-07:00", "MeasurementValueNeededDate": "2025-06-22T22:58:38.7093674-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "0c83d098-f076-4200-b85b-93a05cedcb3d", "CreateDate": "2025-06-22T22:58:38.7093674-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-22T22:58:38.7093674-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-22T22:58:38.7093674-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "76f9c73f-f404-4552-ac73-ed1b59857959", "CreateDate": "2025-06-22T22:58:38.7093674-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-22T22:58:38.7093674-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }