using a RESTlet
# suitescript
c
using a RESTlet