regis

<back to all web services

StudentGraduationRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/StudentGraduation/{uuid}/{year}
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 StudentGraduationRequest
            Public Overridable Property uuid As String
            Public Overridable Property year As Integer
        End Class
    End Namespace

    Namespace regis.ClassLibrary.Responses

        Public Partial Class StudentGraduationProgramResponse
            Public Overridable Property program_code As String
            Public Overridable Property concentration_code As String
            Public Overridable Property program_details As String
            Public Overridable Property comments As String
        End Class

        Public Partial Class StudentGraduationResponse
            Public Sub New()
                applied_programs = New List(Of StudentGraduationProgramResponse)
            End Sub

            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property regent_id As Integer
            Public Overridable Property uuid 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 phonetic_first_name As String
            Public Overridable Property phonetic_middle_name As String
            Public Overridable Property phonetic_last_name As String
            Public Overridable Property placement As String
            Public Overridable Property placement_other 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 previous_degrees As String
            Public Overridable Property gown_size As Nullable(Of Integer)
            Public Overridable Property project_title As String
            Public Overridable Property supervisor As String
            Public Overridable Property is_attending As Boolean
            Public Overridable Property is_hood_requested As Boolean
            Public Overridable Property is_hood_paid As Boolean
            Public Overridable Property is_paid As Boolean
            Public Overridable Property is_late As Boolean
            Public Overridable Property year As Nullable(Of Integer)
            Public Overridable Property comments As String
            Public Overridable Property current_status As String
            Public Overridable Property current_status_date As Nullable(Of Date)
            Public Overridable Property added_date As Nullable(Of Date)
            Public Overridable Property applied_programs As List(Of StudentGraduationProgramResponse)
        End Class
    End Namespace
End Namespace

VB.NET StudentGraduationRequest 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 /StudentGraduation/{uuid}/{year} HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"uuid":"String","year":0}
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"}},"regent_id":0,"uuid":"String","first_name":"String","preferred_name":"String","middle_name":"String","last_name":"String","email":"String","phonetic_first_name":"String","phonetic_middle_name":"String","phonetic_last_name":"String","placement":"String","placement_other":"String","addr1":"String","addr2":"String","city":"String","state":"String","country":"String","code":"String","citizenship":"String","citizenship_other":"String","permanent_resident":"String","previous_degrees":"String","gown_size":0,"project_title":"String","supervisor":"String","is_attending":false,"is_hood_requested":false,"is_hood_paid":false,"is_paid":false,"is_late":false,"year":0,"comments":"String","current_status":"String","current_status_date":"0001-01-01T00:00:00.0000000","added_date":"0001-01-01T00:00:00.0000000","applied_programs":[{"program_code":"String","concentration_code":"String","program_details":"String","comments":"String"}]}