How can I use the REST APIs for the approval process on the salesforce cloud?
It is driving me crazy, any help will be appreciated.
The REST API doesn't currently support any approval process operations, you'd have to use the soap API.
You can now (since API version 30.0). See the REST API Developer's Guide.
Related
I have to implement an API call to the Salesforce service described here: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/requests_ls_getappointmentcandidates.htm
This is a standard Salesforce rest API, not an Apex class. I found plenty of examples using the connector with Apex classes but none using the standard APIs
Could I use the Mulesoft 4 Salesforce Connector to do that? Which operation is the best suited?
MuleSoft Salesforce connector doesn't let you call specific REST APIs. It provides high level operations that might be implemented by calling REST APIs or some other service. For the REST API that you are pointing to it looks that it is related to Marketing Cloud, so you should look to the MuleSoft Salesforce Marketing Cloud connector documentation.
If you prefer to do the HTTP REST API call directly then you can use the HTTP Connector.
I am using a Mulesoft Salesforce connector for the integration of a system with Salesforce. To achieve it I was calling three-time Salesforce for an operation such as to get assets from Salesforce by using HTTP connector
to get token
to get salesforce API version
the actual rest API call
to avoid three calls I used a Salesforce connector that is easy to configure and easy to use.
My question is here now that what is the best way for it? using HTTP call three times or a salesforce connector?
We did it using Salesforce connector and in MuleSoft I would say that's the best way to do it. It simplifies the whole process by handling the OAuth token services etc.
As Salesforce bought MuleSoft I believe there will be seemless integration options will come in future. There are many already.
That connector is just a wrapper over those multiple http calls actually.
I want to integrate Proactive Event API and Reminder API into Alexa skills. I saw some examples using aws lambda. I want to know if i can use it using my own service?
You can yes - it's just an HTTP call so you can do that from wherever works best for your infrastructure/skill. Please refer to the documentation here:
Reminders API
Proactive Events
I would highly recommend using the ASK SDK to develop your skill as it handles authentication for you among other things.
See this tutorial with a live code video on how to integrate the RemindersAPI using the ASK SDK for Node.js.
I have been developing an online accounting software which is a web application. We use Secured Google Cloud Endpoints in our project. Now I would like to securely access those endpoints in phonegap. So, for that I would like to do OAuth2.0(google) and access my API securely. I have been struggling for a while to find good JavaScript Client Libraries to access my Secured API in phoneGap.
Please help me...
Any replies would be appreciated.
Finally After some struggle I have figured out the solution. If we are trying to do Google OAuth in phone gap its better to use normal JQuery and for calling the Secured Google Cloud Endpoints we can go with Google JavaScript Client Libraries. I have found a sample project oauth-google-api-gapi-phonegap-childbrowser-jquery which is a very good start for the beginners.
I am developing an application in Java using Google App engine. I have Google Contacts CardDAV API to access contacts.
How would I configure my project to access the contacts information. I googled but there isn't any proper guidance available for the same.
Help with example will be very appreciated.
Thanks in advance.
You could take a look at the CardDAV API specification in this article on Google Developers. You simply need to interact with it like any other RESTful API, issuing commands like GET, POST, DELETE. You can easily issue these requests by using the HttpURLConnection class (documentation here).