GET api/Rates/v1/PlansByCusotmer/{customerId}/{phoneNumber}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerId | integer |
Required |
|
phoneNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PlanRateResponseModelWithMultipleCurrencyName | Description | Type | Additional information |
---|---|---|---|
CurrencyCode | string |
None. |
|
CurrencySymbol | string |
None. |
|
SubCurrencyCode | string |
None. |
|
SubCurrencySymbol | string |
None. |
|
MultiplyFactor | integer |
None. |
|
ExchangeRate | decimal number |
None. |
|
AmountChargedCurrencyCode | string |
None. |
|
CardId | integer |
None. |
|
CardName | string |
None. |
|
CountryId | integer |
None. |
|
CountryName | string |
None. |
|
CountryCode | string |
None. |
|
AutorefillPlans | CallingCard |
None. |
|
WithoutAutorefillPlans | CallingCard |
None. |
|
DiscountedPlans | CallingCard |
None. |
|
DiscountedPlansWithAutoRefill | CallingCard |
None. |
Response Formats
application/json, text/json
Sample:
{ "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", "CardId": 8, "CardName": "sample string 9", "CountryId": 10, "CountryName": "sample string 11", "CountryCode": "sample string 12", "AutorefillPlans": { "RatePerMin": 1.1, "Denominations": [ { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" }, { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" } ] }, "WithoutAutorefillPlans": { "RatePerMin": 1.1, "Denominations": [ { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" }, { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" } ] }, "DiscountedPlans": { "RatePerMin": 1.1, "Denominations": [ { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" }, { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" } ] }, "DiscountedPlansWithAutoRefill": { "RatePerMin": 1.1, "Denominations": [ { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" }, { "SubCardId": "sample string 1", "Price": 2.1, "ServiceCharge": 3.1, "Priority": 4, "TotalTime": 5.1, "DiscountApplied": 6.1, "DiscountType": "sample string 7", "PromoMinutes": 8, "PromoCode": "sample string 9" } ] } }
application/xml, text/xml
Sample:
<PlanRateResponseModelWithMultipleCurrency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Rates"> <AmountChargedCurrencyCode>sample string 7</AmountChargedCurrencyCode> <AutorefillPlans xmlns:d2p1="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Rates"> <d2p1:Denominations> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> </d2p1:Denominations> <d2p1:RatePerMin>1.1</d2p1:RatePerMin> </AutorefillPlans> <CardId>8</CardId> <CardName>sample string 9</CardName> <CountryCode>sample string 12</CountryCode> <CountryId>10</CountryId> <CountryName>sample string 11</CountryName> <CurrencyCode>sample string 1</CurrencyCode> <CurrencySymbol>sample string 2</CurrencySymbol> <DiscountedPlans xmlns:d2p1="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Rates"> <d2p1:Denominations> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> </d2p1:Denominations> <d2p1:RatePerMin>1.1</d2p1:RatePerMin> </DiscountedPlans> <DiscountedPlansWithAutoRefill xmlns:d2p1="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Rates"> <d2p1:Denominations> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> </d2p1:Denominations> <d2p1:RatePerMin>1.1</d2p1:RatePerMin> </DiscountedPlansWithAutoRefill> <ExchangeRate>6</ExchangeRate> <MultiplyFactor>5</MultiplyFactor> <SubCurrencyCode>sample string 3</SubCurrencyCode> <SubCurrencySymbol>sample string 4</SubCurrencySymbol> <WithoutAutorefillPlans xmlns:d2p1="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Rates"> <d2p1:Denominations> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> <d2p1:Denomination> <d2p1:DiscountApplied>6.1</d2p1:DiscountApplied> <d2p1:DiscountType>sample string 7</d2p1:DiscountType> <d2p1:Price>2.1</d2p1:Price> <d2p1:Priority>4</d2p1:Priority> <d2p1:PromoCode>sample string 9</d2p1:PromoCode> <d2p1:PromoMinutes>8</d2p1:PromoMinutes> <d2p1:ServiceCharge>3.1</d2p1:ServiceCharge> <d2p1:SubCardId>sample string 1</d2p1:SubCardId> <d2p1:TotalTime>5.1</d2p1:TotalTime> </d2p1:Denomination> </d2p1:Denominations> <d2p1:RatePerMin>1.1</d2p1:RatePerMin> </WithoutAutorefillPlans> </PlanRateResponseModelWithMultipleCurrency>