Required permission: | UpdateApplication |
POST | /DynamicsCRM/Application/Upsert/Multiple |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports regis.DynamicsCRM.Requests
Namespace Global
Namespace regis.DynamicsCRM.Requests
Public Partial Class CRMApplicationCreateRequest
Public Sub New()
language_tests = New List(Of CRMApplicationLanguageTestCreateRequest)
references = New List(Of CRMApplicationRefereeCreateRequest)
requirements = New List(Of CRMApplicationRequirementCreateRequest)
education = New List(Of CRMEducationUpsertRequest)
what_interests_you_about_regent = New List(Of String)
conditional_admission_reason = New List(Of String)
End Sub
Public Overridable Property regent_id As Integer
Public Overridable Property import_id As Integer
Public Overridable Property application_name As String
Public Overridable Property academic_program As String
Public Overridable Property start_term As String
Public Overridable Property location As String
Public Overridable Property addr1 As String
Public Overridable Property addr2 As String
Public Overridable Property city As String
Public Overridable Property state As String
Public Overridable Property country As String
Public Overridable Property code As String
Public Overridable Property former_name As String
Public Overridable Property citizenship As String
Public Overridable Property citizenship_other As String
Public Overridable Property permanent_resident As String
Public Overridable Property spouse_name As String
Public Overridable Property children As String
Public Overridable Property native_english_speaker As Boolean
Public Overridable Property native_language As String
Public Overridable Property birth_place As String
Public Overridable Property residency_status As String
Public Overridable Property language_test_exemption_request_date As Nullable(Of Date)
Public Overridable Property language_test_exemption_decision_date As Nullable(Of Date)
Public Overridable Property language_test_exemption_decision As String
Public Overridable Property language_test_comment As String
Public Overridable Property language_tests As List(Of CRMApplicationLanguageTestCreateRequest)
Public Overridable Property references As List(Of CRMApplicationRefereeCreateRequest)
Public Overridable Property requirements As List(Of CRMApplicationRequirementCreateRequest)
Public Overridable Property education As List(Of CRMEducationUpsertRequest)
Public Overridable Property church_attended As String
Public Overridable Property pastor_first_name As String
Public Overridable Property pastor_last_name As String
Public Overridable Property has_impairment As Boolean
Public Overridable Property impairment_description As String
Public Overridable Property apply_for_financial_aid As Boolean
Public Overridable Property financial_description As String
Public Overridable Property employment_years As Nullable(Of Decimal)
Public Overridable Property employment_description As String
Public Overridable Property church_volunteer_years As Nullable(Of Decimal)
Public Overridable Property church_volunteer_description As String
Public Overridable Property other_volunteer_years As Nullable(Of Decimal)
Public Overridable Property other_volunteer_description As String
Public Overridable Property accomplishments_description As String
Public Overridable Property what_other_graduate_schools_are_you_apply As String
Public Overridable Property what_else_interests_you_about_regent As String
Public Overridable Property heard_about_regent_from_book As String
Public Overridable Property heard_about_regent_from_event As String
Public Overridable Property heard_about_regent_from_organization As String
Public Overridable Property heard_about_regent_from_person As String
Public Overridable Property heard_about_regent_from_website_pub As String
Public Overridable Property what_interests_you_about_regent As List(Of String)
Public Overridable Property what_else_brought_you_to_regent As String
Public Overridable Property start_via_distance_ed As Boolean
Public Overridable Property transfer_credits As Boolean
Public Overridable Property applicant_comments As String
Public Overridable Property cumulative_undergraduate_gpa As Nullable(Of Decimal)
Public Overridable Property cumulative_graduate_gpa As Nullable(Of Decimal)
Public Overridable Property conditional_admission As Boolean
Public Overridable Property conditional_admission_reason As List(Of String)
Public Overridable Property admission_notes As String
Public Overridable Property admission_decision_notes As String
Public Overridable Property withdrawn_reason As String
Public Overridable Property submitted As Nullable(Of Date)
Public Overridable Property paid As Nullable(Of Date)
Public Overridable Property reviewed As Nullable(Of Date)
Public Overridable Property completed As Nullable(Of Date)
Public Overridable Property rejected As Nullable(Of Date)
Public Overridable Property admitted As Nullable(Of Date)
Public Overridable Property postponed As Nullable(Of Date)
Public Overridable Property withdrawn As Nullable(Of Date)
Public Overridable Property confirmed As Nullable(Of Date)
Public Overridable Property read_theological_position As Nullable(Of Date)
Public Overridable Property current_status As String
Public Overridable Property image_base64 As String
Public Overridable Property promo_code As String
Public Overridable Property added_date As Date
Public Overridable Property last_contacted_date As Nullable(Of Date)
Public Overridable Property owning_username As String
End Class
Public Partial Class CRMApplicationLanguageTestCreateRequest
Public Overridable Property type As String
Public Overridable Property test_date As Nullable(Of Date)
Public Overridable Property score As Nullable(Of Decimal)
Public Overridable Property applicant_defined As Boolean
Public Overridable Property status As String
End Class
Public Partial Class CRMApplicationRefereeCreateRequest
Public Overridable Property import_id As Integer
Public Overridable Property first_name As String
Public Overridable Property last_name As String
Public Overridable Property job_title As String
Public Overridable Property email As String
Public Overridable Property phone As String
Public Overridable Property type As String
Public Overridable Property full_name As String
Public Overridable Property position As String
Public Overridable Property organization As String
Public Overridable Property email_from_referee As String
Public Overridable Property relationship As String
Public Overridable Property relationship_details As String
Public Overridable Property personal_evaluation As String
Public Overridable Property ability_question_1 As Nullable(Of Integer)
Public Overridable Property ability_question_2 As Nullable(Of Integer)
Public Overridable Property ability_question_3 As Nullable(Of Integer)
Public Overridable Property ability_question_4 As Nullable(Of Integer)
Public Overridable Property ability_question_5 As Nullable(Of Integer)
Public Overridable Property ability_question_6 As Nullable(Of Integer)
Public Overridable Property ability_question_7 As Nullable(Of Integer)
Public Overridable Property ability_question_8 As Nullable(Of Integer)
Public Overridable Property ability_question_9 As Nullable(Of Integer)
Public Overridable Property ability_question_10 As Nullable(Of Integer)
Public Overridable Property qualify_assessment As String
Public Overridable Property recommendation As String
Public Overridable Property recommendation_details As String
Public Overridable Property is_regent_alum As Boolean
Public Overridable Property is_complete As Boolean
Public Overridable Property email_sent As Nullable(Of Date)
Public Overridable Property submitted_date As Nullable(Of Date)
End Class
Public Partial Class CRMApplicationRequirementCreateRequest
Public Overridable Property status As String
Public Overridable Property requirement_name As String
Public Overridable Property requested_date As Nullable(Of Date)
Public Overridable Property received_date As Nullable(Of Date)
End Class
Public Partial Class CRMApplicationUpsertMultipleRequest
Public Sub New()
applications = New List(Of CRMApplicationCreateRequest)
End Sub
Public Overridable Property applications As List(Of CRMApplicationCreateRequest)
End Class
Public Partial Class CRMEducationUpsertRequest
Public Overridable Property regent_id As Integer
Public Overridable Property import_id As Nullable(Of Integer)
Public Overridable Property institution_regent_id As Nullable(Of Integer)
Public Overridable Property application_guid As String
Public Overridable Property degree_status As String
Public Overridable Property degree_type As String
Public Overridable Property unofficial_institution_name As String
Public Overridable Property unofficial_degree_name As String
Public Overridable Property degree_name As String
Public Overridable Property degree_code As String
Public Overridable Property description As String
Public Overridable Property major As String
Public Overridable Property second_major As String
Public Overridable Property cumulative_gpa As Nullable(Of Decimal)
Public Overridable Property is_final As Boolean
Public Overridable Property is_regis_external_degree As Boolean
Public Overridable Property start_year As Nullable(Of Integer)
Public Overridable Property end_year As Nullable(Of Integer)
Public Overridable Property month_graduated As Nullable(Of Integer)
Public Overridable Property year_graduated As Nullable(Of Integer)
Public Overridable Property added_date As Nullable(Of Date)
End Class
End Namespace
End Namespace
VB.NET CRMApplicationUpsertMultipleRequest 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 /DynamicsCRM/Application/Upsert/Multiple HTTP/1.1
Host: data.regent-college.edu
Accept: text/csv
Content-Type: text/csv
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/csv Content-Length: length {"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}