POST api/app/plan/subscription/create
Request Information
URI Parameters
None.
Body Parameters
AppSubscriptionCreateView| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
Required Max length: 75 |
|
| LastName | string |
Required Max length: 75 |
|
| Gender | Gender |
None. |
|
| Username | string |
Required Max length: 45 |
|
| Password | string |
Required Max length: 45 |
|
| WebPageTitle | string |
Required Max length: 128 |
|
| Domain | string |
Required Max length: 45 |
|
| PhoneNumber | string |
Required Max length: 11 |
|
| AppPlans | Collection of SelectListItem |
None. |
|
| AppPlanId | integer |
None. |
|
| IsDemo | boolean |
None. |
|
| StartDate | string |
Required Max length: 10 |
|
| EndDate | string |
Required Max length: 10 |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Gender": 0,
"Username": "sample string 3",
"Password": "sample string 4",
"WebPageTitle": "sample string 5",
"Domain": "sample string 6",
"PhoneNumber": "sample string 7",
"AppPlans": [
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
},
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
}
],
"AppPlanId": 8,
"IsDemo": true,
"StartDate": "sample string 10",
"EndDate": "sample string 11"
}
application/xml, text/xml
Sample:
<AppSubscriptionCreateView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.AppSubscriptionView">
<AppPlanId>8</AppPlanId>
<AppPlans xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<d2p1:SelectListItem>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Group>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:Group>
<d2p1:Selected>true</d2p1:Selected>
<d2p1:Text>sample string 3</d2p1:Text>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:SelectListItem>
<d2p1:SelectListItem>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Group>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:Group>
<d2p1:Selected>true</d2p1:Selected>
<d2p1:Text>sample string 3</d2p1:Text>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:SelectListItem>
</AppPlans>
<Domain>sample string 6</Domain>
<EndDate>sample string 11</EndDate>
<FirstName>sample string 1</FirstName>
<Gender>Male</Gender>
<IsDemo>true</IsDemo>
<LastName>sample string 2</LastName>
<Password>sample string 4</Password>
<PhoneNumber>sample string 7</PhoneNumber>
<StartDate>sample string 10</StartDate>
<Username>sample string 3</Username>
<WebPageTitle>sample string 5</WebPageTitle>
</AppSubscriptionCreateView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.