POST api/CreateLeadTransfer
Request Information
URI Parameters
None.
Body Parameters
CreateLeadTransferVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Leads | Collection of CreateLeadTransferLeadVm |
None. |
|
| Ids | Collection of integer |
None. |
|
| FromUserId | integer |
None. |
|
| ToUserId | integer |
None. |
|
| Remark | string |
None. |
|
| ProjectId | integer |
None. |
|
| StageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Leads": [
{
"LeadId": 1
},
{
"LeadId": 1
}
],
"Ids": [
1,
2
],
"FromUserId": 1,
"ToUserId": 2,
"Remark": "sample string 3",
"ProjectId": 4,
"StageId": 5
}
application/xml, text/xml
Sample:
<CreateLeadTransferVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Lead">
<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>
<Leads>
<CreateLeadTransferLeadVm>
<LeadId>1</LeadId>
</CreateLeadTransferLeadVm>
<CreateLeadTransferLeadVm>
<LeadId>1</LeadId>
</CreateLeadTransferLeadVm>
</Leads>
<ProjectId>4</ProjectId>
<Remark>sample string 3</Remark>
<StageId>5</StageId>
<ToUserId>2</ToUserId>
</CreateLeadTransferVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional 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>