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.

UserId

integer

None.

FromUserId

integer

None.

StageId

integer

None.

Remark

string

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,
  "UserId": 1,
  "FromUserId": 1,
  "StageId": 1,
  "Remark": "sample string 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">
  <CompanyStageId>1</CompanyStageId>
  <CompanyStageReasonId>1</CompanyStageReasonId>
  <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>
  <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>
  <StageId>1</StageId>
  <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>