Required role: | REGISUserRole |
POST | /StudentTransferCredentials/{uuid} |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class StudentTransferCredentialsRequest
{
public String uuid = null;
public String getUuid() { return uuid; }
public StudentTransferCredentialsRequest setUuid(String value) { this.uuid = value; return this; }
}
public static class StudentTransferCredentialsResponse
{
public ResponseStatus responseStatus = null;
public Integer regent_id = null;
public String uuid = null;
public ArrayList<StudentTransferCredentialPackageResponse> studentTransferCredentialPackage = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public StudentTransferCredentialsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public Integer getRegentId() { return regent_id; }
public StudentTransferCredentialsResponse setRegentId(Integer value) { this.regent_id = value; return this; }
public String getUuid() { return uuid; }
public StudentTransferCredentialsResponse setUuid(String value) { this.uuid = value; return this; }
public ArrayList<StudentTransferCredentialPackageResponse> getStudentTransferCredentialPackage() { return studentTransferCredentialPackage; }
public StudentTransferCredentialsResponse setStudentTransferCredentialPackage(ArrayList<StudentTransferCredentialPackageResponse> value) { this.studentTransferCredentialPackage = value; return this; }
}
public static class StudentTransferCredentialPackageResponse
{
public ResponseStatus responseStatus = null;
public Integer equivalent_id = null;
public Boolean is_advanced_standing = null;
public InstitutionResponse institution = null;
public ArrayList<StudentAcademicCredentialResponse> studentAcademicCredentials = null;
public ArrayList<StudentTransferCredentialResponse> studentTransferCredentials = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public StudentTransferCredentialPackageResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public Integer getEquivalentId() { return equivalent_id; }
public StudentTransferCredentialPackageResponse setEquivalentId(Integer value) { this.equivalent_id = value; return this; }
public Boolean getIsAdvancedStanding() { return is_advanced_standing; }
public StudentTransferCredentialPackageResponse setIsAdvancedStanding(Boolean value) { this.is_advanced_standing = value; return this; }
public InstitutionResponse getInstitution() { return institution; }
public StudentTransferCredentialPackageResponse setInstitution(InstitutionResponse value) { this.institution = value; return this; }
public ArrayList<StudentAcademicCredentialResponse> getStudentAcademicCredentials() { return studentAcademicCredentials; }
public StudentTransferCredentialPackageResponse setStudentAcademicCredentials(ArrayList<StudentAcademicCredentialResponse> value) { this.studentAcademicCredentials = value; return this; }
public ArrayList<StudentTransferCredentialResponse> getStudentTransferCredentials() { return studentTransferCredentials; }
public StudentTransferCredentialPackageResponse setStudentTransferCredentials(ArrayList<StudentTransferCredentialResponse> value) { this.studentTransferCredentials = value; return this; }
}
public static class InstitutionResponse
{
public ResponseStatus responseStatus = null;
public Integer institution_id = null;
public String institution_name = null;
public String institution_previous_names = null;
public String institution_other_names = null;
public String institution_type = null;
public String accreditation_status = null;
public String accreditation_status_notes = null;
public ArrayList<String> related_institutions = null;
public Date accreditation_status_changed_date = null;
public String gpa_conversion = null;
public String credit_hour_conversion = null;
public String addr1 = null;
public String addr2 = null;
public String city = null;
public String state = null;
public String country = null;
public String zip = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public InstitutionResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public Integer getInstitutionId() { return institution_id; }
public InstitutionResponse setInstitutionId(Integer value) { this.institution_id = value; return this; }
public String getInstitutionName() { return institution_name; }
public InstitutionResponse setInstitutionName(String value) { this.institution_name = value; return this; }
public String getInstitutionPreviousNames() { return institution_previous_names; }
public InstitutionResponse setInstitutionPreviousNames(String value) { this.institution_previous_names = value; return this; }
public String getInstitutionOtherNames() { return institution_other_names; }
public InstitutionResponse setInstitutionOtherNames(String value) { this.institution_other_names = value; return this; }
public String getInstitutionType() { return institution_type; }
public InstitutionResponse setInstitutionType(String value) { this.institution_type = value; return this; }
public String getAccreditationStatus() { return accreditation_status; }
public InstitutionResponse setAccreditationStatus(String value) { this.accreditation_status = value; return this; }
public String getAccreditationStatusNotes() { return accreditation_status_notes; }
public InstitutionResponse setAccreditationStatusNotes(String value) { this.accreditation_status_notes = value; return this; }
public ArrayList<String> getRelatedInstitutions() { return related_institutions; }
public InstitutionResponse setRelatedInstitutions(ArrayList<String> value) { this.related_institutions = value; return this; }
public Date getAccreditationStatusChangedDate() { return accreditation_status_changed_date; }
public InstitutionResponse setAccreditationStatusChangedDate(Date value) { this.accreditation_status_changed_date = value; return this; }
public String getGpaConversion() { return gpa_conversion; }
public InstitutionResponse setGpaConversion(String value) { this.gpa_conversion = value; return this; }
public String getCreditHourConversion() { return credit_hour_conversion; }
public InstitutionResponse setCreditHourConversion(String value) { this.credit_hour_conversion = value; return this; }
public String getAddr1() { return addr1; }
public InstitutionResponse setAddr1(String value) { this.addr1 = value; return this; }
public String getAddr2() { return addr2; }
public InstitutionResponse setAddr2(String value) { this.addr2 = value; return this; }
public String getCity() { return city; }
public InstitutionResponse setCity(String value) { this.city = value; return this; }
public String getState() { return state; }
public InstitutionResponse setState(String value) { this.state = value; return this; }
public String getCountry() { return country; }
public InstitutionResponse setCountry(String value) { this.country = value; return this; }
public String getZip() { return zip; }
public InstitutionResponse setZip(String value) { this.zip = value; return this; }
}
public static class StudentAcademicCredentialResponse
{
public ResponseStatus responseStatus = null;
public String uuid = null;
public String stac_uuid = null;
public Integer section_id = null;
public String course_name = null;
public String section_code = null;
public String subject = null;
public Integer course_level = null;
public String title = null;
public String pretty_title = null;
public String location = null;
public Boolean is_audio = null;
public Boolean is_oncampus = null;
public BigDecimal credit_value = null;
public BigDecimal audit_value = null;
public Boolean is_audit = null;
public Boolean is_pass_fail = null;
public String grade = null;
public Boolean is_grade_final = null;
public BigDecimal gpa_credits = null;
public BigDecimal grade_points = null;
public String academic_level = null;
public String printed_comments = null;
public String term = null;
public String reporting_term = null;
public Integer reporting_year = null;
public String current_status = 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 StudentAcademicCredentialResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public String getUuid() { return uuid; }
public StudentAcademicCredentialResponse setUuid(String value) { this.uuid = value; return this; }
public String getStacUuid() { return stac_uuid; }
public StudentAcademicCredentialResponse setStacUuid(String value) { this.stac_uuid = value; return this; }
public Integer getSectionId() { return section_id; }
public StudentAcademicCredentialResponse setSectionId(Integer value) { this.section_id = value; return this; }
public String getCourseName() { return course_name; }
public StudentAcademicCredentialResponse setCourseName(String value) { this.course_name = value; return this; }
public String getSectionCode() { return section_code; }
public StudentAcademicCredentialResponse setSectionCode(String value) { this.section_code = value; return this; }
public String getSubject() { return subject; }
public StudentAcademicCredentialResponse setSubject(String value) { this.subject = value; return this; }
public Integer getCourseLevel() { return course_level; }
public StudentAcademicCredentialResponse setCourseLevel(Integer value) { this.course_level = value; return this; }
public String getTitle() { return title; }
public StudentAcademicCredentialResponse setTitle(String value) { this.title = value; return this; }
public String getPrettyTitle() { return pretty_title; }
public StudentAcademicCredentialResponse setPrettyTitle(String value) { this.pretty_title = value; return this; }
public String getLocation() { return location; }
public StudentAcademicCredentialResponse setLocation(String value) { this.location = value; return this; }
public Boolean getIsAudio() { return is_audio; }
public StudentAcademicCredentialResponse setIsAudio(Boolean value) { this.is_audio = value; return this; }
public Boolean getIsOncampus() { return is_oncampus; }
public StudentAcademicCredentialResponse setIsOncampus(Boolean value) { this.is_oncampus = value; return this; }
public BigDecimal getCreditValue() { return credit_value; }
public StudentAcademicCredentialResponse setCreditValue(BigDecimal value) { this.credit_value = value; return this; }
public BigDecimal getAuditValue() { return audit_value; }
public StudentAcademicCredentialResponse setAuditValue(BigDecimal value) { this.audit_value = value; return this; }
public Boolean getIsAudit() { return is_audit; }
public StudentAcademicCredentialResponse setIsAudit(Boolean value) { this.is_audit = value; return this; }
public Boolean getIsPassFail() { return is_pass_fail; }
public StudentAcademicCredentialResponse setIsPassFail(Boolean value) { this.is_pass_fail = value; return this; }
public String getGrade() { return grade; }
public StudentAcademicCredentialResponse setGrade(String value) { this.grade = value; return this; }
public Boolean getIsGradeFinal() { return is_grade_final; }
public StudentAcademicCredentialResponse setIsGradeFinal(Boolean value) { this.is_grade_final = value; return this; }
public BigDecimal getGpaCredits() { return gpa_credits; }
public StudentAcademicCredentialResponse setGpaCredits(BigDecimal value) { this.gpa_credits = value; return this; }
public BigDecimal getGradePoints() { return grade_points; }
public StudentAcademicCredentialResponse setGradePoints(BigDecimal value) { this.grade_points = value; return this; }
public String getAcademicLevel() { return academic_level; }
public StudentAcademicCredentialResponse setAcademicLevel(String value) { this.academic_level = value; return this; }
public String getPrintedComments() { return printed_comments; }
public StudentAcademicCredentialResponse setPrintedComments(String value) { this.printed_comments = value; return this; }
public String getTerm() { return term; }
public StudentAcademicCredentialResponse setTerm(String value) { this.term = value; return this; }
public String getReportingTerm() { return reporting_term; }
public StudentAcademicCredentialResponse setReportingTerm(String value) { this.reporting_term = value; return this; }
public Integer getReportingYear() { return reporting_year; }
public StudentAcademicCredentialResponse setReportingYear(Integer value) { this.reporting_year = value; return this; }
public String getCurrentStatus() { return current_status; }
public StudentAcademicCredentialResponse setCurrentStatus(String value) { this.current_status = value; return this; }
public String getAddedBy() { return added_by; }
public StudentAcademicCredentialResponse setAddedBy(String value) { this.added_by = value; return this; }
public Date getAddedDate() { return added_date; }
public StudentAcademicCredentialResponse setAddedDate(Date value) { this.added_date = value; return this; }
public String getChangedBy() { return changed_by; }
public StudentAcademicCredentialResponse setChangedBy(String value) { this.changed_by = value; return this; }
public Date getChangedDate() { return changed_date; }
public StudentAcademicCredentialResponse setChangedDate(Date value) { this.changed_date = value; return this; }
}
public static class StudentTransferCredentialResponse
{
public ResponseStatus responseStatus = null;
public String uuid = null;
public String stran_uuid = null;
public String course_name = null;
public String title = null;
public BigDecimal credit_value = null;
public Boolean is_advanced_standing = null;
public Integer equivalent_id = null;
public Integer institution_id = 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 StudentTransferCredentialResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public String getUuid() { return uuid; }
public StudentTransferCredentialResponse setUuid(String value) { this.uuid = value; return this; }
public String getStranUuid() { return stran_uuid; }
public StudentTransferCredentialResponse setStranUuid(String value) { this.stran_uuid = value; return this; }
public String getCourseName() { return course_name; }
public StudentTransferCredentialResponse setCourseName(String value) { this.course_name = value; return this; }
public String getTitle() { return title; }
public StudentTransferCredentialResponse setTitle(String value) { this.title = value; return this; }
public BigDecimal getCreditValue() { return credit_value; }
public StudentTransferCredentialResponse setCreditValue(BigDecimal value) { this.credit_value = value; return this; }
public Boolean getIsAdvancedStanding() { return is_advanced_standing; }
public StudentTransferCredentialResponse setIsAdvancedStanding(Boolean value) { this.is_advanced_standing = value; return this; }
public Integer getEquivalentId() { return equivalent_id; }
public StudentTransferCredentialResponse setEquivalentId(Integer value) { this.equivalent_id = value; return this; }
public Integer getInstitutionId() { return institution_id; }
public StudentTransferCredentialResponse setInstitutionId(Integer value) { this.institution_id = value; return this; }
public String getAddedBy() { return added_by; }
public StudentTransferCredentialResponse setAddedBy(String value) { this.added_by = value; return this; }
public Date getAddedDate() { return added_date; }
public StudentTransferCredentialResponse setAddedDate(Date value) { this.added_date = value; return this; }
public String getChangedBy() { return changed_by; }
public StudentTransferCredentialResponse setChangedBy(String value) { this.changed_by = value; return this; }
public Date getChangedDate() { return changed_date; }
public StudentTransferCredentialResponse setChangedDate(Date value) { this.changed_date = value; return this; }
}
}
Java StudentTransferCredentialsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /StudentTransferCredentials/{uuid} HTTP/1.1
Host: data.regent-college.edu
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<StudentTransferCredentialsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
<uuid>String</uuid>
</StudentTransferCredentialsRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <StudentTransferCredentialsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Responses"> <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types"> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:Message>String</d2p1:Message> <d2p1:StackTrace>String</d2p1:StackTrace> <d2p1:Errors> <d2p1:ResponseError> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:FieldName>String</d2p1:FieldName> <d2p1:Message>String</d2p1:Message> <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </d2p1:Meta> </d2p1:ResponseError> </d2p1:Errors> <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>String</d3p1:Key> <d3p1:Value>String</d3p1:Value> </d3p1:KeyValueOfstringstring> </d2p1:Meta> </ResponseStatus> <regent_id>0</regent_id> <studentTransferCredentialPackage> <StudentTransferCredentialPackageResponse> <ResponseStatus xmlns:d4p1="http://schemas.servicestack.net/types"> <d4p1:ErrorCode>String</d4p1:ErrorCode> <d4p1:Message>String</d4p1:Message> <d4p1:StackTrace>String</d4p1:StackTrace> <d4p1:Errors> <d4p1:ResponseError> <d4p1:ErrorCode>String</d4p1:ErrorCode> <d4p1:FieldName>String</d4p1:FieldName> <d4p1:Message>String</d4p1:Message> <d4p1:Meta xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>String</d7p1:Key> <d7p1:Value>String</d7p1:Value> </d7p1:KeyValueOfstringstring> </d4p1:Meta> </d4p1:ResponseError> </d4p1:Errors> <d4p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </d4p1:Meta> </ResponseStatus> <equivalent_id>0</equivalent_id> <institution> <ResponseStatus xmlns:d5p1="http://schemas.servicestack.net/types"> <d5p1:ErrorCode>String</d5p1:ErrorCode> <d5p1:Message>String</d5p1:Message> <d5p1:StackTrace>String</d5p1:StackTrace> <d5p1:Errors> <d5p1:ResponseError> <d5p1:ErrorCode>String</d5p1:ErrorCode> <d5p1:FieldName>String</d5p1:FieldName> <d5p1:Message>String</d5p1:Message> <d5p1:Meta xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d8p1:KeyValueOfstringstring> <d8p1:Key>String</d8p1:Key> <d8p1:Value>String</d8p1:Value> </d8p1:KeyValueOfstringstring> </d5p1:Meta> </d5p1:ResponseError> </d5p1:Errors> <d5p1:Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringstring> <d6p1:Key>String</d6p1:Key> <d6p1:Value>String</d6p1:Value> </d6p1:KeyValueOfstringstring> </d5p1:Meta> </ResponseStatus> <accreditation_status>String</accreditation_status> <accreditation_status_changed_date>0001-01-01T00:00:00</accreditation_status_changed_date> <accreditation_status_notes>String</accreditation_status_notes> <addr1>String</addr1> <addr2>String</addr2> <city>String</city> <country>String</country> <credit_hour_conversion>String</credit_hour_conversion> <gpa_conversion>String</gpa_conversion> <institution_id>0</institution_id> <institution_name>String</institution_name> <institution_other_names>String</institution_other_names> <institution_previous_names>String</institution_previous_names> <institution_type>String</institution_type> <related_institutions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>String</d5p1:string> </related_institutions> <state>String</state> <zip>String</zip> </institution> <is_advanced_standing>false</is_advanced_standing> <studentAcademicCredentials> <StudentAcademicCredentialResponse> <ResponseStatus xmlns:d6p1="http://schemas.servicestack.net/types"> <d6p1:ErrorCode>String</d6p1:ErrorCode> <d6p1:Message>String</d6p1:Message> <d6p1:StackTrace>String</d6p1:StackTrace> <d6p1:Errors> <d6p1:ResponseError> <d6p1:ErrorCode>String</d6p1:ErrorCode> <d6p1:FieldName>String</d6p1:FieldName> <d6p1:Message>String</d6p1:Message> <d6p1:Meta xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d9p1:KeyValueOfstringstring> <d9p1:Key>String</d9p1:Key> <d9p1:Value>String</d9p1:Value> </d9p1:KeyValueOfstringstring> </d6p1:Meta> </d6p1:ResponseError> </d6p1:Errors> <d6p1:Meta xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>String</d7p1:Key> <d7p1:Value>String</d7p1:Value> </d7p1:KeyValueOfstringstring> </d6p1:Meta> </ResponseStatus> <academic_level>String</academic_level> <added_by>String</added_by> <added_date>0001-01-01T00:00:00</added_date> <audit_value>0</audit_value> <changed_by>String</changed_by> <changed_date>0001-01-01T00:00:00</changed_date> <course_level>0</course_level> <course_name>String</course_name> <credit_value>0</credit_value> <current_status>String</current_status> <gpa_credits>0</gpa_credits> <grade>String</grade> <grade_points>0</grade_points> <is_audio>false</is_audio> <is_audit>false</is_audit> <is_grade_final>false</is_grade_final> <is_oncampus>false</is_oncampus> <is_pass_fail>false</is_pass_fail> <location>String</location> <pretty_title>String</pretty_title> <printed_comments>String</printed_comments> <reporting_term>String</reporting_term> <reporting_year>0</reporting_year> <section_code>String</section_code> <section_id>0</section_id> <stac_uuid>String</stac_uuid> <subject>String</subject> <term>String</term> <title>String</title> <uuid>String</uuid> </StudentAcademicCredentialResponse> </studentAcademicCredentials> <studentTransferCredentials> <StudentTransferCredentialResponse> <ResponseStatus xmlns:d6p1="http://schemas.servicestack.net/types"> <d6p1:ErrorCode>String</d6p1:ErrorCode> <d6p1:Message>String</d6p1:Message> <d6p1:StackTrace>String</d6p1:StackTrace> <d6p1:Errors> <d6p1:ResponseError> <d6p1:ErrorCode>String</d6p1:ErrorCode> <d6p1:FieldName>String</d6p1:FieldName> <d6p1:Message>String</d6p1:Message> <d6p1:Meta xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d9p1:KeyValueOfstringstring> <d9p1:Key>String</d9p1:Key> <d9p1:Value>String</d9p1:Value> </d9p1:KeyValueOfstringstring> </d6p1:Meta> </d6p1:ResponseError> </d6p1:Errors> <d6p1:Meta xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>String</d7p1:Key> <d7p1:Value>String</d7p1:Value> </d7p1:KeyValueOfstringstring> </d6p1:Meta> </ResponseStatus> <added_by>String</added_by> <added_date>0001-01-01T00:00:00</added_date> <changed_by>String</changed_by> <changed_date>0001-01-01T00:00:00</changed_date> <course_name>String</course_name> <credit_value>0</credit_value> <equivalent_id>0</equivalent_id> <institution_id>0</institution_id> <is_advanced_standing>false</is_advanced_standing> <stran_uuid>String</stran_uuid> <title>String</title> <uuid>String</uuid> </StudentTransferCredentialResponse> </studentTransferCredentials> </StudentTransferCredentialPackageResponse> </studentTransferCredentialPackage> <uuid>String</uuid> </StudentTransferCredentialsResponse>