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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
uuid: String,
application_uuid: String,
authorizing_uuid: String,
citizenship: String,
citizenship_other: String,
permanent_resident: String,
marital_status: String,
gender: String,
denomination: String,
ethnicity: String,
program: String,
start_term: String,
end_term: String,
number_of_terms: 0,
financial_assets: 0,
spouse_income: 0,
number_of_children: 0,
employment_years: 0,
employment_description: String,
vocational_experience_json: String,
vocational_direction_json: String,
occupation_after_the_program_json: String,
area_of_study_json: String,
undergrad_gpa: 0,
regent_gpa: 0,
is_mature: False,
is_nonaccredited: False,
award_per_term: 0,
amount_awarded: 0,
need_score: 0,
merit_score: 0,
current_status: String,
comments: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } }