regis

<back to all web services

BioHistoryRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/admissions/{uuid}/bio/history
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class BioHistoryRequest
    {
        public String uuid = null;
        
        public String getUuid() { return uuid; }
        public BioHistoryRequest setUuid(String value) { this.uuid = value; return this; }
    }

    public static class BioHistoryResponse
    {
        public ResponseStatus responseStatus = null;
        public String uuid = null;
        public Integer regent_id = null;
        public ArrayList<BioResponse> bios = null;
        
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public BioHistoryResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
        public String getUuid() { return uuid; }
        public BioHistoryResponse setUuid(String value) { this.uuid = value; return this; }
        public Integer getRegentId() { return regent_id; }
        public BioHistoryResponse setRegentId(Integer value) { this.regent_id = value; return this; }
        public ArrayList<BioResponse> getBios() { return bios; }
        public BioHistoryResponse setBios(ArrayList<BioResponse> value) { this.bios = value; return this; }
    }

    public static class BioResponse
    {
        public ResponseStatus responseStatus = null;
        public String first_name = null;
        public String middle_name = null;
        public String last_name = null;
        public String preferred_name = null;
        public String birth_name = null;
        public String prefix = null;
        public Date dob = null;
        public String citizenship = null;
        public String citizenship_code = null;
        public String citizenship_other = null;
        public String permanent_resident = null;
        public String citizenship_other_code = null;
        public String permanent_resident_code = null;
        public String gender = null;
        public String gender_code = null;
        public String marital_status = null;
        public String marital_status_code = null;
        public Date deceased_date = null;
        public String added_by = null;
        public Date added_date = null;
        public String changed_by = null;
        public Date changed_date = null;
        
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public BioResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
        public String getFirstName() { return first_name; }
        public BioResponse setFirstName(String value) { this.first_name = value; return this; }
        public String getMiddleName() { return middle_name; }
        public BioResponse setMiddleName(String value) { this.middle_name = value; return this; }
        public String getLastName() { return last_name; }
        public BioResponse setLastName(String value) { this.last_name = value; return this; }
        public String getPreferredName() { return preferred_name; }
        public BioResponse setPreferredName(String value) { this.preferred_name = value; return this; }
        public String getBirthName() { return birth_name; }
        public BioResponse setBirthName(String value) { this.birth_name = value; return this; }
        public String getPrefix() { return prefix; }
        public BioResponse setPrefix(String value) { this.prefix = value; return this; }
        public Date getDob() { return dob; }
        public BioResponse setDob(Date value) { this.dob = value; return this; }
        public String getCitizenship() { return citizenship; }
        public BioResponse setCitizenship(String value) { this.citizenship = value; return this; }
        public String getCitizenshipCode() { return citizenship_code; }
        public BioResponse setCitizenshipCode(String value) { this.citizenship_code = value; return this; }
        public String getCitizenshipOther() { return citizenship_other; }
        public BioResponse setCitizenshipOther(String value) { this.citizenship_other = value; return this; }
        public String getPermanentResident() { return permanent_resident; }
        public BioResponse setPermanentResident(String value) { this.permanent_resident = value; return this; }
        public String getCitizenshipOtherCode() { return citizenship_other_code; }
        public BioResponse setCitizenshipOtherCode(String value) { this.citizenship_other_code = value; return this; }
        public String getPermanentResidentCode() { return permanent_resident_code; }
        public BioResponse setPermanentResidentCode(String value) { this.permanent_resident_code = value; return this; }
        public String getGender() { return gender; }
        public BioResponse setGender(String value) { this.gender = value; return this; }
        public String getGenderCode() { return gender_code; }
        public BioResponse setGenderCode(String value) { this.gender_code = value; return this; }
        public String getMaritalStatus() { return marital_status; }
        public BioResponse setMaritalStatus(String value) { this.marital_status = value; return this; }
        public String getMaritalStatusCode() { return marital_status_code; }
        public BioResponse setMaritalStatusCode(String value) { this.marital_status_code = value; return this; }
        public Date getDeceasedDate() { return deceased_date; }
        public BioResponse setDeceasedDate(Date value) { this.deceased_date = value; return this; }
        public String getAddedBy() { return added_by; }
        public BioResponse setAddedBy(String value) { this.added_by = value; return this; }
        public Date getAddedDate() { return added_date; }
        public BioResponse setAddedDate(Date value) { this.added_date = value; return this; }
        public String getChangedBy() { return changed_by; }
        public BioResponse setChangedBy(String value) { this.changed_by = value; return this; }
        public Date getChangedDate() { return changed_date; }
        public BioResponse setChangedDate(Date value) { this.changed_date = value; return this; }
    }

}

Java BioHistoryRequest 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.

POST /admissions/{uuid}/bio/history HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"uuid":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"uuid":"String","regent_id":0,"bios":[{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"first_name":"String","middle_name":"String","last_name":"String","preferred_name":"String","birth_name":"String","prefix":"String","dob":"0001-01-01T00:00:00.0000000","citizenship":"String","citizenship_code":"String","citizenship_other":"String","permanent_resident":"String","citizenship_other_code":"String","permanent_resident_code":"String","gender":"String","gender_code":"String","marital_status":"String","marital_status_code":"String","deceased_date":"0001-01-01T00:00:00.0000000","added_by":"String","added_date":"0001-01-01T00:00:00.0000000","changed_by":"String","changed_date":"0001-01-01T00:00:00.0000000"}]}