regis

<back to all web services

AddRegistrationsRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<AddRegistrationsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
  <authorizing_uuid>String</authorizing_uuid>
  <reporting_term>String</reporting_term>
  <sections>
    <AddRegistrationRequest>
      <amount>0</amount>
      <is_audit>false</is_audit>
      <is_provisional>false</is_provisional>
      <section_uuid>String</section_uuid>
    </AddRegistrationRequest>
  </sections>
  <transaction_uuid>String</transaction_uuid>
  <uuid>String</uuid>
</AddRegistrationsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AddRegistrationsResponse 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>
  <current_status>String</current_status>
  <invoiceUUID>String</invoiceUUID>
  <regent_id>0</regent_id>
  <reporting_term>String</reporting_term>
  <timestamp>0001-01-01T00:00:00</timestamp>
  <total_charges>0</total_charges>
  <total_credits>0</total_credits>
  <uuid>String</uuid>
  <auditTuitionRate>
    <ResponseStatus xmlns:d3p1="http://schemas.servicestack.net/types">
      <d3p1:ErrorCode>String</d3p1:ErrorCode>
      <d3p1:Message>String</d3p1:Message>
      <d3p1:StackTrace>String</d3p1:StackTrace>
      <d3p1:Errors>
        <d3p1:ResponseError>
          <d3p1:ErrorCode>String</d3p1:ErrorCode>
          <d3p1:FieldName>String</d3p1:FieldName>
          <d3p1:Message>String</d3p1:Message>
          <d3p1: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>
          </d3p1:Meta>
        </d3p1:ResponseError>
      </d3p1:Errors>
      <d3p1: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>
      </d3p1:Meta>
    </ResponseStatus>
    <charge>0</charge>
    <credit>0</credit>
    <invoiceItemUUID>String</invoiceItemUUID>
    <is_optional>false</is_optional>
    <is_required>false</is_required>
    <rate_code>String</rate_code>
    <rate_description>String</rate_description>
    <rate_id>0</rate_id>
  </auditTuitionRate>
  <availableBenefits>
    <BenefitResponse>
      <is_optional>false</is_optional>
      <is_required>false</is_required>
      <percentage_rate>0</percentage_rate>
      <rate_code>String</rate_code>
      <rate_description>String</rate_description>
      <rate_id>0</rate_id>
    </BenefitResponse>
  </availableBenefits>
  <availableInvoiceItems>
    <InvoiceItemAdminResponse>
      <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>
      <charge>0</charge>
      <credit>0</credit>
      <invoiceItemUUID>String</invoiceItemUUID>
      <is_optional>false</is_optional>
      <is_required>false</is_required>
      <rate_code>String</rate_code>
      <rate_description>String</rate_description>
      <rate_id>0</rate_id>
    </InvoiceItemAdminResponse>
  </availableInvoiceItems>
  <canRegisterForAuditInTerm>false</canRegisterForAuditInTerm>
  <canRegisterForCreditInTerm>false</canRegisterForCreditInTerm>
  <creditTuitionRate>
    <ResponseStatus xmlns:d3p1="http://schemas.servicestack.net/types">
      <d3p1:ErrorCode>String</d3p1:ErrorCode>
      <d3p1:Message>String</d3p1:Message>
      <d3p1:StackTrace>String</d3p1:StackTrace>
      <d3p1:Errors>
        <d3p1:ResponseError>
          <d3p1:ErrorCode>String</d3p1:ErrorCode>
          <d3p1:FieldName>String</d3p1:FieldName>
          <d3p1:Message>String</d3p1:Message>
          <d3p1: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>
          </d3p1:Meta>
        </d3p1:ResponseError>
      </d3p1:Errors>
      <d3p1: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>
      </d3p1:Meta>
    </ResponseStatus>
    <charge>0</charge>
    <credit>0</credit>
    <invoiceItemUUID>String</invoiceItemUUID>
    <is_optional>false</is_optional>
    <is_required>false</is_required>
    <rate_code>String</rate_code>
    <rate_description>String</rate_description>
    <rate_id>0</rate_id>
  </creditTuitionRate>
  <currentTermAuditHours>0</currentTermAuditHours>
  <currentTermCreditHours>0</currentTermCreditHours>
  <isOnlyUnclassified>false</isOnlyUnclassified>
  <isRegentGrad>false</isRegentGrad>
  <messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </messages>
  <sectionRates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringArrayOfSectionRateWithAmountResponsezpaGewPN>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>
        <SectionRateWithAmountResponse>
          <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>
                  <d2p1:KeyValueOfstringstring>
                    <d2p1:Key>String</d2p1:Key>
                    <d2p1:Value>String</d2p1:Value>
                  </d2p1:KeyValueOfstringstring>
                </d6p1:Meta>
              </d6p1:ResponseError>
            </d6p1:Errors>
            <d6p1:Meta>
              <d2p1:KeyValueOfstringstring>
                <d2p1:Key>String</d2p1:Key>
                <d2p1:Value>String</d2p1:Value>
              </d2p1:KeyValueOfstringstring>
            </d6p1:Meta>
          </ResponseStatus>
          <course_name>String</course_name>
          <is_override_audit_rate>false</is_override_audit_rate>
          <is_override_credit_rate>false</is_override_credit_rate>
          <rate_code>String</rate_code>
          <rate_description>String</rate_description>
          <reporting_term>String</reporting_term>
          <secUUID>String</secUUID>
          <section_code>String</section_code>
          <section_id>0</section_id>
          <title>String</title>
          <uuid>String</uuid>
          <charge>0</charge>
          <credit>0</credit>
          <rate_id>0</rate_id>
        </SectionRateWithAmountResponse>
      </d2p1:Value>
    </d2p1:KeyValueOfstringArrayOfSectionRateWithAmountResponsezpaGewPN>
  </sectionRates>
  <studentAge>0</studentAge>
  <studentAgeAtEarliestSectionStartDate>0</studentAgeAtEarliestSectionStartDate>
  <studentSectionInvoiceItems>
    <StudentSectionInvoiceItemResponse>
      <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>
      <charge>0</charge>
      <credit>0</credit>
      <invoiceItemUUID>String</invoiceItemUUID>
      <rate_code>String</rate_code>
      <rate_description>String</rate_description>
      <rate_id>0</rate_id>
      <studentSection>
        <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>
        <add_end_date>0001-01-01T00:00:00</add_end_date>
        <add_start_date>0001-01-01T00:00:00</add_start_date>
        <added_by>String</added_by>
        <added_date>0001-01-01T00:00:00</added_date>
        <additional_fee_amount>0</additional_fee_amount>
        <audit_amounts xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>0</d5p1:decimal>
        </audit_amounts>
        <audits_long_name>String</audits_long_name>
        <audits_short_name>String</audits_short_name>
        <capacity>0</capacity>
        <changed_by>String</changed_by>
        <changed_date>0001-01-01T00:00:00</changed_date>
        <corequisites>String</corequisites>
        <course_description>String</course_description>
        <course_name>String</course_name>
        <course_short_title>String</course_short_title>
        <course_title>String</course_title>
        <credit_amounts xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>0</d5p1:decimal>
        </credit_amounts>
        <credits_long_name>String</credits_long_name>
        <credits_short_name>String</credits_short_name>
        <crosslist_course_name>String</crosslist_course_name>
        <crosslist_description>String</crosslist_description>
        <crosslist_grades_received>0</crosslist_grades_received>
        <crosslist_registered_students>0</crosslist_registered_students>
        <current_status>String</current_status>
        <distance_ed_materials>String</distance_ed_materials>
        <drop_end_date>0001-01-01T00:00:00</drop_end_date>
        <drop_start_date>0001-01-01T00:00:00</drop_start_date>
        <end_date>0001-01-01T00:00:00</end_date>
        <end_times xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </end_times>
        <first_meeting_date>0001-01-01T00:00:00</first_meeting_date>
        <flat_fee_amount>0</flat_fee_amount>
        <grades_received>0</grades_received>
        <grading_end_date>0001-01-01T00:00:00</grading_end_date>
        <has_special_requirements>false</has_special_requirements>
        <instructors>
          <InstructorResponse>
            <ResponseStatus xmlns:d7p1="http://schemas.servicestack.net/types">
              <d7p1:ErrorCode>String</d7p1:ErrorCode>
              <d7p1:Message>String</d7p1:Message>
              <d7p1:StackTrace>String</d7p1:StackTrace>
              <d7p1:Errors>
                <d7p1:ResponseError>
                  <d7p1:ErrorCode>String</d7p1:ErrorCode>
                  <d7p1:FieldName>String</d7p1:FieldName>
                  <d7p1:Message>String</d7p1:Message>
                  <d7p1:Meta xmlns:d10p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                    <d10p1:KeyValueOfstringstring>
                      <d10p1:Key>String</d10p1:Key>
                      <d10p1:Value>String</d10p1:Value>
                    </d10p1:KeyValueOfstringstring>
                  </d7p1:Meta>
                </d7p1:ResponseError>
              </d7p1:Errors>
              <d7p1: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>
              </d7p1:Meta>
            </ResponseStatus>
            <email>String</email>
            <first_name>String</first_name>
            <full_name>String</full_name>
            <image_base64>String</image_base64>
            <last_name>String</last_name>
            <preferred_name>String</preferred_name>
            <regent_id>0</regent_id>
            <regent_login>String</regent_login>
          </InstructorResponse>
        </instructors>
        <is_evening>false</is_evening>
        <is_online_only>false</is_online_only>
        <is_unlisted>false</is_unlisted>
        <is_waitlist>false</is_waitlist>
        <is_weekday>false</is_weekday>
        <is_weekend>false</is_weekend>
        <last_meeting_date>0001-01-01T00:00:00</last_meeting_date>
        <location_long_name>String</location_long_name>
        <meeting_days>String</meeting_days>
        <one_audit>0</one_audit>
        <one_credit>0</one_credit>
        <prerequisites>String</prerequisites>
        <registered_students>0</registered_students>
        <registration_end_date>0001-01-01T00:00:00</registration_end_date>
        <registration_start_date>0001-01-01T00:00:00</registration_start_date>
        <reporting_term>String</reporting_term>
        <reporting_year>0</reporting_year>
        <required_documents>
          <DocumentResponse>
            <code>String</code>
            <document_description>String</document_description>
            <document_name>String</document_name>
          </DocumentResponse>
        </required_documents>
        <room>String</room>
        <secUUID>String</secUUID>
        <section_code>String</section_code>
        <special_requirements>String</special_requirements>
        <start_date>0001-01-01T00:00:00</start_date>
        <start_times xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </start_times>
        <term>String</term>
        <three_audit_plus>0</three_audit_plus>
        <three_credit_plus>0</three_credit_plus>
        <timestamp>0001-01-01T00:00:00</timestamp>
        <two_audit>0</two_audit>
        <two_credit>0</two_credit>
        <is_audit>false</is_audit>
        <is_provisional>false</is_provisional>
        <registered_amount>0</registered_amount>
        <studentSectionUUID>String</studentSectionUUID>
      </studentSection>
    </StudentSectionInvoiceItemResponse>
  </studentSectionInvoiceItems>
  <totalCreditHours>0</totalCreditHours>
  <transaction_uuid>String</transaction_uuid>
</AddRegistrationsResponse>