Trendsic Platform Service

<back to all web services

KpiV2BranchRequest

Requires Authentication
The following routes are available for this service:
POST,OPTIONS/v1/dashboard/kpiv2/branch
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class KpiV2BranchRequest
{
    open var BranchId:UUID? = null
    open var FromDate:Date? = null
    open var ToDate:Date? = null
    open var Compare:String? = null
}

open class KpiV2BranchResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var Branch:SvcBranchDetail? = null
}

open class SvcBranchDetail
{
    open var Branch:SvcBranchRow? = null
    open var Windows:ArrayList<SvcWindowRow> = ArrayList<SvcWindowRow>()
    open var Clerks:ArrayList<SvcClerkRow> = ArrayList<SvcClerkRow>()
    open var Unassigned:SvcMetrics? = null
    open var NoClerk:SvcMetrics? = null
    open var PerWindowAverage:SvcAverage? = null
    open var PerClerkAverage:SvcAverage? = null
    open var OpenDays:Int? = null
    open var IsLive:Boolean? = null
    open var Comparison:SvcComparison? = null
    open var Coverage:SvcCoverage? = null
    open var Services:ArrayList<SvcServiceRow> = ArrayList<SvcServiceRow>()
    open var ByHour:ArrayList<SvcHourRow> = ArrayList<SvcHourRow>()
    open var Alerts:ArrayList<SvcAlert> = ArrayList<SvcAlert>()
    open var TotalsAgree:Boolean? = null
    open var CanSeeStaff:Boolean? = null
    open var CanSeeFinancial:Boolean? = null
    open var CanSeePay:Boolean? = null
}

open class SvcBranchRow
{
    open var BranchId:UUID? = null
    open var Name:String? = null
    open var StateCode:String? = null
    open var ZoneCode:String? = null
    open var TimeZone:String? = null
    open var Windows:Int? = null
    open var RecordingSinceUtc:Date? = null
    open var SessionsSinceUtc:Date? = null
    open var Metrics:SvcMetrics? = null
}

open class SvcMetrics
{
    open var Checkins:Int? = null
    open var Walkins:Int? = null
    open var Appts:Int? = null
    open var Served:Int? = null
    open var NoShows:Int? = null
    open var ApptNoShows:Int? = null
    open var CancelledAtWindow:Int? = null
    open var Abandoned:Int? = null
    open var Called:Int? = null
    open var CalledUp:Int? = null
    open var AbandonRate:Double? = null
    open var NoShowRate:Double? = null
    open var AvgServiceSec:Double? = null
    open var MedianServiceSec:Double? = null
    open var AvgWaitSec:Double? = null
    open var MaxWaitSec:Int? = null
    open var AvgWalkUpSec:Double? = null
    open var ExpectedServiceSec:Double? = null
    open var SignedSec:Long? = null
    open var ServingSec:Long? = null
    open var PausedSec:Long? = null
    open var IdleSec:Long? = null
    open var UnstaffedSec:Long? = null
    open var Utilization:Double? = null
    open var IdleShare:Double? = null
    open var PausedShare:Double? = null
    open var Sessions:Int? = null
    open var OpenDays:Int? = null
    open var FeesEarned:BigDecimal? = null
    open var AvgFee:BigDecimal? = null
    open var FeesPerStaffedHour:BigDecimal? = null
    open var ExpectedFeesPerStaffedHour:BigDecimal? = null
    open var LaborCost:BigDecimal? = null
    open var LaborPartial:Boolean? = null
    open var MissingCostEmployeeIds:ArrayList<UUID> = ArrayList<UUID>()
    open var MissingCost:ArrayList<SvcNamedTime> = ArrayList<SvcNamedTime>()
    open var LaborLocked:Boolean? = null
    open var Contribution:BigDecimal? = null
    open var LostFees:BigDecimal? = null
    open var LostNoShowFees:BigDecimal? = null
    open var Mix:HashMap<UUID,Int> = HashMap<UUID,Int>()
    open var HourlyServed:ArrayList<Int> = ArrayList<Int>()
    open var HourlyFees:ArrayList<BigDecimal> = ArrayList<BigDecimal>()
    open var HourlyCost:ArrayList<BigDecimal> = ArrayList<BigDecimal>()
    open var Tints:ArrayList<SvcTint> = ArrayList<SvcTint>()
}

open class SvcNamedTime
{
    open var Id:UUID? = null
    open var Name:String? = null
    open var SignedSec:Long? = null
    open var Served:Int? = null
}

open class SvcTint
{
    open var Field:String? = null
    open var Tone:String? = null
    open var Reason:String? = null
    open var Value:Double? = null
    open var Reference:Double? = null
    open var BranchValue:Double? = null
}

open class SvcWindowRow
{
    open var StationId:UUID? = null
    open var Name:String? = null
    open var Clerks:ArrayList<SvcNamedTime> = ArrayList<SvcNamedTime>()
    open var NeverStaffed:Boolean? = null
    open var LastStaffedUtc:Date? = null
    open var LastStaffedBy:String? = null
    open var Metrics:SvcMetrics? = null
}

open class SvcClerkRow
{
    open var EmployeeId:UUID? = null
    open var Name:String? = null
    open var Windows:ArrayList<SvcNamedTime> = ArrayList<SvcNamedTime>()
    open var LoadedRate:BigDecimal? = null
    open var RateSet:Boolean? = null
    open var RateLocked:Boolean? = null
    open var Metrics:SvcMetrics? = null
}

open class SvcAverage
{
    open var Count:Int? = null
    open var Served:Double? = null
    open var AvgServiceSec:Double? = null
    open var MedianServiceSec:Double? = null
    open var AvgWaitSec:Double? = null
    open var Utilization:Double? = null
    open var IdleSec:Double? = null
    open var PausedSec:Double? = null
    open var NoShows:Double? = null
    open var SignedSec:Double? = null
    open var FeesEarned:BigDecimal? = null
    open var FeesPerStaffedHour:BigDecimal? = null
    open var LaborCost:BigDecimal? = null
    open var Contribution:BigDecimal? = null
    open var LostNoShowFees:BigDecimal? = null
}

open class SvcComparison
{
    open var Mode:String? = null
    open var FromDate:Date? = null
    open var ToDate:Date? = null
    open var CutoffMinute:Int? = null
    open var HasData:Boolean? = null
    open var Metrics:SvcMetrics? = null
}

open class SvcCoverage
{
    open var StartLocalMinute:Int? = null
    open var BucketMinutes:Int? = null
    open var Rows:ArrayList<SvcCoverageRow> = ArrayList<SvcCoverageRow>()
    open var InLine:ArrayList<Double> = ArrayList<Double>()
    open var GapBands:ArrayList<ArrayList<Int>> = ArrayList<ArrayList<Int>>()
    open var Days:Int? = null
    open var NotRecorded:Boolean? = null
    open var FutureFromIndex:Int? = null
}

open class SvcCoverageRow
{
    open var StationId:UUID? = null
    open var Name:String? = null
    open var Buckets:ArrayList<SvcCoverageBucket> = ArrayList<SvcCoverageBucket>()
}

open class SvcCoverageBucket
{
    open var ServingPct:Double? = null
    open var IdlePct:Double? = null
    open var PausedPct:Double? = null
    open var UnstaffedPct:Double? = null
}

open class SvcServiceRow
{
    open var LineId:UUID? = null
    open var Name:String? = null
    open var Completed:Int? = null
    open var AvgServiceSec:Double? = null
    open var BranchAvgServiceSec:Double? = null
    open var FeesEarned:BigDecimal? = null
    open var FeeCurrent:BigDecimal? = null
    open var FeeMin:BigDecimal? = null
    open var FeeMax:BigDecimal? = null
    open var FeePerMinute:BigDecimal? = null
    open var BranchFeePerMinute:BigDecimal? = null
    open var FeeChanges:ArrayList<SvcFeeChange> = ArrayList<SvcFeeChange>()
}

open class SvcFeeChange
{
    open var LocationId:UUID? = null
    open var OnDate:Date? = null
    open var FromFee:BigDecimal? = null
    open var ToFee:BigDecimal? = null
}

open class SvcHourRow
{
    open var LocalHour:Int? = null
    open var Served:Int? = null
    open var FeesEarned:BigDecimal? = null
    open var CostToStaff:BigDecimal? = null
}

open class SvcAlert
{
    open var Level:String? = null
    open var View:String? = null
    open var Code:String? = null
    open var StationId:UUID? = null
    open var EmployeeId:UUID? = null
    open var BranchId:UUID? = null
    open var LineId:UUID? = null
    open var Name:String? = null
    open var OtherLineId:UUID? = null
    open var OtherName:String? = null
    open var StationIds:ArrayList<UUID> = ArrayList<UUID>()
    open var Values:HashMap<String,Double> = HashMap<String,Double>()
}

Kotlin KpiV2BranchRequest 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/branch HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<KpiV2BranchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <BranchId>00000000-0000-0000-0000-000000000000</BranchId>
  <Compare>String</Compare>
  <FromDate>0001-01-01T00:00:00</FromDate>
  <ToDate>0001-01-01T00:00:00</ToDate>
</KpiV2BranchRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<KpiV2BranchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <Branch>
    <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>
    <Branch>
      <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: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>
      <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>
    </Branch>
    <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>
    <Clerks>
      <SvcClerkRow>
        <EmployeeId>00000000-0000-0000-0000-000000000000</EmployeeId>
        <LoadedRate>0</LoadedRate>
        <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>
        <RateLocked>false</RateLocked>
        <RateSet>false</RateSet>
        <Windows>
          <SvcNamedTime>
            <Id>00000000-0000-0000-0000-000000000000</Id>
            <Name>String</Name>
            <Served>0</Served>
            <SignedSec>0</SignedSec>
          </SvcNamedTime>
        </Windows>
      </SvcClerkRow>
    </Clerks>
    <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>
    <Coverage>
      <BucketMinutes>0</BucketMinutes>
      <Days>0</Days>
      <FutureFromIndex>0</FutureFromIndex>
      <GapBands xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:ArrayOfint>
          <d4p1:int>0</d4p1:int>
        </d4p1:ArrayOfint>
      </GapBands>
      <InLine xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:double>0</d4p1:double>
      </InLine>
      <NotRecorded>false</NotRecorded>
      <Rows>
        <SvcCoverageRow>
          <Buckets>
            <SvcCoverageBucket>
              <IdlePct>0</IdlePct>
              <PausedPct>0</PausedPct>
              <ServingPct>0</ServingPct>
              <UnstaffedPct>0</UnstaffedPct>
            </SvcCoverageBucket>
          </Buckets>
          <Name>String</Name>
          <StationId>00000000-0000-0000-0000-000000000000</StationId>
        </SvcCoverageRow>
      </Rows>
      <StartLocalMinute>0</StartLocalMinute>
    </Coverage>
    <IsLive>false</IsLive>
    <NoClerk>
      <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>
    </NoClerk>
    <OpenDays>0</OpenDays>
    <PerClerkAverage>
      <AvgServiceSec>0</AvgServiceSec>
      <AvgWaitSec>0</AvgWaitSec>
      <Contribution>0</Contribution>
      <Count>0</Count>
      <FeesEarned>0</FeesEarned>
      <FeesPerStaffedHour>0</FeesPerStaffedHour>
      <IdleSec>0</IdleSec>
      <LaborCost>0</LaborCost>
      <LostNoShowFees>0</LostNoShowFees>
      <MedianServiceSec>0</MedianServiceSec>
      <NoShows>0</NoShows>
      <PausedSec>0</PausedSec>
      <Served>0</Served>
      <SignedSec>0</SignedSec>
      <Utilization>0</Utilization>
    </PerClerkAverage>
    <PerWindowAverage>
      <AvgServiceSec>0</AvgServiceSec>
      <AvgWaitSec>0</AvgWaitSec>
      <Contribution>0</Contribution>
      <Count>0</Count>
      <FeesEarned>0</FeesEarned>
      <FeesPerStaffedHour>0</FeesPerStaffedHour>
      <IdleSec>0</IdleSec>
      <LaborCost>0</LaborCost>
      <LostNoShowFees>0</LostNoShowFees>
      <MedianServiceSec>0</MedianServiceSec>
      <NoShows>0</NoShows>
      <PausedSec>0</PausedSec>
      <Served>0</Served>
      <SignedSec>0</SignedSec>
      <Utilization>0</Utilization>
    </PerWindowAverage>
    <Services>
      <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>
    </Services>
    <TotalsAgree>false</TotalsAgree>
    <Unassigned>
      <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>
    </Unassigned>
    <Windows>
      <SvcWindowRow>
        <Clerks>
          <SvcNamedTime>
            <Id>00000000-0000-0000-0000-000000000000</Id>
            <Name>String</Name>
            <Served>0</Served>
            <SignedSec>0</SignedSec>
          </SvcNamedTime>
        </Clerks>
        <LastStaffedBy>String</LastStaffedBy>
        <LastStaffedUtc>0001-01-01T00:00:00</LastStaffedUtc>
        <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>
        <NeverStaffed>false</NeverStaffed>
        <StationId>00000000-0000-0000-0000-000000000000</StationId>
      </SvcWindowRow>
    </Windows>
  </Branch>
  <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>
</KpiV2BranchResponse>