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
Eric B
08/12/2022, 2:28 PM
SOAP - XML format; REST - JSON format; RESTlets - can return XML, JSON, CSV
Eric B
08/12/2022, 2:29 PM
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
Charan
08/12/2022, 2:45 PM
Thanks @Eric B . Can we access custom records and fields in SOAP and REST webservices?
Charan
08/12/2022, 2:47 PM
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
Eric B
08/12/2022, 2:48 PM
you can manipulate data using SOAP and REST
s
SimonC
08/14/2022, 6:22 PM
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.