POST api/Plan/Create

Request Information

URI Parameters

None.

Body Parameters

PlanModel
NameDescriptionTypeAdditional information
PlanAddons

Collection of PlanAddonModel

None.

AllowedErps

Collection of ErpModel

None.

AllowedApps

Collection of AppModel

None.

PlanId

globally unique identifier

None.

CategoryId

globally unique identifier

None.

Description

string

None.

ZohoId

string

None.

CreatedOn

date

None.

Active

boolean

None.

LastUpdatedOn

date

None.

PlanCost

decimal number

None.

Ordering

integer

None.

PlanExpiryDuration

integer

None.

PlanName

string

None.

SupportsTrial

boolean

None.

TrialExpirySeed

string

None.

OneTimeCost

decimal number

None.

ActiveSubscription

Subscription

None.

IsSubscriptionExpired

boolean

None.

OrgID

globally unique identifier

None.

SubscriptionExpiryDate

date

None.

PlanCode

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'APPSeConnect.Data.DataModels.Adaptor'. Path 'ActiveSubscription.Org.Adaptors[0].AppVersion.Adaptors'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'APPSeConnect.Data.DataModels.Adaptor'. Path 'ActiveSubscription.Org.Adaptors[0].AppVersion.Adaptors'.

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 'PlanModel'.

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.