POST api/GravityForm

Request Information

URI Parameters

None.

Body Parameters

FormToServer
NameDescriptionTypeAdditional information
randomNumber

string

None.

hash

string

None.

email

string

None.

firstName

string

None.

lastName

string

None.

phone

string

None.

company

string

None.

jobTitle

string

None.

intLeadSourceID

integer

None.

intLeadStatusID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "randomNumber": "sample string 1",
  "hash": "sample string 2",
  "email": "sample string 3",
  "firstName": "sample string 4",
  "lastName": "sample string 5",
  "phone": "sample string 6",
  "company": "sample string 7",
  "jobTitle": "sample string 8",
  "intLeadSourceID": 9,
  "intLeadStatusID": 10
}

text/html

Sample:
{"randomNumber":"sample string 1","hash":"sample string 2","email":"sample string 3","firstName":"sample string 4","lastName":"sample string 5","phone":"sample string 6","company":"sample string 7","jobTitle":"sample string 8","intLeadSourceID":9,"intLeadStatusID":10}

application/xml, text/xml

Sample:
<FormToServer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRMAPI.Models">
  <company>sample string 7</company>
  <email>sample string 3</email>
  <firstName>sample string 4</firstName>
  <hash>sample string 2</hash>
  <intLeadSourceID>9</intLeadSourceID>
  <intLeadStatusID>10</intLeadStatusID>
  <jobTitle>sample string 8</jobTitle>
  <lastName>sample string 5</lastName>
  <phone>sample string 6</phone>
  <randomNumber>sample string 1</randomNumber>
</FormToServer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.