GET api/Customer/{id}/subscription
Returns Users subscriptions
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The id of the customer |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
List of subscriptions
Collection of SubscriptionName | Description | Type | Additional information |
---|---|---|---|
UserID | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Status | string |
None. |
|
Memo | string |
None. |
|
Plan | Plan |
None. |
Response Formats
application/json, text/json
Sample:
[ { "UserID": "sample string 1", "StartDate": "2025-10-01T06:23:27.4678399+00:00", "EndDate": "2025-10-01T06:23:27.4678399+00:00", "Status": "sample string 3", "Memo": "sample string 4", "Plan": { "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" } }, { "UserID": "sample string 1", "StartDate": "2025-10-01T06:23:27.4678399+00:00", "EndDate": "2025-10-01T06:23:27.4678399+00:00", "Status": "sample string 3", "Memo": "sample string 4", "Plan": { "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:
<ArrayOfSubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yummy.Portal.Models"> <Subscription> <EndDate>2025-10-01T06:23:27.4678399+00:00</EndDate> <Memo>sample string 4</Memo> <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> <StartDate>2025-10-01T06:23:27.4678399+00:00</StartDate> <Status>sample string 3</Status> <UserID>sample string 1</UserID> </Subscription> <Subscription> <EndDate>2025-10-01T06:23:27.4678399+00:00</EndDate> <Memo>sample string 4</Memo> <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> <StartDate>2025-10-01T06:23:27.4678399+00:00</StartDate> <Status>sample string 3</Status> <UserID>sample string 1</UserID> </Subscription> </ArrayOfSubscription>