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.*
open class FinancialAidApplicationUpsertRequest
{
var uuid:String? = null
var application_uuid:String? = null
var authorizing_uuid:String? = null
var citizenship:String? = null
var citizenship_other:String? = null
var permanent_resident:String? = null
var marital_status:String? = null
var gender:String? = null
var denomination:String? = null
var ethnicity:String? = null
var program:String? = null
var start_term:String? = null
var end_term:String? = null
var number_of_terms:Int? = null
var financial_assets:BigDecimal? = null
var spouse_income:BigDecimal? = null
var number_of_children:Int? = null
var employment_years:Int? = null
var employment_description:String? = null
var vocational_experience_json:String? = null
var vocational_direction_json:String? = null
var occupation_after_the_program_json:String? = null
var area_of_study_json:String? = null
var undergrad_gpa:BigDecimal? = null
var regent_gpa:BigDecimal? = null
var is_mature:Boolean? = null
var is_nonaccredited:Boolean? = null
var award_per_term:BigDecimal? = null
var amount_awarded:BigDecimal? = null
var need_score:Int? = null
var merit_score:Int? = null
var current_status:String? = null
var comments:String? = null
}
Kotlin FinancialAidApplicationUpsertRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
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/csv Content-Length: length {"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}