AlbaApi

<back to all web services

MembersGetReq

The following routes are available for this service:
GET/members/{SessionId}
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class Members implements IConvertible
{
    String? homeUrl;
    bool? success;
    bool? isPensionSight;

    Members({this.homeUrl,this.success,this.isPensionSight});
    Members.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        homeUrl = json['homeUrl'];
        success = json['success'];
        isPensionSight = json['isPensionSight'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'homeUrl': homeUrl,
        'success': success,
        'isPensionSight': isPensionSight
    };

    getTypeName() => "Members";
    TypeContext? context = _ctx;
}

class MembersGetReq implements IConvertible
{
    String? sessionId;

    MembersGetReq({this.sessionId});
    MembersGetReq.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        sessionId = json['sessionId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'sessionId': sessionId
    };

    getTypeName() => "MembersGetReq";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'hcbtas_q_albamfs_api.azurewebsites.net', types: <String, TypeInfo> {
    'Members': TypeInfo(TypeOf.Class, create:() => Members()),
    'MembersGetReq': TypeInfo(TypeOf.Class, create:() => MembersGetReq()),
});

Dart MembersGetReq 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.

GET /members/{SessionId} HTTP/1.1 
Host: hcbtas-q-albamfs-api.azurewebsites.net 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<Members xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlbaApi.Model">
  <HomeUrl>String</HomeUrl>
  <IsPensionSight>false</IsPensionSight>
  <Success>false</Success>
</Members>