POST api/LeadAssignments
Request Information
URI Parameters
None.
Body Parameters
LeadAssignmentAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| IsDirectAssignment | boolean |
None. |
|
| ID | integer |
None. |
|
| Lead_ID | integer |
None. |
|
| Company_ID | integer |
None. |
|
| AgentOwner_ID | integer |
None. |
|
| AgentOwnerCode | string |
None. |
|
| AgencyCode | string |
None. |
|
| AgentNumber | string |
None. |
|
| DateTimeAssigned | date |
None. |
|
| lkpAppFlagCodeStatus | integer |
None. |
|
| DateTimeCreated | date |
None. |
|
| LeadIndex | integer |
None. |
|
| LeadCapCount | integer |
None. |
|
| IsLeadCapReached | boolean |
None. |
|
| TotalLeads | integer |
None. |
|
| IsLeadQtyReached | boolean |
None. |
|
| IsWeightIndexReset | boolean |
None. |
|
| LeadExpire | date |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | string |
None. |
|
| CreateDate | date |
None. |
|
| ModifiedBy | string |
None. |
|
| ModifyDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"IsDirectAssignment": true,
"ID": 1,
"Lead_ID": 2,
"Company_ID": 3,
"AgentOwner_ID": 1,
"AgentOwnerCode": "sample string 4",
"AgencyCode": "sample string 5",
"AgentNumber": "sample string 6",
"DateTimeAssigned": "2025-12-16T01:20:15.3815546-06:00",
"lkpAppFlagCodeStatus": 1,
"DateTimeCreated": "2025-12-16T01:20:15.3815546-06:00",
"LeadIndex": 1,
"LeadCapCount": 1,
"IsLeadCapReached": true,
"TotalLeads": 1,
"IsLeadQtyReached": true,
"IsWeightIndexReset": true,
"LeadExpire": "2025-12-16T01:20:15.3815546-06:00",
"IsActive": true,
"CreatedBy": "sample string 7",
"CreateDate": "2025-12-16T01:20:15.3815546-06:00",
"ModifiedBy": "sample string 8",
"ModifyDate": "2025-12-16T01:20:15.3815546-06:00"
}
application/xml, text/xml
Sample:
<LeadAssignmentAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationEx.API.Models"> <AgencyCode xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">sample string 5</AgencyCode> <AgentNumber xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">sample string 6</AgentNumber> <AgentOwnerCode xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">sample string 4</AgentOwnerCode> <AgentOwner_ID xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">1</AgentOwner_ID> <Company_ID xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">3</Company_ID> <CreateDate xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">2025-12-16T01:20:15.3815546-06:00</CreateDate> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">sample string 7</CreatedBy> <DateTimeAssigned xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">2025-12-16T01:20:15.3815546-06:00</DateTimeAssigned> <DateTimeCreated xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">2025-12-16T01:20:15.3815546-06:00</DateTimeCreated> <ID xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">1</ID> <IsActive xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">true</IsActive> <IsLeadCapReached xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">true</IsLeadCapReached> <IsLeadQtyReached xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">true</IsLeadQtyReached> <IsWeightIndexReset xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">true</IsWeightIndexReset> <LeadCapCount xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">1</LeadCapCount> <LeadExpire xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">2025-12-16T01:20:15.3815546-06:00</LeadExpire> <LeadIndex xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">1</LeadIndex> <Lead_ID xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">2</Lead_ID> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">sample string 8</ModifiedBy> <ModifyDate xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">2025-12-16T01:20:15.3815546-06:00</ModifyDate> <TotalLeads xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">1</TotalLeads> <lkpAppFlagCodeStatus xmlns="http://schemas.datacontract.org/2004/07/TMK.LeadOrchestrationSystem.DTO">1</lkpAppFlagCodeStatus> <IsDirectAssignment>true</IsDirectAssignment> </LeadAssignmentAddRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |