| POST,OPTIONS | /v1/dashboard/kpiv2/detail |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BranchId | body | Guid | No | |
| StationId | body | Guid? | No | |
| EmployeeId | body | Guid? | No | |
| FromDate | body | DateTime | No | |
| ToDate | body | DateTime | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Detail | form | SvcDetail | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Kind | form | string | No | |
| Window | form | SvcWindowRow | No | |
| Clerk | form | SvcClerkRow | No | |
| BranchMetrics | form | SvcMetrics | No | |
| PerRowAverage | form | SvcAverage | No | |
| Sessions | form | List<SvcSession> | No | |
| Services | form | List<SvcServiceRow> | No | |
| CanSeeStaff | form | bool | No | |
| CanSeeFinancial | form | bool | No | |
| CanSeePay | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StationId | form | Guid | No | |
| Name | form | string | No | |
| Clerks | form | List<SvcNamedTime> | No | |
| NeverStaffed | form | bool | No | |
| LastStaffedUtc | form | DateTime? | No | |
| LastStaffedBy | form | string | No | |
| Metrics | form | SvcMetrics | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| Name | form | string | No | |
| SignedSec | form | long | No | |
| Served | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Checkins | form | int | No | |
| Walkins | form | int | No | |
| Appts | form | int | No | |
| Served | form | int | No | |
| NoShows | form | int | No | |
| ApptNoShows | form | int | No | |
| CancelledAtWindow | form | int | No | |
| Abandoned | form | int | No | |
| Called | form | int | No | |
| CalledUp | form | int | No | |
| AbandonRate | form | double? | No | |
| NoShowRate | form | double? | No | |
| AvgServiceSec | form | double? | No | |
| MedianServiceSec | form | double? | No | |
| AvgWaitSec | form | double? | No | |
| MaxWaitSec | form | int | No | |
| AvgWalkUpSec | form | double? | No | |
| ExpectedServiceSec | form | double? | No | |
| SignedSec | form | long | No | |
| ServingSec | form | long | No | |
| PausedSec | form | long | No | |
| IdleSec | form | long | No | |
| UnstaffedSec | form | long | No | |
| Utilization | form | double? | No | |
| IdleShare | form | double? | No | |
| PausedShare | form | double? | No | |
| Sessions | form | int | No | |
| OpenDays | form | int | No | |
| FeesEarned | form | decimal? | No | |
| AvgFee | form | decimal? | No | |
| FeesPerStaffedHour | form | decimal? | No | |
| ExpectedFeesPerStaffedHour | form | decimal? | No | |
| LaborCost | form | decimal? | No | |
| LaborPartial | form | bool | No | |
| MissingCostEmployeeIds | form | List<Guid> | No | |
| MissingCost | form | List<SvcNamedTime> | No | |
| LaborLocked | form | bool | No | |
| Contribution | form | decimal? | No | |
| LostFees | form | decimal? | No | |
| LostNoShowFees | form | decimal? | No | |
| Mix | form | Dictionary<Guid, int> | No | |
| HourlyServed | form | int[] | No | |
| HourlyFees | form | decimal[] | No | |
| HourlyCost | form | decimal[] | No | |
| Tints | form | List<SvcTint> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Field | form | string | No | |
| Tone | form | string | No | |
| Reason | form | string | No | |
| Value | form | double? | No | |
| Reference | form | double? | No | |
| BranchValue | form | double? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EmployeeId | form | Guid | No | |
| Name | form | string | No | |
| Windows | form | List<SvcNamedTime> | No | |
| LoadedRate | form | decimal? | No | |
| RateSet | form | bool | No | |
| RateLocked | form | bool | No | |
| Metrics | form | SvcMetrics | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Count | form | int | No | |
| Served | form | double | No | |
| AvgServiceSec | form | double? | No | |
| MedianServiceSec | form | double? | No | |
| AvgWaitSec | form | double? | No | |
| Utilization | form | double? | No | |
| IdleSec | form | double | No | |
| PausedSec | form | double | No | |
| NoShows | form | double | No | |
| SignedSec | form | double | No | |
| FeesEarned | form | decimal? | No | |
| FeesPerStaffedHour | form | decimal? | No | |
| LaborCost | form | decimal? | No | |
| Contribution | form | decimal? | No | |
| LostNoShowFees | form | decimal? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SessionId | form | Guid | No | |
| StationId | form | Guid | No | |
| StationName | form | string | No | |
| EmployeeId | form | Guid | No | |
| EmployeeName | form | string | No | |
| LocalIn | form | DateTime | No | |
| LocalOut | form | DateTime | No | |
| IsOpen | form | bool | No | |
| EndReason | form | string | No | |
| PausedSec | form | long | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LineId | form | Guid | No | |
| Name | form | string | No | |
| Completed | form | int | No | |
| AvgServiceSec | form | double? | No | |
| BranchAvgServiceSec | form | double? | No | |
| FeesEarned | form | decimal? | No | |
| FeeCurrent | form | decimal? | No | |
| FeeMin | form | decimal? | No | |
| FeeMax | form | decimal? | No | |
| FeePerMinute | form | decimal? | No | |
| BranchFeePerMinute | form | decimal? | No | |
| FeeChanges | form | List<SvcFeeChange> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LocationId | form | Guid | No | |
| OnDate | form | DateTime | No | |
| FromFee | form | decimal | No | |
| ToFee | form | decimal | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/dashboard/kpiv2/detail HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
BranchId: 00000000000000000000000000000000,
StationId: 00000000000000000000000000000000,
EmployeeId: 00000000000000000000000000000000,
FromDate: 0001-01-01,
ToDate: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Detail:
{
Kind: String,
Window:
{
StationId: 00000000000000000000000000000000,
Name: String,
Clerks:
[
{
Id: 00000000000000000000000000000000,
Name: String,
SignedSec: 0,
Served: 0
}
],
NeverStaffed: False,
LastStaffedUtc: 0001-01-01,
LastStaffedBy: String,
Metrics:
{
Checkins: 0,
Walkins: 0,
Appts: 0,
Served: 0,
NoShows: 0,
ApptNoShows: 0,
CancelledAtWindow: 0,
Abandoned: 0,
Called: 0,
CalledUp: 0,
AbandonRate: 0,
NoShowRate: 0,
AvgServiceSec: 0,
MedianServiceSec: 0,
AvgWaitSec: 0,
MaxWaitSec: 0,
AvgWalkUpSec: 0,
ExpectedServiceSec: 0,
SignedSec: 0,
ServingSec: 0,
PausedSec: 0,
IdleSec: 0,
UnstaffedSec: 0,
Utilization: 0,
IdleShare: 0,
PausedShare: 0,
Sessions: 0,
OpenDays: 0,
FeesEarned: 0,
AvgFee: 0,
FeesPerStaffedHour: 0,
ExpectedFeesPerStaffedHour: 0,
LaborCost: 0,
LaborPartial: False,
MissingCostEmployeeIds:
[
00000000000000000000000000000000
],
MissingCost:
[
{
Id: 00000000000000000000000000000000,
Name: String,
SignedSec: 0,
Served: 0
}
],
LaborLocked: False,
Contribution: 0,
LostFees: 0,
LostNoShowFees: 0,
Mix:
{
00000000000000000000000000000000: 0
},
HourlyServed:
[
0
],
HourlyFees:
[
0
],
HourlyCost:
[
0
],
Tints:
[
{
Field: String,
Tone: String,
Reason: String,
Value: 0,
Reference: 0,
BranchValue: 0
}
]
}
},
Clerk:
{
EmployeeId: 00000000000000000000000000000000,
Name: String,
Windows:
[
{
Id: 00000000000000000000000000000000,
Name: String,
SignedSec: 0,
Served: 0
}
],
LoadedRate: 0,
RateSet: False,
RateLocked: False,
Metrics:
{
Checkins: 0,
Walkins: 0,
Appts: 0,
Served: 0,
NoShows: 0,
ApptNoShows: 0,
CancelledAtWindow: 0,
Abandoned: 0,
Called: 0,
CalledUp: 0,
AbandonRate: 0,
NoShowRate: 0,
AvgServiceSec: 0,
MedianServiceSec: 0,
AvgWaitSec: 0,
MaxWaitSec: 0,
AvgWalkUpSec: 0,
ExpectedServiceSec: 0,
SignedSec: 0,
ServingSec: 0,
PausedSec: 0,
IdleSec: 0,
UnstaffedSec: 0,
Utilization: 0,
IdleShare: 0,
PausedShare: 0,
Sessions: 0,
OpenDays: 0,
FeesEarned: 0,
AvgFee: 0,
FeesPerStaffedHour: 0,
ExpectedFeesPerStaffedHour: 0,
LaborCost: 0,
LaborPartial: False,
MissingCostEmployeeIds:
[
00000000000000000000000000000000
],
MissingCost:
[
{
Id: 00000000000000000000000000000000,
Name: String,
SignedSec: 0,
Served: 0
}
],
LaborLocked: False,
Contribution: 0,
LostFees: 0,
LostNoShowFees: 0,
Mix:
{
00000000000000000000000000000000: 0
},
HourlyServed:
[
0
],
HourlyFees:
[
0
],
HourlyCost:
[
0
],
Tints:
[
{
Field: String,
Tone: String,
Reason: String,
Value: 0,
Reference: 0,
BranchValue: 0
}
]
}
},
BranchMetrics:
{
Checkins: 0,
Walkins: 0,
Appts: 0,
Served: 0,
NoShows: 0,
ApptNoShows: 0,
CancelledAtWindow: 0,
Abandoned: 0,
Called: 0,
CalledUp: 0,
AbandonRate: 0,
NoShowRate: 0,
AvgServiceSec: 0,
MedianServiceSec: 0,
AvgWaitSec: 0,
MaxWaitSec: 0,
AvgWalkUpSec: 0,
ExpectedServiceSec: 0,
SignedSec: 0,
ServingSec: 0,
PausedSec: 0,
IdleSec: 0,
UnstaffedSec: 0,
Utilization: 0,
IdleShare: 0,
PausedShare: 0,
Sessions: 0,
OpenDays: 0,
FeesEarned: 0,
AvgFee: 0,
FeesPerStaffedHour: 0,
ExpectedFeesPerStaffedHour: 0,
LaborCost: 0,
LaborPartial: False,
MissingCostEmployeeIds:
[
00000000000000000000000000000000
],
MissingCost:
[
{
Id: 00000000000000000000000000000000,
Name: String,
SignedSec: 0,
Served: 0
}
],
LaborLocked: False,
Contribution: 0,
LostFees: 0,
LostNoShowFees: 0,
Mix:
{
00000000000000000000000000000000: 0
},
HourlyServed:
[
0
],
HourlyFees:
[
0
],
HourlyCost:
[
0
],
Tints:
[
{
Field: String,
Tone: String,
Reason: String,
Value: 0,
Reference: 0,
BranchValue: 0
}
]
},
PerRowAverage:
{
Count: 0,
Served: 0,
AvgServiceSec: 0,
MedianServiceSec: 0,
AvgWaitSec: 0,
Utilization: 0,
IdleSec: 0,
PausedSec: 0,
NoShows: 0,
SignedSec: 0,
FeesEarned: 0,
FeesPerStaffedHour: 0,
LaborCost: 0,
Contribution: 0,
LostNoShowFees: 0
},
Sessions:
[
{
SessionId: 00000000000000000000000000000000,
StationId: 00000000000000000000000000000000,
StationName: String,
EmployeeId: 00000000000000000000000000000000,
EmployeeName: String,
LocalIn: 0001-01-01,
LocalOut: 0001-01-01,
IsOpen: False,
EndReason: String,
PausedSec: 0
}
],
Services:
[
{
LineId: 00000000000000000000000000000000,
Name: String,
Completed: 0,
AvgServiceSec: 0,
BranchAvgServiceSec: 0,
FeesEarned: 0,
FeeCurrent: 0,
FeeMin: 0,
FeeMax: 0,
FeePerMinute: 0,
BranchFeePerMinute: 0,
FeeChanges:
[
{
LocationId: 00000000000000000000000000000000,
OnDate: 0001-01-01,
FromFee: 0,
ToFee: 0
}
]
}
],
CanSeeStaff: False,
CanSeeFinancial: False,
CanSeePay: False
}
}