POST Deal/CreateDeal

Request Information

URI Parameters

None.

Body Parameters

CreateDealRequestModel
NameDescriptionTypeAdditional information
FullName

string

None.

Email

string

None.

Phone

string

None.

Message

string

None.

LocationId

integer

None.

Tags

string

None.

JobTypeId

integer

None.

LeadTypeId

integer

None.

ZipCode

string

None.

RefCode

string

None.

Source

string

None.

ClickId

string

None.

ResourceId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FullName": "sample string 1",
  "Email": "sample string 2",
  "Phone": "sample string 3",
  "Message": "sample string 4",
  "LocationId": 5,
  "Tags": "sample string 6",
  "JobTypeId": 7,
  "LeadTypeId": 8,
  "ZipCode": "sample string 9",
  "RefCode": "sample string 10",
  "Source": "sample string 11",
  "ClickId": "sample string 12",
  "ResourceId": 13
}

application/xml, text/xml

Sample:
<CreateDealRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VitaCabinetry.Model.Deal">
  <ClickId>sample string 12</ClickId>
  <Email>sample string 2</Email>
  <FullName>sample string 1</FullName>
  <JobTypeId>7</JobTypeId>
  <LeadTypeId>8</LeadTypeId>
  <LocationId>5</LocationId>
  <Message>sample string 4</Message>
  <Phone>sample string 3</Phone>
  <RefCode>sample string 10</RefCode>
  <ResourceId>13</ResourceId>
  <Source>sample string 11</Source>
  <Tags>sample string 6</Tags>
  <ZipCode>sample string 9</ZipCode>
</CreateDealRequestModel>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />