ConsumerApi

<back to all web services

GetRewardsStatusRequest

Consumer
Requires Authentication
The following routes are available for this service:
GET/user/rewards
import Foundation
import ServiceStack


Swift GetRewardsStatusRequest 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 /user/rewards HTTP/1.1 
Host: consumer-api.brovs.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetRewardsStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsumerApi.Dto">
  <ActiveLottery>
    <ContentAfterSharing>String</ContentAfterSharing>
    <ContentBeforeSharing>String</ContentBeforeSharing>
    <CountryCode>String</CountryCode>
    <FirstDay xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>0001-01-01T00:00:00Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </FirstDay>
    <Id>0</Id>
    <LastDay xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>0001-01-01T00:00:00Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </LastDay>
    <YourNumberOfTicketsInThisLottery>0</YourNumberOfTicketsInThisLottery>
  </ActiveLottery>
  <PointsAwardedForSignup>0</PointsAwardedForSignup>
  <PointsExpiringAtEndOfThisYear>0</PointsExpiringAtEndOfThisYear>
  <PointsInTotal>0</PointsInTotal>
  <ReferBusiness>
    <Count>0</Count>
    <Points>0</Points>
    <PointsGrantedOnSuccess>0</PointsGrantedOnSuccess>
  </ReferBusiness>
  <ReferFriend>
    <Count>0</Count>
    <Points>0</Points>
    <PointsGrantedOnSuccess>0</PointsGrantedOnSuccess>
  </ReferFriend>
  <ShareAdMessage>
    <Count>0</Count>
    <Points>0</Points>
    <PointsGrantedOnSuccess>0</PointsGrantedOnSuccess>
  </ShareAdMessage>
  <SharePlace>
    <Count>0</Count>
    <Points>0</Points>
    <PointsGrantedOnSuccess>0</PointsGrantedOnSuccess>
  </SharePlace>
</GetRewardsStatusResponse>