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": "bf1b1700-3eee-4ec6-b43f-12f6dc6a8e9b",
"PlanId": "5ed5d662-d348-4946-b7fd-2a3ced8cc2d8",
"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. |