/
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="contact"> Creates a new Contact. </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> <record field> </td> <td> <record field type> </td> <td> The name value list of fields to populate. </td> <td> True </td> </tr> </tbody> </table> <h3>Request</h3> <pre class="pre-scrollable"> { "first_name":"John", "last_name":"Doe", "email":[ { "email_address":"abc@sugarcrm.com", "primary_address":"1" } ], "portal_user_company_name":"ABC Inc.", "portal_name":"pn1", "portal_password":"asdf", "portal_password1":"asdf", } </pre> <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 a contact id string. </td> </tr> </tbody> </table> <h3>Response</h3> <pre class="pre-scrollable"> "ecba9f86-4a4a-def6-359c-505a5b33f014" </pre> <h2>Change Log</h2> <table class="table table-hover"> <tr> <th>Version</th> <th>Change</th> </tr> <tr> <td> v11_6 </td> <td> Added <code>/Contacts/register?platform=portal</code> POST endpoint. </td> </tr> </table>