POST api/Subscription/Create

Request Information

URI Parameters

None.

Body Parameters

SubscriptionModel
NameDescriptionTypeAdditional information
SubscriptionAddons

Collection of SubscriptionAddonModel

None.

Active

boolean

None.

IsInTrialMode

boolean

None.

IsPaymentMade

boolean

None.

OrgId

globally unique identifier

None.

SubscriptionExpiryDate

date

None.

SubscriptionRenewalReminder

date

None.

SubscriptionStartDate

date

None.

SubscriptionCost

decimal number

None.

Plan

PlanModel

None.

DaysLeft

integer

None.

Support

SubscriptionSupportModel

None.

SubscriptionId

globally unique identifier

None.

ZohoEstimateId

string

None.

PlanCode

string

None.

ZohoId

string

None.

Organization

OrganizationDetails

None.

PrimaryUser

UserInformation

None.

IsExpired

boolean

None.

TotalCost

decimal number

None.

PlanName

string

None.

ZohoBillToCustomerId

string

None.

RelationshipType

integer

None.

CreatedOn

date

None.

LastUpdatedOn

date

None.

OrgZohoCustomerId

string

None.

EventType

string

None.

SubscriptionStatus

string

None.

IsResumeRequested

boolean

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 'Plan.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 'Plan.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 'SubscriptionModel'.

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.