Required permission: | ReadRates |
POST | /Rates/Admin |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class RatesAdminRequest implements IConvertible
{
RatesAdminRequest();
RatesAdminRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "RatesAdminRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: <String, TypeInfo> {
'RatesAdminRequest': TypeInfo(TypeOf.Class, create:() => RatesAdminRequest()),
});
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 /Rates/Admin HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ { rate_id: 0, rate_code: String, rate_description: String, term: String, charge: 0, credit: 0, percentage: 0, budget: 0, is_benefit: False, is_financial_aid: False } ]