| Required role: | REGISUserRole |
| POST | /Registration/Unauthenticated/{reporting_term}/{transaction_uuid}/Update |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class UnauthenticatedRegistrationTransactionUpdateRequest
{
public String transaction_uuid = null;
public String reporting_term = null;
public Boolean is_authorized = null;
public Boolean is_archived = null;
public String authorizing_uuid = null;
public String getTransactionUuid() { return transaction_uuid; }
public UnauthenticatedRegistrationTransactionUpdateRequest setTransactionUuid(String value) { this.transaction_uuid = value; return this; }
public String getReportingTerm() { return reporting_term; }
public UnauthenticatedRegistrationTransactionUpdateRequest setReportingTerm(String value) { this.reporting_term = value; return this; }
public Boolean getIsAuthorized() { return is_authorized; }
public UnauthenticatedRegistrationTransactionUpdateRequest setIsAuthorized(Boolean value) { this.is_authorized = value; return this; }
public Boolean getIsArchived() { return is_archived; }
public UnauthenticatedRegistrationTransactionUpdateRequest setIsArchived(Boolean value) { this.is_archived = value; return this; }
public String getAuthorizingUuid() { return authorizing_uuid; }
public UnauthenticatedRegistrationTransactionUpdateRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
}
public static class UnauthenticatedRegistrationTransactionResponse
{
public ResponseStatus responseStatus = null;
public String transaction_uuid = null;
public String notes_json = null;
public BigDecimal credit_hours = null;
public BigDecimal audit_hours = null;
public Date started_datetime = null;
public Date archived_datetime = null;
public Date submitted_datetime = null;
public Date authorized_datetime = null;
public UnauthenticatedPersonResponse person = null;
public ArrayList<UnauthenticatedStudentSectionRegistrationResponse> registrations = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public UnauthenticatedRegistrationTransactionResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public String getTransactionUuid() { return transaction_uuid; }
public UnauthenticatedRegistrationTransactionResponse setTransactionUuid(String value) { this.transaction_uuid = value; return this; }
public String getNotesJson() { return notes_json; }
public UnauthenticatedRegistrationTransactionResponse setNotesJson(String value) { this.notes_json = value; return this; }
public BigDecimal getCreditHours() { return credit_hours; }
public UnauthenticatedRegistrationTransactionResponse setCreditHours(BigDecimal value) { this.credit_hours = value; return this; }
public BigDecimal getAuditHours() { return audit_hours; }
public UnauthenticatedRegistrationTransactionResponse setAuditHours(BigDecimal value) { this.audit_hours = value; return this; }
public Date getStartedDatetime() { return started_datetime; }
public UnauthenticatedRegistrationTransactionResponse setStartedDatetime(Date value) { this.started_datetime = value; return this; }
public Date getArchivedDatetime() { return archived_datetime; }
public UnauthenticatedRegistrationTransactionResponse setArchivedDatetime(Date value) { this.archived_datetime = value; return this; }
public Date getSubmittedDatetime() { return submitted_datetime; }
public UnauthenticatedRegistrationTransactionResponse setSubmittedDatetime(Date value) { this.submitted_datetime = value; return this; }
public Date getAuthorizedDatetime() { return authorized_datetime; }
public UnauthenticatedRegistrationTransactionResponse setAuthorizedDatetime(Date value) { this.authorized_datetime = value; return this; }
public UnauthenticatedPersonResponse getPerson() { return person; }
public UnauthenticatedRegistrationTransactionResponse setPerson(UnauthenticatedPersonResponse value) { this.person = value; return this; }
public ArrayList<UnauthenticatedStudentSectionRegistrationResponse> getRegistrations() { return registrations; }
public UnauthenticatedRegistrationTransactionResponse setRegistrations(ArrayList<UnauthenticatedStudentSectionRegistrationResponse> value) { this.registrations = value; return this; }
}
public static class UnauthenticatedPersonResponse
{
public ResponseStatus responseStatus = null;
public Integer regent_id = null;
public String reporting_term = null;
public String survey = null;
public String friend_referral = null;
public String other_referral = null;
public Boolean is_returning = null;
public Boolean is_applying = null;
public Boolean is_landlord = null;
public Integer postsecondary_education_level = null;
public String uuid = null;
public String regent_login = null;
public String first_name = null;
public String middle_name = null;
public String last_name = null;
public String preferred_name = null;
public String birth_name = null;
public String spouse_name = null;
public String addr1 = null;
public String addr2 = null;
public String country = null;
public String state = null;
public String city = null;
public String code = null;
public String phone_home = null;
public String phone_cell = null;
public String phone_bus = null;
public String email = null;
public String prefix = null;
public Date dob = null;
public String citizenship = null;
public String citizenship_other = null;
public String permanent_resident = null;
public String denomination = null;
public String occupation = null;
public String ethnicity = null;
public String gender = null;
public String marital_status = null;
public Date deceased_date = null;
public String added_by = null;
public Date added_date = null;
public String last_changed_by = null;
public Date last_changed_date = null;
public String addr_last_changed_by = null;
public Date addr_last_changed_date = null;
public Date timestamp = null;
public Date submitted_datetime = null;
public Integer submitted_by_unauthenticated_person_id = null;
public Date authorized_datetime = null;
public Integer authorized_by_person_id = null;
public Date archived_datetime = null;
public Integer archived_by_person_id = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public UnauthenticatedPersonResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public Integer getRegentId() { return regent_id; }
public UnauthenticatedPersonResponse setRegentId(Integer value) { this.regent_id = value; return this; }
public String getReportingTerm() { return reporting_term; }
public UnauthenticatedPersonResponse setReportingTerm(String value) { this.reporting_term = value; return this; }
public String getSurvey() { return survey; }
public UnauthenticatedPersonResponse setSurvey(String value) { this.survey = value; return this; }
public String getFriendReferral() { return friend_referral; }
public UnauthenticatedPersonResponse setFriendReferral(String value) { this.friend_referral = value; return this; }
public String getOtherReferral() { return other_referral; }
public UnauthenticatedPersonResponse setOtherReferral(String value) { this.other_referral = value; return this; }
public Boolean getIsReturning() { return is_returning; }
public UnauthenticatedPersonResponse setIsReturning(Boolean value) { this.is_returning = value; return this; }
public Boolean getIsApplying() { return is_applying; }
public UnauthenticatedPersonResponse setIsApplying(Boolean value) { this.is_applying = value; return this; }
public Boolean getIsLandlord() { return is_landlord; }
public UnauthenticatedPersonResponse setIsLandlord(Boolean value) { this.is_landlord = value; return this; }
public Integer getPostsecondaryEducationLevel() { return postsecondary_education_level; }
public UnauthenticatedPersonResponse setPostsecondaryEducationLevel(Integer value) { this.postsecondary_education_level = value; return this; }
public String getUuid() { return uuid; }
public UnauthenticatedPersonResponse setUuid(String value) { this.uuid = value; return this; }
public String getRegentLogin() { return regent_login; }
public UnauthenticatedPersonResponse setRegentLogin(String value) { this.regent_login = value; return this; }
public String getFirstName() { return first_name; }
public UnauthenticatedPersonResponse setFirstName(String value) { this.first_name = value; return this; }
public String getMiddleName() { return middle_name; }
public UnauthenticatedPersonResponse setMiddleName(String value) { this.middle_name = value; return this; }
public String getLastName() { return last_name; }
public UnauthenticatedPersonResponse setLastName(String value) { this.last_name = value; return this; }
public String getPreferredName() { return preferred_name; }
public UnauthenticatedPersonResponse setPreferredName(String value) { this.preferred_name = value; return this; }
public String getBirthName() { return birth_name; }
public UnauthenticatedPersonResponse setBirthName(String value) { this.birth_name = value; return this; }
public String getSpouseName() { return spouse_name; }
public UnauthenticatedPersonResponse setSpouseName(String value) { this.spouse_name = value; return this; }
public String getAddr1() { return addr1; }
public UnauthenticatedPersonResponse setAddr1(String value) { this.addr1 = value; return this; }
public String getAddr2() { return addr2; }
public UnauthenticatedPersonResponse setAddr2(String value) { this.addr2 = value; return this; }
public String getCountry() { return country; }
public UnauthenticatedPersonResponse setCountry(String value) { this.country = value; return this; }
public String getState() { return state; }
public UnauthenticatedPersonResponse setState(String value) { this.state = value; return this; }
public String getCity() { return city; }
public UnauthenticatedPersonResponse setCity(String value) { this.city = value; return this; }
public String getCode() { return code; }
public UnauthenticatedPersonResponse setCode(String value) { this.code = value; return this; }
public String getPhoneHome() { return phone_home; }
public UnauthenticatedPersonResponse setPhoneHome(String value) { this.phone_home = value; return this; }
public String getPhoneCell() { return phone_cell; }
public UnauthenticatedPersonResponse setPhoneCell(String value) { this.phone_cell = value; return this; }
public String getPhoneBus() { return phone_bus; }
public UnauthenticatedPersonResponse setPhoneBus(String value) { this.phone_bus = value; return this; }
public String getEmail() { return email; }
public UnauthenticatedPersonResponse setEmail(String value) { this.email = value; return this; }
public String getPrefix() { return prefix; }
public UnauthenticatedPersonResponse setPrefix(String value) { this.prefix = value; return this; }
public Date getDob() { return dob; }
public UnauthenticatedPersonResponse setDob(Date value) { this.dob = value; return this; }
public String getCitizenship() { return citizenship; }
public UnauthenticatedPersonResponse setCitizenship(String value) { this.citizenship = value; return this; }
public String getCitizenshipOther() { return citizenship_other; }
public UnauthenticatedPersonResponse setCitizenshipOther(String value) { this.citizenship_other = value; return this; }
public String getPermanentResident() { return permanent_resident; }
public UnauthenticatedPersonResponse setPermanentResident(String value) { this.permanent_resident = value; return this; }
public String getDenomination() { return denomination; }
public UnauthenticatedPersonResponse setDenomination(String value) { this.denomination = value; return this; }
public String getOccupation() { return occupation; }
public UnauthenticatedPersonResponse setOccupation(String value) { this.occupation = value; return this; }
public String getEthnicity() { return ethnicity; }
public UnauthenticatedPersonResponse setEthnicity(String value) { this.ethnicity = value; return this; }
public String getGender() { return gender; }
public UnauthenticatedPersonResponse setGender(String value) { this.gender = value; return this; }
public String getMaritalStatus() { return marital_status; }
public UnauthenticatedPersonResponse setMaritalStatus(String value) { this.marital_status = value; return this; }
public Date getDeceasedDate() { return deceased_date; }
public UnauthenticatedPersonResponse setDeceasedDate(Date value) { this.deceased_date = value; return this; }
public String getAddedBy() { return added_by; }
public UnauthenticatedPersonResponse setAddedBy(String value) { this.added_by = value; return this; }
public Date getAddedDate() { return added_date; }
public UnauthenticatedPersonResponse setAddedDate(Date value) { this.added_date = value; return this; }
public String getLastChangedBy() { return last_changed_by; }
public UnauthenticatedPersonResponse setLastChangedBy(String value) { this.last_changed_by = value; return this; }
public Date getLastChangedDate() { return last_changed_date; }
public UnauthenticatedPersonResponse setLastChangedDate(Date value) { this.last_changed_date = value; return this; }
public String getAddrLastChangedBy() { return addr_last_changed_by; }
public UnauthenticatedPersonResponse setAddrLastChangedBy(String value) { this.addr_last_changed_by = value; return this; }
public Date getAddrLastChangedDate() { return addr_last_changed_date; }
public UnauthenticatedPersonResponse setAddrLastChangedDate(Date value) { this.addr_last_changed_date = value; return this; }
public Date getTimestamp() { return timestamp; }
public UnauthenticatedPersonResponse setTimestamp(Date value) { this.timestamp = value; return this; }
public Date getSubmittedDatetime() { return submitted_datetime; }
public UnauthenticatedPersonResponse setSubmittedDatetime(Date value) { this.submitted_datetime = value; return this; }
public Integer getSubmittedByUnauthenticatedPersonId() { return submitted_by_unauthenticated_person_id; }
public UnauthenticatedPersonResponse setSubmittedByUnauthenticatedPersonId(Integer value) { this.submitted_by_unauthenticated_person_id = value; return this; }
public Date getAuthorizedDatetime() { return authorized_datetime; }
public UnauthenticatedPersonResponse setAuthorizedDatetime(Date value) { this.authorized_datetime = value; return this; }
public Integer getAuthorizedByPersonId() { return authorized_by_person_id; }
public UnauthenticatedPersonResponse setAuthorizedByPersonId(Integer value) { this.authorized_by_person_id = value; return this; }
public Date getArchivedDatetime() { return archived_datetime; }
public UnauthenticatedPersonResponse setArchivedDatetime(Date value) { this.archived_datetime = value; return this; }
public Integer getArchivedByPersonId() { return archived_by_person_id; }
public UnauthenticatedPersonResponse setArchivedByPersonId(Integer value) { this.archived_by_person_id = value; return this; }
}
public static class UnauthenticatedStudentSectionRegistrationResponse
{
public String section_uuid = null;
public String student_section_uuid = null;
public String course_name = null;
public String section_code = null;
public String course_title = null;
public BigDecimal amount = null;
public Boolean is_oncampus = null;
public Boolean is_audit = null;
public Boolean is_provisional = null;
public Boolean is_missing_requisites = null;
public Boolean is_other_restriction = null;
public Date added_date = null;
public Integer added_by_person_id = null;
public Date changed_date = null;
public Integer changed_by_person_id = null;
public String getSectionUuid() { return section_uuid; }
public UnauthenticatedStudentSectionRegistrationResponse setSectionUuid(String value) { this.section_uuid = value; return this; }
public String getStudentSectionUuid() { return student_section_uuid; }
public UnauthenticatedStudentSectionRegistrationResponse setStudentSectionUuid(String value) { this.student_section_uuid = value; return this; }
public String getCourseName() { return course_name; }
public UnauthenticatedStudentSectionRegistrationResponse setCourseName(String value) { this.course_name = value; return this; }
public String getSectionCode() { return section_code; }
public UnauthenticatedStudentSectionRegistrationResponse setSectionCode(String value) { this.section_code = value; return this; }
public String getCourseTitle() { return course_title; }
public UnauthenticatedStudentSectionRegistrationResponse setCourseTitle(String value) { this.course_title = value; return this; }
public BigDecimal getAmount() { return amount; }
public UnauthenticatedStudentSectionRegistrationResponse setAmount(BigDecimal value) { this.amount = value; return this; }
public Boolean getIsOncampus() { return is_oncampus; }
public UnauthenticatedStudentSectionRegistrationResponse setIsOncampus(Boolean value) { this.is_oncampus = value; return this; }
public Boolean getIsAudit() { return is_audit; }
public UnauthenticatedStudentSectionRegistrationResponse setIsAudit(Boolean value) { this.is_audit = value; return this; }
public Boolean getIsProvisional() { return is_provisional; }
public UnauthenticatedStudentSectionRegistrationResponse setIsProvisional(Boolean value) { this.is_provisional = value; return this; }
public Boolean getIsMissingRequisites() { return is_missing_requisites; }
public UnauthenticatedStudentSectionRegistrationResponse setIsMissingRequisites(Boolean value) { this.is_missing_requisites = value; return this; }
public Boolean getIsOtherRestriction() { return is_other_restriction; }
public UnauthenticatedStudentSectionRegistrationResponse setIsOtherRestriction(Boolean value) { this.is_other_restriction = value; return this; }
public Date getAddedDate() { return added_date; }
public UnauthenticatedStudentSectionRegistrationResponse setAddedDate(Date value) { this.added_date = value; return this; }
public Integer getAddedByPersonId() { return added_by_person_id; }
public UnauthenticatedStudentSectionRegistrationResponse setAddedByPersonId(Integer value) { this.added_by_person_id = value; return this; }
public Date getChangedDate() { return changed_date; }
public UnauthenticatedStudentSectionRegistrationResponse setChangedDate(Date value) { this.changed_date = value; return this; }
public Integer getChangedByPersonId() { return changed_by_person_id; }
public UnauthenticatedStudentSectionRegistrationResponse setChangedByPersonId(Integer value) { this.changed_by_person_id = value; return this; }
}
}
Java UnauthenticatedRegistrationTransactionUpdateRequest 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 /Registration/Unauthenticated/{reporting_term}/{transaction_uuid}/Update HTTP/1.1
Host: data.regent-college.edu
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<UnauthenticatedRegistrationTransactionUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
<authorizing_uuid>String</authorizing_uuid>
<is_archived>false</is_archived>
<is_authorized>false</is_authorized>
<reporting_term>String</reporting_term>
<transaction_uuid>String</transaction_uuid>
</UnauthenticatedRegistrationTransactionUpdateRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<UnauthenticatedRegistrationTransactionResponse 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>
<archived_datetime>0001-01-01T00:00:00</archived_datetime>
<audit_hours>0</audit_hours>
<authorized_datetime>0001-01-01T00:00:00</authorized_datetime>
<credit_hours>0</credit_hours>
<notes_json>String</notes_json>
<person>
<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>
<added_by>String</added_by>
<added_date>0001-01-01T00:00:00</added_date>
<addr1>String</addr1>
<addr2>String</addr2>
<addr_last_changed_by>String</addr_last_changed_by>
<addr_last_changed_date>0001-01-01T00:00:00</addr_last_changed_date>
<archived_by_person_id>0</archived_by_person_id>
<archived_datetime>0001-01-01T00:00:00</archived_datetime>
<authorized_by_person_id>0</authorized_by_person_id>
<authorized_datetime>0001-01-01T00:00:00</authorized_datetime>
<birth_name>String</birth_name>
<citizenship>String</citizenship>
<citizenship_other>String</citizenship_other>
<city>String</city>
<code>String</code>
<country>String</country>
<deceased_date>0001-01-01T00:00:00</deceased_date>
<denomination>String</denomination>
<dob>0001-01-01T00:00:00</dob>
<email>String</email>
<ethnicity>String</ethnicity>
<first_name>String</first_name>
<friend_referral>String</friend_referral>
<gender>String</gender>
<is_applying>false</is_applying>
<is_landlord>false</is_landlord>
<is_returning>false</is_returning>
<last_changed_by>String</last_changed_by>
<last_changed_date>0001-01-01T00:00:00</last_changed_date>
<last_name>String</last_name>
<marital_status>String</marital_status>
<middle_name>String</middle_name>
<occupation>String</occupation>
<other_referral>String</other_referral>
<permanent_resident>String</permanent_resident>
<phone_bus>String</phone_bus>
<phone_cell>String</phone_cell>
<phone_home>String</phone_home>
<postsecondary_education_level>0</postsecondary_education_level>
<preferred_name>String</preferred_name>
<prefix>String</prefix>
<regent_id>0</regent_id>
<regent_login>String</regent_login>
<reporting_term>String</reporting_term>
<spouse_name>String</spouse_name>
<state>String</state>
<submitted_by_unauthenticated_person_id>0</submitted_by_unauthenticated_person_id>
<submitted_datetime>0001-01-01T00:00:00</submitted_datetime>
<survey>String</survey>
<timestamp>0001-01-01T00:00:00</timestamp>
<uuid>String</uuid>
</person>
<registrations>
<UnauthenticatedStudentSectionRegistrationResponse>
<added_by_person_id>0</added_by_person_id>
<added_date>0001-01-01T00:00:00</added_date>
<amount>0</amount>
<changed_by_person_id>0</changed_by_person_id>
<changed_date>0001-01-01T00:00:00</changed_date>
<course_name>String</course_name>
<course_title>String</course_title>
<is_audit>false</is_audit>
<is_missing_requisites>false</is_missing_requisites>
<is_oncampus>false</is_oncampus>
<is_other_restriction>false</is_other_restriction>
<is_provisional>false</is_provisional>
<section_code>String</section_code>
<section_uuid>String</section_uuid>
<student_section_uuid>String</student_section_uuid>
</UnauthenticatedStudentSectionRegistrationResponse>
</registrations>
<started_datetime>0001-01-01T00:00:00</started_datetime>
<submitted_datetime>0001-01-01T00:00:00</submitted_datetime>
<transaction_uuid>String</transaction_uuid>
</UnauthenticatedRegistrationTransactionResponse>