| All Verbs | /RequestFranceEnrolment |
|---|
namespace RAPP.BW.MovableInk
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type FranceWalletMemberData() =
member val AESMemberID:String = null with get,set
member val MemberID:String = null with get,set
member val Forename:String = null with get,set
member val Surname:String = null with get,set
member val TierDescription:Int32 = new Int32() with get,set
member val CurrentPoints:String = null with get,set
member val NoofStaysToNextTier:String = null with get,set
[<AllowNullLiteral>]
type FrResponse() =
[<DataMember>]
member val HasError:Boolean = new Boolean() with get,set
[<DataMember>]
member val Error:String = null with get,set
[<DataMember>]
member val MemberData:FranceWalletMemberData = null with get,set
[<AllowNullLiteral>]
type RequestFranceEnrolment() =
member val AESMemberID:String = null with get,set
F# RequestFranceEnrolment DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /RequestFranceEnrolment HTTP/1.1
Host: bwdynamicsuat.rapp-customers.co.uk
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<RequestFranceEnrolment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RAPP.BW.MovableInk">
<AESMemberID>String</AESMemberID>
</RequestFranceEnrolment>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<FrResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RAPP.BW.MovableInk">
<Error>String</Error>
<HasError>false</HasError>
<MemberData>
<AESMemberID>String</AESMemberID>
<CurrentPoints>String</CurrentPoints>
<Forename>String</Forename>
<MemberID>String</MemberID>
<NoofStaysToNextTier>String</NoofStaysToNextTier>
<Surname>String</Surname>
<TierDescription>0</TierDescription>
</MemberData>
</FrResponse>