POST api/admin/pay-plans

Request Information

URI Parameters

None.

Body Parameters

AdminPayPlanSaveRequestDTO
NameDescriptionTypeAdditional information
PlanCode

string

None.

Name

string

None.

Price

integer

None.

BillingCycle

string

None.

DurationDays

integer

None.

PlanType

string

None.

SortOrder

integer

None.

Description

string

None.

IsVisible

boolean

None.

IsDefault

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PlanCode": "sample string 1",
  "Name": "sample string 2",
  "Price": 3,
  "BillingCycle": "sample string 4",
  "DurationDays": 5,
  "PlanType": "sample string 6",
  "SortOrder": 7,
  "Description": "sample string 8",
  "IsVisible": true,
  "IsDefault": true
}

application/xml, text/xml

Sample:
<AdminPayPlanSaveRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIProject.DTO.Resource.Models.Pay">
  <BillingCycle>sample string 4</BillingCycle>
  <Description>sample string 8</Description>
  <DurationDays>5</DurationDays>
  <IsDefault>true</IsDefault>
  <IsVisible>true</IsVisible>
  <Name>sample string 2</Name>
  <PlanCode>sample string 1</PlanCode>
  <PlanType>sample string 6</PlanType>
  <Price>3</Price>
  <SortOrder>7</SortOrder>
</AdminPayPlanSaveRequestDTO>

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.