POST api/RequestService
Request Information
URI Parameters
None.
Body Parameters
RequestSrvName | Description | Type | Additional information |
---|---|---|---|
Msisdn | string |
None. |
|
PaidAmount | decimal number |
None. |
|
GameName | string |
None. |
|
CardType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Msisdn": "sample string 1", "PaidAmount": 2.1, "GameName": "sample string 3", "CardType": "sample string 4" }
application/xml, text/xml
Sample:
<RequestSrv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodaService.Controllers"> <CardType>sample string 4</CardType> <GameName>sample string 3</GameName> <Msisdn>sample string 1</Msisdn> <PaidAmount>2.1</PaidAmount> </RequestSrv>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultServiceName | Description | Type | Additional information |
---|---|---|---|
Msisdn | string |
None. |
|
Balance | decimal number |
None. |
|
GameName | string |
None. |
|
CardType | string |
None. |
|
PaidAmount | decimal number |
None. |
|
ResultCode | string |
None. |
|
ResultDesc | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msisdn": "sample string 1", "Balance": 2.1, "GameName": "sample string 3", "CardType": "sample string 4", "PaidAmount": 5.1, "ResultCode": "sample string 6", "ResultDesc": "sample string 7" }
application/xml, text/xml
Sample:
<ResultService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodaService.Controllers"> <Balance>2.1</Balance> <CardType>sample string 4</CardType> <GameName>sample string 3</GameName> <Msisdn>sample string 1</Msisdn> <PaidAmount>5.1</PaidAmount> <ResultCode>sample string 6</ResultCode> <ResultDesc>sample string 7</ResultDesc> </ResultService>