POST api/tenant/application

Request Information

URI Parameters

None.

Body Parameters

TenantTrackParams
NameDescriptionTypeAdditional information
emailAddress

string

None.

firstName

string

None.

lastName

string

None.

phoneNumber

string

None.

businessAddress

BusinessAddress

None.

id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "emailAddress": "sample string 1",
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "phoneNumber": "sample string 4",
  "businessAddress": {
    "addressLine1": "sample string 1",
    "addressLine2": "sample string 2",
    "locality": "sample string 3",
    "region": "sample string 4",
    "postalCode": "sample string 5"
  },
  "id": 5
}

application/xml, text/xml

Sample:
<TenantTrackParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WisspNetApi.Models">
  <businessAddress>
    <addressLine1>sample string 1</addressLine1>
    <addressLine2>sample string 2</addressLine2>
    <locality>sample string 3</locality>
    <postalCode>sample string 5</postalCode>
    <region>sample string 4</region>
  </businessAddress>
  <emailAddress>sample string 1</emailAddress>
  <firstName>sample string 2</firstName>
  <id>5</id>
  <lastName>sample string 3</lastName>
  <phoneNumber>sample string 4</phoneNumber>
</TenantTrackParams>

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

Response Information

Resource Description

TenantTrackResponse
NameDescriptionTypeAdditional information
recordId

integer

None.

screeningId

integer

None.

code

string

None.

error

string

None.

url

string

None.

Response Formats

application/json, text/json

Sample:
{
  "recordId": 1,
  "screeningId": 2,
  "code": "sample string 3",
  "error": "sample string 4",
  "url": "sample string 5"
}

application/xml, text/xml

Sample:
<TenantTrackResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WisspNetApi.Models">
  <code>sample string 3</code>
  <error>sample string 4</error>
  <recordId>1</recordId>
  <screeningId>2</screeningId>
  <url>sample string 5</url>
</TenantTrackResponse>