POST api/RequestDeduct

Request Information

URI Parameters

None.

Body Parameters

RequestDeducts
NameDescriptionTypeAdditional information
TransactionID

string

Required

Msisdn

string

Required

Amount

decimal number

Required

RequestType

string

Required

GameName

string

Required

CardName

string

Required

IsRecurring

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "TransactionID": "sample string 1",
  "Msisdn": "sample string 2",
  "Amount": 3.1,
  "RequestType": "sample string 4",
  "GameName": "sample string 5",
  "CardName": "sample string 6",
  "IsRecurring": true
}

application/xml, text/xml

Sample:
<RequestDeducts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodaService.Controllers">
  <Amount>3.1</Amount>
  <CardName>sample string 6</CardName>
  <GameName>sample string 5</GameName>
  <IsRecurring>true</IsRecurring>
  <Msisdn>sample string 2</Msisdn>
  <RequestType>sample string 4</RequestType>
  <TransactionID>sample string 1</TransactionID>
</RequestDeducts>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultRequestDeduct
NameDescriptionTypeAdditional information
ResultCode

string

None.

ResultDesc

string

None.

TransactionID

string

None.

RefCode

string

None.

ResultType

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": "sample string 1",
  "ResultDesc": "sample string 2",
  "TransactionID": "sample string 3",
  "RefCode": "sample string 4",
  "ResultType": "sample string 5"
}

application/xml, text/xml

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