GET api/MobileTopups/GetTopUpInfo_V1/{countryFrom}/{countryTo}/{operatorName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryFrom

integer

Required

countryTo

integer

Required

operatorName

string

Required

Body Parameters

None.

Response Information

Resource Description

TopupOperatorWithMultipleCurrency
NameDescriptionTypeAdditional information
topupOperators

Collection of TopupOperator

None.

AvaliableOperators

Collection of string

None.

ProductDescriptions

Collection of TopUpProductDescription

None.

CurrencyCode

string

None.

CurrencySymbol

string

None.

SubCurrencyCode

string

None.

SubCurrencySymbol

string

None.

MultiplyFactor

integer

None.

ExchangeRate

decimal number

None.

AmountChargedCurrencyCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "topupOperators": [
    {
      "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"
    }
  ],
  "CurrencyCode": "sample string 1",
  "CurrencySymbol": "sample string 2",
  "SubCurrencyCode": "sample string 3",
  "SubCurrencySymbol": "sample string 4",
  "MultiplyFactor": 5,
  "ExchangeRate": 6.0,
  "AmountChargedCurrencyCode": "sample string 7"
}

application/xml, text/xml

Sample:
<TopupOperatorWithMultipleCurrency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Transactions">
  <AmountChargedCurrencyCode>sample string 7</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>
  <CurrencyCode>sample string 1</CurrencyCode>
  <CurrencySymbol>sample string 2</CurrencySymbol>
  <ExchangeRate>6</ExchangeRate>
  <MultiplyFactor>5</MultiplyFactor>
  <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>
  <SubCurrencyCode>sample string 3</SubCurrencyCode>
  <SubCurrencySymbol>sample string 4</SubCurrencySymbol>
  <topupOperators>
    <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>
  </topupOperators>
</TopupOperatorWithMultipleCurrency>