POST api/ReferralsRewardsRedemption
Request Information
URI Parameters
None.
Body Parameters
RedeemCreditsName | Description | Type | Additional information |
---|---|---|---|
MemberAccount | string |
None. |
|
ResortID | integer |
None. |
|
TransactionCode | globally unique identifier |
None. |
|
RegionID | integer |
None. |
|
TransactionTypeID | integer |
None. |
|
Concept | string |
None. |
|
Amount | decimal number |
None. |
|
Reference | string |
None. |
|
PayMemberAccount | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MemberAccount": "sample string 1", "ResortID": 1, "TransactionCode": "8a7734dd-6ea7-4fd3-a23e-13ef6ea5abe4", "UserID": "486f6006-5324-4365-81b1-e5ba7e24aa7f", "GeneratedDate": "2024-05-19T11:30:33.5851343-06:00", "PlaceID": 1, "RegionID": 1, "TransactionTypeID": 4, "Concept": "sample string 5", "Amount": 6.0, "Reference": "sample string 7", "PayMemberAccount": "sample string 8" }
application/xml, text/xml
Sample:
<ApiReferralsViewModel.RedeemCredits xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.ViewModels"> <Amount>6</Amount> <Concept>sample string 5</Concept> <PayMemberAccount>sample string 8</PayMemberAccount> <Reference>sample string 7</Reference> <RegionID>1</RegionID> <TransactionTypeID>4</TransactionTypeID> <MemberAccount>sample string 1</MemberAccount> <ResortID>1</ResortID> <TransactionCode>8a7734dd-6ea7-4fd3-a23e-13ef6ea5abe4</TransactionCode> </ApiReferralsViewModel.RedeemCredits>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RedemptionResponseName | Description | Type | Additional information |
---|---|---|---|
Status | RedemptionStatus |
None. |
|
Amount | decimal number |
None. |
|
AuthorizationCode | globally unique identifier |
None. |
|
Date | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 0, "Amount": 1.0, "AuthorizationCode": "9fbf33ca-c639-4879-adee-d3243bc95ddf", "Date": "2024-05-19T11:30:33.5851343-06:00" }
application/xml, text/xml
Sample:
<ApiReferralsDataModel.RedemptionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.DataModels"> <Amount>1</Amount> <AuthorizationCode>9fbf33ca-c639-4879-adee-d3243bc95ddf</AuthorizationCode> <Date>2024-05-19T11:30:33.5851343-06:00</Date> <Status>AcceptTermsConditions</Status> </ApiReferralsDataModel.RedemptionResponse>