Can you use the smartsheet api directly with react? - smartsheet-api

I need to use the smartsheet api for some code stuff, and was wondering if it can be used directly with the front end which is in react, or if needs to be implemented in the backend.

Related

how do I call salesforce APEX From rest api

I find tons of articles explaining how to call rest apis from APEX - but I'm accessing salesforce from an integration system using the Salesforce REST API, and want to it the other way around.
ie -
I've found functionality (record merging) - that is not available from the rest API, but IS available from apex. Is there any way to run an apex statement or script from the rest API?
NOTE: I'm aware that the functionality also available from the SOAP api, but we really don't want to go near that for various reasons.
you want to REST API endpoints in APEX, so that you can call this endpoint from anywhere, Right? if so then you need to check this article.
After reading above article, you are able to create GET, POST, DELETE endpoint in your Salesforce Org and you can use this endpoints.

Integrating Salesforce with Plaid

I have a requirement where I need to integrate Salesforce with Plaid. Need to store Bank statement in an Object in Salesforce by using Plaid.
I have created "Site" in Salesforce. In Visualforce Page, I need to hold the Plaid code.
I don't have any idea regarding Front end mechanism. I mean can any one suggest what i need to do on Visualforce Page to connect to Plaid?
I know how to get access token and hit the Api's but don't know the starting mechanism that i need to do on Visualforce.
I am not familiar at all with Visualforce, but in general what you need to do is include the Plaid Link component. You can do this with vanilla JavaScript or React. More detailed information is available at https://plaid.com/docs/link/web/

How to ingegrate sabre booking SOAP API into React Native

We are planning to use sabre SOAP api for booking
https://beta.developer.sabre.com/docs/soap_apis/air/book/book_air_segment
as its not available for REST. we are using react native to build our app and want to use above API. we had tried to integrate SOAP api but it doesn't work.
Is there any one out there who have used SOAP api to book the flight or any other SOAP api with react native? is there REST api available for booking the flight?
any information will be really helpful
thank you
When you want to integrate a SOAP web service ( or any other ) you should separate concerns to different application layer. To make an example my approach would by
Create a library that will be your simplified interface to the web service API, for example if the booking procedure is a subsequential call of remote services your library interface would be just $myClient->book($request).
Internally, the library will do all the calls that are necessary to make the job done.
Create you application backend and have that library as dependency: in the application layer you will store in your database all the data you need, manage log, exceptions etc.
This can be you JSON/REST API.
Frontend application: this will just render the data given by your application backend, the data supplied by your backend will be as simple as possible, ready to be rendered in a fancy layout.
For the frontend you can use any technology you like, Angular, React, Cordova etc..
Hope it helps
Cheers

Consuming SalesForce REST API in VisualForce page

I would like to consume SalesForce API using JavaScript that running in VF page that already authenticated. Is it possible to do that without another authentication just to get the security token to call REST API?
What would be the alternative to call SalesForce REST service in valid VF page using JavaScript?
Have a look at the Visualforce Remote Objects. It is only in developer preview at the moment but will provide JavaScript proxy objects for DML operations.
Alternatively, you might be better served by JavaScript Remoting or exposing apex web services that you call from your Javascript.

Difference between Apex REST and REST API

Can anyone tell me the difference between the REST API and APEX REST.I am new to REST concept.I am very much confused about them.
The REST API (Force.com REST API) is the generic API provided by Salesforce. On the other hand, the Apex REST API is an API written by yourself in apex to provide custom methods.
The Force.com REST API is great for things such as CRUD operations. You should write a custom Apex REST API when you want to perform more complicated actions.
REST -> architectural style for distributed hypermedia systems.
APREX REST -> Apex REST enables you to implement custom Web services in Apex and expose them through the REST architecture.
Second is used to build RESTful web services
Use the REST API most of the time. You can access your records and update them like you'd expect. But if you need to do something special, like update two records, and only have the changes saved if both updates were successful, then look at Apex REST, where you can customize what your API call does as much as you like.
More details in this interview: https://developer.salesforce.com/blogs/tech-pubs/2011/10/salesforce-apis-what-they-are-when-to-use-them.html