POST api/UpgradePlan/PostPlan

Request Information

URI Parameters

None.

Body Parameters

SubcriberViewModel
NameDescriptionTypeAdditional 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": "a2d9191e-7da9-4696-a1ef-7340e0746320",
  "PlanId": "61bf2dbb-76d5-4ab5-90e1-73936297ac47",
  "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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SubcriberViewModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.