RAPP.BW.MovableInk

<back to all web services

RequestFranceWallet

Requires Authentication
The following routes are available for this service:
All Verbs/RequestFranceWallet
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
Object = TypeVar('Object')


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class FranceWalletMemberData:
    aes_member_i_d: Optional[str] = None
    member_i_d: Optional[str] = None
    forename: Optional[str] = None
    surname: Optional[str] = None
    tier_description: int = 0
    current_points: Optional[str] = None
    noof_stays_to_next_tier: Optional[str] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class FrResponse:
    has_error: bool = False
    error: Optional[str] = None
    member_data: Optional[FranceWalletMemberData] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class RequestFranceWallet:
    aes_member_i_d: Optional[str] = None

Python RequestFranceWallet DTOs

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

HTTP + CSV

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

POST /RequestFranceWallet HTTP/1.1 
Host: bwdynamicsuat.rapp-customers.co.uk 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"AESMemberID":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"HasError":false,"Error":"String","MemberData":{"AESMemberID":"String","MemberID":"String","Forename":"String","Surname":"String","TierDescription":0,"CurrentPoints":"String","NoofStaysToNextTier":"String"}}