GET api/Bilyak/PayByMobileBalance?learnerId={learnerId}&mobileNumber={mobileNumber}&countryCode={countryCode}&networkProvider={networkProvider}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
learnerId

integer

Required

mobileNumber

string

Required

countryCode

string

Required

networkProvider

string

Required

Body Parameters

None.

Response Information

Resource Description

PayByMobileBalanceWS
NameDescriptionTypeAdditional information
IsError

boolean

None.

ErrorMessage

string

None.

ErrorCode

integer

None.

ResponseCode

integer

None.

MSISDN

string

None.

ProductId

integer

None.

TransactionId

string

None.

TransactionId2

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsError": true,
  "ErrorMessage": "sample string 2",
  "ErrorCode": 3,
  "ResponseCode": 4,
  "MSISDN": "sample string 5",
  "ProductId": 6,
  "TransactionId": "sample string 7",
  "TransactionId2": "sample string 8"
}

application/xml, text/xml

Sample:
<PayByMobileBalanceWS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BilyakWebAPI.Models">
  <MSISDN xmlns="http://schemas.datacontract.org/2004/07/BilyakWebAPI.BLL.Models">sample string 5</MSISDN>
  <ProductId xmlns="http://schemas.datacontract.org/2004/07/BilyakWebAPI.BLL.Models">6</ProductId>
  <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/BilyakWebAPI.BLL.Models">4</ResponseCode>
  <TransactionId xmlns="http://schemas.datacontract.org/2004/07/BilyakWebAPI.BLL.Models">sample string 7</TransactionId>
  <TransactionId2 xmlns="http://schemas.datacontract.org/2004/07/BilyakWebAPI.BLL.Models">sample string 8</TransactionId2>
  <ErrorCode>3</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsError>true</IsError>
</PayByMobileBalanceWS>