Get Organisation Information

Get Organisation Information

To retrieve an organisation's complete information using Invoke Connector, the following code snippet can be used in your custom function.

Sample Code

m = map();
resp = zoho.crm.invokeConnector("crm.getorg", m);
info resp;

where,

Map() function is used to map any dynamic value present in the connector to the fields of Zoho CRM.

Sample API Response

Upon executing the custom function, you will get the following API response that returns a complete information of an organisation.

The API response for the case mentioned above is :

{"response":"{\"org\":[{\"country\":null,\"city\":null,\"description\":null,\"mc_status\":false,\"gapps_enabled\":false,\"street\":null,
\"alias\":null,\"id\":\"1300162000000097027\",\"state\":null,\"fax\":null,\"employee_count\":\"1\",\"zip\":null,\"website\":null,
\"currency_symbol\":\"$\",\"mobile\":null,\"currency_locale\":\"en_US\",\"primary_zuid\":\"55836311\",\"time_zone\":\"Asia/
Kolkata\",\"zgid\":\"430942148\",\"country_code\":\"US\",\"license_details\":{\"paid_expiry\":null,\"trial_type\":null,
\"trial_expiry\":null,\"paid\":true,\"paid_type\":\"enterprise\"},\"phone\":null,\"company_name\":\"newapp0807\",\"primary_email\":
\"developer+test@zohocorp.com\",\"iso_code\":\"USD\"}]}","status_code":200}

Share this post :

FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeveloper.com