POST subsciptions

Request Information

URI Parameters

None.

Body Parameters

SubscriptionInfoDTO
NameDescriptionTypeAdditional information
Montly

boolean

None.

Yearly

boolean

None.

Active

boolean

None.

Pro

boolean

None.

Free

boolean

None.

Bussiness

boolean

None.

Type

string

None.

TypeId

string

None.

Billing

string

None.

User

string

None.

MemberSince

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Montly": true,
  "Yearly": true,
  "Active": true,
  "Pro": true,
  "Free": true,
  "Bussiness": true,
  "Type": "sample string 7",
  "TypeId": "sample string 8",
  "Billing": "sample string 9",
  "User": "sample string 10",
  "MemberSince": "sample string 11"
}

application/xml, text/xml

Sample:
<SubscriptionInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DANZAMIOApi.Models">
  <Active>true</Active>
  <Billing>sample string 9</Billing>
  <Bussiness>true</Bussiness>
  <Free>true</Free>
  <MemberSince>sample string 11</MemberSince>
  <Montly>true</Montly>
  <Pro>true</Pro>
  <Type>sample string 7</Type>
  <TypeId>sample string 8</TypeId>
  <User>sample string 10</User>
  <Yearly>true</Yearly>
</SubscriptionInfoDTO>

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 'SubscriptionInfoDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.