GET api/Plan

Gets partners available plans

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of Plans

Collection of Plan
NameDescriptionTypeAdditional information
BundleID

integer

None.

PlanName

string

None.

Interval

TimeInterval

None.

IntervalCount

integer

None.

Currency

string

None.

Amount

decimal number

None.

ExternalIdentifier

string

None.

ExternalIdentifier2

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BundleID": 1,
    "PlanName": "sample string 2",
    "Interval": "Hour",
    "IntervalCount": 3,
    "Currency": "sample string 4",
    "Amount": 5.0,
    "ExternalIdentifier": "sample string 6",
    "ExternalIdentifier2": "sample string 7"
  },
  {
    "BundleID": 1,
    "PlanName": "sample string 2",
    "Interval": "Hour",
    "IntervalCount": 3,
    "Currency": "sample string 4",
    "Amount": 5.0,
    "ExternalIdentifier": "sample string 6",
    "ExternalIdentifier2": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yummy.Portal.Models">
  <Plan>
    <Amount>5</Amount>
    <BundleID>1</BundleID>
    <Currency>sample string 4</Currency>
    <ExternalIdentifier>sample string 6</ExternalIdentifier>
    <ExternalIdentifier2>sample string 7</ExternalIdentifier2>
    <Interval>Hour</Interval>
    <IntervalCount>3</IntervalCount>
    <PlanName>sample string 2</PlanName>
  </Plan>
  <Plan>
    <Amount>5</Amount>
    <BundleID>1</BundleID>
    <Currency>sample string 4</Currency>
    <ExternalIdentifier>sample string 6</ExternalIdentifier>
    <ExternalIdentifier2>sample string 7</ExternalIdentifier2>
    <Interval>Hour</Interval>
    <IntervalCount>3</IntervalCount>
    <PlanName>sample string 2</PlanName>
  </Plan>
</ArrayOfPlan>