POST api/app/subscription/create

Request Information

URI Parameters

None.

Body Parameters

AppSubscriptionCreateView
NameDescriptionTypeAdditional 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

MaxUserCount

integer

None.

Industry

IndustrySelectListItemView

None.

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",
  "MaxUserCount": 12,
  "Industry": {
    "GroupId": "sample string 1",
    "GroupName": "sample string 2",
    "Order": 3,
    "Disabled": true,
    "Group": {
      "Disabled": true,
      "Name": "sample string 2"
    },
    "Selected": true,
    "Text": "sample string 6",
    "Value": "sample string 7"
  }
}

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>
  <Industry xmlns:d2p1="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.IndustryView">
    <Disabled xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Disabled>
    <Group xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
      <Disabled>true</Disabled>
      <Name>sample string 2</Name>
    </Group>
    <Selected xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Selected>
    <Text xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 6</Text>
    <Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 7</Value>
    <GroupId xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GeneralView">sample string 1</GroupId>
    <GroupName xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GeneralView">sample string 2</GroupName>
    <Order xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GeneralView">3</Order>
  </Industry>
  <IsDemo>true</IsDemo>
  <LastName>sample string 2</LastName>
  <MaxUserCount>12</MaxUserCount>
  <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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.