POST api/DeductBalance

Request Information

URI Parameters

None.

Body Parameters

RequestBalance
NameDescriptionTypeAdditional information
Msisdn

string

None.

TransactinoID

string

None.

PaidAmount

decimal number

None.

Gamename

string

None.

CardType

string

None.

CustomerEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Msisdn": "sample string 1",
  "TransactinoID": "sample string 2",
  "PaidAmount": 3.1,
  "Gamename": "sample string 4",
  "CardType": "sample string 5",
  "CustomerEmail": "sample string 6"
}

application/xml, text/xml

Sample:
<RequestBalance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodaService.Controllers">
  <CardType>sample string 5</CardType>
  <CustomerEmail>sample string 6</CustomerEmail>
  <Gamename>sample string 4</Gamename>
  <Msisdn>sample string 1</Msisdn>
  <PaidAmount>3.1</PaidAmount>
  <TransactinoID>sample string 2</TransactinoID>
</RequestBalance>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultBalance
NameDescriptionTypeAdditional information
Msisdn

string

None.

TransactinoID

string

None.

Username

string

None.

ResultCode

string

None.

ResultDesc

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Msisdn": "sample string 1",
  "TransactinoID": "sample string 2",
  "Username": "sample string 3",
  "ResultCode": "sample string 4",
  "ResultDesc": "sample string 5"
}

application/xml, text/xml

Sample:
<ResultBalance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodaService.Controllers">
  <Msisdn>sample string 1</Msisdn>
  <ResultCode>sample string 4</ResultCode>
  <ResultDesc>sample string 5</ResultDesc>
  <TransactinoID>sample string 2</TransactinoID>
  <Username>sample string 3</Username>
</ResultBalance>