POST api/lead/GetLeadDetail
Request Information
URI Parameters
None.
Body Parameters
LeadParams| Name | Description | Type | Additional information |
|---|---|---|---|
| LeadCode | string |
None. |
|
| AgentID | string |
None. |
|
| AccountType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LeadCode": "sample string 1",
"AgentID": "sample string 2",
"AccountType": "sample string 3"
}
application/xml, text/xml
Sample:
<LeadParams 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> <LeadCode>sample string 1</LeadCode> </LeadParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LeadDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Cmp_Code | string |
None. |
|
| AccountType | string |
None. |
|
| LeadLevel | string |
None. |
|
| Status | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Street | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| County | string |
None. |
|
| Zip | string |
None. |
|
| Phone | string |
None. |
|
| AgentCode | string |
None. |
|
| AssignDate | string |
None. |
|
| Sex | string |
None. |
|
| Birthday | string |
None. |
|
| Age | string |
None. |
|
| LeadSource | string |
None. |
|
| LeadSubSource | string |
None. |
|
| Comments | string |
None. |
|
| PDFURL | string |
None. |
|
| MortgageAmount | string |
None. |
|
| PurchaseAmount | string |
None. |
|
| MortgageID | string |
None. |
|
| Allocated | string |
None. |
|
| ExtPartnerID | string |
None. |
|
| Inactive | string |
None. |
|
| ExclusivityEndDate | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Cmp_Code": "sample string 2",
"AccountType": "sample string 3",
"LeadLevel": "sample string 4",
"Status": "sample string 5",
"FirstName": "sample string 6",
"LastName": "sample string 7",
"Street": "sample string 8",
"City": "sample string 9",
"State": "sample string 10",
"County": "sample string 11",
"Zip": "sample string 12",
"Phone": "sample string 13",
"AgentCode": "sample string 14",
"AssignDate": "sample string 15",
"Sex": "sample string 16",
"Birthday": "sample string 17",
"Age": "sample string 18",
"LeadSource": "sample string 19",
"LeadSubSource": "sample string 20",
"Comments": "sample string 21",
"PDFURL": "sample string 22",
"MortgageAmount": "sample string 23",
"PurchaseAmount": "sample string 24",
"MortgageID": "sample string 25",
"Allocated": "sample string 26",
"ExtPartnerID": "sample string 27",
"Inactive": "sample string 28",
"ExclusivityEndDate": "sample string 29"
}
application/xml, text/xml
Sample:
<LeadDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OptRestAPI.Models"> <AccountType>sample string 3</AccountType> <Age>sample string 18</Age> <AgentCode>sample string 14</AgentCode> <Allocated>sample string 26</Allocated> <AssignDate>sample string 15</AssignDate> <Birthday>sample string 17</Birthday> <City>sample string 9</City> <Cmp_Code>sample string 2</Cmp_Code> <Comments>sample string 21</Comments> <County>sample string 11</County> <ExclusivityEndDate>sample string 29</ExclusivityEndDate> <ExtPartnerID>sample string 27</ExtPartnerID> <FirstName>sample string 6</FirstName> <Inactive>sample string 28</Inactive> <LastName>sample string 7</LastName> <LeadLevel>sample string 4</LeadLevel> <LeadSource>sample string 19</LeadSource> <LeadSubSource>sample string 20</LeadSubSource> <Message>sample string 1</Message> <MortgageAmount>sample string 23</MortgageAmount> <MortgageID>sample string 25</MortgageID> <PDFURL>sample string 22</PDFURL> <Phone>sample string 13</Phone> <PurchaseAmount>sample string 24</PurchaseAmount> <Sex>sample string 16</Sex> <State>sample string 10</State> <Status>sample string 5</Status> <Street>sample string 8</Street> <Zip>sample string 12</Zip> </LeadDetail>