Required role: | REGISUserRole |
POST | /StudentTransferCredentials/{uuid}/Create |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class StudentTransferCredentialPackageCreateRequest
{
public String uuid = null;
public Integer institution_id = null;
public String authorizing_uuid = null;
public Boolean is_advanced_standing = null;
public ArrayList<StudentTransferCredentialCreateRequest> studentTransferCredentialCreateRequest = null;
public ArrayList<StudentAcademicCredentialCreateRequest> studentAcademicCredentialCreateRequest = null;
public String getUuid() { return uuid; }
public StudentTransferCredentialPackageCreateRequest setUuid(String value) { this.uuid = value; return this; }
public Integer getInstitutionId() { return institution_id; }
public StudentTransferCredentialPackageCreateRequest setInstitutionId(Integer value) { this.institution_id = value; return this; }
public String getAuthorizingUuid() { return authorizing_uuid; }
public StudentTransferCredentialPackageCreateRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
public Boolean getIsAdvancedStanding() { return is_advanced_standing; }
public StudentTransferCredentialPackageCreateRequest setIsAdvancedStanding(Boolean value) { this.is_advanced_standing = value; return this; }
public ArrayList<StudentTransferCredentialCreateRequest> getStudentTransferCredentialCreateRequest() { return studentTransferCredentialCreateRequest; }
public StudentTransferCredentialPackageCreateRequest setStudentTransferCredentialCreateRequest(ArrayList<StudentTransferCredentialCreateRequest> value) { this.studentTransferCredentialCreateRequest = value; return this; }
public ArrayList<StudentAcademicCredentialCreateRequest> getStudentAcademicCredentialCreateRequest() { return studentAcademicCredentialCreateRequest; }
public StudentTransferCredentialPackageCreateRequest setStudentAcademicCredentialCreateRequest(ArrayList<StudentAcademicCredentialCreateRequest> value) { this.studentAcademicCredentialCreateRequest = value; return this; }
}
public static class StudentTransferCredentialCreateRequest
{
public String uuid = null;
public String course_name = null;
public String title = null;
public BigDecimal credit_value = null;
public String authorizing_uuid = null;
public String getUuid() { return uuid; }
public StudentTransferCredentialCreateRequest setUuid(String value) { this.uuid = value; return this; }
public String getCourseName() { return course_name; }
public StudentTransferCredentialCreateRequest setCourseName(String value) { this.course_name = value; return this; }
public String getTitle() { return title; }
public StudentTransferCredentialCreateRequest setTitle(String value) { this.title = value; return this; }
public BigDecimal getCreditValue() { return credit_value; }
public StudentTransferCredentialCreateRequest setCreditValue(BigDecimal value) { this.credit_value = value; return this; }
public String getAuthorizingUuid() { return authorizing_uuid; }
public StudentTransferCredentialCreateRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
}
public static class StudentAcademicCredentialCreateRequest
{
public String 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 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 authorizing_uuid = null;
public String getUuid() { return uuid; }
public StudentAcademicCredentialCreateRequest setUuid(String value) { this.uuid = value; return this; }
public Integer getSectionId() { return section_id; }
public StudentAcademicCredentialCreateRequest setSectionId(Integer value) { this.section_id = value; return this; }
public String getCourseName() { return course_name; }
public StudentAcademicCredentialCreateRequest setCourseName(String value) { this.course_name = value; return this; }
public String getSectionCode() { return section_code; }
public StudentAcademicCredentialCreateRequest setSectionCode(String value) { this.section_code = value; return this; }
public String getSubject() { return subject; }
public StudentAcademicCredentialCreateRequest setSubject(String value) { this.subject = value; return this; }
public Integer getCourseLevel() { return course_level; }
public StudentAcademicCredentialCreateRequest setCourseLevel(Integer value) { this.course_level = value; return this; }
public String getTitle() { return title; }
public StudentAcademicCredentialCreateRequest setTitle(String value) { this.title = value; return this; }
public String getLocation() { return location; }
public StudentAcademicCredentialCreateRequest setLocation(String value) { this.location = value; return this; }
public Boolean getIsAudio() { return is_audio; }
public StudentAcademicCredentialCreateRequest setIsAudio(Boolean value) { this.is_audio = value; return this; }
public Boolean getIsOncampus() { return is_oncampus; }
public StudentAcademicCredentialCreateRequest setIsOncampus(Boolean value) { this.is_oncampus = value; return this; }
public BigDecimal getCreditValue() { return credit_value; }
public StudentAcademicCredentialCreateRequest setCreditValue(BigDecimal value) { this.credit_value = value; return this; }
public BigDecimal getAuditValue() { return audit_value; }
public StudentAcademicCredentialCreateRequest setAuditValue(BigDecimal value) { this.audit_value = value; return this; }
public Boolean getIsAudit() { return is_audit; }
public StudentAcademicCredentialCreateRequest setIsAudit(Boolean value) { this.is_audit = value; return this; }
public Boolean getIsPassFail() { return is_pass_fail; }
public StudentAcademicCredentialCreateRequest setIsPassFail(Boolean value) { this.is_pass_fail = value; return this; }
public String getGrade() { return grade; }
public StudentAcademicCredentialCreateRequest setGrade(String value) { this.grade = value; return this; }
public Boolean getIsGradeFinal() { return is_grade_final; }
public StudentAcademicCredentialCreateRequest setIsGradeFinal(Boolean value) { this.is_grade_final = value; return this; }
public BigDecimal getGpaCredits() { return gpa_credits; }
public StudentAcademicCredentialCreateRequest setGpaCredits(BigDecimal value) { this.gpa_credits = value; return this; }
public BigDecimal getGradePoints() { return grade_points; }
public StudentAcademicCredentialCreateRequest setGradePoints(BigDecimal value) { this.grade_points = value; return this; }
public String getAcademicLevel() { return academic_level; }
public StudentAcademicCredentialCreateRequest setAcademicLevel(String value) { this.academic_level = value; return this; }
public String getPrintedComments() { return printed_comments; }
public StudentAcademicCredentialCreateRequest setPrintedComments(String value) { this.printed_comments = value; return this; }
public String getTerm() { return term; }
public StudentAcademicCredentialCreateRequest setTerm(String value) { this.term = value; return this; }
public String getReportingTerm() { return reporting_term; }
public StudentAcademicCredentialCreateRequest setReportingTerm(String value) { this.reporting_term = value; return this; }
public Integer getReportingYear() { return reporting_year; }
public StudentAcademicCredentialCreateRequest setReportingYear(Integer value) { this.reporting_year = value; return this; }
public String getCurrentStatus() { return current_status; }
public StudentAcademicCredentialCreateRequest setCurrentStatus(String value) { this.current_status = value; return this; }
public String getAuthorizingUuid() { return authorizing_uuid; }
public StudentAcademicCredentialCreateRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
}
}
Java StudentTransferCredentialPackageCreateRequest 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /StudentTransferCredentials/{uuid}/Create HTTP/1.1
Host: data.regent-college.edu
Accept: application/json
Content-Type: application/json
Content-Length: length
{"uuid":"String","institution_id":0,"authorizing_uuid":"String","is_advanced_standing":false,"studentTransferCredentialCreateRequest":[{"uuid":"String","course_name":"String","title":"String","credit_value":0,"authorizing_uuid":"String"}],"studentAcademicCredentialCreateRequest":[{"uuid":"String","section_id":0,"course_name":"String","section_code":"String","subject":"String","course_level":0,"title":"String","location":"String","is_audio":false,"is_oncampus":false,"credit_value":0,"audit_value":0,"is_audit":false,"is_pass_fail":false,"grade":"String","is_grade_final":false,"gpa_credits":0,"grade_points":0,"academic_level":"String","printed_comments":"String","term":"String","reporting_term":"String","reporting_year":0,"current_status":"String","authorizing_uuid":"String"}]}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}