POST api/utils/autoassign
Reassigns stale leads according to the parameters supplied.
Request Information
URI Parameters
None.
Body Parameters
ERP.Api.Controllers.CustomerPortal.AutoAssignRequestName | Description | Type | Additional information |
---|---|---|---|
IdleTimeMins |
Gets or sets the minimum mins a lead can be idle before reassigning. |
integer |
None. |
ElapsedTimeMins |
Gets or sets the minimum mins from lead creation before reassigning. |
integer |
None. |
IdleTimeMinsOnOffers |
Gets or sets the minimum mins a lead can be idle before reassigning after the requested offers from lenders. |
integer |
None. |
Test |
Gets or sets a value indicating whether this is only a test. In this case, no updates will be saved; the leads will not be reassigned. |
boolean |
None. |
LeadsCreatedFrom |
Gets or sets the created time from which leads will be reassigned. |
date |
None. |
LeadsCreatedBefore |
Gets or set the created time up to which leads will be reassigned. |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "idleTimeMins": 1, "elapsedTimeMins": 1, "idleTimeMinsOnOffers": 1, "test": true, "leadsCreatedFrom": "2025-01-19", "leadsCreatedBefore": "2025-01-19" }
application/xml, text/xml
Sample:
<AutoAssignRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP.Api.Controllers.CustomerPortal"> <ElapsedTimeMins>1</ElapsedTimeMins> <IdleTimeMins>1</IdleTimeMins> <IdleTimeMinsOnOffers>1</IdleTimeMinsOnOffers> <LeadsCreatedBefore>2025-01-19T00:26:18.7510799+00:00</LeadsCreatedBefore> <LeadsCreatedFrom>2025-01-19T00:26:18.7510799+00:00</LeadsCreatedFrom> <Test>true</Test> </AutoAssignRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.