GET api/MobileTopups/GetTopUpInfo/{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

Collection of TopupOperator
NameDescriptionTypeAdditional information
CountryId

integer

None.

Operator

string

None.

ProductId

string

None.

UsDenomination

decimal number

None.

DestinationAmount

decimal number

None.

DestinationCurrency

string

None.

ProductName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "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"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTopupOperator xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Transactions">
  <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>
</ArrayOfTopupOperator>