GET API/Subscriber/GetPriceBreakup?SmsId={SmsId}&VcNo={VcNo}&MobileNo={MobileNo}&Source={Source}&CustomerId={CustomerId}&isD2H={isD2H}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SmsId

decimal number

Required

VcNo

string

Required

MobileNo

string

Required

Source

string

Required

CustomerId

integer

Default value is 0

isD2H

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

ResultInfoOfPriceBreakup
NameDescriptionTypeAdditional information
AccessToken

string

None.

TokenType

string

None.

ResultType

TypeOfResult

None.

ResultCode

integer

None.

ResultDesc

string

None.

Result

PriceBreakup

None.

ErrCode

integer

None.

ErrDesc

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AccessToken": "sample string 1",
  "TokenType": "sample string 2",
  "ResultType": 0,
  "ResultCode": 3,
  "ResultDesc": "sample string 4",
  "Result": {
    "Packages": [
      {
        "Vcno": "sample string 1",
        "Smsid": 2,
        "Parentchild": "sample string 3",
        "SubscriptionChargeWithTax": 4.0,
        "SubscriptionChargeWithoutTax": 5.0,
        "NCFwithTax": 6.0,
        "NCFwithoutTax": 7.0,
        "paylaterWithTax": 8.0,
        "paylaterWithoutTax": 9.0,
        "paylaterServiceChargeWT": 10.0,
        "paylaterServiceChargeWOT": 11.0,
        "PositiveOutStanding": 12.0,
        "GraceCharges": 13.0,
        "OtherChargesWT": 14.0,
        "OtherChargesWOT": 15.0
      },
      {
        "Vcno": "sample string 1",
        "Smsid": 2,
        "Parentchild": "sample string 3",
        "SubscriptionChargeWithTax": 4.0,
        "SubscriptionChargeWithoutTax": 5.0,
        "NCFwithTax": 6.0,
        "NCFwithoutTax": 7.0,
        "paylaterWithTax": 8.0,
        "paylaterWithoutTax": 9.0,
        "paylaterServiceChargeWT": 10.0,
        "paylaterServiceChargeWOT": 11.0,
        "PositiveOutStanding": 12.0,
        "GraceCharges": 13.0,
        "OtherChargesWT": 14.0,
        "OtherChargesWOT": 15.0
      }
    ],
    "TotalRechargeAmount": 1.0
  },
  "ErrCode": 5,
  "ErrDesc": "sample string 6"
}

application/xml, text/xml

Sample:
<ResultInfoOfPriceBreakup2LY_SY1XF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Common">
  <AccessToken>sample string 1</AccessToken>
  <ErrCode>5</ErrCode>
  <ErrDesc>sample string 6</ErrDesc>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Master">
    <d2p1:Packages>
      <d2p1:VcnoPrice>
        <d2p1:GraceCharges>13</d2p1:GraceCharges>
        <d2p1:NCFwithTax>6</d2p1:NCFwithTax>
        <d2p1:NCFwithoutTax>7</d2p1:NCFwithoutTax>
        <d2p1:OtherChargesWOT>15</d2p1:OtherChargesWOT>
        <d2p1:OtherChargesWT>14</d2p1:OtherChargesWT>
        <d2p1:Parentchild>sample string 3</d2p1:Parentchild>
        <d2p1:PositiveOutStanding>12</d2p1:PositiveOutStanding>
        <d2p1:Smsid>2</d2p1:Smsid>
        <d2p1:SubscriptionChargeWithTax>4</d2p1:SubscriptionChargeWithTax>
        <d2p1:SubscriptionChargeWithoutTax>5</d2p1:SubscriptionChargeWithoutTax>
        <d2p1:Vcno>sample string 1</d2p1:Vcno>
        <d2p1:paylaterServiceChargeWOT>11</d2p1:paylaterServiceChargeWOT>
        <d2p1:paylaterServiceChargeWT>10</d2p1:paylaterServiceChargeWT>
        <d2p1:paylaterWithTax>8</d2p1:paylaterWithTax>
        <d2p1:paylaterWithoutTax>9</d2p1:paylaterWithoutTax>
      </d2p1:VcnoPrice>
      <d2p1:VcnoPrice>
        <d2p1:GraceCharges>13</d2p1:GraceCharges>
        <d2p1:NCFwithTax>6</d2p1:NCFwithTax>
        <d2p1:NCFwithoutTax>7</d2p1:NCFwithoutTax>
        <d2p1:OtherChargesWOT>15</d2p1:OtherChargesWOT>
        <d2p1:OtherChargesWT>14</d2p1:OtherChargesWT>
        <d2p1:Parentchild>sample string 3</d2p1:Parentchild>
        <d2p1:PositiveOutStanding>12</d2p1:PositiveOutStanding>
        <d2p1:Smsid>2</d2p1:Smsid>
        <d2p1:SubscriptionChargeWithTax>4</d2p1:SubscriptionChargeWithTax>
        <d2p1:SubscriptionChargeWithoutTax>5</d2p1:SubscriptionChargeWithoutTax>
        <d2p1:Vcno>sample string 1</d2p1:Vcno>
        <d2p1:paylaterServiceChargeWOT>11</d2p1:paylaterServiceChargeWOT>
        <d2p1:paylaterServiceChargeWT>10</d2p1:paylaterServiceChargeWT>
        <d2p1:paylaterWithTax>8</d2p1:paylaterWithTax>
        <d2p1:paylaterWithoutTax>9</d2p1:paylaterWithoutTax>
      </d2p1:VcnoPrice>
    </d2p1:Packages>
    <d2p1:TotalRechargeAmount>1</d2p1:TotalRechargeAmount>
  </Result>
  <ResultCode>3</ResultCode>
  <ResultDesc>sample string 4</ResultDesc>
  <ResultType>Success</ResultType>
  <TokenType>sample string 2</TokenType>
</ResultInfoOfPriceBreakup2LY_SY1XF>