GET api/Plan/{id}
Gets a specific plans details
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Name of plan |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Plan
PlanName | Description | Type | Additional 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" }
application/xml, text/xml
Sample:
<Plan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yummy.Portal.Models"> <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>