GET v1/CHB/GetSubscriptionDetails?AccountMasterId={AccountMasterId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AccountMasterId

integer

Required

Body Parameters

None.

Response Information

Resource Description

SubscriptionResponse
NameDescriptionTypeAdditional information
subscriptionDetails

Collection of SubscriptionDetails

None.

IsSuccess

boolean

None.

Message

string

None.

guid

string

None.

PNR

string

None.

Response Formats

application/json, text/json

Sample:
{
  "subscriptionDetails": [
    {
      "Id": 1,
      "AccountMasterId": 2,
      "PlanName": "sample string 3",
      "PlanDetails": "sample string 4",
      "MonthlyPrice": 5.0,
      "YearlyPrice": 6.0,
      "featureDetails": [
        {
          "FeatureId": 1,
          "SubscriptionId": 2,
          "FeatureName": "sample string 3",
          "FeatureValue": "sample string 4",
          "ModuleType": "sample string 5"
        },
        {
          "FeatureId": 1,
          "SubscriptionId": 2,
          "FeatureName": "sample string 3",
          "FeatureValue": "sample string 4",
          "ModuleType": "sample string 5"
        }
      ]
    },
    {
      "Id": 1,
      "AccountMasterId": 2,
      "PlanName": "sample string 3",
      "PlanDetails": "sample string 4",
      "MonthlyPrice": 5.0,
      "YearlyPrice": 6.0,
      "featureDetails": [
        {
          "FeatureId": 1,
          "SubscriptionId": 2,
          "FeatureName": "sample string 3",
          "FeatureValue": "sample string 4",
          "ModuleType": "sample string 5"
        },
        {
          "FeatureId": 1,
          "SubscriptionId": 2,
          "FeatureName": "sample string 3",
          "FeatureValue": "sample string 4",
          "ModuleType": "sample string 5"
        }
      ]
    }
  ],
  "IsSuccess": true,
  "Message": "sample string 2",
  "guid": "sample string 3",
  "PNR": "sample string 4"
}

application/xml, text/xml

Sample:
<SubscriptionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.CHB">
  <IsSuccess xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">true</IsSuccess>
  <Message xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 2</Message>
  <PNR xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 4</PNR>
  <guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 3</guid>
  <subscriptionDetails>
    <SubscriptionDetails>
      <AccountMasterId>2</AccountMasterId>
      <Id>1</Id>
      <MonthlyPrice>5</MonthlyPrice>
      <PlanDetails>sample string 4</PlanDetails>
      <PlanName>sample string 3</PlanName>
      <YearlyPrice>6</YearlyPrice>
      <featureDetails>
        <Feature>
          <FeatureId>1</FeatureId>
          <FeatureName>sample string 3</FeatureName>
          <FeatureValue>sample string 4</FeatureValue>
          <ModuleType>sample string 5</ModuleType>
          <SubscriptionId>2</SubscriptionId>
        </Feature>
        <Feature>
          <FeatureId>1</FeatureId>
          <FeatureName>sample string 3</FeatureName>
          <FeatureValue>sample string 4</FeatureValue>
          <ModuleType>sample string 5</ModuleType>
          <SubscriptionId>2</SubscriptionId>
        </Feature>
      </featureDetails>
    </SubscriptionDetails>
    <SubscriptionDetails>
      <AccountMasterId>2</AccountMasterId>
      <Id>1</Id>
      <MonthlyPrice>5</MonthlyPrice>
      <PlanDetails>sample string 4</PlanDetails>
      <PlanName>sample string 3</PlanName>
      <YearlyPrice>6</YearlyPrice>
      <featureDetails>
        <Feature>
          <FeatureId>1</FeatureId>
          <FeatureName>sample string 3</FeatureName>
          <FeatureValue>sample string 4</FeatureValue>
          <ModuleType>sample string 5</ModuleType>
          <SubscriptionId>2</SubscriptionId>
        </Feature>
        <Feature>
          <FeatureId>1</FeatureId>
          <FeatureName>sample string 3</FeatureName>
          <FeatureValue>sample string 4</FeatureValue>
          <ModuleType>sample string 5</ModuleType>
          <SubscriptionId>2</SubscriptionId>
        </Feature>
      </featureDetails>
    </SubscriptionDetails>
  </subscriptionDetails>
</SubscriptionResponse>