| Required role: | REGISUserRole |
| POST | /Finance/{uuid}/Adjustment/{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 FinanceAdjustmentRateSubmitRequest
Public Overridable Property rate_id As Integer
Public Overridable Property description As String
Public Overridable Property charge As Decimal
Public Overridable Property credit As Decimal
Public Overridable Property custom_gl As String
End Class
Public Partial Class FinanceAdjustmentSubmitRequest
Public Sub New()
rates = New List(Of FinanceAdjustmentRateSubmitRequest)
End Sub
Public Overridable Property uuid As String
Public Overridable Property reporting_term As String
Public Overridable Property rates As List(Of FinanceAdjustmentRateSubmitRequest)
Public Overridable Property description As String
Public Overridable Property authorizing_uuid As String
Public Overridable Property is_financial_aid As Boolean
Public Overridable Property added_date As Date
End Class
End Namespace
End Namespace
VB.NET FinanceAdjustmentSubmitRequest 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 /Finance/{uuid}/Adjustment/{reporting_term}/Submit HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
uuid: String,
reporting_term: String,
rates:
[
{
rate_id: 0,
description: String,
charge: 0,
credit: 0,
custom_gl: String
}
],
description: String,
authorizing_uuid: String,
is_financial_aid: False,
added_date: 0001-01-01
}
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
}
}