| Required role: | REGISUserRole |
| POST | /Registration/Change/{uuid}/Term/{reporting_term}/Submit |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports regis.ClassLibrary.Requests
Namespace Global
Namespace regis.ClassLibrary.Requests
Public Partial Class RegistrationChangeSubmitRequest
Public Sub New()
rates_opted_in = New List(Of Integer)
End Sub
Public Overridable Property transaction_uuid As String
Public Overridable Property uuid As String
Public Overridable Property reporting_term As String
Public Overridable Property rates_opted_in As List(Of Integer)
Public Overridable Property authorizing_uuid As String
Public Overridable Property is_audit As Boolean
Public Overridable Property is_oncampus As Boolean
Public Overridable Property is_online As Boolean
Public Overridable Property amount As Decimal
Public Overridable Property section_uuid As String
Public Overridable Property appliedForSpousalAuditBenefit As Boolean
Public Overridable Property appliedForSpousalCreditBenefit As Boolean
End Class
End Namespace
End Namespace
VB.NET RegistrationChangeSubmitRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Registration/Change/{uuid}/Term/{reporting_term}/Submit HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
transaction_uuid: String,
uuid: String,
reporting_term: String,
rates_opted_in:
[
0
],
authorizing_uuid: String,
is_audit: False,
is_oncampus: False,
is_online: False,
amount: 0,
section_uuid: String,
appliedForSpousalAuditBenefit: False,
appliedForSpousalCreditBenefit: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}