GET api/LeadOrder/GetLeadOrderByUserIdAndStatus?userId={userId}&status={status}&orderSource={orderSource}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

status

LeadOrderStatusTypeEnum

Required

orderSource

LeadOrderSourceEnum

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LeadOrderQueueDTO
NameDescriptionTypeAdditional information
AgencyId

integer

None.

ChangeDate

date

None.

ChangedBy

integer

None.

ChangedByRoleId

integer

None.

CheckedOutToAssociate

integer

None.

CreateDate

date

None.

CreatedBy

integer

None.

CreatedByName

string

None.

CreatedByRoleId

integer

None.

DueDate

date

None.

Id

integer

None.

LeadOrderStatusId

integer

None.

OfficeId

integer

None.

OfficeName

string

None.

LeadOrderDetailQueues

Collection of LeadOrderDetailQueueDTO

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AgencyId": 1,
    "ChangeDate": "2025-10-14T05:02:57.301032-07:00",
    "ChangedBy": 1,
    "ChangedByRoleId": 1,
    "CheckedOutToAssociate": 1,
    "CreateDate": "2025-10-14T05:02:57.301032-07:00",
    "CreatedBy": 3,
    "CreatedByName": "sample string 4",
    "CreatedByRoleId": 1,
    "DueDate": "2025-10-14T05:02:57.301032-07:00",
    "Id": 6,
    "LeadOrderStatusId": 7,
    "OfficeId": 1,
    "OfficeName": "sample string 8",
    "LeadOrderDetailQueues": [
      {
        "AllocatedLeads": 1,
        "AssociateContractId": 1,
        "AssociateId": 1,
        "ChangeDate": "2025-10-14T05:02:57.301032-07:00",
        "ChangedBy": 1,
        "ChangedByRoleId": 1,
        "CreateDate": "2025-10-14T05:02:57.301032-07:00",
        "CreatedBy": 3,
        "CreatedByRoleId": 4,
        "Id": 5,
        "IsAssigned": true,
        "LeadOrderId": 7,
        "NoOfLeadsToAssign": 8,
        "AssociateName": "sample string 9",
        "LeadOrderDetailAllocationQueues": [
          {
            "CreateByRoleId": 1,
            "CreateDate": "2025-10-14T05:02:57.301032-07:00",
            "CreatedBy": 3,
            "Id": 4,
            "IsLeadOnHand": true,
            "LeadBankTypeId": 5,
            "LeadId": 6,
            "LeadOrderDetailId": 7,
            "LeadName": "sample string 8",
            "LeadType": "sample string 9",
            "LeadCity": "sample string 10",
            "LeadZip": "sample string 11",
            "Reserved": true,
            "LeadPool": "Lead On Hand",
            "CreatedByAssociate": "sample string 13",
            "Loc": "sample string 14",
            "LocationContextCode": "sample string 15"
          },
          {
            "CreateByRoleId": 1,
            "CreateDate": "2025-10-14T05:02:57.301032-07:00",
            "CreatedBy": 3,
            "Id": 4,
            "IsLeadOnHand": true,
            "LeadBankTypeId": 5,
            "LeadId": 6,
            "LeadOrderDetailId": 7,
            "LeadName": "sample string 8",
            "LeadType": "sample string 9",
            "LeadCity": "sample string 10",
            "LeadZip": "sample string 11",
            "Reserved": true,
            "LeadPool": "Lead On Hand",
            "CreatedByAssociate": "sample string 13",
            "Loc": "sample string 14",
            "LocationContextCode": "sample string 15"
          }
        ]
      },
      {
        "AllocatedLeads": 1,
        "AssociateContractId": 1,
        "AssociateId": 1,
        "ChangeDate": "2025-10-14T05:02:57.301032-07:00",
        "ChangedBy": 1,
        "ChangedByRoleId": 1,
        "CreateDate": "2025-10-14T05:02:57.301032-07:00",
        "CreatedBy": 3,
        "CreatedByRoleId": 4,
        "Id": 5,
        "IsAssigned": true,
        "LeadOrderId": 7,
        "NoOfLeadsToAssign": 8,
        "AssociateName": "sample string 9",
        "LeadOrderDetailAllocationQueues": [
          {
            "CreateByRoleId": 1,
            "CreateDate": "2025-10-14T05:02:57.301032-07:00",
            "CreatedBy": 3,
            "Id": 4,
            "IsLeadOnHand": true,
            "LeadBankTypeId": 5,
            "LeadId": 6,
            "LeadOrderDetailId": 7,
            "LeadName": "sample string 8",
            "LeadType": "sample string 9",
            "LeadCity": "sample string 10",
            "LeadZip": "sample string 11",
            "Reserved": true,
            "LeadPool": "Lead On Hand",
            "CreatedByAssociate": "sample string 13",
            "Loc": "sample string 14",
            "LocationContextCode": "sample string 15"
          },
          {
            "CreateByRoleId": 1,
            "CreateDate": "2025-10-14T05:02:57.301032-07:00",
            "CreatedBy": 3,
            "Id": 4,
            "IsLeadOnHand": true,
            "LeadBankTypeId": 5,
            "LeadId": 6,
            "LeadOrderDetailId": 7,
            "LeadName": "sample string 8",
            "LeadType": "sample string 9",
            "LeadCity": "sample string 10",
            "LeadZip": "sample string 11",
            "Reserved": true,
            "LeadPool": "Lead On Hand",
            "CreatedByAssociate": "sample string 13",
            "Loc": "sample string 14",
            "LocationContextCode": "sample string 15"
          }
        ]
      }
    ]
  },
  {
    "AgencyId": 1,
    "ChangeDate": "2025-10-14T05:02:57.301032-07:00",
    "ChangedBy": 1,
    "ChangedByRoleId": 1,
    "CheckedOutToAssociate": 1,
    "CreateDate": "2025-10-14T05:02:57.301032-07:00",
    "CreatedBy": 3,
    "CreatedByName": "sample string 4",
    "CreatedByRoleId": 1,
    "DueDate": "2025-10-14T05:02:57.301032-07:00",
    "Id": 6,
    "LeadOrderStatusId": 7,
    "OfficeId": 1,
    "OfficeName": "sample string 8",
    "LeadOrderDetailQueues": [
      {
        "AllocatedLeads": 1,
        "AssociateContractId": 1,
        "AssociateId": 1,
        "ChangeDate": "2025-10-14T05:02:57.301032-07:00",
        "ChangedBy": 1,
        "ChangedByRoleId": 1,
        "CreateDate": "2025-10-14T05:02:57.301032-07:00",
        "CreatedBy": 3,
        "CreatedByRoleId": 4,
        "Id": 5,
        "IsAssigned": true,
        "LeadOrderId": 7,
        "NoOfLeadsToAssign": 8,
        "AssociateName": "sample string 9",
        "LeadOrderDetailAllocationQueues": [
          {
            "CreateByRoleId": 1,
            "CreateDate": "2025-10-14T05:02:57.301032-07:00",
            "CreatedBy": 3,
            "Id": 4,
            "IsLeadOnHand": true,
            "LeadBankTypeId": 5,
            "LeadId": 6,
            "LeadOrderDetailId": 7,
            "LeadName": "sample string 8",
            "LeadType": "sample string 9",
            "LeadCity": "sample string 10",
            "LeadZip": "sample string 11",
            "Reserved": true,
            "LeadPool": "Lead On Hand",
            "CreatedByAssociate": "sample string 13",
            "Loc": "sample string 14",
            "LocationContextCode": "sample string 15"
          },
          {
            "CreateByRoleId": 1,
            "CreateDate": "2025-10-14T05:02:57.301032-07:00",
            "CreatedBy": 3,
            "Id": 4,
            "IsLeadOnHand": true,
            "LeadBankTypeId": 5,
            "LeadId": 6,
            "LeadOrderDetailId": 7,
            "LeadName": "sample string 8",
            "LeadType": "sample string 9",
            "LeadCity": "sample string 10",
            "LeadZip": "sample string 11",
            "Reserved": true,
            "LeadPool": "Lead On Hand",
            "CreatedByAssociate": "sample string 13",
            "Loc": "sample string 14",
            "LocationContextCode": "sample string 15"
          }
        ]
      },
      {
        "AllocatedLeads": 1,
        "AssociateContractId": 1,
        "AssociateId": 1,
        "ChangeDate": "2025-10-14T05:02:57.301032-07:00",
        "ChangedBy": 1,
        "ChangedByRoleId": 1,
        "CreateDate": "2025-10-14T05:02:57.301032-07:00",
        "CreatedBy": 3,
        "CreatedByRoleId": 4,
        "Id": 5,
        "IsAssigned": true,
        "LeadOrderId": 7,
        "NoOfLeadsToAssign": 8,
        "AssociateName": "sample string 9",
        "LeadOrderDetailAllocationQueues": [
          {
            "CreateByRoleId": 1,
            "CreateDate": "2025-10-14T05:02:57.301032-07:00",
            "CreatedBy": 3,
            "Id": 4,
            "IsLeadOnHand": true,
            "LeadBankTypeId": 5,
            "LeadId": 6,
            "LeadOrderDetailId": 7,
            "LeadName": "sample string 8",
            "LeadType": "sample string 9",
            "LeadCity": "sample string 10",
            "LeadZip": "sample string 11",
            "Reserved": true,
            "LeadPool": "Lead On Hand",
            "CreatedByAssociate": "sample string 13",
            "Loc": "sample string 14",
            "LocationContextCode": "sample string 15"
          },
          {
            "CreateByRoleId": 1,
            "CreateDate": "2025-10-14T05:02:57.301032-07:00",
            "CreatedBy": 3,
            "Id": 4,
            "IsLeadOnHand": true,
            "LeadBankTypeId": 5,
            "LeadId": 6,
            "LeadOrderDetailId": 7,
            "LeadName": "sample string 8",
            "LeadType": "sample string 9",
            "LeadCity": "sample string 10",
            "LeadZip": "sample string 11",
            "Reserved": true,
            "LeadPool": "Lead On Hand",
            "CreatedByAssociate": "sample string 13",
            "Loc": "sample string 14",
            "LocationContextCode": "sample string 15"
          }
        ]
      }
    ]
  }
]