GET api/MobileTopups/PhoneNumberInfo/{countryFrom}/{phoneNumber}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
countryFrom | integer |
Required |
|
phoneNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
TopupPhoneInfoName | Description | Type | Additional information |
---|---|---|---|
CountryId | integer |
None. |
|
Operator | string |
None. |
|
OperatorCode | string |
None. |
|
OperatorDenominations | Collection of TopupOperator |
None. |
Response Formats
application/json, text/json
Sample:
{ "CountryId": 1, "Operator": "sample string 2", "OperatorCode": "sample string 3", "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" } ] }
application/xml, text/xml
Sample:
<TopupPhoneInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Transactions"> <CountryId>1</CountryId> <Operator>sample string 2</Operator> <OperatorCode>sample string 3</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> </TopupPhoneInfo>