regis

<back to all web services

StaffStatusRequest

Requires Authentication
Required permission:ReadStudentStatus
The following routes are available for this service:
POST/StaffStatus
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class StaffStatusRequest
    {
        public String staff_login = null;
        public String password = null;
        
        public String getStaffLogin() { return staff_login; }
        public StaffStatusRequest setStaffLogin(String value) { this.staff_login = value; return this; }
        public String getPassword() { return password; }
        public StaffStatusRequest setPassword(String value) { this.password = value; return this; }
    }

    public static class StudentStatusResponse
    {
        public Boolean is_active = null;
        public Boolean is_authenticated = null;
        public Boolean is_admitted = null;
        
        public Boolean getIsActive() { return is_active; }
        public StudentStatusResponse setIsActive(Boolean value) { this.is_active = value; return this; }
        public Boolean getIsAuthenticated() { return is_authenticated; }
        public StudentStatusResponse setIsAuthenticated(Boolean value) { this.is_authenticated = value; return this; }
        public Boolean getIsAdmitted() { return is_admitted; }
        public StudentStatusResponse setIsAdmitted(Boolean value) { this.is_admitted = value; return this; }
    }

}

Java StaffStatusRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /StaffStatus HTTP/1.1 
Host: data.regent-college.edu 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"staff_login":"String","password":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"is_active":false,"is_authenticated":false,"is_admitted":false}