POST api/Leads?take={take}&skip={skip}&modelType={modelType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
take | integer |
Default value is 100 |
|
skip | integer |
Default value is 0 |
|
modelType | string |
Default value is basic |
Body Parameters
SearchLeadName | Description | Type | Additional information |
---|---|---|---|
OmniSearch | string |
None. |
|
Terminals | Collection of integer |
None. |
|
Tags | Collection of string |
None. |
|
Emails | Collection of string |
None. |
|
Phones | Collection of string |
None. |
|
MemberAccounts | Collection of string |
None. |
|
LeadIDs | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "OmniSearch": "sample string 1", "Terminals": [ 1, 2 ], "Tags": [ "sample string 1", "sample string 2" ], "Emails": [ "sample string 1", "sample string 2" ], "Phones": [ "sample string 1", "sample string 2" ], "MemberAccounts": [ "sample string 1", "sample string 2" ], "LeadIDs": [ "acf24823-3e06-4b11-940e-8c9497ff66ed", "c40ef60e-fd23-4ca8-8217-b95d60b4cda2" ] }
application/xml, text/xml
Sample:
<ApiLeadViewModel.SearchLead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.ViewModels"> <Emails xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Emails> <LeadIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>acf24823-3e06-4b11-940e-8c9497ff66ed</d2p1:guid> <d2p1:guid>c40ef60e-fd23-4ca8-8217-b95d60b4cda2</d2p1:guid> </LeadIDs> <MemberAccounts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </MemberAccounts> <OmniSearch>sample string 1</OmniSearch> <Phones xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Phones> <Tags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Tags> <Terminals xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </Terminals> </ApiLeadViewModel.SearchLead>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ILeadName | Description | Type | Additional information |
---|---|---|---|
LeadID | globally unique identifier |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
LeadTerminalID | integer |
None. |
|
TerminalID | integer |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.