Trendsic Platform Service

<back to all web services

KpiV2Request

Requires Authentication
The following routes are available for this service:
POST,OPTIONS/v1/dashboard/kpiv2
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using CRM.AgencyPlatform.API.Internal;

namespace CRM.AgencyPlatform.API.Internal
{
    public partial class DashboardSeries
    {
        public virtual string Name { get; set; }
        public virtual List<DashboardSeriesPoint> Points { get; set; } = [];
    }

    public partial class DashboardSeriesPoint
    {
        public virtual string Label { get; set; }
        public virtual double Value { get; set; }
    }

    public partial class DashboardStatTile
    {
        public virtual string Key { get; set; }
        public virtual string Label { get; set; }
        public virtual double Value { get; set; }
        public virtual double? PreviousValue { get; set; }
        public virtual string Unit { get; set; }
        public virtual double? DeltaPct { get; set; }
    }

    public partial class KpiV2HeatPoint
    {
        public virtual int Dow { get; set; }
        public virtual int Hr { get; set; }
        public virtual int Cnt { get; set; }
    }

    public partial class KpiV2LiveRow
    {
        public virtual string LocationName { get; set; }
        public virtual int Waiting { get; set; }
        public virtual int InProgress { get; set; }
    }

    public partial class KpiV2LocationRow
    {
        public virtual string LocationName { get; set; }
        public virtual int Walkins { get; set; }
        public virtual int Completed { get; set; }
        public virtual double AvgServiceMinutes { get; set; }
        public virtual double AbandonmentPct { get; set; }
    }

    public partial class KpiV2Request
    {
        public virtual DateTime FromDate { get; set; }
        public virtual DateTime ToDate { get; set; }
        public virtual List<Guid> LocationIds { get; set; } = [];
        public virtual bool IncludeScope { get; set; }
        public virtual string StateCode { get; set; }
        public virtual string Compare { get; set; }
    }

    public partial class KpiV2Response
    {
        public virtual ResponseStatus ResponseStatus { get; set; }
        public virtual List<DashboardStatTile> Stats { get; set; } = [];
        public virtual List<DashboardSeries> Trend { get; set; } = [];
        public virtual DashboardSeries ServicesByType { get; set; }
        public virtual List<KpiV2LocationRow> LocationLeaderboard { get; set; } = [];
        public virtual List<KpiV2WorkerRow> WorkerProductivity { get; set; } = [];
        public virtual List<KpiV2HeatPoint> Heatmap { get; set; } = [];
        public virtual List<KpiV2LiveRow> LiveQueue { get; set; } = [];
        public virtual SvcScope Scope { get; set; }
    }

    public partial class KpiV2WorkerRow
    {
        public virtual string WorkerName { get; set; }
        public virtual int Completed { get; set; }
        public virtual double AvgServiceMinutes { get; set; }
    }

    public partial class SvcAlert
    {
        public virtual string Level { get; set; }
        public virtual string View { get; set; }
        public virtual string Code { get; set; }
        public virtual Guid? StationId { get; set; }
        public virtual Guid? EmployeeId { get; set; }
        public virtual Guid? BranchId { get; set; }
        public virtual Guid? LineId { get; set; }
        public virtual string Name { get; set; }
        public virtual Guid? OtherLineId { get; set; }
        public virtual string OtherName { get; set; }
        public virtual List<Guid> StationIds { get; set; } = [];
        public virtual Dictionary<string, double> Values { get; set; } = new();
    }

    public partial class SvcBranchRow
    {
        public virtual Guid BranchId { get; set; }
        public virtual string Name { get; set; }
        public virtual string StateCode { get; set; }
        public virtual string ZoneCode { get; set; }
        public virtual string TimeZone { get; set; }
        public virtual int Windows { get; set; }
        public virtual DateTime? RecordingSinceUtc { get; set; }
        public virtual DateTime? SessionsSinceUtc { get; set; }
        public virtual SvcMetrics Metrics { get; set; }
    }

    public partial class SvcComparison
    {
        public virtual string Mode { get; set; }
        public virtual DateTime? FromDate { get; set; }
        public virtual DateTime? ToDate { get; set; }
        public virtual int? CutoffMinute { get; set; }
        public virtual bool HasData { get; set; }
        public virtual SvcMetrics Metrics { get; set; }
    }

    public partial class SvcFeeChange
    {
        public virtual Guid LocationId { get; set; }
        public virtual DateTime OnDate { get; set; }
        public virtual decimal FromFee { get; set; }
        public virtual decimal ToFee { get; set; }
    }

    public partial class SvcHourRow
    {
        public virtual int LocalHour { get; set; }
        public virtual int Served { get; set; }
        public virtual decimal? FeesEarned { get; set; }
        public virtual decimal? CostToStaff { get; set; }
    }

    public partial class SvcMetrics
    {
        public virtual int Checkins { get; set; }
        public virtual int Walkins { get; set; }
        public virtual int Appts { get; set; }
        public virtual int Served { get; set; }
        public virtual int NoShows { get; set; }
        public virtual int ApptNoShows { get; set; }
        public virtual int CancelledAtWindow { get; set; }
        public virtual int Abandoned { get; set; }
        public virtual int Called { get; set; }
        public virtual int CalledUp { get; set; }
        public virtual double? AbandonRate { get; set; }
        public virtual double? NoShowRate { get; set; }
        public virtual double? AvgServiceSec { get; set; }
        public virtual double? MedianServiceSec { get; set; }
        public virtual double? AvgWaitSec { get; set; }
        public virtual int MaxWaitSec { get; set; }
        public virtual double? AvgWalkUpSec { get; set; }
        public virtual double? ExpectedServiceSec { get; set; }
        public virtual long SignedSec { get; set; }
        public virtual long ServingSec { get; set; }
        public virtual long PausedSec { get; set; }
        public virtual long IdleSec { get; set; }
        public virtual long UnstaffedSec { get; set; }
        public virtual double? Utilization { get; set; }
        public virtual double? IdleShare { get; set; }
        public virtual double? PausedShare { get; set; }
        public virtual int Sessions { get; set; }
        public virtual int OpenDays { get; set; }
        public virtual decimal? FeesEarned { get; set; }
        public virtual decimal? AvgFee { get; set; }
        public virtual decimal? FeesPerStaffedHour { get; set; }
        public virtual decimal? ExpectedFeesPerStaffedHour { get; set; }
        public virtual decimal? LaborCost { get; set; }
        public virtual bool LaborPartial { get; set; }
        public virtual List<Guid> MissingCostEmployeeIds { get; set; } = [];
        public virtual List<SvcNamedTime> MissingCost { get; set; } = [];
        public virtual bool LaborLocked { get; set; }
        public virtual decimal? Contribution { get; set; }
        public virtual decimal? LostFees { get; set; }
        public virtual decimal? LostNoShowFees { get; set; }
        public virtual Dictionary<Guid, int> Mix { get; set; } = new();
        public virtual int[] HourlyServed { get; set; } = [];
        public virtual decimal[] HourlyFees { get; set; } = [];
        public virtual decimal[] HourlyCost { get; set; } = [];
        public virtual List<SvcTint> Tints { get; set; } = [];
    }

    public partial class SvcNamedTime
    {
        public virtual Guid Id { get; set; }
        public virtual string Name { get; set; }
        public virtual long SignedSec { get; set; }
        public virtual int Served { get; set; }
    }

    public partial class SvcScope
    {
        public virtual string StateCode { get; set; }
        public virtual List<SvcBranchRow> Branches { get; set; } = [];
        public virtual List<SvcStateRow> States { get; set; } = [];
        public virtual SvcMetrics Total { get; set; }
        public virtual SvcComparison Comparison { get; set; }
        public virtual List<SvcServiceRow> FeesByService { get; set; } = [];
        public virtual List<SvcHourRow> ByHour { get; set; } = [];
        public virtual List<SvcWorkerRow> Workers { get; set; } = [];
        public virtual bool MultiZone { get; set; }
        public virtual bool MultiState { get; set; }
        public virtual DateTime? RecordingSinceUtc { get; set; }
        public virtual DateTime? SessionsSinceUtc { get; set; }
        public virtual List<SvcAlert> Alerts { get; set; } = [];
        public virtual bool CanSeeStaff { get; set; }
        public virtual bool CanSeeFinancial { get; set; }
        public virtual bool CanSeePay { get; set; }
    }

    public partial class SvcServiceRow
    {
        public virtual Guid LineId { get; set; }
        public virtual string Name { get; set; }
        public virtual int Completed { get; set; }
        public virtual double? AvgServiceSec { get; set; }
        public virtual double? BranchAvgServiceSec { get; set; }
        public virtual decimal? FeesEarned { get; set; }
        public virtual decimal? FeeCurrent { get; set; }
        public virtual decimal? FeeMin { get; set; }
        public virtual decimal? FeeMax { get; set; }
        public virtual decimal? FeePerMinute { get; set; }
        public virtual decimal? BranchFeePerMinute { get; set; }
        public virtual List<SvcFeeChange> FeeChanges { get; set; } = [];
    }

    public partial class SvcStateRow
    {
        public virtual string StateCode { get; set; }
        public virtual string StateName { get; set; }
        public virtual int Branches { get; set; }
        public virtual SvcMetrics Metrics { get; set; }
    }

    public partial class SvcTint
    {
        public virtual string Field { get; set; }
        public virtual string Tone { get; set; }
        public virtual string Reason { get; set; }
        public virtual double? Value { get; set; }
        public virtual double? Reference { get; set; }
        public virtual double? BranchValue { get; set; }
    }

    public partial class SvcWorkerRow
    {
        public virtual Guid EmployeeId { get; set; }
        public virtual Guid BranchId { get; set; }
        public virtual string BranchName { get; set; }
        public virtual string Name { get; set; }
        public virtual int Served { get; set; }
        public virtual double? AvgServiceSec { get; set; }
        public virtual double? Utilization { get; set; }
    }

}

C# KpiV2Request DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/dashboard/kpiv2 HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<KpiV2Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <Compare>String</Compare>
  <FromDate>0001-01-01T00:00:00</FromDate>
  <IncludeScope>false</IncludeScope>
  <LocationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>00000000-0000-0000-0000-000000000000</d2p1:guid>
  </LocationIds>
  <StateCode>String</StateCode>
  <ToDate>0001-01-01T00:00:00</ToDate>
</KpiV2Request>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<KpiV2Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <Heatmap>
    <KpiV2HeatPoint>
      <Cnt>0</Cnt>
      <Dow>0</Dow>
      <Hr>0</Hr>
    </KpiV2HeatPoint>
  </Heatmap>
  <LiveQueue>
    <KpiV2LiveRow>
      <InProgress>0</InProgress>
      <LocationName>String</LocationName>
      <Waiting>0</Waiting>
    </KpiV2LiveRow>
  </LiveQueue>
  <LocationLeaderboard>
    <KpiV2LocationRow>
      <AbandonmentPct>0</AbandonmentPct>
      <AvgServiceMinutes>0</AvgServiceMinutes>
      <Completed>0</Completed>
      <LocationName>String</LocationName>
      <Walkins>0</Walkins>
    </KpiV2LocationRow>
  </LocationLeaderboard>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <Scope>
    <Alerts>
      <SvcAlert>
        <BranchId>00000000-0000-0000-0000-000000000000</BranchId>
        <Code>String</Code>
        <EmployeeId>00000000-0000-0000-0000-000000000000</EmployeeId>
        <Level>String</Level>
        <LineId>00000000-0000-0000-0000-000000000000</LineId>
        <Name>String</Name>
        <OtherLineId>00000000-0000-0000-0000-000000000000</OtherLineId>
        <OtherName>String</OtherName>
        <StationId>00000000-0000-0000-0000-000000000000</StationId>
        <StationIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>00000000-0000-0000-0000-000000000000</d5p1:guid>
        </StationIds>
        <Values xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringdouble>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>0</d5p1:Value>
          </d5p1:KeyValueOfstringdouble>
        </Values>
        <View>String</View>
      </SvcAlert>
    </Alerts>
    <Branches>
      <SvcBranchRow>
        <BranchId>00000000-0000-0000-0000-000000000000</BranchId>
        <Metrics>
          <AbandonRate>0</AbandonRate>
          <Abandoned>0</Abandoned>
          <ApptNoShows>0</ApptNoShows>
          <Appts>0</Appts>
          <AvgFee>0</AvgFee>
          <AvgServiceSec>0</AvgServiceSec>
          <AvgWaitSec>0</AvgWaitSec>
          <AvgWalkUpSec>0</AvgWalkUpSec>
          <Called>0</Called>
          <CalledUp>0</CalledUp>
          <CancelledAtWindow>0</CancelledAtWindow>
          <Checkins>0</Checkins>
          <Contribution>0</Contribution>
          <ExpectedFeesPerStaffedHour>0</ExpectedFeesPerStaffedHour>
          <ExpectedServiceSec>0</ExpectedServiceSec>
          <FeesEarned>0</FeesEarned>
          <FeesPerStaffedHour>0</FeesPerStaffedHour>
          <HourlyCost xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:decimal>0</d6p1:decimal>
          </HourlyCost>
          <HourlyFees xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:decimal>0</d6p1:decimal>
          </HourlyFees>
          <HourlyServed xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:int>0</d6p1:int>
          </HourlyServed>
          <IdleSec>0</IdleSec>
          <IdleShare>0</IdleShare>
          <LaborCost>0</LaborCost>
          <LaborLocked>false</LaborLocked>
          <LaborPartial>false</LaborPartial>
          <LostFees>0</LostFees>
          <LostNoShowFees>0</LostNoShowFees>
          <MaxWaitSec>0</MaxWaitSec>
          <MedianServiceSec>0</MedianServiceSec>
          <MissingCost>
            <SvcNamedTime>
              <Id>00000000-0000-0000-0000-000000000000</Id>
              <Name>String</Name>
              <Served>0</Served>
              <SignedSec>0</SignedSec>
            </SvcNamedTime>
          </MissingCost>
          <MissingCostEmployeeIds xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:guid>00000000-0000-0000-0000-000000000000</d6p1:guid>
          </MissingCostEmployeeIds>
          <Mix xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfguidint>
              <d6p1:Key>00000000-0000-0000-0000-000000000000</d6p1:Key>
              <d6p1:Value>0</d6p1:Value>
            </d6p1:KeyValueOfguidint>
          </Mix>
          <NoShowRate>0</NoShowRate>
          <NoShows>0</NoShows>
          <OpenDays>0</OpenDays>
          <PausedSec>0</PausedSec>
          <PausedShare>0</PausedShare>
          <Served>0</Served>
          <ServingSec>0</ServingSec>
          <Sessions>0</Sessions>
          <SignedSec>0</SignedSec>
          <Tints>
            <SvcTint>
              <BranchValue>0</BranchValue>
              <Field>String</Field>
              <Reason>String</Reason>
              <Reference>0</Reference>
              <Tone>String</Tone>
              <Value>0</Value>
            </SvcTint>
          </Tints>
          <UnstaffedSec>0</UnstaffedSec>
          <Utilization>0</Utilization>
          <Walkins>0</Walkins>
        </Metrics>
        <Name>String</Name>
        <RecordingSinceUtc>0001-01-01T00:00:00</RecordingSinceUtc>
        <SessionsSinceUtc>0001-01-01T00:00:00</SessionsSinceUtc>
        <StateCode>String</StateCode>
        <TimeZone>String</TimeZone>
        <Windows>0</Windows>
        <ZoneCode>String</ZoneCode>
      </SvcBranchRow>
    </Branches>
    <ByHour>
      <SvcHourRow>
        <CostToStaff>0</CostToStaff>
        <FeesEarned>0</FeesEarned>
        <LocalHour>0</LocalHour>
        <Served>0</Served>
      </SvcHourRow>
    </ByHour>
    <CanSeeFinancial>false</CanSeeFinancial>
    <CanSeePay>false</CanSeePay>
    <CanSeeStaff>false</CanSeeStaff>
    <Comparison>
      <CutoffMinute>0</CutoffMinute>
      <FromDate>0001-01-01T00:00:00</FromDate>
      <HasData>false</HasData>
      <Metrics>
        <AbandonRate>0</AbandonRate>
        <Abandoned>0</Abandoned>
        <ApptNoShows>0</ApptNoShows>
        <Appts>0</Appts>
        <AvgFee>0</AvgFee>
        <AvgServiceSec>0</AvgServiceSec>
        <AvgWaitSec>0</AvgWaitSec>
        <AvgWalkUpSec>0</AvgWalkUpSec>
        <Called>0</Called>
        <CalledUp>0</CalledUp>
        <CancelledAtWindow>0</CancelledAtWindow>
        <Checkins>0</Checkins>
        <Contribution>0</Contribution>
        <ExpectedFeesPerStaffedHour>0</ExpectedFeesPerStaffedHour>
        <ExpectedServiceSec>0</ExpectedServiceSec>
        <FeesEarned>0</FeesEarned>
        <FeesPerStaffedHour>0</FeesPerStaffedHour>
        <HourlyCost xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>0</d5p1:decimal>
        </HourlyCost>
        <HourlyFees xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:decimal>0</d5p1:decimal>
        </HourlyFees>
        <HourlyServed xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>0</d5p1:int>
        </HourlyServed>
        <IdleSec>0</IdleSec>
        <IdleShare>0</IdleShare>
        <LaborCost>0</LaborCost>
        <LaborLocked>false</LaborLocked>
        <LaborPartial>false</LaborPartial>
        <LostFees>0</LostFees>
        <LostNoShowFees>0</LostNoShowFees>
        <MaxWaitSec>0</MaxWaitSec>
        <MedianServiceSec>0</MedianServiceSec>
        <MissingCost>
          <SvcNamedTime>
            <Id>00000000-0000-0000-0000-000000000000</Id>
            <Name>String</Name>
            <Served>0</Served>
            <SignedSec>0</SignedSec>
          </SvcNamedTime>
        </MissingCost>
        <MissingCostEmployeeIds xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>00000000-0000-0000-0000-000000000000</d5p1:guid>
        </MissingCostEmployeeIds>
        <Mix xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfguidint>
            <d5p1:Key>00000000-0000-0000-0000-000000000000</d5p1:Key>
            <d5p1:Value>0</d5p1:Value>
          </d5p1:KeyValueOfguidint>
        </Mix>
        <NoShowRate>0</NoShowRate>
        <NoShows>0</NoShows>
        <OpenDays>0</OpenDays>
        <PausedSec>0</PausedSec>
        <PausedShare>0</PausedShare>
        <Served>0</Served>
        <ServingSec>0</ServingSec>
        <Sessions>0</Sessions>
        <SignedSec>0</SignedSec>
        <Tints>
          <SvcTint>
            <BranchValue>0</BranchValue>
            <Field>String</Field>
            <Reason>String</Reason>
            <Reference>0</Reference>
            <Tone>String</Tone>
            <Value>0</Value>
          </SvcTint>
        </Tints>
        <UnstaffedSec>0</UnstaffedSec>
        <Utilization>0</Utilization>
        <Walkins>0</Walkins>
      </Metrics>
      <Mode>String</Mode>
      <ToDate>0001-01-01T00:00:00</ToDate>
    </Comparison>
    <FeesByService>
      <SvcServiceRow>
        <AvgServiceSec>0</AvgServiceSec>
        <BranchAvgServiceSec>0</BranchAvgServiceSec>
        <BranchFeePerMinute>0</BranchFeePerMinute>
        <Completed>0</Completed>
        <FeeChanges>
          <SvcFeeChange>
            <FromFee>0</FromFee>
            <LocationId>00000000-0000-0000-0000-000000000000</LocationId>
            <OnDate>0001-01-01T00:00:00</OnDate>
            <ToFee>0</ToFee>
          </SvcFeeChange>
        </FeeChanges>
        <FeeCurrent>0</FeeCurrent>
        <FeeMax>0</FeeMax>
        <FeeMin>0</FeeMin>
        <FeePerMinute>0</FeePerMinute>
        <FeesEarned>0</FeesEarned>
        <LineId>00000000-0000-0000-0000-000000000000</LineId>
        <Name>String</Name>
      </SvcServiceRow>
    </FeesByService>
    <MultiState>false</MultiState>
    <MultiZone>false</MultiZone>
    <RecordingSinceUtc>0001-01-01T00:00:00</RecordingSinceUtc>
    <SessionsSinceUtc>0001-01-01T00:00:00</SessionsSinceUtc>
    <StateCode>String</StateCode>
    <States>
      <SvcStateRow>
        <Branches>0</Branches>
        <Metrics>
          <AbandonRate>0</AbandonRate>
          <Abandoned>0</Abandoned>
          <ApptNoShows>0</ApptNoShows>
          <Appts>0</Appts>
          <AvgFee>0</AvgFee>
          <AvgServiceSec>0</AvgServiceSec>
          <AvgWaitSec>0</AvgWaitSec>
          <AvgWalkUpSec>0</AvgWalkUpSec>
          <Called>0</Called>
          <CalledUp>0</CalledUp>
          <CancelledAtWindow>0</CancelledAtWindow>
          <Checkins>0</Checkins>
          <Contribution>0</Contribution>
          <ExpectedFeesPerStaffedHour>0</ExpectedFeesPerStaffedHour>
          <ExpectedServiceSec>0</ExpectedServiceSec>
          <FeesEarned>0</FeesEarned>
          <FeesPerStaffedHour>0</FeesPerStaffedHour>
          <HourlyCost xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:decimal>0</d6p1:decimal>
          </HourlyCost>
          <HourlyFees xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:decimal>0</d6p1:decimal>
          </HourlyFees>
          <HourlyServed xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:int>0</d6p1:int>
          </HourlyServed>
          <IdleSec>0</IdleSec>
          <IdleShare>0</IdleShare>
          <LaborCost>0</LaborCost>
          <LaborLocked>false</LaborLocked>
          <LaborPartial>false</LaborPartial>
          <LostFees>0</LostFees>
          <LostNoShowFees>0</LostNoShowFees>
          <MaxWaitSec>0</MaxWaitSec>
          <MedianServiceSec>0</MedianServiceSec>
          <MissingCost>
            <SvcNamedTime>
              <Id>00000000-0000-0000-0000-000000000000</Id>
              <Name>String</Name>
              <Served>0</Served>
              <SignedSec>0</SignedSec>
            </SvcNamedTime>
          </MissingCost>
          <MissingCostEmployeeIds xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:guid>00000000-0000-0000-0000-000000000000</d6p1:guid>
          </MissingCostEmployeeIds>
          <Mix xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfguidint>
              <d6p1:Key>00000000-0000-0000-0000-000000000000</d6p1:Key>
              <d6p1:Value>0</d6p1:Value>
            </d6p1:KeyValueOfguidint>
          </Mix>
          <NoShowRate>0</NoShowRate>
          <NoShows>0</NoShows>
          <OpenDays>0</OpenDays>
          <PausedSec>0</PausedSec>
          <PausedShare>0</PausedShare>
          <Served>0</Served>
          <ServingSec>0</ServingSec>
          <Sessions>0</Sessions>
          <SignedSec>0</SignedSec>
          <Tints>
            <SvcTint>
              <BranchValue>0</BranchValue>
              <Field>String</Field>
              <Reason>String</Reason>
              <Reference>0</Reference>
              <Tone>String</Tone>
              <Value>0</Value>
            </SvcTint>
          </Tints>
          <UnstaffedSec>0</UnstaffedSec>
          <Utilization>0</Utilization>
          <Walkins>0</Walkins>
        </Metrics>
        <StateCode>String</StateCode>
        <StateName>String</StateName>
      </SvcStateRow>
    </States>
    <Total>
      <AbandonRate>0</AbandonRate>
      <Abandoned>0</Abandoned>
      <ApptNoShows>0</ApptNoShows>
      <Appts>0</Appts>
      <AvgFee>0</AvgFee>
      <AvgServiceSec>0</AvgServiceSec>
      <AvgWaitSec>0</AvgWaitSec>
      <AvgWalkUpSec>0</AvgWalkUpSec>
      <Called>0</Called>
      <CalledUp>0</CalledUp>
      <CancelledAtWindow>0</CancelledAtWindow>
      <Checkins>0</Checkins>
      <Contribution>0</Contribution>
      <ExpectedFeesPerStaffedHour>0</ExpectedFeesPerStaffedHour>
      <ExpectedServiceSec>0</ExpectedServiceSec>
      <FeesEarned>0</FeesEarned>
      <FeesPerStaffedHour>0</FeesPerStaffedHour>
      <HourlyCost xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:decimal>0</d4p1:decimal>
      </HourlyCost>
      <HourlyFees xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:decimal>0</d4p1:decimal>
      </HourlyFees>
      <HourlyServed xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>0</d4p1:int>
      </HourlyServed>
      <IdleSec>0</IdleSec>
      <IdleShare>0</IdleShare>
      <LaborCost>0</LaborCost>
      <LaborLocked>false</LaborLocked>
      <LaborPartial>false</LaborPartial>
      <LostFees>0</LostFees>
      <LostNoShowFees>0</LostNoShowFees>
      <MaxWaitSec>0</MaxWaitSec>
      <MedianServiceSec>0</MedianServiceSec>
      <MissingCost>
        <SvcNamedTime>
          <Id>00000000-0000-0000-0000-000000000000</Id>
          <Name>String</Name>
          <Served>0</Served>
          <SignedSec>0</SignedSec>
        </SvcNamedTime>
      </MissingCost>
      <MissingCostEmployeeIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>00000000-0000-0000-0000-000000000000</d4p1:guid>
      </MissingCostEmployeeIds>
      <Mix xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfguidint>
          <d4p1:Key>00000000-0000-0000-0000-000000000000</d4p1:Key>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:KeyValueOfguidint>
      </Mix>
      <NoShowRate>0</NoShowRate>
      <NoShows>0</NoShows>
      <OpenDays>0</OpenDays>
      <PausedSec>0</PausedSec>
      <PausedShare>0</PausedShare>
      <Served>0</Served>
      <ServingSec>0</ServingSec>
      <Sessions>0</Sessions>
      <SignedSec>0</SignedSec>
      <Tints>
        <SvcTint>
          <BranchValue>0</BranchValue>
          <Field>String</Field>
          <Reason>String</Reason>
          <Reference>0</Reference>
          <Tone>String</Tone>
          <Value>0</Value>
        </SvcTint>
      </Tints>
      <UnstaffedSec>0</UnstaffedSec>
      <Utilization>0</Utilization>
      <Walkins>0</Walkins>
    </Total>
    <Workers>
      <SvcWorkerRow>
        <AvgServiceSec>0</AvgServiceSec>
        <BranchId>00000000-0000-0000-0000-000000000000</BranchId>
        <BranchName>String</BranchName>
        <EmployeeId>00000000-0000-0000-0000-000000000000</EmployeeId>
        <Name>String</Name>
        <Served>0</Served>
        <Utilization>0</Utilization>
      </SvcWorkerRow>
    </Workers>
  </Scope>
  <ServicesByType>
    <Name>String</Name>
    <Points>
      <DashboardSeriesPoint>
        <Label>String</Label>
        <Value>0</Value>
      </DashboardSeriesPoint>
    </Points>
  </ServicesByType>
  <Stats>
    <DashboardStatTile>
      <Key>String</Key>
      <Label>String</Label>
      <PreviousValue>0</PreviousValue>
      <Unit>String</Unit>
      <Value>0</Value>
    </DashboardStatTile>
  </Stats>
  <Trend>
    <DashboardSeries>
      <Name>String</Name>
      <Points>
        <DashboardSeriesPoint>
          <Label>String</Label>
          <Value>0</Value>
        </DashboardSeriesPoint>
      </Points>
    </DashboardSeries>
  </Trend>
  <WorkerProductivity>
    <KpiV2WorkerRow>
      <AvgServiceMinutes>0</AvgServiceMinutes>
      <Completed>0</Completed>
      <WorkerName>String</WorkerName>
    </KpiV2WorkerRow>
  </WorkerProductivity>
</KpiV2Response>