regis

<back to all web services

CRMApplicationUpsertMultipleRequest

Requires Authentication
Required permission:UpdateApplication
The following routes are available for this service:
POST/DynamicsCRM/Application/Upsert/Multiple
namespace regis.DynamicsCRM.Requests

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type CRMApplicationLanguageTestCreateRequest() = 
        member val type:String = null with get,set
        member val test_date:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val score:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val applicant_defined:Boolean = new Boolean() with get,set
        member val status:String = null with get,set

    [<AllowNullLiteral>]
    type CRMApplicationRefereeCreateRequest() = 
        member val import_id:Int32 = new Int32() with get,set
        member val first_name:String = null with get,set
        member val last_name:String = null with get,set
        member val job_title:String = null with get,set
        member val email:String = null with get,set
        member val phone:String = null with get,set
        member val type:String = null with get,set
        member val full_name:String = null with get,set
        member val position:String = null with get,set
        member val organization:String = null with get,set
        member val email_from_referee:String = null with get,set
        member val relationship:String = null with get,set
        member val relationship_details:String = null with get,set
        member val personal_evaluation:String = null with get,set
        member val ability_question_1:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val ability_question_2:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val ability_question_3:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val ability_question_4:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val ability_question_5:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val ability_question_6:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val ability_question_7:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val ability_question_8:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val ability_question_9:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val ability_question_10:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val qualify_assessment:String = null with get,set
        member val recommendation:String = null with get,set
        member val recommendation_details:String = null with get,set
        member val is_regent_alum:Boolean = new Boolean() with get,set
        member val is_complete:Boolean = new Boolean() with get,set
        member val email_sent:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val submitted_date:Nullable<DateTime> = new Nullable<DateTime>() with get,set

    [<AllowNullLiteral>]
    type CRMApplicationRequirementCreateRequest() = 
        member val status:String = null with get,set
        member val requirement_name:String = null with get,set
        member val requested_date:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val received_date:Nullable<DateTime> = new Nullable<DateTime>() with get,set

    [<AllowNullLiteral>]
    type CRMEducationUpsertRequest() = 
        member val regent_id:Int32 = new Int32() with get,set
        member val import_id:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val institution_regent_id:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val application_guid:String = null with get,set
        member val degree_status:String = null with get,set
        member val degree_type:String = null with get,set
        member val unofficial_institution_name:String = null with get,set
        member val unofficial_degree_name:String = null with get,set
        member val degree_name:String = null with get,set
        member val degree_code:String = null with get,set
        member val description:String = null with get,set
        member val major:String = null with get,set
        member val second_major:String = null with get,set
        member val cumulative_gpa:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val is_final:Boolean = new Boolean() with get,set
        member val is_regis_external_degree:Boolean = new Boolean() with get,set
        member val start_year:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val end_year:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val month_graduated:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val year_graduated:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val added_date:Nullable<DateTime> = new Nullable<DateTime>() with get,set

    [<AllowNullLiteral>]
    type CRMApplicationCreateRequest() = 
        member val regent_id:Int32 = new Int32() with get,set
        member val import_id:Int32 = new Int32() with get,set
        member val application_name:String = null with get,set
        member val academic_program:String = null with get,set
        member val start_term:String = null with get,set
        member val location:String = null with get,set
        member val addr1:String = null with get,set
        member val addr2:String = null with get,set
        member val city:String = null with get,set
        member val state:String = null with get,set
        member val country:String = null with get,set
        member val code:String = null with get,set
        member val former_name:String = null with get,set
        member val citizenship:String = null with get,set
        member val citizenship_other:String = null with get,set
        member val permanent_resident:String = null with get,set
        member val spouse_name:String = null with get,set
        member val children:String = null with get,set
        member val native_english_speaker:Boolean = new Boolean() with get,set
        member val native_language:String = null with get,set
        member val birth_place:String = null with get,set
        member val residency_status:String = null with get,set
        member val language_test_exemption_request_date:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val language_test_exemption_decision_date:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val language_test_exemption_decision:String = null with get,set
        member val language_test_comment:String = null with get,set
        member val language_tests:ResizeArray<CRMApplicationLanguageTestCreateRequest> = new ResizeArray<CRMApplicationLanguageTestCreateRequest>() with get,set
        member val references:ResizeArray<CRMApplicationRefereeCreateRequest> = new ResizeArray<CRMApplicationRefereeCreateRequest>() with get,set
        member val requirements:ResizeArray<CRMApplicationRequirementCreateRequest> = new ResizeArray<CRMApplicationRequirementCreateRequest>() with get,set
        member val education:ResizeArray<CRMEducationUpsertRequest> = new ResizeArray<CRMEducationUpsertRequest>() with get,set
        member val church_attended:String = null with get,set
        member val pastor_first_name:String = null with get,set
        member val pastor_last_name:String = null with get,set
        member val has_impairment:Boolean = new Boolean() with get,set
        member val impairment_description:String = null with get,set
        member val apply_for_financial_aid:Boolean = new Boolean() with get,set
        member val financial_description:String = null with get,set
        member val employment_years:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val employment_description:String = null with get,set
        member val church_volunteer_years:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val church_volunteer_description:String = null with get,set
        member val other_volunteer_years:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val other_volunteer_description:String = null with get,set
        member val accomplishments_description:String = null with get,set
        member val what_other_graduate_schools_are_you_apply:String = null with get,set
        member val what_else_interests_you_about_regent:String = null with get,set
        member val heard_about_regent_from_book:String = null with get,set
        member val heard_about_regent_from_event:String = null with get,set
        member val heard_about_regent_from_organization:String = null with get,set
        member val heard_about_regent_from_person:String = null with get,set
        member val heard_about_regent_from_website_pub:String = null with get,set
        member val what_interests_you_about_regent:ResizeArray<String> = new ResizeArray<String>() with get,set
        member val what_else_brought_you_to_regent:String = null with get,set
        member val start_via_distance_ed:Boolean = new Boolean() with get,set
        member val transfer_credits:Boolean = new Boolean() with get,set
        member val applicant_comments:String = null with get,set
        member val cumulative_undergraduate_gpa:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val cumulative_graduate_gpa:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val conditional_admission:Boolean = new Boolean() with get,set
        member val conditional_admission_reason:ResizeArray<String> = new ResizeArray<String>() with get,set
        member val admission_notes:String = null with get,set
        member val admission_decision_notes:String = null with get,set
        member val withdrawn_reason:String = null with get,set
        member val submitted:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val paid:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val reviewed:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val completed:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val rejected:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val admitted:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val postponed:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val withdrawn:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val confirmed:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val read_theological_position:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val current_status:String = null with get,set
        member val image_base64:String = null with get,set
        member val promo_code:String = null with get,set
        member val added_date:DateTime = new DateTime() with get,set
        member val last_contacted_date:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val owning_username:String = null with get,set

    [<AllowNullLiteral>]
    type CRMApplicationUpsertMultipleRequest() = 
        member val applications:ResizeArray<CRMApplicationCreateRequest> = new ResizeArray<CRMApplicationCreateRequest>() with get,set

F# CRMApplicationUpsertMultipleRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /DynamicsCRM/Application/Upsert/Multiple HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"applications":[{"regent_id":0,"import_id":0,"application_name":"String","academic_program":"String","start_term":"String","location":"String","addr1":"String","addr2":"String","city":"String","state":"String","country":"String","code":"String","former_name":"String","citizenship":"String","citizenship_other":"String","permanent_resident":"String","spouse_name":"String","children":"String","native_english_speaker":false,"native_language":"String","birth_place":"String","residency_status":"String","language_test_exemption_request_date":"0001-01-01T00:00:00.0000000","language_test_exemption_decision_date":"0001-01-01T00:00:00.0000000","language_test_exemption_decision":"String","language_test_comment":"String","language_tests":[{"type":"String","test_date":"0001-01-01T00:00:00.0000000","score":0,"applicant_defined":false,"status":"String"}],"references":[{"import_id":0,"first_name":"String","last_name":"String","job_title":"String","email":"String","phone":"String","type":"String","full_name":"String","position":"String","organization":"String","email_from_referee":"String","relationship":"String","relationship_details":"String","personal_evaluation":"String","ability_question_1":0,"ability_question_2":0,"ability_question_3":0,"ability_question_4":0,"ability_question_5":0,"ability_question_6":0,"ability_question_7":0,"ability_question_8":0,"ability_question_9":0,"ability_question_10":0,"qualify_assessment":"String","recommendation":"String","recommendation_details":"String","is_regent_alum":false,"is_complete":false,"email_sent":"0001-01-01T00:00:00.0000000","submitted_date":"0001-01-01T00:00:00.0000000"}],"requirements":[{"status":"String","requirement_name":"String","requested_date":"0001-01-01T00:00:00.0000000","received_date":"0001-01-01T00:00:00.0000000"}],"education":[{"regent_id":0,"import_id":0,"institution_regent_id":0,"application_guid":"String","degree_status":"String","degree_type":"String","unofficial_institution_name":"String","unofficial_degree_name":"String","degree_name":"String","degree_code":"String","description":"String","major":"String","second_major":"String","cumulative_gpa":0,"is_final":false,"is_regis_external_degree":false,"start_year":0,"end_year":0,"month_graduated":0,"year_graduated":0,"added_date":"0001-01-01T00:00:00.0000000"}],"church_attended":"String","pastor_first_name":"String","pastor_last_name":"String","has_impairment":false,"impairment_description":"String","apply_for_financial_aid":false,"financial_description":"String","employment_years":0,"employment_description":"String","church_volunteer_years":0,"church_volunteer_description":"String","other_volunteer_years":0,"other_volunteer_description":"String","accomplishments_description":"String","what_other_graduate_schools_are_you_apply":"String","what_else_interests_you_about_regent":"String","heard_about_regent_from_book":"String","heard_about_regent_from_event":"String","heard_about_regent_from_organization":"String","heard_about_regent_from_person":"String","heard_about_regent_from_website_pub":"String","what_interests_you_about_regent":["String"],"what_else_brought_you_to_regent":"String","start_via_distance_ed":false,"transfer_credits":false,"applicant_comments":"String","cumulative_undergraduate_gpa":0,"cumulative_graduate_gpa":0,"conditional_admission":false,"conditional_admission_reason":["String"],"admission_notes":"String","admission_decision_notes":"String","withdrawn_reason":"String","submitted":"0001-01-01T00:00:00.0000000","paid":"0001-01-01T00:00:00.0000000","reviewed":"0001-01-01T00:00:00.0000000","completed":"0001-01-01T00:00:00.0000000","rejected":"0001-01-01T00:00:00.0000000","admitted":"0001-01-01T00:00:00.0000000","postponed":"0001-01-01T00:00:00.0000000","withdrawn":"0001-01-01T00:00:00.0000000","confirmed":"0001-01-01T00:00:00.0000000","read_theological_position":"0001-01-01T00:00:00.0000000","current_status":"String","image_base64":"String","promo_code":"String","added_date":"0001-01-01T00:00:00.0000000","last_contacted_date":"0001-01-01T00:00:00.0000000","owning_username":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}