Loyalty ProcessingService

<back to all web services

GetBonuses

The following routes are available for this service:
All Verbs/GetBonuses

To override the Content-type in your clients 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.

POST /xml/reply/GetBonuses HTTP/1.1 
Host: processing-preprod-mti.bpmonline.com 
Content-Type: application/xml
Content-Length: length

<GetBonuses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Processing.WebApp">
  <CardNumber>String</CardNumber>
</GetBonuses>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetBonusesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Processing.WebApp">
  <Bonuses xmlns:d2p1="http://schemas.datacontract.org/2004/07/Processing.Engine">
    <d2p1:BonuseInfo>
      <d2p1:ActivationDate>0001-01-01T00:00:00</d2p1:ActivationDate>
      <d2p1:Amount>0</d2p1:Amount>
      <d2p1:BlockAmount>0</d2p1:BlockAmount>
      <d2p1:CampaignId>00000000-0000-0000-0000-000000000000</d2p1:CampaignId>
      <d2p1:CampaignName>String</d2p1:CampaignName>
      <d2p1:CancellationDate>0001-01-01T00:00:00</d2p1:CancellationDate>
      <d2p1:EventType>String</d2p1:EventType>
    </d2p1:BonuseInfo>
  </Bonuses>
  <Info>String</Info>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
      </d2p1:ResponseError>
    </d2p1:Errors>
  </ResponseStatus>
</GetBonusesResponse>