POST CustomerAnswersReport/GetCustomers

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Page

integer

None.

PageSize

integer

None.

Sorts

Collection of Kendo.Mvc.SortDescriptor

None.

Filters

Collection of Kendo.Mvc.IFilterDescriptor

None.

Groups

Collection of Kendo.Mvc.GroupDescriptor

None.

Aggregates

Collection of Kendo.Mvc.AggregateDescriptor

None.

GroupPaging

boolean

None.

IncludeSubGroupCount

boolean

None.

Skip

integer

None.

Take

integer

None.

Body Parameters

IConnect.Domain.Reports.CustomerReport.CustomerAnswersReport.ReportViewModel
NameDescriptionTypeAdditional information
SelectedCompanies

Collection of integer

None.

LocationId

integer

None.

CustomerId

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Start

date

None.

End

date

None.

StartDateObjectString

string

None.

EndDateObjectString

string

None.

SkipTimeZoneConvertion

boolean

None.

ForceImmediateExport

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SelectedCompanies": [
    1,
    2
  ],
  "LocationId": 1,
  "CustomerId": 2,
  "PageIndex": 1,
  "PageSize": 1,
  "Start": "2024-10-18T04:32:37.705287-04:00",
  "End": "2024-10-18T04:32:37.705287-04:00",
  "StartDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":32,\"seconds\":37,\"miliseconds\":705}",
  "EndDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":32,\"seconds\":37,\"miliseconds\":705}",
  "SkipTimeZoneConvertion": true,
  "ForceImmediateExport": true
}

application/xml, text/xml

Sample:
<ReportViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports.CustomerReport.CustomerAnswersReport">
  <_x003C_End_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">2024-10-18T04:32:37.705287-04:00</_x003C_End_x003E_k__BackingField>
  <_x003C_ForceImmediateExport_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">true</_x003C_ForceImmediateExport_x003E_k__BackingField>
  <_x003C_SkipTimeZoneConvertion_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">true</_x003C_SkipTimeZoneConvertion_x003E_k__BackingField>
  <_x003C_Start_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">2024-10-18T04:32:37.705287-04:00</_x003C_Start_x003E_k__BackingField>
  <_x003C_CustomerId_x003E_k__BackingField>2</_x003C_CustomerId_x003E_k__BackingField>
  <_x003C_LocationId_x003E_k__BackingField>1</_x003C_LocationId_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>1</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>1</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_SelectedCompanies_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_SelectedCompanies_x003E_k__BackingField>
</ReportViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IConnect.Core.PagedListOfIConnect.Domain.Reports.Employee.CustomerHeaderReportItem
NameDescriptionTypeAdditional information
Data

Collection of IConnect.Domain.Reports.Employee.CustomerHeaderReportItem

None.

Footer

IConnect.Domain.Reports.Employee.CustomerHeaderReportItem

None.

PageFooter

IConnect.Domain.Reports.Employee.CustomerHeaderReportItem

None.

PageNumber

integer

None.

PageSize

integer

None.

TotalRows

integer

None.

TotalPages

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "CustomerId": 1,
      "LocationId": 2,
      "Location": "sample string 3",
      "CustomerFullName": "sample string 4"
    },
    {
      "CustomerId": 1,
      "LocationId": 2,
      "Location": "sample string 3",
      "CustomerFullName": "sample string 4"
    }
  ],
  "Footer": {
    "CustomerId": 1,
    "LocationId": 2,
    "Location": "sample string 3",
    "CustomerFullName": "sample string 4"
  },
  "PageFooter": {
    "CustomerId": 1,
    "LocationId": 2,
    "Location": "sample string 3",
    "CustomerFullName": "sample string 4"
  },
  "PageNumber": 1,
  "PageSize": 2,
  "TotalRows": 3,
  "TotalPages": 4
}

application/xml, text/xml

Sample:
<PagedListOfCustomerHeaderReportItemhb7Sxfy1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core">
  <PageNumber>1</PageNumber>
  <PageSize>2</PageSize>
  <TotalPages>4</TotalPages>
  <TotalRows>3</TotalRows>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports.Employee">
    <d2p1:CustomerHeaderReportItem>
      <d2p1:CustomerFullName>sample string 4</d2p1:CustomerFullName>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:Location>sample string 3</d2p1:Location>
      <d2p1:LocationId>2</d2p1:LocationId>
    </d2p1:CustomerHeaderReportItem>
    <d2p1:CustomerHeaderReportItem>
      <d2p1:CustomerFullName>sample string 4</d2p1:CustomerFullName>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:Location>sample string 3</d2p1:Location>
      <d2p1:LocationId>2</d2p1:LocationId>
    </d2p1:CustomerHeaderReportItem>
  </Data>
  <Footer xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports.Employee">
    <d2p1:CustomerFullName>sample string 4</d2p1:CustomerFullName>
    <d2p1:CustomerId>1</d2p1:CustomerId>
    <d2p1:Location>sample string 3</d2p1:Location>
    <d2p1:LocationId>2</d2p1:LocationId>
  </Footer>
  <PageFooter xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports.Employee">
    <d2p1:CustomerFullName>sample string 4</d2p1:CustomerFullName>
    <d2p1:CustomerId>1</d2p1:CustomerId>
    <d2p1:Location>sample string 3</d2p1:Location>
    <d2p1:LocationId>2</d2p1:LocationId>
  </PageFooter>
</PagedListOfCustomerHeaderReportItemhb7Sxfy1>