Required role: | REGISUserRole |
POST | /Registration/{uuid}/Add/{reporting_term} |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class AddRegistrationsRequest
{
public String uuid = null;
public String transaction_uuid = null;
public String reporting_term = null;
public ArrayList<AddRegistrationRequest> sections = null;
public String authorizing_uuid = null;
public String getUuid() { return uuid; }
public AddRegistrationsRequest setUuid(String value) { this.uuid = value; return this; }
public String getTransactionUuid() { return transaction_uuid; }
public AddRegistrationsRequest setTransactionUuid(String value) { this.transaction_uuid = value; return this; }
public String getReportingTerm() { return reporting_term; }
public AddRegistrationsRequest setReportingTerm(String value) { this.reporting_term = value; return this; }
public ArrayList<AddRegistrationRequest> getSections() { return sections; }
public AddRegistrationsRequest setSections(ArrayList<AddRegistrationRequest> value) { this.sections = value; return this; }
public String getAuthorizingUuid() { return authorizing_uuid; }
public AddRegistrationsRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
}
public static class AddRegistrationRequest
{
public String section_uuid = null;
public BigDecimal amount = null;
public Boolean is_audit = null;
public Boolean is_provisional = null;
public String getSectionUuid() { return section_uuid; }
public AddRegistrationRequest setSectionUuid(String value) { this.section_uuid = value; return this; }
public BigDecimal getAmount() { return amount; }
public AddRegistrationRequest setAmount(BigDecimal value) { this.amount = value; return this; }
public Boolean getIsAudit() { return is_audit; }
public AddRegistrationRequest setIsAudit(Boolean value) { this.is_audit = value; return this; }
public Boolean getIsProvisional() { return is_provisional; }
public AddRegistrationRequest setIsProvisional(Boolean value) { this.is_provisional = value; return this; }
}
public static class AddRegistrationsResponse extends InvoiceResponse
{
public String transaction_uuid = null;
public ArrayList<StudentSectionInvoiceItemResponse> studentSectionInvoiceItems = null;
public HashMap<String,ArrayList<SectionRateWithAmountResponse>> sectionRates = null;
public InvoiceItemAdminResponse creditTuitionRate = null;
public InvoiceItemAdminResponse auditTuitionRate = null;
public Integer studentAge = null;
public Integer studentAgeAtEarliestSectionStartDate = null;
public Boolean isRegentGrad = null;
public Boolean isOnlyUnclassified = null;
public Boolean canRegisterForAuditInTerm = null;
public Boolean canRegisterForCreditInTerm = null;
public ArrayList<String> messages = null;
public BigDecimal currentTermAuditHours = null;
public BigDecimal currentTermCreditHours = null;
public BigDecimal totalCreditHours = null;
public ArrayList<InvoiceItemAdminResponse> availableInvoiceItems = null;
public ArrayList<BenefitResponse> availableBenefits = null;
public String getTransactionUuid() { return transaction_uuid; }
public AddRegistrationsResponse setTransactionUuid(String value) { this.transaction_uuid = value; return this; }
public ArrayList<StudentSectionInvoiceItemResponse> getStudentSectionInvoiceItems() { return studentSectionInvoiceItems; }
public AddRegistrationsResponse setStudentSectionInvoiceItems(ArrayList<StudentSectionInvoiceItemResponse> value) { this.studentSectionInvoiceItems = value; return this; }
public HashMap<String,ArrayList<SectionRateWithAmountResponse>> getSectionRates() { return sectionRates; }
public AddRegistrationsResponse setSectionRates(HashMap<String,ArrayList<SectionRateWithAmountResponse>> value) { this.sectionRates = value; return this; }
public InvoiceItemAdminResponse getCreditTuitionRate() { return creditTuitionRate; }
public AddRegistrationsResponse setCreditTuitionRate(InvoiceItemAdminResponse value) { this.creditTuitionRate = value; return this; }
public InvoiceItemAdminResponse getAuditTuitionRate() { return auditTuitionRate; }
public AddRegistrationsResponse setAuditTuitionRate(InvoiceItemAdminResponse value) { this.auditTuitionRate = value; return this; }
public Integer getStudentAge() { return studentAge; }
public AddRegistrationsResponse setStudentAge(Integer value) { this.studentAge = value; return this; }
public Integer getStudentAgeAtEarliestSectionStartDate() { return studentAgeAtEarliestSectionStartDate; }
public AddRegistrationsResponse setStudentAgeAtEarliestSectionStartDate(Integer value) { this.studentAgeAtEarliestSectionStartDate = value; return this; }
public Boolean getIsRegentGrad() { return isRegentGrad; }
public AddRegistrationsResponse setIsRegentGrad(Boolean value) { this.isRegentGrad = value; return this; }
public Boolean getIsOnlyUnclassified() { return isOnlyUnclassified; }
public AddRegistrationsResponse setIsOnlyUnclassified(Boolean value) { this.isOnlyUnclassified = value; return this; }
public Boolean isCanRegisterForAuditInTerm() { return canRegisterForAuditInTerm; }
public AddRegistrationsResponse setCanRegisterForAuditInTerm(Boolean value) { this.canRegisterForAuditInTerm = value; return this; }
public Boolean isCanRegisterForCreditInTerm() { return canRegisterForCreditInTerm; }
public AddRegistrationsResponse setCanRegisterForCreditInTerm(Boolean value) { this.canRegisterForCreditInTerm = value; return this; }
public ArrayList<String> getMessages() { return messages; }
public AddRegistrationsResponse setMessages(ArrayList<String> value) { this.messages = value; return this; }
public BigDecimal getCurrentTermAuditHours() { return currentTermAuditHours; }
public AddRegistrationsResponse setCurrentTermAuditHours(BigDecimal value) { this.currentTermAuditHours = value; return this; }
public BigDecimal getCurrentTermCreditHours() { return currentTermCreditHours; }
public AddRegistrationsResponse setCurrentTermCreditHours(BigDecimal value) { this.currentTermCreditHours = value; return this; }
public BigDecimal getTotalCreditHours() { return totalCreditHours; }
public AddRegistrationsResponse setTotalCreditHours(BigDecimal value) { this.totalCreditHours = value; return this; }
public ArrayList<InvoiceItemAdminResponse> getAvailableInvoiceItems() { return availableInvoiceItems; }
public AddRegistrationsResponse setAvailableInvoiceItems(ArrayList<InvoiceItemAdminResponse> value) { this.availableInvoiceItems = value; return this; }
public ArrayList<BenefitResponse> getAvailableBenefits() { return availableBenefits; }
public AddRegistrationsResponse setAvailableBenefits(ArrayList<BenefitResponse> value) { this.availableBenefits = value; return this; }
}
public static class InvoiceResponse
{
public ResponseStatus responseStatus = null;
public String invoiceUUID = null;
public Integer regent_id = null;
public String uuid = null;
public String reporting_term = null;
public BigDecimal total_charges = null;
public BigDecimal total_credits = null;
public String current_status = null;
public Date timestamp = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public InvoiceResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public String getInvoiceUUID() { return invoiceUUID; }
public InvoiceResponse setInvoiceUUID(String value) { this.invoiceUUID = value; return this; }
public Integer getRegentId() { return regent_id; }
public InvoiceResponse setRegentId(Integer value) { this.regent_id = value; return this; }
public String getUuid() { return uuid; }
public InvoiceResponse setUuid(String value) { this.uuid = value; return this; }
public String getReportingTerm() { return reporting_term; }
public InvoiceResponse setReportingTerm(String value) { this.reporting_term = value; return this; }
public BigDecimal getTotalCharges() { return total_charges; }
public InvoiceResponse setTotalCharges(BigDecimal value) { this.total_charges = value; return this; }
public BigDecimal getTotalCredits() { return total_credits; }
public InvoiceResponse setTotalCredits(BigDecimal value) { this.total_credits = value; return this; }
public String getCurrentStatus() { return current_status; }
public InvoiceResponse setCurrentStatus(String value) { this.current_status = value; return this; }
public Date getTimestamp() { return timestamp; }
public InvoiceResponse setTimestamp(Date value) { this.timestamp = value; return this; }
}
public static class StudentSectionInvoiceItemResponse extends InvoiceItemResponse
{
public StudentSectionResponse studentSection = null;
public StudentSectionResponse getStudentSection() { return studentSection; }
public StudentSectionInvoiceItemResponse setStudentSection(StudentSectionResponse value) { this.studentSection = value; return this; }
}
public static class InvoiceItemResponse
{
public ResponseStatus responseStatus = null;
public String invoiceItemUUID = null;
public Integer rate_id = null;
public String rate_code = null;
public String rate_description = null;
public BigDecimal charge = null;
public BigDecimal credit = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public InvoiceItemResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public String getInvoiceItemUUID() { return invoiceItemUUID; }
public InvoiceItemResponse setInvoiceItemUUID(String value) { this.invoiceItemUUID = value; return this; }
public Integer getRateId() { return rate_id; }
public InvoiceItemResponse setRateId(Integer value) { this.rate_id = value; return this; }
public String getRateCode() { return rate_code; }
public InvoiceItemResponse setRateCode(String value) { this.rate_code = value; return this; }
public String getRateDescription() { return rate_description; }
public InvoiceItemResponse setRateDescription(String value) { this.rate_description = value; return this; }
public BigDecimal getCharge() { return charge; }
public InvoiceItemResponse setCharge(BigDecimal value) { this.charge = value; return this; }
public BigDecimal getCredit() { return credit; }
public InvoiceItemResponse setCredit(BigDecimal value) { this.credit = value; return this; }
}
public static class StudentSectionResponse extends SectionResponse
{
public String studentSectionUUID = null;
public BigDecimal registered_amount = null;
public Boolean is_provisional = null;
public Boolean is_audit = null;
public String getStudentSectionUUID() { return studentSectionUUID; }
public StudentSectionResponse setStudentSectionUUID(String value) { this.studentSectionUUID = value; return this; }
public BigDecimal getRegisteredAmount() { return registered_amount; }
public StudentSectionResponse setRegisteredAmount(BigDecimal value) { this.registered_amount = value; return this; }
public Boolean getIsProvisional() { return is_provisional; }
public StudentSectionResponse setIsProvisional(Boolean value) { this.is_provisional = value; return this; }
public Boolean getIsAudit() { return is_audit; }
public StudentSectionResponse setIsAudit(Boolean value) { this.is_audit = value; return this; }
}
public static class SectionResponse
{
public ResponseStatus responseStatus = null;
public String secUUID = null;
public String course_name = null;
public String section_code = null;
public String course_title = null;
public String course_short_title = null;
public String course_description = null;
public String crosslist_description = null;
public String crosslist_course_name = null;
public String location_long_name = null;
public String room = null;
public ArrayList<InstructorResponse> instructors = null;
public ArrayList<DocumentResponse> required_documents = null;
public Date start_date = null;
public Date end_date = null;
public Date first_meeting_date = null;
public Date last_meeting_date = null;
public String meeting_days = null;
public ArrayList<String> start_times = null;
public ArrayList<String> end_times = null;
public Boolean is_online_only = null;
public Boolean is_weekend = null;
public Boolean is_weekday = null;
public Boolean is_evening = null;
public Boolean is_waitlist = null;
public Boolean has_special_requirements = null;
public String special_requirements = null;
public Boolean is_unlisted = null;
public ArrayList<BigDecimal> credit_amounts = null;
public ArrayList<BigDecimal> audit_amounts = null;
public String audits_short_name = null;
public String audits_long_name = null;
public String credits_short_name = null;
public String credits_long_name = null;
public String distance_ed_materials = null;
public String prerequisites = null;
public String corequisites = null;
public Integer capacity = null;
public BigDecimal flat_fee_amount = null;
public BigDecimal additional_fee_amount = null;
public Integer registered_students = null;
public Integer three_credit_plus = null;
public Integer two_credit = null;
public Integer one_credit = null;
public Integer three_audit_plus = null;
public Integer two_audit = null;
public Integer one_audit = null;
public Integer crosslist_registered_students = null;
public Integer grades_received = null;
public Integer crosslist_grades_received = null;
public Date registration_start_date = null;
public Date registration_end_date = null;
public Date add_start_date = null;
public Date add_end_date = null;
public Date drop_start_date = null;
public Date drop_end_date = null;
public Date grading_end_date = 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 Date timestamp = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public SectionResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public String getSecUUID() { return secUUID; }
public SectionResponse setSecUUID(String value) { this.secUUID = value; return this; }
public String getCourseName() { return course_name; }
public SectionResponse setCourseName(String value) { this.course_name = value; return this; }
public String getSectionCode() { return section_code; }
public SectionResponse setSectionCode(String value) { this.section_code = value; return this; }
public String getCourseTitle() { return course_title; }
public SectionResponse setCourseTitle(String value) { this.course_title = value; return this; }
public String getCourseShortTitle() { return course_short_title; }
public SectionResponse setCourseShortTitle(String value) { this.course_short_title = value; return this; }
public String getCourseDescription() { return course_description; }
public SectionResponse setCourseDescription(String value) { this.course_description = value; return this; }
public String getCrosslistDescription() { return crosslist_description; }
public SectionResponse setCrosslistDescription(String value) { this.crosslist_description = value; return this; }
public String getCrosslistCourseName() { return crosslist_course_name; }
public SectionResponse setCrosslistCourseName(String value) { this.crosslist_course_name = value; return this; }
public String getLocationLongName() { return location_long_name; }
public SectionResponse setLocationLongName(String value) { this.location_long_name = value; return this; }
public String getRoom() { return room; }
public SectionResponse setRoom(String value) { this.room = value; return this; }
public ArrayList<InstructorResponse> getInstructors() { return instructors; }
public SectionResponse setInstructors(ArrayList<InstructorResponse> value) { this.instructors = value; return this; }
public ArrayList<DocumentResponse> getRequiredDocuments() { return required_documents; }
public SectionResponse setRequiredDocuments(ArrayList<DocumentResponse> value) { this.required_documents = value; return this; }
public Date getStartDate() { return start_date; }
public SectionResponse setStartDate(Date value) { this.start_date = value; return this; }
public Date getEndDate() { return end_date; }
public SectionResponse setEndDate(Date value) { this.end_date = value; return this; }
public Date getFirstMeetingDate() { return first_meeting_date; }
public SectionResponse setFirstMeetingDate(Date value) { this.first_meeting_date = value; return this; }
public Date getLastMeetingDate() { return last_meeting_date; }
public SectionResponse setLastMeetingDate(Date value) { this.last_meeting_date = value; return this; }
public String getMeetingDays() { return meeting_days; }
public SectionResponse setMeetingDays(String value) { this.meeting_days = value; return this; }
public ArrayList<String> getStartTimes() { return start_times; }
public SectionResponse setStartTimes(ArrayList<String> value) { this.start_times = value; return this; }
public ArrayList<String> getEndTimes() { return end_times; }
public SectionResponse setEndTimes(ArrayList<String> value) { this.end_times = value; return this; }
public Boolean getIsOnlineOnly() { return is_online_only; }
public SectionResponse setIsOnlineOnly(Boolean value) { this.is_online_only = value; return this; }
public Boolean getIsWeekend() { return is_weekend; }
public SectionResponse setIsWeekend(Boolean value) { this.is_weekend = value; return this; }
public Boolean getIsWeekday() { return is_weekday; }
public SectionResponse setIsWeekday(Boolean value) { this.is_weekday = value; return this; }
public Boolean getIsEvening() { return is_evening; }
public SectionResponse setIsEvening(Boolean value) { this.is_evening = value; return this; }
public Boolean getIsWaitlist() { return is_waitlist; }
public SectionResponse setIsWaitlist(Boolean value) { this.is_waitlist = value; return this; }
public Boolean isHasSpecialRequirements() { return has_special_requirements; }
public SectionResponse setHasSpecialRequirements(Boolean value) { this.has_special_requirements = value; return this; }
public String getSpecialRequirements() { return special_requirements; }
public SectionResponse setSpecialRequirements(String value) { this.special_requirements = value; return this; }
public Boolean getIsUnlisted() { return is_unlisted; }
public SectionResponse setIsUnlisted(Boolean value) { this.is_unlisted = value; return this; }
public ArrayList<BigDecimal> getCreditAmounts() { return credit_amounts; }
public SectionResponse setCreditAmounts(ArrayList<BigDecimal> value) { this.credit_amounts = value; return this; }
public ArrayList<BigDecimal> getAuditAmounts() { return audit_amounts; }
public SectionResponse setAuditAmounts(ArrayList<BigDecimal> value) { this.audit_amounts = value; return this; }
public String getAuditsShortName() { return audits_short_name; }
public SectionResponse setAuditsShortName(String value) { this.audits_short_name = value; return this; }
public String getAuditsLongName() { return audits_long_name; }
public SectionResponse setAuditsLongName(String value) { this.audits_long_name = value; return this; }
public String getCreditsShortName() { return credits_short_name; }
public SectionResponse setCreditsShortName(String value) { this.credits_short_name = value; return this; }
public String getCreditsLongName() { return credits_long_name; }
public SectionResponse setCreditsLongName(String value) { this.credits_long_name = value; return this; }
public String getDistanceEdMaterials() { return distance_ed_materials; }
public SectionResponse setDistanceEdMaterials(String value) { this.distance_ed_materials = value; return this; }
public String getPrerequisites() { return prerequisites; }
public SectionResponse setPrerequisites(String value) { this.prerequisites = value; return this; }
public String getCorequisites() { return corequisites; }
public SectionResponse setCorequisites(String value) { this.corequisites = value; return this; }
public Integer getCapacity() { return capacity; }
public SectionResponse setCapacity(Integer value) { this.capacity = value; return this; }
public BigDecimal getFlatFeeAmount() { return flat_fee_amount; }
public SectionResponse setFlatFeeAmount(BigDecimal value) { this.flat_fee_amount = value; return this; }
public BigDecimal getAdditionalFeeAmount() { return additional_fee_amount; }
public SectionResponse setAdditionalFeeAmount(BigDecimal value) { this.additional_fee_amount = value; return this; }
public Integer getRegisteredStudents() { return registered_students; }
public SectionResponse setRegisteredStudents(Integer value) { this.registered_students = value; return this; }
public Integer getThreeCreditPlus() { return three_credit_plus; }
public SectionResponse setThreeCreditPlus(Integer value) { this.three_credit_plus = value; return this; }
public Integer getTwoCredit() { return two_credit; }
public SectionResponse setTwoCredit(Integer value) { this.two_credit = value; return this; }
public Integer getOneCredit() { return one_credit; }
public SectionResponse setOneCredit(Integer value) { this.one_credit = value; return this; }
public Integer getThreeAuditPlus() { return three_audit_plus; }
public SectionResponse setThreeAuditPlus(Integer value) { this.three_audit_plus = value; return this; }
public Integer getTwoAudit() { return two_audit; }
public SectionResponse setTwoAudit(Integer value) { this.two_audit = value; return this; }
public Integer getOneAudit() { return one_audit; }
public SectionResponse setOneAudit(Integer value) { this.one_audit = value; return this; }
public Integer getCrosslistRegisteredStudents() { return crosslist_registered_students; }
public SectionResponse setCrosslistRegisteredStudents(Integer value) { this.crosslist_registered_students = value; return this; }
public Integer getGradesReceived() { return grades_received; }
public SectionResponse setGradesReceived(Integer value) { this.grades_received = value; return this; }
public Integer getCrosslistGradesReceived() { return crosslist_grades_received; }
public SectionResponse setCrosslistGradesReceived(Integer value) { this.crosslist_grades_received = value; return this; }
public Date getRegistrationStartDate() { return registration_start_date; }
public SectionResponse setRegistrationStartDate(Date value) { this.registration_start_date = value; return this; }
public Date getRegistrationEndDate() { return registration_end_date; }
public SectionResponse setRegistrationEndDate(Date value) { this.registration_end_date = value; return this; }
public Date getAddStartDate() { return add_start_date; }
public SectionResponse setAddStartDate(Date value) { this.add_start_date = value; return this; }
public Date getAddEndDate() { return add_end_date; }
public SectionResponse setAddEndDate(Date value) { this.add_end_date = value; return this; }
public Date getDropStartDate() { return drop_start_date; }
public SectionResponse setDropStartDate(Date value) { this.drop_start_date = value; return this; }
public Date getDropEndDate() { return drop_end_date; }
public SectionResponse setDropEndDate(Date value) { this.drop_end_date = value; return this; }
public Date getGradingEndDate() { return grading_end_date; }
public SectionResponse setGradingEndDate(Date value) { this.grading_end_date = value; return this; }
public String getTerm() { return term; }
public SectionResponse setTerm(String value) { this.term = value; return this; }
public String getReportingTerm() { return reporting_term; }
public SectionResponse setReportingTerm(String value) { this.reporting_term = value; return this; }
public Integer getReportingYear() { return reporting_year; }
public SectionResponse setReportingYear(Integer value) { this.reporting_year = value; return this; }
public String getCurrentStatus() { return current_status; }
public SectionResponse setCurrentStatus(String value) { this.current_status = value; return this; }
public String getAddedBy() { return added_by; }
public SectionResponse setAddedBy(String value) { this.added_by = value; return this; }
public Date getAddedDate() { return added_date; }
public SectionResponse setAddedDate(Date value) { this.added_date = value; return this; }
public String getChangedBy() { return changed_by; }
public SectionResponse setChangedBy(String value) { this.changed_by = value; return this; }
public Date getChangedDate() { return changed_date; }
public SectionResponse setChangedDate(Date value) { this.changed_date = value; return this; }
public Date getTimestamp() { return timestamp; }
public SectionResponse setTimestamp(Date value) { this.timestamp = value; return this; }
}
public static class InstructorResponse
{
public ResponseStatus responseStatus = null;
public Integer regent_id = null;
public String regent_login = null;
public String preferred_name = null;
public String first_name = null;
public String last_name = null;
public String full_name = null;
public String email = null;
public String image_base64 = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public InstructorResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public Integer getRegentId() { return regent_id; }
public InstructorResponse setRegentId(Integer value) { this.regent_id = value; return this; }
public String getRegentLogin() { return regent_login; }
public InstructorResponse setRegentLogin(String value) { this.regent_login = value; return this; }
public String getPreferredName() { return preferred_name; }
public InstructorResponse setPreferredName(String value) { this.preferred_name = value; return this; }
public String getFirstName() { return first_name; }
public InstructorResponse setFirstName(String value) { this.first_name = value; return this; }
public String getLastName() { return last_name; }
public InstructorResponse setLastName(String value) { this.last_name = value; return this; }
public String getFullName() { return full_name; }
public InstructorResponse setFullName(String value) { this.full_name = value; return this; }
public String getEmail() { return email; }
public InstructorResponse setEmail(String value) { this.email = value; return this; }
public String getImageBase64() { return image_base64; }
public InstructorResponse setImageBase64(String value) { this.image_base64 = value; return this; }
}
public static class DocumentResponse
{
public String code = null;
public String document_name = null;
public String document_description = null;
public String getCode() { return code; }
public DocumentResponse setCode(String value) { this.code = value; return this; }
public String getDocumentName() { return document_name; }
public DocumentResponse setDocumentName(String value) { this.document_name = value; return this; }
public String getDocumentDescription() { return document_description; }
public DocumentResponse setDocumentDescription(String value) { this.document_description = value; return this; }
}
public static class InvoiceItemAdminResponse
{
public ResponseStatus responseStatus = null;
public String invoiceItemUUID = null;
public Integer rate_id = null;
public String rate_code = null;
public String rate_description = null;
public Boolean is_required = null;
public Boolean is_optional = null;
public BigDecimal charge = null;
public BigDecimal credit = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public InvoiceItemAdminResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public String getInvoiceItemUUID() { return invoiceItemUUID; }
public InvoiceItemAdminResponse setInvoiceItemUUID(String value) { this.invoiceItemUUID = value; return this; }
public Integer getRateId() { return rate_id; }
public InvoiceItemAdminResponse setRateId(Integer value) { this.rate_id = value; return this; }
public String getRateCode() { return rate_code; }
public InvoiceItemAdminResponse setRateCode(String value) { this.rate_code = value; return this; }
public String getRateDescription() { return rate_description; }
public InvoiceItemAdminResponse setRateDescription(String value) { this.rate_description = value; return this; }
public Boolean getIsRequired() { return is_required; }
public InvoiceItemAdminResponse setIsRequired(Boolean value) { this.is_required = value; return this; }
public Boolean getIsOptional() { return is_optional; }
public InvoiceItemAdminResponse setIsOptional(Boolean value) { this.is_optional = value; return this; }
public BigDecimal getCharge() { return charge; }
public InvoiceItemAdminResponse setCharge(BigDecimal value) { this.charge = value; return this; }
public BigDecimal getCredit() { return credit; }
public InvoiceItemAdminResponse setCredit(BigDecimal value) { this.credit = value; return this; }
}
public static class BenefitResponse
{
public Integer rate_id = null;
public String rate_code = null;
public String rate_description = null;
public BigDecimal percentage_rate = null;
public Boolean is_optional = null;
public Boolean is_required = null;
public Integer getRateId() { return rate_id; }
public BenefitResponse setRateId(Integer value) { this.rate_id = value; return this; }
public String getRateCode() { return rate_code; }
public BenefitResponse setRateCode(String value) { this.rate_code = value; return this; }
public String getRateDescription() { return rate_description; }
public BenefitResponse setRateDescription(String value) { this.rate_description = value; return this; }
public BigDecimal getPercentageRate() { return percentage_rate; }
public BenefitResponse setPercentageRate(BigDecimal value) { this.percentage_rate = value; return this; }
public Boolean getIsOptional() { return is_optional; }
public BenefitResponse setIsOptional(Boolean value) { this.is_optional = value; return this; }
public Boolean getIsRequired() { return is_required; }
public BenefitResponse setIsRequired(Boolean value) { this.is_required = value; return this; }
}
}
Java AddRegistrationsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Registration/{uuid}/Add/{reporting_term} HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"uuid":"String","transaction_uuid":"String","reporting_term":"String","sections":[{"section_uuid":"String","amount":0,"is_audit":false,"is_provisional":false}],"authorizing_uuid":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"transaction_uuid":"String","studentSectionInvoiceItems":[{"studentSection":{"studentSectionUUID":"String","registered_amount":0,"is_provisional":false,"is_audit":false,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"secUUID":"String","course_name":"String","section_code":"String","course_title":"String","course_short_title":"String","course_description":"String","crosslist_description":"String","crosslist_course_name":"String","location_long_name":"String","room":"String","instructors":[{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"regent_id":0,"regent_login":"String","preferred_name":"String","first_name":"String","last_name":"String","full_name":"String","email":"String","image_base64":"String"}],"required_documents":[{"code":"String","document_name":"String","document_description":"String"}],"start_date":"0001-01-01T00:00:00.0000000","end_date":"0001-01-01T00:00:00.0000000","first_meeting_date":"0001-01-01T00:00:00.0000000","last_meeting_date":"0001-01-01T00:00:00.0000000","meeting_days":"String","start_times":["String"],"end_times":["String"],"is_online_only":false,"is_weekend":false,"is_weekday":false,"is_evening":false,"is_waitlist":false,"has_special_requirements":false,"special_requirements":"String","is_unlisted":false,"credit_amounts":[0],"audit_amounts":[0],"audits_short_name":"String","audits_long_name":"String","credits_short_name":"String","credits_long_name":"String","distance_ed_materials":"String","prerequisites":"String","corequisites":"String","capacity":0,"flat_fee_amount":0,"additional_fee_amount":0,"registered_students":0,"three_credit_plus":0,"two_credit":0,"one_credit":0,"three_audit_plus":0,"two_audit":0,"one_audit":0,"crosslist_registered_students":0,"grades_received":0,"crosslist_grades_received":0,"registration_start_date":"0001-01-01T00:00:00.0000000","registration_end_date":"0001-01-01T00:00:00.0000000","add_start_date":"0001-01-01T00:00:00.0000000","add_end_date":"0001-01-01T00:00:00.0000000","drop_start_date":"0001-01-01T00:00:00.0000000","drop_end_date":"0001-01-01T00:00:00.0000000","grading_end_date":"0001-01-01T00:00:00.0000000","term":"String","reporting_term":"String","reporting_year":0,"current_status":"String","added_by":"String","added_date":"0001-01-01T00:00:00.0000000","changed_by":"String","changed_date":"0001-01-01T00:00:00.0000000","timestamp":"0001-01-01T00:00:00.0000000"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"invoiceItemUUID":"String","rate_id":0,"rate_code":"String","rate_description":"String","charge":0,"credit":0}],"sectionRates":{"String":[{"rate_id":0,"charge":0,"credit":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"uuid":"String","secUUID":"String","section_id":0,"course_name":"String","section_code":"String","title":"String","reporting_term":"String","rate_code":"String","rate_description":"String","is_override_credit_rate":false,"is_override_audit_rate":false}]},"creditTuitionRate":{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"invoiceItemUUID":"String","rate_id":0,"rate_code":"String","rate_description":"String","is_required":false,"is_optional":false,"charge":0,"credit":0},"auditTuitionRate":{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"invoiceItemUUID":"String","rate_id":0,"rate_code":"String","rate_description":"String","is_required":false,"is_optional":false,"charge":0,"credit":0},"studentAge":0,"studentAgeAtEarliestSectionStartDate":0,"isRegentGrad":false,"isOnlyUnclassified":false,"canRegisterForAuditInTerm":false,"canRegisterForCreditInTerm":false,"messages":["String"],"currentTermAuditHours":0,"currentTermCreditHours":0,"totalCreditHours":0,"availableInvoiceItems":[{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"invoiceItemUUID":"String","rate_id":0,"rate_code":"String","rate_description":"String","is_required":false,"is_optional":false,"charge":0,"credit":0}],"availableBenefits":[{"rate_id":0,"rate_code":"String","rate_description":"String","percentage_rate":0,"is_optional":false,"is_required":false}],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"invoiceUUID":"String","regent_id":0,"uuid":"String","reporting_term":"String","total_charges":0,"total_credits":0,"current_status":"String","timestamp":"0001-01-01T00:00:00.0000000"}