Required role: | REGISUserRole |
POST | /StudentTransferCredentials/{uuid}/Update/{equivalent_id} |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class StudentTransferCredentialPackageUpdateRequest
{
public String uuid = null;
public Integer equivalent_id = null;
public Boolean is_advanced_standing = null;
public Integer institution_id = null;
public String authorizing_uuid = null;
public ArrayList<StudentTransferCredentialUpdateRequest> studentTransferCredentialUpdateRequest = null;
public ArrayList<StudentAcademicCredentialUpdateRequest> studentAcademicCredentialUpdateRequest = null;
public String getUuid() { return uuid; }
public StudentTransferCredentialPackageUpdateRequest setUuid(String value) { this.uuid = value; return this; }
public Integer getEquivalentId() { return equivalent_id; }
public StudentTransferCredentialPackageUpdateRequest setEquivalentId(Integer value) { this.equivalent_id = value; return this; }
public Boolean getIsAdvancedStanding() { return is_advanced_standing; }
public StudentTransferCredentialPackageUpdateRequest setIsAdvancedStanding(Boolean value) { this.is_advanced_standing = value; return this; }
public Integer getInstitutionId() { return institution_id; }
public StudentTransferCredentialPackageUpdateRequest setInstitutionId(Integer value) { this.institution_id = value; return this; }
public String getAuthorizingUuid() { return authorizing_uuid; }
public StudentTransferCredentialPackageUpdateRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
public ArrayList<StudentTransferCredentialUpdateRequest> getStudentTransferCredentialUpdateRequest() { return studentTransferCredentialUpdateRequest; }
public StudentTransferCredentialPackageUpdateRequest setStudentTransferCredentialUpdateRequest(ArrayList<StudentTransferCredentialUpdateRequest> value) { this.studentTransferCredentialUpdateRequest = value; return this; }
public ArrayList<StudentAcademicCredentialUpdateRequest> getStudentAcademicCredentialUpdateRequest() { return studentAcademicCredentialUpdateRequest; }
public StudentTransferCredentialPackageUpdateRequest setStudentAcademicCredentialUpdateRequest(ArrayList<StudentAcademicCredentialUpdateRequest> value) { this.studentAcademicCredentialUpdateRequest = value; return this; }
}
public static class StudentTransferCredentialUpdateRequest
{
public String uuid = null;
public String stran_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 StudentTransferCredentialUpdateRequest setUuid(String value) { this.uuid = value; return this; }
public String getStranUuid() { return stran_uuid; }
public StudentTransferCredentialUpdateRequest setStranUuid(String value) { this.stran_uuid = value; return this; }
public String getCourseName() { return course_name; }
public StudentTransferCredentialUpdateRequest setCourseName(String value) { this.course_name = value; return this; }
public String getTitle() { return title; }
public StudentTransferCredentialUpdateRequest setTitle(String value) { this.title = value; return this; }
public BigDecimal getCreditValue() { return credit_value; }
public StudentTransferCredentialUpdateRequest setCreditValue(BigDecimal value) { this.credit_value = value; return this; }
public String getAuthorizingUuid() { return authorizing_uuid; }
public StudentTransferCredentialUpdateRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
}
public static class StudentAcademicCredentialUpdateRequest
{
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 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 StudentAcademicCredentialUpdateRequest setUuid(String value) { this.uuid = value; return this; }
public String getStacUuid() { return stac_uuid; }
public StudentAcademicCredentialUpdateRequest setStacUuid(String value) { this.stac_uuid = value; return this; }
public Integer getSectionId() { return section_id; }
public StudentAcademicCredentialUpdateRequest setSectionId(Integer value) { this.section_id = value; return this; }
public String getCourseName() { return course_name; }
public StudentAcademicCredentialUpdateRequest setCourseName(String value) { this.course_name = value; return this; }
public String getSectionCode() { return section_code; }
public StudentAcademicCredentialUpdateRequest setSectionCode(String value) { this.section_code = value; return this; }
public String getSubject() { return subject; }
public StudentAcademicCredentialUpdateRequest setSubject(String value) { this.subject = value; return this; }
public Integer getCourseLevel() { return course_level; }
public StudentAcademicCredentialUpdateRequest setCourseLevel(Integer value) { this.course_level = value; return this; }
public String getTitle() { return title; }
public StudentAcademicCredentialUpdateRequest setTitle(String value) { this.title = value; return this; }
public String getLocation() { return location; }
public StudentAcademicCredentialUpdateRequest setLocation(String value) { this.location = value; return this; }
public Boolean getIsAudio() { return is_audio; }
public StudentAcademicCredentialUpdateRequest setIsAudio(Boolean value) { this.is_audio = value; return this; }
public Boolean getIsOncampus() { return is_oncampus; }
public StudentAcademicCredentialUpdateRequest setIsOncampus(Boolean value) { this.is_oncampus = value; return this; }
public BigDecimal getCreditValue() { return credit_value; }
public StudentAcademicCredentialUpdateRequest setCreditValue(BigDecimal value) { this.credit_value = value; return this; }
public BigDecimal getAuditValue() { return audit_value; }
public StudentAcademicCredentialUpdateRequest setAuditValue(BigDecimal value) { this.audit_value = value; return this; }
public Boolean getIsAudit() { return is_audit; }
public StudentAcademicCredentialUpdateRequest setIsAudit(Boolean value) { this.is_audit = value; return this; }
public Boolean getIsPassFail() { return is_pass_fail; }
public StudentAcademicCredentialUpdateRequest setIsPassFail(Boolean value) { this.is_pass_fail = value; return this; }
public String getGrade() { return grade; }
public StudentAcademicCredentialUpdateRequest setGrade(String value) { this.grade = value; return this; }
public Boolean getIsGradeFinal() { return is_grade_final; }
public StudentAcademicCredentialUpdateRequest setIsGradeFinal(Boolean value) { this.is_grade_final = value; return this; }
public BigDecimal getGpaCredits() { return gpa_credits; }
public StudentAcademicCredentialUpdateRequest setGpaCredits(BigDecimal value) { this.gpa_credits = value; return this; }
public BigDecimal getGradePoints() { return grade_points; }
public StudentAcademicCredentialUpdateRequest setGradePoints(BigDecimal value) { this.grade_points = value; return this; }
public String getAcademicLevel() { return academic_level; }
public StudentAcademicCredentialUpdateRequest setAcademicLevel(String value) { this.academic_level = value; return this; }
public String getPrintedComments() { return printed_comments; }
public StudentAcademicCredentialUpdateRequest setPrintedComments(String value) { this.printed_comments = value; return this; }
public String getTerm() { return term; }
public StudentAcademicCredentialUpdateRequest setTerm(String value) { this.term = value; return this; }
public String getReportingTerm() { return reporting_term; }
public StudentAcademicCredentialUpdateRequest setReportingTerm(String value) { this.reporting_term = value; return this; }
public Integer getReportingYear() { return reporting_year; }
public StudentAcademicCredentialUpdateRequest setReportingYear(Integer value) { this.reporting_year = value; return this; }
public String getCurrentStatus() { return current_status; }
public StudentAcademicCredentialUpdateRequest setCurrentStatus(String value) { this.current_status = value; return this; }
public String getAuthorizingUuid() { return authorizing_uuid; }
public StudentAcademicCredentialUpdateRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
}
}
Java StudentTransferCredentialPackageUpdateRequest 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}/Update/{equivalent_id} HTTP/1.1
Host: data.regent-college.edu
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<StudentTransferCredentialPackageUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
<authorizing_uuid>String</authorizing_uuid>
<equivalent_id>0</equivalent_id>
<institution_id>0</institution_id>
<is_advanced_standing>false</is_advanced_standing>
<studentAcademicCredentialUpdateRequest>
<StudentAcademicCredentialUpdateRequest>
<academic_level>String</academic_level>
<audit_value>0</audit_value>
<authorizing_uuid>String</authorizing_uuid>
<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>
<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>
</StudentAcademicCredentialUpdateRequest>
</studentAcademicCredentialUpdateRequest>
<studentTransferCredentialUpdateRequest>
<StudentTransferCredentialUpdateRequest>
<authorizing_uuid>String</authorizing_uuid>
<course_name>String</course_name>
<credit_value>0</credit_value>
<stran_uuid>String</stran_uuid>
<title>String</title>
<uuid>String</uuid>
</StudentTransferCredentialUpdateRequest>
</studentTransferCredentialUpdateRequest>
<uuid>String</uuid>
</StudentTransferCredentialPackageUpdateRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ResponseStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types"> <ErrorCode>String</ErrorCode> <Message>String</Message> <StackTrace>String</StackTrace> <Errors> <ResponseError> <ErrorCode>String</ErrorCode> <FieldName>String</FieldName> <Message>String</Message> <Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringstring> <d4p1:Key>String</d4p1:Key> <d4p1:Value>String</d4p1:Value> </d4p1:KeyValueOfstringstring> </Meta> </ResponseError> </Errors> <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>String</d2p1:Key> <d2p1:Value>String</d2p1:Value> </d2p1:KeyValueOfstringstring> </Meta> </ResponseStatus>