| Required permission: | ReadStudentStatus | 
| POST | /StaffStatus | 
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class StudentStatusResponse implements IConvertible
{
    bool? is_active;
    bool? is_authenticated;
    bool? is_admitted;
    StudentStatusResponse({this.is_active,this.is_authenticated,this.is_admitted});
    StudentStatusResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        is_active = json['is_active'];
        is_authenticated = json['is_authenticated'];
        is_admitted = json['is_admitted'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'is_active': is_active,
        'is_authenticated': is_authenticated,
        'is_admitted': is_admitted
    };
    getTypeName() => "StudentStatusResponse";
    TypeContext? context = _ctx;
}
class StaffStatusRequest implements IConvertible
{
    String? staff_login;
    String? password;
    StaffStatusRequest({this.staff_login,this.password});
    StaffStatusRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        staff_login = json['staff_login'];
        password = json['password'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'staff_login': staff_login,
        'password': password
    };
    getTypeName() => "StaffStatusRequest";
    TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: <String, TypeInfo> {
    'StudentStatusResponse': TypeInfo(TypeOf.Class, create:() => StudentStatusResponse()),
    'StaffStatusRequest': TypeInfo(TypeOf.Class, create:() => StaffStatusRequest()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /StaffStatus HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"staff_login":"String","password":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"is_active":false,"is_authenticated":false,"is_admitted":false}