Forum Discussion
VarunGrazitti
10 years agoBoss
ryanplant-au - Make the API call using restadmin. Using only rest will respect all the permissions but restadmin will override everything.
restadmin | Makes an arbitrary local REST call, given a REST URL, as if the calling user were an Admin with full permissions. Returns a wrapped response portion of the REST XML reply if the REST call was successful. If the call was not successful, throws a TemplateModelException. |