POST api/Project/Search

Request Information

URI Parameters

None.

Body Parameters

ProjectSearchViewModel
NameDescriptionTypeAdditional information
ProjectNumber

string

None.

DateCreatedStart

date

None.

DateCreatedEnd

date

None.

ProjectName

string

None.

CustomerName

string

None.

City

string

None.

State

StateViewModel

None.

Zip

string

None.

SalesRep

SalesAssociate

None.

Status

StatusViewModel

None.

PrimaryLeadSource

PrimaryLeadSource

None.

PrimaryLeadType

PrimaryLeadType

None.

SubLeadType

SubLeadType

None.

LeadSourceOther

string

None.

MatchAll

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "projectNumber": "sample string 1",
  "dateCreatedStart": "2025-12-09T23:05:16.4387341-05:00",
  "dateCreatedEnd": "2025-12-09T23:05:16.4387341-05:00",
  "projectName": "sample string 2",
  "customerName": "sample string 3",
  "city": "sample string 4",
  "state": {
    "stateID": 1,
    "stateName": "sample string 2",
    "stateAbvr": "sample string 3",
    "countryID": 4
  },
  "zip": "sample string 5",
  "salesRep": {
    "salesAssociateID": 1,
    "salesAssociateName": "sample string 2"
  },
  "status": {
    "status": "sample string 1",
    "statusName": "sample string 2"
  },
  "primaryLeadSource": {
    "primaryLeadSourceID": 1,
    "primaryLeadSourceName": "sample string 2",
    "isWeb": true
  },
  "primaryLeadType": {
    "primaryLeadTypeID": 1,
    "primaryLeadTypeName": "sample string 2",
    "primaryLeadSourceID": 3
  },
  "subLeadType": {
    "subLeadTypeID": 1,
    "subLeadTypeName": "sample string 2",
    "primaryLeadTypeID": 3
  },
  "leadSourceOther": "sample string 6",
  "matchAll": true
}

application/xml, text/xml

Sample:
<ProjectSearchViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
  <City>sample string 4</City>
  <CustomerName>sample string 3</CustomerName>
  <DateCreatedEnd>2025-12-09T23:05:16.4387341-05:00</DateCreatedEnd>
  <DateCreatedStart>2025-12-09T23:05:16.4387341-05:00</DateCreatedStart>
  <LeadSourceOther>sample string 6</LeadSourceOther>
  <MatchAll>true</MatchAll>
  <PrimaryLeadSource>
    <IsWeb>true</IsWeb>
    <PrimaryLeadSourceID>1</PrimaryLeadSourceID>
    <PrimaryLeadSourceName>sample string 2</PrimaryLeadSourceName>
  </PrimaryLeadSource>
  <PrimaryLeadType>
    <PrimaryLeadSourceID>3</PrimaryLeadSourceID>
    <PrimaryLeadTypeID>1</PrimaryLeadTypeID>
    <PrimaryLeadTypeName>sample string 2</PrimaryLeadTypeName>
  </PrimaryLeadType>
  <ProjectName>sample string 2</ProjectName>
  <ProjectNumber>sample string 1</ProjectNumber>
  <SalesRep>
    <SalesAssociateID>1</SalesAssociateID>
    <SalesAssociateName>sample string 2</SalesAssociateName>
  </SalesRep>
  <State>
    <CountryID>4</CountryID>
    <StateAbvr>sample string 3</StateAbvr>
    <StateID>1</StateID>
    <StateName>sample string 2</StateName>
  </State>
  <Status>
    <Status>sample string 1</Status>
    <StatusName>sample string 2</StatusName>
  </Status>
  <SubLeadType>
    <PrimaryLeadTypeID>3</PrimaryLeadTypeID>
    <SubLeadTypeID>1</SubLeadTypeID>
    <SubLeadTypeName>sample string 2</SubLeadTypeName>
  </SubLeadType>
  <Zip>sample string 5</Zip>
</ProjectSearchViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.