/
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"> Update display labels of dropdown items for dropdowns under different languages. </span> <h2>Summary</h2> <span class="lead"> This endpoint is used to update display labels of dropdown items in dropdowns under different languages. </span> <h2>Request Arguments</h2> <table class="table table-hover"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Required</th> </tr> </thead> <tbody> <tr> <td> name </td> <td> string </td> <td> The dropdown name. </td> <td> True </td> </tr> <tr> <td> labels </td> <td> array </td> <td> The new labels grouped by language keys. </td> <td> True </td> </tr> </tbody> </table> <h3>Request Examples</h3> Request example for a dropdown: <pre class="pre-scrollable"> [ { "type": "dropdown", "dropdown": "ai_conv_score_classification_dropdown", "labels": { "de_DE": { "not_likely": "Unwahrscheinlich", "less_likely": "Weniger wahrscheinlich" }, "ja_JP": { "not_likely": "ありそうもない", "less_likely": "可能性が低い" } } } ] </pre> <h4>More Request Payload Examples:</h4> Request example for multiple dropdowns: <pre class="pre-scrollable"> [ { "name": "ai_conv_score_classification_dropdown", "labels": { "de_DE": { "not_likely": "Unwahrscheinlich", "less_likely": "Weniger wahrscheinlich" }, "ja_JP": { "not_likely": "ありそうもない", "less_likely": "可能性が低い" } } }, { "name": "account_type_dom", "labels": { "de_DE": { "Analyst": "Analytiker", "Competitor": "Wettbewerber" }, "ja_JP": { "Analyst": "アナリスト", "Competitor": "競合他社選手" } } } ] </pre> <h3>Response Example</h3> <pre class="pre-scrollable"> [ { "name": "ai_conv_score_classification_dropdown", "labels": { "de_DE": { "not_likely": "Unwahrscheinlich", "less_likely": "Weniger wahrscheinlich" }, "ja_JP": { "not_likely": "ありそうもない", "less_likely": "可能性が低い" } } }, { "name": "account_type_dom", "labels": { "de_DE": { "Analyst": "Analytiker", "Competitor": "Wettbewerber" }, "ja_JP": { "Analyst": "アナリスト", "Competitor": "競合他社選手" } } } ] </pre> <h2>Change Log</h2> <table class="table table-hover"> <tr> <th>Version</th> <th>Change</th> </tr> <tr> <td> v11.13 </td> <td> Added <code>/lang/labels/dropdown/</code> PUT endpoint. </td> </tr> </table>