Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Migrated from http://intranet.wavelet.asia/projects/wavelet-ms/wiki/How_to_call_RESTful_Web_Service

Web Service Structure in EMP has mainly 3 parts:

...

URL to access web service: http://empdomain.biz/ws/api/webservicename/actionname

 

Example:

http://cloud.wavelet.biz/demo/ws/api/itemService/get

 

Actions

EMP has following Actions:

 

Action Name: get

get action mainly used to retrieve data from server. It has 3 parameters:

...

Sample Code to call get action using JAVA Platform

 

Action Name: getCount

getCount action mainly used to retrieve number of records available in server for a particular query. It has 3 parameters:

...

Sample Code to call getCount action using JAVA Platform

 

Action Name: add

add action mainly used to send records to server to add in particular table. It has 3 parameters:

...