tvpl.api

<back to all web services

MisaWeSignSidCallbackRequest

The following routes are available for this service:
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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<MisaWeSignSidCallbackRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tvpl.api.ServiceModel">
  <Code>String</Code>
  <Error>String</Error>
  <Sid>String</Sid>
  <State>String</State>
</MisaWeSignSidCallbackRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />