HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: processing-preprod-mdgroup.bpmonline.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetCardBalanceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Processing.Engine.API.Processors">
<BonusTypeCode>String</BonusTypeCode>
<CardAccountNumber>String</CardAccountNumber>
<CardNumber>String</CardNumber>
<OnDate>0001-01-01T00:00:00</OnDate>
<PhoneNumber>String</PhoneNumber>
</GetCardBalanceInfo>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetCardBalanceInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Processing.Engine.API.Processors">
<BonusesInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Processing.Engine">
<d2p1:BalanceInfo>
<d2p1:BonusAmount>0</d2p1:BonusAmount>
<d2p1:BonusStatusCode>String</d2p1:BonusStatusCode>
<d2p1:BonusTypeCode>String</d2p1:BonusTypeCode>
<d2p1:CampaingBonusTypesRemains>
<d2p1:CampaingBonusTypeRemains>
<d2p1:BonusAmount>0</d2p1:BonusAmount>
<d2p1:CampaingBonusType>String</d2p1:CampaingBonusType>
</d2p1:CampaingBonusTypeRemains>
</d2p1:CampaingBonusTypesRemains>
</d2p1:BalanceInfo>
</BonusesInfo>
<CampaingBonusTypesRemains xmlns:d2p1="http://schemas.datacontract.org/2004/07/Processing.Engine">
<d2p1:CampaingBonusTypeRemains>
<d2p1:BonusAmount>0</d2p1:BonusAmount>
<d2p1:CampaingBonusType>String</d2p1:CampaingBonusType>
</d2p1:CampaingBonusTypeRemains>
</CampaingBonusTypesRemains>
<CardNumber>String</CardNumber>
<CardStatus>String</CardStatus>
<CardSubType>String</CardSubType>
<ContactName>String</ContactName>
<CouponInfo>
<CouponInfo2>
<CouponCode>String</CouponCode>
<CouponName>String</CouponName>
</CouponInfo2>
</CouponInfo>
<Info>String</Info>
<PhoneNumber>String</PhoneNumber>
<TotalActiveBonusAmount>String</TotalActiveBonusAmount>
</GetCardBalanceInfoResponse>
</soap12:Body>
</soap12:Envelope>