... a lowercase Connection Link name
Select the scopes: ZohoCreator.form.CREATE and ZohoCreator.report.CREATE
Click on Create and Connect > Note the connection link name (if you've already forgotten)
...
...
= zoho.bookings.getAvailableSlots(, , , );
Set up your connector with the following scope:
zohobookings.data.CREATE
Get the workspaces:
//
// get workspaces
r_WorkspaceResults ...
... time and then push the creator record to Zoho Projects.
How?
For the following example, you will need to have setup a Zoho Oauth Connection with the appropriate authorized scopes and have access ...
... Name (type: Single Line)
File Ref (type: Single Line)
Expiry Date Time (type: Date-Time)
File Download (type: File upload)
Create a connection in the Creator app with the scope: ZohoCRM.modules.ALL ...
...
Click on Get Started / Add New Connection
Click on the "Zoho OAuth" icon
Enter a Connection name (for this example I will call it "CRM API v2")
Select the appropriate scope(s):
ZohoCRM.coql.READ ...
... in code later (preferably in lowercase as it will lowercase it anyway)
Scope: Enter each scope you need and click on the plus icon to add each one.
Keep "Use credentials of login user" ticked.
You ...
... it "myconnector".
Ensure that as a minimum, the scope ZohoBooks.salesorders.CREATE is ticked.
Click on "Authorize"
Read the notice saying Creator would like access to bla bla bla and click on "Accept" ...
... it this way apparently. So setup a Zoho Oauth connector (see the end of this article if you don't know how), I'm going to call mine myZohoConnector, with the scope:
ZohoCRM.settings.fields.READ
Then ...
What?
A quick article on converting a Map (associative array with keys and values) into a URL string to pass as URL parameters.
How?
Let's first define a map:
m_Payload = Map();
m_Payload.put("client_id","my-unique-client-id");
m_Payload.put("redirect_uri","https://www.joellipman.com");
m_Payload.put("response_type","code");
m_Payload.put("scope","my_api_scopes");
m_Payload.put("prompt","login");
Great! ...
... Login to ZohoCRM as Administrator > Setup > Developer Space > Connections > Add Connection > Give it a name and then select Scopes > and get ERROR_invalid_operation_type
Solution: Remove some scopes and ...
... does not redirect or reformat the resulting URL
//
// get Grant Token
v_EndPoint = "https://accounts.zoho.com/oauth/v2/auth";
v_Scope = "ZohoBooks.contacts.ALL,ZohoBooks.invoices.ALL,ZohoBooks.purchaseorders.ALL";
v_State ...
... being deprecated (end of life at the end of this year). So I'm familiar with the methods in API v2 or just using newer functions.
Method #1: API v1
userResp = getUrl(("https://crm.zoho.com/crm/private/xml/Users/getUsers?authtoken=xxxxxxxxxxx&scope=crmapi&type=ActiveUsers"));
users ...
... AuthToken:
Browser Mode: Open a browser to https://accounts.zoho.com/apiauthtoken/create?SCOPE=ZohoCreator/creatorapi
OR API Mode: https://accounts.zoho.com/apiauthtoken/nb/create?SCOPE=ZohoCreator/creatorapi&EMAIL_ID=&PASSWORD= ...
...
Enter the scope URL in the field One or More API Scopes (eg. https://www.googleapis.com/auth/drive)
Click Authorize
$api['gdrive']['impersonator'] = "";
3. Google Endpoints
Only ...
What?
This is an article documenting how to access ZohoCRM with API v2 using PHP and cURL. The first few functions are to manage OAuth v2 and generate the refresh and access tokens. The second snippet ...
... "Enabled the Drive API" via your Google Developers console as well as gotten your OAuth 2.0 access/refresh tokens and specified the appropriate scopes.
The scopes I chose were to do with getting a ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.