How to used custom business logic using REST API?
Hi Kinjal!
You mean invocation of handlers via REST?
Or using rest in custom event handler code? You can run rest request using java or php code in your handlers.
Additional documentation you can find here https://backendless.com/documentation/business-logic/java/
Regards,
Kate.
Hello, i got an idea for that. with given your link. thatnks for that .
but how i can get list of User Roles using REST api?
i tried with below code
/<version>/users/userroles
but getting only [“NotAuthenticatedUser”]. i want all list which i can see at backendless side. can you please tell me how i can get that whole list of User ROles.
The API you are using will let you get a list of roles for the currently logged in user. If you pass the “user-token” HTTP header with your request, then the server will return that list. The value of the “user-token” header is obtained when you use the login API.
Getting a list of all available roles requires Management API which is available when you purchase the “Admin and Management API Access” function pack:
http://support.backendless.com/public/attachments/62cf47b5df732a324d9b567c47d30d07.jpg</img>
Regards,
Mark