POST api/{programid}/Timesheets/SearchLocDiscpTimeEntriesDashboard

Retrieves aggregate data for Location Discrepancy Time Entries for EVV Dashboard

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

Program Id

string

Required

Body Parameters

TimeEntryDashboardSearchFiltersDTO
NameDescriptionTypeAdditional information
BeginDate

string

None.

EndDate

string

None.

ProviderName

string

None.

ConsumerName

string

None.

LineStatuses

Collection of string

None.

LocationDiscrepancy

boolean

None.

CurrentClockIn

boolean

None.

SortCriteria

string

None.

RowsByPage

integer

None.

PageNum

integer

None.

CaseManagerNo

string

None.

CaseManagerAgencyNo

string

None.

ServiceFacilitatorNo

string

None.

ServiceFacilitatorAgencyNo

string

None.

UserRoleContext

Collection of RoleContext

None.

Request Formats

application/json, text/json

Sample:
{
  "BeginDate": "sample string 1",
  "EndDate": "sample string 2",
  "ProviderName": "sample string 3",
  "ConsumerName": "sample string 4",
  "LineStatuses": [
    "sample string 1",
    "sample string 2"
  ],
  "LocationDiscrepancy": true,
  "CurrentClockIn": true,
  "SortCriteria": "sample string 7",
  "RowsByPage": 8,
  "PageNum": 9,
  "CaseManagerNo": "sample string 10",
  "CaseManagerAgencyNo": "sample string 11",
  "ServiceFacilitatorNo": "sample string 12",
  "ServiceFacilitatorAgencyNo": "sample string 13",
  "UserRoleContext": [
    {
      "AssemblyName": "sample string 1",
      "Namespace": "sample string 2",
      "FieldName": "sample string 3",
      "ObjectName": "sample string 4",
      "MappingFieldNameOnContextViewInDB": "sample string 5",
      "FieldValue": "sample string 6"
    },
    {
      "AssemblyName": "sample string 1",
      "Namespace": "sample string 2",
      "FieldName": "sample string 3",
      "ObjectName": "sample string 4",
      "MappingFieldNameOnContextViewInDB": "sample string 5",
      "FieldValue": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<TimeEntryDashboardSearchFiltersDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Timesheet">
  <UserRoleContext xmlns:d2p1="http://schemas.datacontract.org/2004/07/PPL.DataProviders.Common" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Common">
    <d2p1:RoleContext>
      <d2p1:AssemblyName>sample string 1</d2p1:AssemblyName>
      <d2p1:FieldName>sample string 3</d2p1:FieldName>
      <d2p1:FieldValue>sample string 6</d2p1:FieldValue>
      <d2p1:MappingFieldNameOnContextViewInDB>sample string 5</d2p1:MappingFieldNameOnContextViewInDB>
      <d2p1:Namespace>sample string 2</d2p1:Namespace>
      <d2p1:ObjectName>sample string 4</d2p1:ObjectName>
    </d2p1:RoleContext>
    <d2p1:RoleContext>
      <d2p1:AssemblyName>sample string 1</d2p1:AssemblyName>
      <d2p1:FieldName>sample string 3</d2p1:FieldName>
      <d2p1:FieldValue>sample string 6</d2p1:FieldValue>
      <d2p1:MappingFieldNameOnContextViewInDB>sample string 5</d2p1:MappingFieldNameOnContextViewInDB>
      <d2p1:Namespace>sample string 2</d2p1:Namespace>
      <d2p1:ObjectName>sample string 4</d2p1:ObjectName>
    </d2p1:RoleContext>
  </UserRoleContext>
  <BeginDate>sample string 1</BeginDate>
  <CaseManagerAgencyNo>sample string 11</CaseManagerAgencyNo>
  <CaseManagerNo>sample string 10</CaseManagerNo>
  <ConsumerName>sample string 4</ConsumerName>
  <CurrentClockIn>true</CurrentClockIn>
  <EndDate>sample string 2</EndDate>
  <LineStatuses xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </LineStatuses>
  <LocationDiscrepancy>true</LocationDiscrepancy>
  <PageNum>9</PageNum>
  <ProviderName>sample string 3</ProviderName>
  <RowsByPage>8</RowsByPage>
  <ServiceFacilitatorAgencyNo>sample string 13</ServiceFacilitatorAgencyNo>
  <ServiceFacilitatorNo>sample string 12</ServiceFacilitatorNo>
  <SortCriteria>sample string 7</SortCriteria>
</TimeEntryDashboardSearchFiltersDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TimeEntryDashboardSearchFiltersDTO'.

Response Information

Resource Description

TimeEntryDashboardLocDiscpSearchResultDTO
NameDescriptionTypeAdditional information
DiscrepancyDashboardLines

Collection of DiscrepancyDashboardLine

None.

TotalRecordCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalRecordCount": 1,
  "DiscrepancyDashboardLines": [
    {
      "ConsumerNo": "sample string 1",
      "ProviderNo": "sample string 2",
      "DateWorked": "sample string 3",
      "ProviderName": "sample string 4",
      "ConsumerName": "sample string 5",
      "LocationNotRecordedCount": "sample string 6",
      "ClockInDiscCount": "sample string 7",
      "ClockOutDiscCount": "sample string 8",
      "RowNumber": "sample string 9"
    },
    {
      "ConsumerNo": "sample string 1",
      "ProviderNo": "sample string 2",
      "DateWorked": "sample string 3",
      "ProviderName": "sample string 4",
      "ConsumerName": "sample string 5",
      "LocationNotRecordedCount": "sample string 6",
      "ClockInDiscCount": "sample string 7",
      "ClockOutDiscCount": "sample string 8",
      "RowNumber": "sample string 9"
    }
  ]
}

application/xml, text/xml

Sample:
<TimeEntryDashboardLocDiscpSearchResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Timesheet">
  <DiscrepancyDashboardLines>
    <DiscrepancyDashboardLine>
      <ClockInDiscCount>sample string 7</ClockInDiscCount>
      <ClockOutDiscCount>sample string 8</ClockOutDiscCount>
      <ConsumerName>sample string 5</ConsumerName>
      <ConsumerNo>sample string 1</ConsumerNo>
      <DateWorked>sample string 3</DateWorked>
      <LocationNotRecordedCount>sample string 6</LocationNotRecordedCount>
      <ProviderName>sample string 4</ProviderName>
      <ProviderNo>sample string 2</ProviderNo>
      <RowNumber>sample string 9</RowNumber>
    </DiscrepancyDashboardLine>
    <DiscrepancyDashboardLine>
      <ClockInDiscCount>sample string 7</ClockInDiscCount>
      <ClockOutDiscCount>sample string 8</ClockOutDiscCount>
      <ConsumerName>sample string 5</ConsumerName>
      <ConsumerNo>sample string 1</ConsumerNo>
      <DateWorked>sample string 3</DateWorked>
      <LocationNotRecordedCount>sample string 6</LocationNotRecordedCount>
      <ProviderName>sample string 4</ProviderName>
      <ProviderNo>sample string 2</ProviderNo>
      <RowNumber>sample string 9</RowNumber>
    </DiscrepancyDashboardLine>
  </DiscrepancyDashboardLines>
  <TotalRecordCount>1</TotalRecordCount>
</TimeEntryDashboardLocDiscpSearchResultDTO>