GET api/MobileTopups/PhoneNumberInfo_V3/{countryFrom}/{phoneNumber}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| countryFrom | integer |
Required |
|
| phoneNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
TopupPhoneInfo_V3| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | string |
None. |
|
| ResponseMessage | string |
None. |
|
| CountryId | integer |
None. |
|
| Operator | string |
None. |
|
| OperatorCode | string |
None. |
|
| OperatorLogo | string |
None. |
|
| MostPopularDenomination | decimal number |
None. |
|
| OperatorDenominations | Collection of TopupOperator |
None. |
|
| AvaliableOperators | Collection of string |
None. |
|
| CurrencyCode | string |
None. |
|
| CurrencySymbol | string |
None. |
|
| SubCurrencyCode | string |
None. |
|
| SubCurrencySymbol | string |
None. |
|
| MultiplyFactor | integer |
None. |
|
| ExchangeRate | decimal number |
None. |
|
| AmountChargedCurrencyCode | string |
None. |
|
| ProductDescriptions | Collection of TopUpProductDescription |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": "sample string 1",
"ResponseMessage": "sample string 2",
"CountryId": 3,
"Operator": "sample string 4",
"OperatorCode": "sample string 5",
"OperatorLogo": "sample string 6",
"MostPopularDenomination": 7.1,
"OperatorDenominations": [
{
"CountryId": 1,
"Operator": "sample string 2",
"ProductId": "sample string 3",
"UsDenomination": 4.1,
"DestinationAmount": 5.1,
"DestinationCurrency": "sample string 6",
"ProductName": "sample string 7"
},
{
"CountryId": 1,
"Operator": "sample string 2",
"ProductId": "sample string 3",
"UsDenomination": 4.1,
"DestinationAmount": 5.1,
"DestinationCurrency": "sample string 6",
"ProductName": "sample string 7"
}
],
"AvaliableOperators": [
"sample string 1",
"sample string 2"
],
"CurrencyCode": "sample string 8",
"CurrencySymbol": "sample string 9",
"SubCurrencyCode": "sample string 10",
"SubCurrencySymbol": "sample string 11",
"MultiplyFactor": 12,
"ExchangeRate": 13.0,
"AmountChargedCurrencyCode": "sample string 14",
"ProductDescriptions": [
{
"Id": 1,
"ProductId": "sample string 2",
"Price": 3.1,
"CountryFromISO": "sample string 4",
"Operator": "sample string 5",
"Processor": "sample string 6",
"DisplayText": "sample string 7",
"Description": "sample string 8",
"CountryToISO": "sample string 9"
},
{
"Id": 1,
"ProductId": "sample string 2",
"Price": 3.1,
"CountryFromISO": "sample string 4",
"Operator": "sample string 5",
"Processor": "sample string 6",
"DisplayText": "sample string 7",
"Description": "sample string 8",
"CountryToISO": "sample string 9"
}
]
}
application/xml, text/xml
Sample:
<TopupPhoneInfo_V3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Transactions">
<AmountChargedCurrencyCode>sample string 14</AmountChargedCurrencyCode>
<AvaliableOperators xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</AvaliableOperators>
<CountryId>3</CountryId>
<CurrencyCode>sample string 8</CurrencyCode>
<CurrencySymbol>sample string 9</CurrencySymbol>
<ExchangeRate>13</ExchangeRate>
<MostPopularDenomination>7.1</MostPopularDenomination>
<MultiplyFactor>12</MultiplyFactor>
<Operator>sample string 4</Operator>
<OperatorCode>sample string 5</OperatorCode>
<OperatorDenominations>
<TopupOperator>
<CountryId>1</CountryId>
<DestinationAmount>5.1</DestinationAmount>
<DestinationCurrency>sample string 6</DestinationCurrency>
<Operator>sample string 2</Operator>
<ProductId>sample string 3</ProductId>
<ProductName>sample string 7</ProductName>
<UsDenomination>4.1</UsDenomination>
</TopupOperator>
<TopupOperator>
<CountryId>1</CountryId>
<DestinationAmount>5.1</DestinationAmount>
<DestinationCurrency>sample string 6</DestinationCurrency>
<Operator>sample string 2</Operator>
<ProductId>sample string 3</ProductId>
<ProductName>sample string 7</ProductName>
<UsDenomination>4.1</UsDenomination>
</TopupOperator>
</OperatorDenominations>
<OperatorLogo>sample string 6</OperatorLogo>
<ProductDescriptions>
<TopUpProductDescription>
<CountryFromISO>sample string 4</CountryFromISO>
<CountryToISO>sample string 9</CountryToISO>
<Description>sample string 8</Description>
<DisplayText>sample string 7</DisplayText>
<Id>1</Id>
<Operator>sample string 5</Operator>
<Price>3.1</Price>
<Processor>sample string 6</Processor>
<ProductId>sample string 2</ProductId>
</TopUpProductDescription>
<TopUpProductDescription>
<CountryFromISO>sample string 4</CountryFromISO>
<CountryToISO>sample string 9</CountryToISO>
<Description>sample string 8</Description>
<DisplayText>sample string 7</DisplayText>
<Id>1</Id>
<Operator>sample string 5</Operator>
<Price>3.1</Price>
<Processor>sample string 6</Processor>
<ProductId>sample string 2</ProductId>
</TopUpProductDescription>
</ProductDescriptions>
<ResponseCode>sample string 1</ResponseCode>
<ResponseMessage>sample string 2</ResponseMessage>
<SubCurrencyCode>sample string 10</SubCurrencyCode>
<SubCurrencySymbol>sample string 11</SubCurrencySymbol>
</TopupPhoneInfo_V3>