<back to all web services

CheckUserPermissions

The following routes are available for this service:
GET/RestApi/ab-testing/check-user-permissions
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class CheckUserPermissions
    {
        public UUID PageNodeId = null;
        public String Culture = null;
        
        public UUID getPageNodeId() { return PageNodeId; }
        public CheckUserPermissions setPageNodeId(UUID value) { this.PageNodeId = value; return this; }
        public String getCulture() { return Culture; }
        public CheckUserPermissions setCulture(String value) { this.Culture = value; return this; }
    }

    public static class UserPermissions
    {
        public Boolean HasPermissions = null;
        
        public Boolean isHasPermissions() { return HasPermissions; }
        public UserPermissions setHasPermissions(Boolean value) { this.HasPermissions = value; return this; }
    }

}

Java CheckUserPermissions DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /RestApi/ab-testing/check-user-permissions HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"HasPermissions":false}