/
var
/
www
/
html
/
sugardemo
/
include
/
api
/
help
/
Upload File
HOME
<!-- /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then do not * install or use this SugarCRM file. * * Copyright (C) SugarCRM Inc. All rights reserved. */ --> <h2>Overview</h2> <span class="lead"> Vote for Knowledge Base article. </span> <h2>Request Arguments</h2> <span class="lead"> This endpoint does not accept any request arguments. </span> <h2>Response Arguments</h2> <table class="table table-hover"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td> <record field> </td> <td> <record field type> </td> <td> Returns the fields for the updated record. </td> </tr> </tbody> </table> <h3>Response</h3> <pre class="pre-scrollable"> { "active_date": "2014-01-01", "active_rev": 1, "approved": false, "assigned_user_id": "seed_will_id", "assigned_user_link": {"full_name": "Will Westin", "id": "seed_will_id"}, "assigned_user_name": "Will Westin", "attachment_list": [], "cases": {"name": "", "id": ""}, "category_id": "3e844f1c-5ce1-6d6d-496d-5714901e6666", "category_name": "Database", "created_by": "1", "created_by_link": {"full_name": "Administrator", "id": "1"}, "created_by_name": "Administrator", "date_entered": "2016-04-18T07:43:43+00:00", "date_modified": "2016-04-18T07:43:43+00:00", "deleted": false, "description": "", "exp_date": "2014-12-31", "file_mime_type": "", "following": false, "id": "87758ab5-75eb-451f-2bd7-571490d29d7a", "is_external": false, "kbarticle_id": "8862943c-022e-0385-908e-5714908ac792", "kbarticle_name": "Resetting the device", "kbarticles_kbcontents": {"name": "Resetting the device", "id": "8862943c-022e-0385-908e-5714908ac792"}, "kbdocument_body": "<p>When things are not working as expected...</p>", "kbdocument_id": "87a20b6b-3172-ad19-0ca5-571490bec118", "kbdocument_name": "Resetting the device", "kbdocuments_kbcontents": {"name": "Resetting the device", "id": "87a20b6b-3172-ad19-0ca5-571490bec118"}, "kbsapprover_id": "", "kbsapprover_name": "", "kbsapprovers_kbcontents": {"full_name": "", "id": ""}, "kbscase_id": "", "kbscase_name": "", "language": "en", "modified_by_name": "Administrator", "modified_user_id": "1", "modified_user_link": {"full_name": "Administrator", "id": "1"}, "my_favorite": false, "name": "Resetting the device", "notuseful": 1 "related_languages": ["en"], "revision": 1 "status": "in-review", "tag": [], "team_count": "", "team_count_link": {"team_count": "", "id": "1"}, "team_name": [{"id": 1, "name": "Global", "name_2": "", "primary": true}], "useful": 0, "usefulness_user_vote": "-1", "viewcount": 4 } </pre> <h2>Change Log</h2> <table class="table table-hover"> <thead> <tr> <th>Version</th> <th>Change</th> </tr> </thead> <tbody> <tr> <td> v10 </td> <td> Added <code>/KBContents/:record/useful</code> PUT endpoint. </td> </tr> <tr> <td> v10 </td> <td> Added <code>/KBContents/:record/notuseful</code> PUT endpoint. </td> </tr> </tbody> </table>