Hi Team, I would like to know the difference betwe...
# suitetalkapi
c
Hi Team, I would like to know the difference between SOAP web services, Rest Webservices and Restlets? I wanted to know the limitations and when should we go for Restlets over soap and rest webservices. Thankyou!
e
SOAP - XML format; REST - JSON format; RESTlets - can return XML, JSON, CSV
RESTlets allow you to return what you want and define/control code/processes whereas with SOAP and REST you are limited to what Netsuite has defined for the datasets.
c
Thanks @Eric B . Can we access custom records and fields in SOAP and REST webservices?
If I understood correctly, In the data perspective, By using restlets we can manipulate the data as needed can return in any format whereas using SOAP and REST we can only send the records data and cannot manipulate the data. Is that correct?
e
you can manipulate data using SOAP and REST
s
Soap you’re pretty much likely to work with Java or c# and to generate clients and in XML, REST more flexible via HTTP using JSON. With these 2 you’re bound to adhere to the resource catalog Netsuite provides for each. With restlet you have the added benefit of setting up custom server side logic, free to run any operations supported by SuiteScript upon receiving requests.
❤️ 1
I tried to explain this in a bit more detail here https://suitehearts.net/blog/netsuite-integration-guide/
❤️ 1
c
Thanks @SimonC for the detailed documentation 😊