POST api/lead/UpdateLead

Request Information

URI Parameters

None.

Body Parameters

UpdateLeadStatus
NameDescriptionTypeAdditional information
LeadCode

string

None.

AgentID

string

None.

AccountType

string

None.

EmailIDSignedInWith

string

None.

Status

string

None.

Comments

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LeadCode": "sample string 1",
  "AgentID": "sample string 2",
  "AccountType": "sample string 3",
  "EmailIDSignedInWith": "sample string 4",
  "Status": "sample string 5",
  "Comments": "sample string 6"
}

application/xml, text/xml

Sample:
<UpdateLeadStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OptRestAPI.Models">
  <AccountType>sample string 3</AccountType>
  <AgentID>sample string 2</AgentID>
  <Comments>sample string 6</Comments>
  <EmailIDSignedInWith>sample string 4</EmailIDSignedInWith>
  <LeadCode>sample string 1</LeadCode>
  <Status>sample string 5</Status>
</UpdateLeadStatus>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Successfull

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Successfull": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OptRestAPI.Models">
  <Message>sample string 2</Message>
  <Successfull>true</Successfull>
</Response>