Get Organization Information

Get Organization Information

You can fetch the details about the organization associated with your account using the zoho.crm.invokeConnector() deluge task.

Syntax

<Response> = zoho.crm.invokeConnector("crm.getorg", <parameterMap>);

where,
<Response> is the task response returned as a Map.
<parameterMap> is a mandatory argument for the zoho.crm.invokeConnector() deluge task. In this case, an empty map can be passed as the argument.

Example

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

Response Format

{"status_code":200,"response":"{\"org\":[{\"country\":null,\"photo_id\":null,\"city\":null, \"description\":null,\"mc_status\":false,\"gapps_enabled\":false,\"street\":null,\"alias\":null,
\"id\":\"2853142000000131027\",\"state\":null,\"fax\":null,\"employee_count\":\"1\",\"zip\":null,
\"website\":null,\"currency_symbol\":\"$\",\"mobile\":null,\"currency_locale\":\"en_US\",
\"primary_zuid\":\"650456410\",\"time_zone\":\"IST\",\"zgid\":\"655906806\",\"country_code\":\"US\",
\"license_details\":{\"paid_expiry\":null,\"users_license_purchased\":10,\"trial_type\":null,
\"trial_expiry\":null,\"paid\":true,\"paid_type\":\"enterprise\"},\"phone\":null,\"company_name\":
\"myvcrm\",\"privacy_settings\":false,\"primary_email\":\"developer+test@zohocorp.com\",
\"iso_code\":\"USD\"}]}"}

Share this post : FacebookTwitter

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

Write to us: support@zohodeveloper.com