| GET | /api/misa-wesign/authorize-url |
|---|
import 'package:servicestack/servicestack.dart';
class MisaWeSignAuthorizeUrlResponse implements IConvertible
{
String? authorizeUrl;
String? state;
MisaWeSignAuthorizeUrlResponse({this.authorizeUrl,this.state});
MisaWeSignAuthorizeUrlResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
authorizeUrl = json['authorizeUrl'];
state = json['state'];
return this;
}
Map<String, dynamic> toJson() => {
'authorizeUrl': authorizeUrl,
'state': state
};
getTypeName() => "MisaWeSignAuthorizeUrlResponse";
TypeContext? context = _ctx;
}
class MisaWeSignAuthorizeUrlRequest implements IConvertible
{
int? signatureId;
MisaWeSignAuthorizeUrlRequest({this.signatureId});
MisaWeSignAuthorizeUrlRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
signatureId = json['signatureId'];
return this;
}
Map<String, dynamic> toJson() => {
'signatureId': signatureId
};
getTypeName() => "MisaWeSignAuthorizeUrlRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'qlcn_api.vsmlab.vn', types: <String, TypeInfo> {
'MisaWeSignAuthorizeUrlResponse': TypeInfo(TypeOf.Class, create:() => MisaWeSignAuthorizeUrlResponse()),
'MisaWeSignAuthorizeUrlRequest': TypeInfo(TypeOf.Class, create:() => MisaWeSignAuthorizeUrlRequest()),
});
Dart MisaWeSignAuthorizeUrlRequest DTOs
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.
GET /api/misa-wesign/authorize-url HTTP/1.1 Host: qlcn-api.vsmlab.vn Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"authorizeUrl":"String","state":"String"}