AlbaApi

<back to all web services

MembersPostReq

The following routes are available for this service:
POST/members/updatemember
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 MembersPostReq implements IConvertible
{
    String? clientId;
    String? memberGuid;
    String? memberAuthGuid;

    MembersPostReq({this.clientId,this.memberGuid,this.memberAuthGuid});
    MembersPostReq.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

    Map<String, dynamic> toJson() => {
        'clientId': clientId,
        'memberGuid': memberGuid,
        'memberAuthGuid': memberAuthGuid
    };

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

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

Dart MembersPostReq DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /members/updatemember HTTP/1.1 
Host: hcbtas-q-albamfs-api.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"clientId":"String","memberGuid":"String","memberAuthGuid":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"homeUrl":"String","success":false,"isPensionSight":false}