PUT adminleads/proposeleads
Request Information
URI Parameters
None.
Body Parameters
ProposeLeadsToSupplierEmailDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Text | string |
None. |
|
| SupplierId | integer |
None. |
|
| SupplierName | string |
None. |
|
| NumberOfNewLeads | integer |
None. |
|
| NumberOfNewSearchLeads | integer |
None. |
|
| NumberOfNewEvaluationLeads | integer |
None. |
|
| ProposedPriceSearchLead | decimal number |
None. |
|
| ProposedPriceEvaluationLead | decimal number |
None. |
|
| LeadsDate | date |
None. |
|
| AssociatedSupplierProspectAddress | Collection of AdminSelectSupplierAndAddressDto |
None. |
|
| LeadsProposed | Collection of AdminLeadDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"text": "sample string 2",
"supplierId": 1,
"supplierName": "sample string 3",
"numberOfNewLeads": 4,
"numberOfNewSearchLeads": 5,
"numberOfNewEvaluationLeads": 6,
"proposedPriceSearchLead": 7.0,
"proposedPriceEvaluationLead": 8.0,
"leadsDate": "2025-11-08T13:48:02.0639594+01:00",
"associatedSupplierProspectAddress": [
{
"id": 1,
"selected": true,
"informationHasChanged": true,
"newContactInformation": true,
"leadsContactSupplier": {
"id": 1,
"supplierId": 1,
"supplier": "sample string 2",
"countryId": 1,
"country": "sample string 3",
"becameCustomer": true,
"addressDate": "2025-11-08T13:48:02.0639594+01:00",
"contactName": "sample string 4",
"contactEmail": "sample string 5",
"contactTelephone": "sample string 6",
"contactAddress": "sample string 7",
"showsInterestInLeads": true,
"remarks": "sample string 8"
}
},
{
"id": 1,
"selected": true,
"informationHasChanged": true,
"newContactInformation": true,
"leadsContactSupplier": {
"id": 1,
"supplierId": 1,
"supplier": "sample string 2",
"countryId": 1,
"country": "sample string 3",
"becameCustomer": true,
"addressDate": "2025-11-08T13:48:02.0639594+01:00",
"contactName": "sample string 4",
"contactEmail": "sample string 5",
"contactTelephone": "sample string 6",
"contactAddress": "sample string 7",
"showsInterestInLeads": true,
"remarks": "sample string 8"
}
}
],
"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:
<ProposeLeadsToSupplierEmailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/s_election.API.Models.Administrator">
<AssociatedSupplierProspectAddress>
<AdminSelectSupplierAndAddressDto>
<Id>1</Id>
<InformationHasChanged>true</InformationHasChanged>
<LeadsContactSupplier>
<AddressDate>2025-11-08T13:48:02.0639594+01:00</AddressDate>
<BecameCustomer>true</BecameCustomer>
<ContactAddress>sample string 7</ContactAddress>
<ContactEmail>sample string 5</ContactEmail>
<ContactName>sample string 4</ContactName>
<ContactTelephone>sample string 6</ContactTelephone>
<Country>sample string 3</Country>
<CountryId>1</CountryId>
<Id>1</Id>
<Remarks>sample string 8</Remarks>
<ShowsInterestInLeads>true</ShowsInterestInLeads>
<Supplier>sample string 2</Supplier>
<SupplierId>1</SupplierId>
</LeadsContactSupplier>
<NewContactInformation>true</NewContactInformation>
<Selected>true</Selected>
</AdminSelectSupplierAndAddressDto>
<AdminSelectSupplierAndAddressDto>
<Id>1</Id>
<InformationHasChanged>true</InformationHasChanged>
<LeadsContactSupplier>
<AddressDate>2025-11-08T13:48:02.0639594+01:00</AddressDate>
<BecameCustomer>true</BecameCustomer>
<ContactAddress>sample string 7</ContactAddress>
<ContactEmail>sample string 5</ContactEmail>
<ContactName>sample string 4</ContactName>
<ContactTelephone>sample string 6</ContactTelephone>
<Country>sample string 3</Country>
<CountryId>1</CountryId>
<Id>1</Id>
<Remarks>sample string 8</Remarks>
<ShowsInterestInLeads>true</ShowsInterestInLeads>
<Supplier>sample string 2</Supplier>
<SupplierId>1</SupplierId>
</LeadsContactSupplier>
<NewContactInformation>true</NewContactInformation>
<Selected>true</Selected>
</AdminSelectSupplierAndAddressDto>
</AssociatedSupplierProspectAddress>
<Id>1</Id>
<LeadsDate>2025-11-08T13:48:02.0639594+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>6</NumberOfNewEvaluationLeads>
<NumberOfNewLeads>4</NumberOfNewLeads>
<NumberOfNewSearchLeads>5</NumberOfNewSearchLeads>
<ProposedPriceEvaluationLead>8</ProposedPriceEvaluationLead>
<ProposedPriceSearchLead>7</ProposedPriceSearchLead>
<SupplierId>1</SupplierId>
<SupplierName>sample string 3</SupplierName>
<Text>sample string 2</Text>
</ProposeLeadsToSupplierEmailDto>
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.
