POST api/PackageInfo/getOBTBActualSubscriberplanID
Request Information
URI Parameters
None.
Body Parameters
Actualsubscriberpalnparam| Name | Description | Type | Additional information |
|---|---|---|---|
| OTTSMSID | integer |
None. |
|
| Packages | Collection of Object |
None. |
|
| Source | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OTTSMSID": 1,
"Packages": null,
"Source": "sample string 2"
}
application/xml, text/xml
Sample:
<Actualsubscriberpalnparam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.CWebDish"> <OTTSMSID>1</OTTSMSID> <Packages xmlns:d2p1="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Master" i:nil="true" /> <Source>sample string 2</Source> </Actualsubscriberpalnparam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultInfoOfActualsubscriberpaln| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
None. |
|
| TokenType | string |
None. |
|
| ResultType | TypeOfResult |
None. |
|
| ResultCode | integer |
None. |
|
| ResultDesc | string |
None. |
|
| Result | Actualsubscriberpaln |
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": {
"SubscriptionPlanID": 1,
"SubscriptionPlanName": "sample string 2",
"SubscriptionPlanDescription": "sample string 3",
"SubscriptionPlanDuration": 4,
"SubscriptionPlanDurationName": "sample string 5",
"SubscriptionDisplayPriceWithTax": 6.0,
"SubscriptionDisplayPriceWithOutTax": 7.0,
"Discount": 8.0,
"SubscriptionPriceWithTax": 9.0,
"SubscriptionPriceWithOutTax": 10.0,
"ResultCode": "sample string 11",
"ResultDescription": "sample string 12",
"SubscriptionDisplayOrder": 13,
"SubscriptionGroupNo": 14,
"SubscriptionPlanType": "sample string 15",
"SubscriptionPlanPackType": "sample string 16"
},
"ErrCode": 5,
"ErrDesc": "sample string 6"
}
application/xml, text/xml
Sample:
<ResultInfoOfActualsubscriberpalnV5HG588c 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.CWebDish">
<d2p1:Discount>8</d2p1:Discount>
<d2p1:ResultCode>sample string 11</d2p1:ResultCode>
<d2p1:ResultDescription>sample string 12</d2p1:ResultDescription>
<d2p1:SubscriptionDisplayOrder>13</d2p1:SubscriptionDisplayOrder>
<d2p1:SubscriptionDisplayPriceWithOutTax>7</d2p1:SubscriptionDisplayPriceWithOutTax>
<d2p1:SubscriptionDisplayPriceWithTax>6</d2p1:SubscriptionDisplayPriceWithTax>
<d2p1:SubscriptionGroupNo>14</d2p1:SubscriptionGroupNo>
<d2p1:SubscriptionPlanDescription>sample string 3</d2p1:SubscriptionPlanDescription>
<d2p1:SubscriptionPlanDuration>4</d2p1:SubscriptionPlanDuration>
<d2p1:SubscriptionPlanDurationName>sample string 5</d2p1:SubscriptionPlanDurationName>
<d2p1:SubscriptionPlanID>1</d2p1:SubscriptionPlanID>
<d2p1:SubscriptionPlanName>sample string 2</d2p1:SubscriptionPlanName>
<d2p1:SubscriptionPlanPackType>sample string 16</d2p1:SubscriptionPlanPackType>
<d2p1:SubscriptionPlanType>sample string 15</d2p1:SubscriptionPlanType>
<d2p1:SubscriptionPriceWithOutTax>10</d2p1:SubscriptionPriceWithOutTax>
<d2p1:SubscriptionPriceWithTax>9</d2p1:SubscriptionPriceWithTax>
</Result>
<ResultCode>3</ResultCode>
<ResultDesc>sample string 4</ResultDesc>
<ResultType>Success</ResultType>
<TokenType>sample string 2</TokenType>
</ResultInfoOfActualsubscriberpalnV5HG588c>