POST api/FreeTrial

Request Information

URI Parameters

None.

Body Parameters

FreeTrailViewModel
NameDescriptionTypeAdditional information
Name

string

Required

EmailId

string

Required

Password

string

Required

MicrosoftAccessKey

string

None.

GoogleAccessKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "EmailId": "sample string 2",
  "Password": "sample string 3",
  "MicrosoftAccessKey": "sample string 4",
  "GoogleAccessKey": "sample string 5"
}

application/xml, text/xml

Sample:
<FreeTrailViewModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>sample string 1</Name>
  <EmailId>sample string 2</EmailId>
  <Password>sample string 3</Password>
  <MicrosoftAccessKey>sample string 4</MicrosoftAccessKey>
  <GoogleAccessKey>sample string 5</GoogleAccessKey>
</FreeTrailViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnObjectOfInt64
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Messages

Collection of string

None.

ErrorCode

integer

None.

Response

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Messages": [
    "sample string 1",
    "sample string 2"
  ],
  "ErrorCode": 2,
  "Response": 3
}

application/xml, text/xml

Sample:
<ReturnObjectOfInt64 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IsSuccess>true</IsSuccess>
  <Messages>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Messages>
  <ErrorCode>2</ErrorCode>
  <Response>3</Response>
</ReturnObjectOfInt64>