POST adminleads/proposeleads
Request Information
URI Parameters
None.
Body Parameters
ProposeLeadsToCustomerEmailDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Text | string |
None. |
|
| CustomerId | integer |
None. |
|
| CustomerName | string |
None. |
|
| ContactName | string |
None. |
|
| NumberOfNewLeads | integer |
None. |
|
| NumberOfNewSearchLeads | integer |
None. |
|
| NumberOfNewEvaluationLeads | integer |
None. |
|
| ProposedPriceSearchLead | decimal number |
None. |
|
| ProposedPriceEvaluationLead | decimal number |
None. |
|
| LeadsDate | date |
None. |
|
| AssociatedMembersInterestedInLeads | Collection of AdminSelectMemberDto |
None. |
|
| LeadsProposed | Collection of AdminLeadDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"text": "sample string 2",
"customerId": 1,
"customerName": "sample string 3",
"contactName": "sample string 4",
"numberOfNewLeads": 5,
"numberOfNewSearchLeads": 6,
"numberOfNewEvaluationLeads": 7,
"proposedPriceSearchLead": 8.0,
"proposedPriceEvaluationLead": 9.0,
"leadsDate": "2025-11-08T13:48:02.5644986+01:00",
"associatedMembersInterestedInLeads": [
{
"id": 1,
"selected": true,
"memberFirstName": "sample string 3",
"memberLastName": "sample string 4",
"memberCompany": "sample string 5"
},
{
"id": 1,
"selected": true,
"memberFirstName": "sample string 3",
"memberLastName": "sample string 4",
"memberCompany": "sample string 5"
}
],
"leadsProposed": [
{
"id": 1,
"viewingType": "sample string 2",
"supplier": "sample string 3",
"memberFirstName": "sample string 4",
"memberLastName": "sample string 5",
"memberCompany": "sample string 6"
},
{
"id": 1,
"viewingType": "sample string 2",
"supplier": "sample string 3",
"memberFirstName": "sample string 4",
"memberLastName": "sample string 5",
"memberCompany": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<ProposeLeadsToCustomerEmailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/s_election.API.Models.Administrator">
<AssociatedMembersInterestedInLeads>
<AdminSelectMemberDto>
<Id>1</Id>
<MemberCompany>sample string 5</MemberCompany>
<MemberFirstName>sample string 3</MemberFirstName>
<MemberLastName>sample string 4</MemberLastName>
<Selected>true</Selected>
</AdminSelectMemberDto>
<AdminSelectMemberDto>
<Id>1</Id>
<MemberCompany>sample string 5</MemberCompany>
<MemberFirstName>sample string 3</MemberFirstName>
<MemberLastName>sample string 4</MemberLastName>
<Selected>true</Selected>
</AdminSelectMemberDto>
</AssociatedMembersInterestedInLeads>
<ContactName>sample string 4</ContactName>
<CustomerId>1</CustomerId>
<CustomerName>sample string 3</CustomerName>
<Id>1</Id>
<LeadsDate>2025-11-08T13:48:02.5644986+01:00</LeadsDate>
<LeadsProposed>
<AdminLeadDto>
<Id>1</Id>
<MemberCompany>sample string 6</MemberCompany>
<MemberFirstName>sample string 4</MemberFirstName>
<MemberLastName>sample string 5</MemberLastName>
<Supplier>sample string 3</Supplier>
<ViewingType>sample string 2</ViewingType>
</AdminLeadDto>
<AdminLeadDto>
<Id>1</Id>
<MemberCompany>sample string 6</MemberCompany>
<MemberFirstName>sample string 4</MemberFirstName>
<MemberLastName>sample string 5</MemberLastName>
<Supplier>sample string 3</Supplier>
<ViewingType>sample string 2</ViewingType>
</AdminLeadDto>
</LeadsProposed>
<NumberOfNewEvaluationLeads>7</NumberOfNewEvaluationLeads>
<NumberOfNewLeads>5</NumberOfNewLeads>
<NumberOfNewSearchLeads>6</NumberOfNewSearchLeads>
<ProposedPriceEvaluationLead>9</ProposedPriceEvaluationLead>
<ProposedPriceSearchLead>8</ProposedPriceSearchLead>
<Text>sample string 2</Text>
</ProposeLeadsToCustomerEmailDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.
