Forum Discussion
VarunGrazitti
9 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. |
Related Content
- 5 years ago
- 9 months ago