POST api/Billing/Subscription/Start

Request Information

URI Parameters

None.

Body Parameters

StartSubscriptionViewModel
NameDescriptionTypeAdditional information
UserId

string

Required

PlanId

integer

Required

StartDate

date

None.

IsRenew

boolean

None.

IsPaid

boolean

None.

PaymentMethod

string

None.

PaymentDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "PlanId": 2,
  "StartDate": "2025-10-29T09:52:26.9268294Z",
  "IsRenew": true,
  "IsPaid": true,
  "PaymentMethod": "sample string 5",
  "PaymentDate": "2025-10-29T09:52:26.9268294Z"
}

application/xml, text/xml

Sample:
<StartSubscriptionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdminCore.ViewModels">
  <IsPaid>true</IsPaid>
  <IsRenew>true</IsRenew>
  <PaymentDate>2025-10-29T09:52:26.9268294Z</PaymentDate>
  <PaymentMethod>sample string 5</PaymentMethod>
  <PlanId>2</PlanId>
  <StartDate>2025-10-29T09:52:26.9268294Z</StartDate>
  <UserId>sample string 1</UserId>
</StartSubscriptionViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.