GET api/Plan/{planId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
planId

string

Required

Body Parameters

None.

Response Information

Resource Description

PlanResponseModel
NameDescriptionTypeAdditional information
PlanId

string

None.

OrderId

string

None.

CardName

string

None.

Pin

string

None.

LastRechargeDate

date

None.

CurrencyCode

string

None.

Price

decimal number

None.

IsAllowRecharge

boolean

None.

IsAutoRefill

boolean

None.

IsAllowCdr

boolean

None.

IsAllowPinLess

boolean

None.

IsAllowQuickKey

boolean

None.

IsAllowCallForwarding

boolean

None.

ArStatus

boolean

None.

UsedFrom

integer

None.

ServiceChargePercent

decimal number

None.

PinStatus

string

None.

CardId

integer

None.

CountryFrom

integer

None.

CountryTo

integer

None.

Balance

decimal number

None.

CustomerId

integer

None.

PlanType

PlanType

None.

AccessNumbers

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "PlanId": "sample string 1",
  "OrderId": "sample string 2",
  "CardName": "sample string 3",
  "Pin": "sample string 4",
  "LastRechargeDate": "2024-11-27T21:31:21.5493033-05:00",
  "CurrencyCode": "sample string 6",
  "Price": 7.0,
  "IsAllowRecharge": true,
  "IsAutoRefill": true,
  "IsAllowCdr": true,
  "IsAllowPinLess": true,
  "IsAllowQuickKey": true,
  "IsAllowCallForwarding": true,
  "ArStatus": true,
  "UsedFrom": 15,
  "ServiceChargePercent": 16.0,
  "PinStatus": "sample string 17",
  "CardId": 18,
  "CountryFrom": 19,
  "CountryTo": 20,
  "Balance": 21.0,
  "CustomerId": 22,
  "PlanType": 1,
  "AccessNumbers": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<PlanResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Accounts.Response">
  <AccessNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AccessNumbers>
  <ArStatus>true</ArStatus>
  <Balance>21</Balance>
  <CardId>18</CardId>
  <CardName>sample string 3</CardName>
  <CountryFrom>19</CountryFrom>
  <CountryTo>20</CountryTo>
  <CurrencyCode>sample string 6</CurrencyCode>
  <CustomerId>22</CustomerId>
  <IsAllowCallForwarding>true</IsAllowCallForwarding>
  <IsAllowCdr>true</IsAllowCdr>
  <IsAllowPinLess>true</IsAllowPinLess>
  <IsAllowQuickKey>true</IsAllowQuickKey>
  <IsAllowRecharge>true</IsAllowRecharge>
  <IsAutoRefill>true</IsAutoRefill>
  <LastRechargeDate>2024-11-27T21:31:21.5493033-05:00</LastRechargeDate>
  <OrderId>sample string 2</OrderId>
  <Pin>sample string 4</Pin>
  <PinStatus>sample string 17</PinStatus>
  <PlanId>sample string 1</PlanId>
  <PlanType>Simple</PlanType>
  <Price>7</Price>
  <ServiceChargePercent>16</ServiceChargePercent>
  <UsedFrom>15</UsedFrom>
</PlanResponseModel>