POST api/LeadInterest/BulkDelete

Request Information

URI Parameters

None.

Body Parameters

MultipleSelectionResource
NameDescriptionTypeAdditional information
Ids

Collection of integer

None.

LeadIds

Collection of integer

None.

UserIds

Collection of integer

None.

UserIdsToRemove

Collection of integer

None.

CompanyStageId

integer

None.

CompanyStageReasonId

integer

None.

ProjectId

integer

None.

ProjectIdToRemove

integer

None.

LeadSourceId

integer

None.

LeadSubSourceId

integer

None.

LeadCategoryId

integer

None.

ChannelPartnerId

integer

None.

ChannelPartnerIdToRemove

integer

None.

UserId

integer

None.

FromUserId

integer

None.

StageId

integer

None.

Remark

string

None.

TransferPendingTask

boolean

None.

IsConvertContacts

boolean

None.

AssignedToId

integer

None.

DeleteLeadTimeline

boolean

None.

TagIds

Collection of string

None.

TagIdToRemove

Collection of string

None.

SourcingManagerId

integer

None.

SourcingManagerIdToDelete

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Ids": [
    1,
    2
  ],
  "LeadIds": [
    1,
    2
  ],
  "UserIds": [
    1,
    2
  ],
  "UserIdsToRemove": [
    1,
    2
  ],
  "CompanyStageId": 1,
  "CompanyStageReasonId": 1,
  "ProjectId": 1,
  "ProjectIdToRemove": 1,
  "LeadSourceId": 1,
  "LeadSubSourceId": 1,
  "LeadCategoryId": 1,
  "ChannelPartnerId": 1,
  "ChannelPartnerIdToRemove": 1,
  "UserId": 1,
  "FromUserId": 1,
  "StageId": 1,
  "Remark": "sample string 1",
  "TransferPendingTask": true,
  "IsConvertContacts": true,
  "AssignedToId": 1,
  "DeleteLeadTimeline": true,
  "TagIds": [
    "sample string 1",
    "sample string 2"
  ],
  "TagIdToRemove": [
    "sample string 1",
    "sample string 2"
  ],
  "SourcingManagerId": 1,
  "SourcingManagerIdToDelete": 1
}

application/xml, text/xml

Sample:
<MultipleSelectionResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Lead">
  <AssignedToId>1</AssignedToId>
  <ChannelPartnerId>1</ChannelPartnerId>
  <ChannelPartnerIdToRemove>1</ChannelPartnerIdToRemove>
  <CompanyStageId>1</CompanyStageId>
  <CompanyStageReasonId>1</CompanyStageReasonId>
  <DeleteLeadTimeline>true</DeleteLeadTimeline>
  <FromUserId>1</FromUserId>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </Ids>
  <IsConvertContacts>true</IsConvertContacts>
  <LeadCategoryId>1</LeadCategoryId>
  <LeadIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </LeadIds>
  <LeadSourceId>1</LeadSourceId>
  <LeadSubSourceId>1</LeadSubSourceId>
  <ProjectId>1</ProjectId>
  <ProjectIdToRemove>1</ProjectIdToRemove>
  <Remark>sample string 1</Remark>
  <SourcingManagerId>1</SourcingManagerId>
  <SourcingManagerIdToDelete>1</SourcingManagerIdToDelete>
  <StageId>1</StageId>
  <TagIdToRemove xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </TagIdToRemove>
  <TagIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </TagIds>
  <TransferPendingTask>true</TransferPendingTask>
  <UserId>1</UserId>
  <UserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </UserIds>
  <UserIdsToRemove xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </UserIdsToRemove>
</MultipleSelectionResource>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MultipleSelectionResource'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Description

string

None.

Data

Object

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Description": "sample string 3",
  "Data": {},
  "Count": 5
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models">
  <Count>5</Count>
  <Data />
  <Description>sample string 3</Description>
  <Message>sample string 2</Message>
  <Success>true</Success>
</Response>