regis

<back to all web services

StudentStatusRequest

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

public class dtos
{

    public static class StudentStatusRequest
    {
        public String regent_login = null;
        public String password = null;
        
        public String getRegentLogin() { return regent_login; }
        public StudentStatusRequest setRegentLogin(String value) { this.regent_login = value; return this; }
        public String getPassword() { return password; }
        public StudentStatusRequest 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 StudentStatusRequest DTOs

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

HTTP + XML

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

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

<StudentStatusRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
  <password>String</password>
  <regent_login>String</regent_login>
</StudentStatusRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<StudentStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Responses">
  <is_active>false</is_active>
  <is_admitted>false</is_admitted>
  <is_authenticated>false</is_authenticated>
</StudentStatusResponse>