GET api/unitedweb/getAllPlans
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
APIDataResponseOfListOfPlanModel| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| status | string |
None. |
|
| data | Collection of PlanModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"status": "sample string 3",
"data": [
{
"id": 1,
"offertype": "sample string 2",
"planType": "sample string 3",
"speed": "sample string 4",
"planprice": 1.0,
"pricewithgst": 1.0,
"subone": "sample string 5",
"subtwo": "sample string 6",
"active": 1,
"gst": 7,
"validity": 8,
"validityType": "sample string 9",
"planStartDate": "sample string 10",
"planEndDate": "sample string 11",
"channelList": [
{
"channel_id": 1,
"plan_id": 2,
"name": "sample string 3",
"image_path": "sample string 4"
},
{
"channel_id": 1,
"plan_id": 2,
"name": "sample string 3",
"image_path": "sample string 4"
}
]
},
{
"id": 1,
"offertype": "sample string 2",
"planType": "sample string 3",
"speed": "sample string 4",
"planprice": 1.0,
"pricewithgst": 1.0,
"subone": "sample string 5",
"subtwo": "sample string 6",
"active": 1,
"gst": 7,
"validity": 8,
"validityType": "sample string 9",
"planStartDate": "sample string 10",
"planEndDate": "sample string 11",
"channelList": [
{
"channel_id": 1,
"plan_id": 2,
"name": "sample string 3",
"image_path": "sample string 4"
},
{
"channel_id": 1,
"plan_id": 2,
"name": "sample string 3",
"image_path": "sample string 4"
}
]
}
]
}
application/xml, text/xml
Sample:
<APIDataResponseOfArrayOfPlanModel0dFfYbs0 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<code>1</code>
<data>
<PlanModel>
<active>1</active>
<channelList>
<OttChannelModel>
<channel_id>1</channel_id>
<image_path>sample string 4</image_path>
<name>sample string 3</name>
<plan_id>2</plan_id>
</OttChannelModel>
<OttChannelModel>
<channel_id>1</channel_id>
<image_path>sample string 4</image_path>
<name>sample string 3</name>
<plan_id>2</plan_id>
</OttChannelModel>
</channelList>
<gst>7</gst>
<id>1</id>
<offertype>sample string 2</offertype>
<planEndDate>sample string 11</planEndDate>
<planStartDate>sample string 10</planStartDate>
<planType>sample string 3</planType>
<planprice>1</planprice>
<pricewithgst>1</pricewithgst>
<speed>sample string 4</speed>
<subone>sample string 5</subone>
<subtwo>sample string 6</subtwo>
<validity>8</validity>
<validityType>sample string 9</validityType>
</PlanModel>
<PlanModel>
<active>1</active>
<channelList>
<OttChannelModel>
<channel_id>1</channel_id>
<image_path>sample string 4</image_path>
<name>sample string 3</name>
<plan_id>2</plan_id>
</OttChannelModel>
<OttChannelModel>
<channel_id>1</channel_id>
<image_path>sample string 4</image_path>
<name>sample string 3</name>
<plan_id>2</plan_id>
</OttChannelModel>
</channelList>
<gst>7</gst>
<id>1</id>
<offertype>sample string 2</offertype>
<planEndDate>sample string 11</planEndDate>
<planStartDate>sample string 10</planStartDate>
<planType>sample string 3</planType>
<planprice>1</planprice>
<pricewithgst>1</pricewithgst>
<speed>sample string 4</speed>
<subone>sample string 5</subone>
<subtwo>sample string 6</subtwo>
<validity>8</validity>
<validityType>sample string 9</validityType>
</PlanModel>
</data>
<message>sample string 2</message>
<status>sample string 3</status>
</APIDataResponseOfArrayOfPlanModel0dFfYbs0>