GET api/MobileTopups/PhoneNumberInfo_V2/{countryFrom}/{phoneNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryFrom

integer

Required

phoneNumber

string

Required

Body Parameters

None.

Response Information

Resource Description

TopupPhoneInfo_V2
NameDescriptionTypeAdditional 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.

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"
  ],
  "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_V2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Transactions">
  <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>
  <MostPopularDenomination>7.1</MostPopularDenomination>
  <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>
</TopupPhoneInfo_V2>