Business Catalyst has a push notification for new customer inquiries that sends a POST request with the object ID, e.g.ObjectID=1234567&ObjectType=2001
The answer to this question say to use the SOAP API(Legacy) to request the details of the case.
Is there a way to do this using the new Rest API?https://docs.worldsecuresystems.com/reference/rest-apis/index.html
There is no documented method for a cases or case endpoint.
If not, the only solution wil be to mix the API calls being used .
Some of the API's haven't been updated to v3 yet (REST) so unfortunately you will still need to use the SOAP endpoint for the Cases API.
Related
I am trying to get the users associated with DocuSign account using SOAP API.
I tried API GetMembershipSummary(), but is giving an error "Invalid_Login" although X-DocuSign-Authentication is set, and valid email id of admin is provided.
I did noticed that this method is reserved by DocuSign based on this link
The rest API /users is working fine, but I still need equivalent SOAP API.
you are correct. this is one of these things that can only be done using the REST API.
The SOAP API is not currently supported. Meaning, we won't add features or make modifications to it. I highly recommend to use the REST API. If you already have a SOAP Application, you can use the REST API for newer features.
I am going thru the documentation and examples related to calling REST APIs for SugarCRM using Chrome REST client or PostMan but most of the examples are PHP and I am not finding a good way to find a proper request and other parameters to be mentioned so that I can get the successful response from the API. I was trying get_entry_list. Can someone please help by providing a working REST API request for this API which I can run on REST client or postman?
I also would like to know if I want to build a SugarCRM connector for my application, which set of APIs I should use? Should I go with REST or SOAP and any supporting arguments to choose one over another?
Thanks
I have to create 2 different websites that would use REST api to interact with a single MySQL database.
I know how to create website with forms..etc using PHP.
How would I use REST api for my websites.I searched and found out that there are libraries for android to use REST api but how to do so in case of a website ?
REST is a architectural pattern, it is not (by itself) an API. APIs can implement REST.
Just like any other API out there, you have to get the documentation for the API and then call it from your source.
Depending on what your requirements are, you may be calling it from javascript or from your PHP backend.
REST is an architecture pattern (you can read more about it at wikipedia) which aims to use HTTP verbs like PUT, POST and DELETE to execute commands against endpoints which represent a resource.
To use REST, your backend server will send normal HTTP requests to the API service; so in PHP this means using the various curl libraries to send requests.
Responses are generally in json; but they could be in any other format (or even in binary) - check with the API documentation that you have to consume.
If all you want is interacting with a REST API, then you need a HTTP client, probably cURL (PHP has a cURL lib). After that you have to check whether your API violates the HATEOAS constraint. If not, then it is called hypermedia API. In that case you have to follow hyperlinks provided by the API in the responses. If it violates the constraint, then it is called web API, and you have to build the method, URL, etc... on the client side again, so your client will break easily by any structural changes of the API. Everything else depends on the message format and the semantic annotations the API uses.
If you want to build a REST API, I strongly suggest you to learn more about the topic. First read the Fielding diessertation and check some existing solutions like HAL or Hydra+JSON-LD. Forget the tutorials. Most information available on the web about how to implement a REST API is flawed.
PayPal has recently released a new API which should replace the old API. The new API is based on a REST approach.
As fare as I can see there is no option to define a callback URL. In the old API the parameter was 'notify_url'. I use the following documentation:
https://developer.paypal.com/webapps/developer/docs/api/#create-a-payment
Is there a parameter in the new REST API which allows to define a notification URL?
Unfortunately, the REST API is still pretty far behind the classic API's with all of the features they provide. To my knowledge, notify_url/NOTIFYURL simply aren't included in the REST API yet.
That said, if you have IPN configured in your PayPal account profile the REST API calls should still trigger them. It's just that you can't override the value there with a custom one using notify like you're talking about.
The classic API's aren't going away, though. You can still use them just fine.
I'm just wondering if the new PayPal rest API can be used to receive historical data. For example getting a list of sales made before the rest API existed.
I thought there would be some way to hook it up but it seems you can only get sales that were made though the rest API itself.
Am I wrong?
That's correct - only transactions created (via the REST API's) are returned in a GET /payment call today.
You would need to use the classic TransactionSearch API call for any transaction created prior to that.