Required role: | REGISUserRole |
POST | /Finance/FinancialAid/Application/Upsert/New | ||
---|---|---|---|
POST | /Finance/FinancialAid/Application/{application_uuid}/Upsert |
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class FinancialAidApplicationUpsertRequest
{
public String uuid = null;
public String application_uuid = null;
public String authorizing_uuid = null;
public String citizenship = null;
public String citizenship_other = null;
public String permanent_resident = null;
public String marital_status = null;
public String gender = null;
public String denomination = null;
public String ethnicity = null;
public String program = null;
public String start_term = null;
public String end_term = null;
public Integer number_of_terms = null;
public BigDecimal financial_assets = null;
public BigDecimal spouse_income = null;
public Integer number_of_children = null;
public Integer employment_years = null;
public String employment_description = null;
public String vocational_experience_json = null;
public String vocational_direction_json = null;
public String occupation_after_the_program_json = null;
public String area_of_study_json = null;
public BigDecimal undergrad_gpa = null;
public BigDecimal regent_gpa = null;
public Boolean is_mature = null;
public Boolean is_nonaccredited = null;
public BigDecimal award_per_term = null;
public BigDecimal amount_awarded = null;
public Integer need_score = null;
public Integer merit_score = null;
public String current_status = null;
public String comments = null;
public String getUuid() { return uuid; }
public FinancialAidApplicationUpsertRequest setUuid(String value) { this.uuid = value; return this; }
public String getApplicationUuid() { return application_uuid; }
public FinancialAidApplicationUpsertRequest setApplicationUuid(String value) { this.application_uuid = value; return this; }
public String getAuthorizingUuid() { return authorizing_uuid; }
public FinancialAidApplicationUpsertRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
public String getCitizenship() { return citizenship; }
public FinancialAidApplicationUpsertRequest setCitizenship(String value) { this.citizenship = value; return this; }
public String getCitizenshipOther() { return citizenship_other; }
public FinancialAidApplicationUpsertRequest setCitizenshipOther(String value) { this.citizenship_other = value; return this; }
public String getPermanentResident() { return permanent_resident; }
public FinancialAidApplicationUpsertRequest setPermanentResident(String value) { this.permanent_resident = value; return this; }
public String getMaritalStatus() { return marital_status; }
public FinancialAidApplicationUpsertRequest setMaritalStatus(String value) { this.marital_status = value; return this; }
public String getGender() { return gender; }
public FinancialAidApplicationUpsertRequest setGender(String value) { this.gender = value; return this; }
public String getDenomination() { return denomination; }
public FinancialAidApplicationUpsertRequest setDenomination(String value) { this.denomination = value; return this; }
public String getEthnicity() { return ethnicity; }
public FinancialAidApplicationUpsertRequest setEthnicity(String value) { this.ethnicity = value; return this; }
public String getProgram() { return program; }
public FinancialAidApplicationUpsertRequest setProgram(String value) { this.program = value; return this; }
public String getStartTerm() { return start_term; }
public FinancialAidApplicationUpsertRequest setStartTerm(String value) { this.start_term = value; return this; }
public String getEndTerm() { return end_term; }
public FinancialAidApplicationUpsertRequest setEndTerm(String value) { this.end_term = value; return this; }
public Integer getNumberOfTerms() { return number_of_terms; }
public FinancialAidApplicationUpsertRequest setNumberOfTerms(Integer value) { this.number_of_terms = value; return this; }
public BigDecimal getFinancialAssets() { return financial_assets; }
public FinancialAidApplicationUpsertRequest setFinancialAssets(BigDecimal value) { this.financial_assets = value; return this; }
public BigDecimal getSpouseIncome() { return spouse_income; }
public FinancialAidApplicationUpsertRequest setSpouseIncome(BigDecimal value) { this.spouse_income = value; return this; }
public Integer getNumberOfChildren() { return number_of_children; }
public FinancialAidApplicationUpsertRequest setNumberOfChildren(Integer value) { this.number_of_children = value; return this; }
public Integer getEmploymentYears() { return employment_years; }
public FinancialAidApplicationUpsertRequest setEmploymentYears(Integer value) { this.employment_years = value; return this; }
public String getEmploymentDescription() { return employment_description; }
public FinancialAidApplicationUpsertRequest setEmploymentDescription(String value) { this.employment_description = value; return this; }
public String getVocationalExperienceJson() { return vocational_experience_json; }
public FinancialAidApplicationUpsertRequest setVocationalExperienceJson(String value) { this.vocational_experience_json = value; return this; }
public String getVocationalDirectionJson() { return vocational_direction_json; }
public FinancialAidApplicationUpsertRequest setVocationalDirectionJson(String value) { this.vocational_direction_json = value; return this; }
public String getOccupationAfterTheProgramJson() { return occupation_after_the_program_json; }
public FinancialAidApplicationUpsertRequest setOccupationAfterTheProgramJson(String value) { this.occupation_after_the_program_json = value; return this; }
public String getAreaOfStudyJson() { return area_of_study_json; }
public FinancialAidApplicationUpsertRequest setAreaOfStudyJson(String value) { this.area_of_study_json = value; return this; }
public BigDecimal getUndergradGpa() { return undergrad_gpa; }
public FinancialAidApplicationUpsertRequest setUndergradGpa(BigDecimal value) { this.undergrad_gpa = value; return this; }
public BigDecimal getRegentGpa() { return regent_gpa; }
public FinancialAidApplicationUpsertRequest setRegentGpa(BigDecimal value) { this.regent_gpa = value; return this; }
public Boolean getIsMature() { return is_mature; }
public FinancialAidApplicationUpsertRequest setIsMature(Boolean value) { this.is_mature = value; return this; }
public Boolean getIsNonaccredited() { return is_nonaccredited; }
public FinancialAidApplicationUpsertRequest setIsNonaccredited(Boolean value) { this.is_nonaccredited = value; return this; }
public BigDecimal getAwardPerTerm() { return award_per_term; }
public FinancialAidApplicationUpsertRequest setAwardPerTerm(BigDecimal value) { this.award_per_term = value; return this; }
public BigDecimal getAmountAwarded() { return amount_awarded; }
public FinancialAidApplicationUpsertRequest setAmountAwarded(BigDecimal value) { this.amount_awarded = value; return this; }
public Integer getNeedScore() { return need_score; }
public FinancialAidApplicationUpsertRequest setNeedScore(Integer value) { this.need_score = value; return this; }
public Integer getMeritScore() { return merit_score; }
public FinancialAidApplicationUpsertRequest setMeritScore(Integer value) { this.merit_score = value; return this; }
public String getCurrentStatus() { return current_status; }
public FinancialAidApplicationUpsertRequest setCurrentStatus(String value) { this.current_status = value; return this; }
public String getComments() { return comments; }
public FinancialAidApplicationUpsertRequest setComments(String value) { this.comments = value; return this; }
}
}
Java FinancialAidApplicationUpsertRequest 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 /Finance/FinancialAid/Application/Upsert/New HTTP/1.1
Host: data.regent-college.edu
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<FinancialAidApplicationUpsertRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
<amount_awarded>0</amount_awarded>
<application_uuid>String</application_uuid>
<area_of_study_json>String</area_of_study_json>
<authorizing_uuid>String</authorizing_uuid>
<award_per_term>0</award_per_term>
<citizenship>String</citizenship>
<citizenship_other>String</citizenship_other>
<comments>String</comments>
<current_status>String</current_status>
<denomination>String</denomination>
<employment_description>String</employment_description>
<employment_years>0</employment_years>
<end_term>String</end_term>
<ethnicity>String</ethnicity>
<financial_assets>0</financial_assets>
<gender>String</gender>
<is_mature>false</is_mature>
<is_nonaccredited>false</is_nonaccredited>
<marital_status>String</marital_status>
<merit_score>0</merit_score>
<need_score>0</need_score>
<number_of_children>0</number_of_children>
<number_of_terms>0</number_of_terms>
<occupation_after_the_program_json>String</occupation_after_the_program_json>
<permanent_resident>String</permanent_resident>
<program>String</program>
<regent_gpa>0</regent_gpa>
<spouse_income>0</spouse_income>
<start_term>String</start_term>
<undergrad_gpa>0</undergrad_gpa>
<uuid>String</uuid>
<vocational_direction_json>String</vocational_direction_json>
<vocational_experience_json>String</vocational_experience_json>
</FinancialAidApplicationUpsertRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ResponseStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types"> <ErrorCode>String</ErrorCode> <Message>String</Message> <StackTrace>String</StackTrace> <Errors> <ResponseError> <ErrorCode>String</ErrorCode> <FieldName>String</FieldName> <Message>String</Message> <Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringstring> <d4p1:Key>String</d4p1:Key> <d4p1:Value>String</d4p1:Value> </d4p1:KeyValueOfstringstring> </Meta> </ResponseError> </Errors> <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>String</d2p1:Key> <d2p1:Value>String</d2p1:Value> </d2p1:KeyValueOfstringstring> </Meta> </ResponseStatus>