Required role: | REGISUserRole |
POST | /Academic/ExternalDegree/AuthorizeDynamics/{uuid} |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports regis.ClassLibrary.Requests
Imports regis.ClassLibrary.Responses
Namespace Global
Namespace regis.ClassLibrary.Requests
Public Partial Class ExternalDegreeAuthorizeDynamicsRequest
Public Overridable Property uuid As String
Public Overridable Property authorizing_uuid As String
End Class
End Namespace
Namespace regis.ClassLibrary.Responses
Public Partial Class ExternalDegreeResponse
Public Overridable Property id As Nullable(Of Integer)
Public Overridable Property institution_id As Nullable(Of Integer)
Public Overridable Property degree_name As String
Public Overridable Property degree_override_name As String
Public Overridable Property institution_name As String
Public Overridable Property graduation_month As String
Public Overridable Property start_year As Nullable(Of Integer)
Public Overridable Property end_year As Nullable(Of Integer)
Public Overridable Property is_only_in_d365 As Boolean
End Class
Public Partial Class ExternalDegreesAdminResponse
Public Overridable Property degree_code As String
Public Overridable Property degree_name As String
Public Overridable Property degree_type As String
End Class
Public Partial Class ExternalDegreesResponse
Public Sub New()
student_programs = New List(Of StudentProgramSimpleResponse)
degrees = New List(Of ExternalDegreeResponse)
valid_degrees = New List(Of ExternalDegreesAdminResponse)
End Sub
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property person As PersonSimpleResponse
Public Overridable Property gpa As Nullable(Of Decimal)
Public Overridable Property student_programs As List(Of StudentProgramSimpleResponse)
Public Overridable Property degrees As List(Of ExternalDegreeResponse)
Public Overridable Property valid_degrees As List(Of ExternalDegreesAdminResponse)
End Class
Public Partial Class PersonSimpleResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property regent_id As Integer
Public Overridable Property ubc_id As Nullable(Of Integer)
Public Overridable Property uuid As String
Public Overridable Property regent_login As String
Public Overridable Property first_name As String
Public Overridable Property preferred_name As String
Public Overridable Property middle_name As String
Public Overridable Property last_name As String
Public Overridable Property email As String
Public Overridable Property phone_home As String
Public Overridable Property phone_cell As String
Public Overridable Property phone_bus 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 citizenship As String
Public Overridable Property citizenship_other As String
Public Overridable Property permanent_resident As String
Public Overridable Property dob As Nullable(Of Date)
Public Overridable Property is_student As Boolean
Public Overridable Property is_faculty As Boolean
Public Overridable Property is_vendor As Boolean
End Class
Public Partial Class StudentProgramSimpleResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property regent_id As Integer
Public Overridable Property uuid As String
Public Overridable Property program_id As Integer
Public Overridable Property program_code As String
Public Overridable Property program_name As String
Public Overridable Property concentration_code As String
Public Overridable Property concentration_name As String
Public Overridable Property start_date As Nullable(Of Date)
Public Overridable Property end_date As Nullable(Of Date)
Public Overridable Property catalog As String
Public Overridable Property is_active As Boolean
Public Overridable Property is_graduated As Boolean
End Class
End Namespace
End Namespace
VB.NET ExternalDegreeAuthorizeDynamicsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Academic/ExternalDegree/AuthorizeDynamics/{uuid} HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"uuid":"String","authorizing_uuid":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"person":{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"regent_id":0,"ubc_id":0,"uuid":"String","regent_login":"String","first_name":"String","preferred_name":"String","middle_name":"String","last_name":"String","email":"String","phone_home":"String","phone_cell":"String","phone_bus":"String","addr1":"String","addr2":"String","city":"String","state":"String","country":"String","code":"String","citizenship":"String","citizenship_other":"String","permanent_resident":"String","dob":"0001-01-01T00:00:00.0000000","is_student":false,"is_faculty":false,"is_vendor":false},"gpa":0,"student_programs":[{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"regent_id":0,"uuid":"String","program_id":0,"program_code":"String","program_name":"String","concentration_code":"String","concentration_name":"String","start_date":"0001-01-01T00:00:00.0000000","end_date":"0001-01-01T00:00:00.0000000","catalog":"String","is_active":false,"is_graduated":false}],"degrees":[{"id":0,"institution_id":0,"degree_name":"String","degree_override_name":"String","institution_name":"String","graduation_month":"String","start_year":0,"end_year":0,"is_only_in_d365":false}],"valid_degrees":[{"degree_code":"String","degree_name":"String","degree_type":"String"}]}