| GET POST | /api/misa-wesign/sid-callback |
|---|
import 'package:servicestack/servicestack.dart';
class MisaWeSignSidCallbackRequest implements IConvertible
{
String? state;
String? sid;
String? code;
String? error;
MisaWeSignSidCallbackRequest({this.state,this.sid,this.code,this.error});
MisaWeSignSidCallbackRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
state = json['state'];
sid = json['sid'];
code = json['code'];
error = json['error'];
return this;
}
Map<String, dynamic> toJson() => {
'state': state,
'sid': sid,
'code': code,
'error': error
};
getTypeName() => "MisaWeSignSidCallbackRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'qlcn_api.vsmlab.vn', types: <String, TypeInfo> {
'MisaWeSignSidCallbackRequest': TypeInfo(TypeOf.Class, create:() => MisaWeSignSidCallbackRequest()),
});
Dart MisaWeSignSidCallbackRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/misa-wesign/sid-callback HTTP/1.1
Host: qlcn-api.vsmlab.vn
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"state":"String","sid":"String","code":"String","error":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{}