POST api/TransferLead

Request Information

URI Parameters

None.

Body Parameters

TransferLeadVm
NameDescriptionTypeAdditional information
FromUserId

integer

None.

LeadId

integer

None.

UserId

integer

None.

Remark

string

None.

ProjectId

integer

None.

StageId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FromUserId": 1,
  "LeadId": 1,
  "UserId": 2,
  "Remark": "sample string 3",
  "ProjectId": 4,
  "StageId": 5
}

application/xml, text/xml

Sample:
<TransferLeadVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Lead">
  <FromUserId>1</FromUserId>
  <LeadId>1</LeadId>
  <ProjectId>4</ProjectId>
  <Remark>sample string 3</Remark>
  <StageId>5</StageId>
  <UserId>2</UserId>
</TransferLeadVm>

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 'TransferLeadVm'.

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>