POST api/Report/LeadTrendReport_YTD
Request Information
URI Parameters
None.
Body Parameters
LeadReportViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Agency | AgencyViewModel |
None. |
|
| DateRange | DateRangeViewModel |
None. |
|
| PrimaryIndustry | PrimaryIndustry |
None. |
|
| SecondaryIndustry | SecondaryIndustry |
None. |
|
| State | StateViewModel |
None. |
|
| PrimarySource | PrimaryLeadSource |
None. |
|
| PrimaryType | PrimaryLeadType |
None. |
|
| SubLeadType | SubLeadType |
None. |
|
| LeadTypeOther | string |
None. |
|
| ExcludeGiveAway | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"agency": {
"agencyID": 1,
"name": "sample string 2"
},
"dateRange": {
"startDate": "2025-12-09T23:06:32.980577-05:00",
"endDate": "2025-12-09T23:06:32.980577-05:00"
},
"primaryIndustry": {
"primaryIndustryID": 1,
"primaryIndustryName": "sample string 2",
"primaryIndustryIcon": "sample string 3"
},
"secondaryIndustry": {
"secondaryIndustryID": 1,
"secondaryIndustryName": "sample string 2",
"primaryIndustryID": 3
},
"state": {
"stateID": 1,
"stateName": "sample string 2",
"stateAbvr": "sample string 3",
"countryID": 4
},
"primarySource": {
"primaryLeadSourceID": 1,
"primaryLeadSourceName": "sample string 2",
"isWeb": true
},
"primaryType": {
"primaryLeadTypeID": 1,
"primaryLeadTypeName": "sample string 2",
"primaryLeadSourceID": 3
},
"subLeadType": {
"subLeadTypeID": 1,
"subLeadTypeName": "sample string 2",
"primaryLeadTypeID": 3
},
"leadTypeOther": "sample string 1",
"excludeGiveAway": true
}
application/xml, text/xml
Sample:
<LeadReportViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
<Agency>
<AgencyID>1</AgencyID>
<Name>sample string 2</Name>
</Agency>
<DateRange>
<EndDate>2025-12-09T23:06:32.980577-05:00</EndDate>
<StartDate>2025-12-09T23:06:32.980577-05:00</StartDate>
</DateRange>
<ExcludeGiveAway>true</ExcludeGiveAway>
<LeadTypeOther>sample string 1</LeadTypeOther>
<PrimaryIndustry>
<PrimaryIndustryID>1</PrimaryIndustryID>
<PrimaryIndustryIcon>sample string 3</PrimaryIndustryIcon>
<PrimaryIndustryName>sample string 2</PrimaryIndustryName>
</PrimaryIndustry>
<PrimarySource>
<IsWeb>true</IsWeb>
<PrimaryLeadSourceID>1</PrimaryLeadSourceID>
<PrimaryLeadSourceName>sample string 2</PrimaryLeadSourceName>
</PrimarySource>
<PrimaryType>
<PrimaryLeadSourceID>3</PrimaryLeadSourceID>
<PrimaryLeadTypeID>1</PrimaryLeadTypeID>
<PrimaryLeadTypeName>sample string 2</PrimaryLeadTypeName>
</PrimaryType>
<SecondaryIndustry>
<PrimaryIndustryID>3</PrimaryIndustryID>
<SecondaryIndustryID>1</SecondaryIndustryID>
<SecondaryIndustryName>sample string 2</SecondaryIndustryName>
</SecondaryIndustry>
<State>
<CountryID>4</CountryID>
<StateAbvr>sample string 3</StateAbvr>
<StateID>1</StateID>
<StateName>sample string 2</StateName>
</State>
<SubLeadType>
<PrimaryLeadTypeID>3</PrimaryLeadTypeID>
<SubLeadTypeID>1</SubLeadTypeID>
<SubLeadTypeName>sample string 2</SubLeadTypeName>
</SubLeadType>
</LeadReportViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.