POST api/Values/PostForm

Request Information

URI Parameters

None.

Body Parameters

GetFormData
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

new_firstname

string

None.

new_lastname

string

None.

new_email

string

None.

new_description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "0c03a57e-fc4b-47ee-b1f2-d5862a33d4a6",
  "new_firstname": "sample string 2",
  "new_lastname": "sample string 3",
  "new_email": "sample string 4",
  "new_description": "sample string 5"
}

application/xml, text/xml

Sample:
<GetFormData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DS.Integration.Services.Models">
  <Id>0c03a57e-fc4b-47ee-b1f2-d5862a33d4a6</Id>
  <new_description>sample string 5</new_description>
  <new_email>sample string 4</new_email>
  <new_firstname>sample string 2</new_firstname>
  <new_lastname>sample string 3</new_lastname>
</GetFormData>

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

Response Information

Resource Description

LeadCreationModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Error": "sample string 2"
}

application/xml, text/xml

Sample:
<LeadCreationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DS.Integration.Services.Models">
  <Error>sample string 2</Error>
  <IsSuccess>true</IsSuccess>
</LeadCreationModel>