Required role: | REGISUserRole |
POST | /StudentGraduation/{uuid}/{year}/Update |
---|
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 StudentGraduationUpdateRequest
Public Sub New()
applied_programs = New List(Of StudentGraduationProgramResponse)
End Sub
Public Overridable Property uuid As String
Public Overridable Property authorizing_uuid As String
Public Overridable Property year As Nullable(Of Integer)
Public Overridable Property first_name As String
Public Overridable Property middle_name As String
Public Overridable Property last_name 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 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 comments As String
Public Overridable Property current_status As String
Public Overridable Property added_date As Nullable(Of Date)
Public Overridable Property applied_programs As List(Of StudentGraduationProgramResponse)
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
End Namespace
End Namespace
VB.NET StudentGraduationUpdateRequest 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 /StudentGraduation/{uuid}/{year}/Update HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"uuid":"String","authorizing_uuid":"String","year":0,"first_name":"String","middle_name":"String","last_name":"String","phonetic_first_name":"String","phonetic_middle_name":"String","phonetic_last_name":"String","placement":"String","placement_other":"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,"comments":"String","current_status":"String","added_date":"0001-01-01T00:00:00.0000000","applied_programs":[{"program_code":"String","concentration_code":"String","program_details":"String","comments":"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"}}