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": "d6330a55-2085-4d6b-9be6-084350ce9da1",
  "PlanId": "bf6fd207-7434-4c09-abfc-43d263ef800b",
  "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.