Required role: | REGISUserRole |
POST | /Finance/{uuid}/Adjustment/{reporting_term}/Submit |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class FinanceAdjustmentSubmitRequest
{
var uuid:String? = null
var reporting_term:String? = null
var rates:ArrayList<FinanceAdjustmentRateSubmitRequest> = ArrayList<FinanceAdjustmentRateSubmitRequest>()
var description:String? = null
var authorizing_uuid:String? = null
var is_financial_aid:Boolean? = null
var added_date:Date? = null
}
open class FinanceAdjustmentRateSubmitRequest
{
var rate_id:Int? = null
var description:String? = null
var charge:BigDecimal? = null
var credit:BigDecimal? = null
var custom_gl:String? = null
}
Kotlin 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 } }