POST api/UpgradePlan/PostPlan
Request Information
URI Parameters
None.
Body Parameters
SubcriberViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SubscriberId | globally unique identifier |
None. |
|
| PlanId | globally unique identifier |
None. |
|
| PlanName | string |
None. |
|
| StartDate | string |
None. |
|
| ExpiryDate | string |
None. |
|
| CreatedOn | string |
None. |
|
| LastUpdatedOn | string |
None. |
|
| IsActive | boolean |
None. |
|
| IsTrial | boolean |
None. |
|
| IsPaymentMade | boolean |
None. |
|
| RemindExpiry | boolean |
None. |
|
| DaysLeft | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SubscriberId": "be5d00d0-e647-4b2d-8975-cb636982a34f",
"PlanId": "d3ec435a-c364-4800-813f-6a51531f6b8d",
"PlanName": "sample string 2",
"StartDate": "sample string 3",
"ExpiryDate": "sample string 4",
"CreatedOn": "sample string 5",
"LastUpdatedOn": "sample string 6",
"IsActive": true,
"IsTrial": true,
"IsPaymentMade": true,
"RemindExpiry": true,
"DaysLeft": 8
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |