Required role: | REGISUserRole |
POST | /Finance/FinancialAid/Application/{application_uuid}/Email |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class FinancialAidApplicationEmailRequest implements IConvertible
{
String? application_uuid;
bool? incomplete;
bool? complete;
bool? servant_fund;
bool? ruth_ericson;
bool? mary_elizabeth_bramhall;
bool? winifred_rennie;
FinancialAidApplicationEmailRequest({this.application_uuid,this.incomplete,this.complete,this.servant_fund,this.ruth_ericson,this.mary_elizabeth_bramhall,this.winifred_rennie});
FinancialAidApplicationEmailRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
application_uuid = json['application_uuid'];
incomplete = json['incomplete'];
complete = json['complete'];
servant_fund = json['servant_fund'];
ruth_ericson = json['ruth_ericson'];
mary_elizabeth_bramhall = json['mary_elizabeth_bramhall'];
winifred_rennie = json['winifred_rennie'];
return this;
}
Map<String, dynamic> toJson() => {
'application_uuid': application_uuid,
'incomplete': incomplete,
'complete': complete,
'servant_fund': servant_fund,
'ruth_ericson': ruth_ericson,
'mary_elizabeth_bramhall': mary_elizabeth_bramhall,
'winifred_rennie': winifred_rennie
};
getTypeName() => "FinancialAidApplicationEmailRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: <String, TypeInfo> {
'FinancialAidApplicationEmailRequest': TypeInfo(TypeOf.Class, create:() => FinancialAidApplicationEmailRequest()),
});
Dart FinancialAidApplicationEmailRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Finance/FinancialAid/Application/{application_uuid}/Email HTTP/1.1
Host: data.regent-college.edu
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<FinancialAidApplicationEmailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
<application_uuid>String</application_uuid>
<complete>false</complete>
<incomplete>false</incomplete>
<mary_elizabeth_bramhall>false</mary_elizabeth_bramhall>
<ruth_ericson>false</ruth_ericson>
<servant_fund>false</servant_fund>
<winifred_rennie>false</winifred_rennie>
</FinancialAidApplicationEmailRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length (string)