Required role: | REGISUserRole |
POST | /Registration/{uuid}/Drop/{reporting_term}/Submit |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class DropRegistrationsSubmitRequest
{
var transaction_uuid:String? = null
var uuid:String? = null
var reporting_term:String? = null
var registrations:ArrayList<DropRegistrationSubmitRequest> = ArrayList<DropRegistrationSubmitRequest>()
var description:String? = null
var drop_fee:BigDecimal? = null
var drop_description:String? = null
var refund_student_fees:Boolean? = null
var authorizing_uuid:String? = null
}
open class DropRegistrationSubmitRequest
{
var student_section_uuid:String? = null
var tuition_refund_amount:BigDecimal? = null
var description:String? = null
var additional_rate_id:Int? = null
var additional_rate_amount:BigDecimal? = null
var benefit_rate_id:Int? = null
var second_benefit_rate_id:Int? = null
var benefit_charge_amount:BigDecimal? = null
var second_benefit_charge_amount:BigDecimal? = null
}
Kotlin DropRegistrationsSubmitRequest 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/{uuid}/Drop/{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,
registrations:
[
{
student_section_uuid: String,
tuition_refund_amount: 0,
description: String,
additional_rate_id: 0,
additional_rate_amount: 0,
benefit_rate_id: 0,
second_benefit_rate_id: 0,
benefit_charge_amount: 0,
second_benefit_charge_amount: 0
}
],
description: String,
drop_fee: 0,
drop_description: String,
refund_student_fees: False,
authorizing_uuid: String
}
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 } }