POST api/Reports/GetOperatorsPerformance
Gets operators performance report.
Request Information
URI Parameters
None.
Body Parameters
OperatorsPerformanceReportFilterPostName | Description | Type | Additional information |
---|---|---|---|
PageIndex |
Optional page index (default is 0). |
integer |
None. |
PageSize |
Optional page index (default is 200). |
integer |
None. |
FilterId |
Filter Id, if set |
integer |
None. |
OperatorGroupIds |
Filter by Operator group, if set |
Collection of integer |
None. |
OperatorProviderKeys |
Filter by Operator, if set |
Collection of string |
None. |
DepartmentId |
Filter by Department, if set |
integer |
None. |
ServiceIds |
Filter by Service, if set |
Collection of integer |
None. |
Sources |
Filter by Sources, if set |
Collection of integer |
None. |
DateFromUtc |
Filter by date from |
date |
None. |
DateUntilUtc |
Filter by date until |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "PageIndex": 1, "PageSize": 1, "FilterId": 1, "OperatorGroupIds": [ 1, 2 ], "OperatorProviderKeys": [ "sample string 1", "sample string 2" ], "DepartmentId": 1, "ServiceIds": [ 1, 2 ], "Sources": [ 1, 2 ], "DateFromUtc": "2024-12-22T23:28:14.3561371+01:00", "DateUntilUtc": "2024-12-22T23:28:14.3561371+01:00" }
application/xml, text/xml
Sample:
<OperatorsPerformanceReportFilterPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts"> <DateFromUtc>2024-12-22T23:28:14.3561371+01:00</DateFromUtc> <DateUntilUtc>2024-12-22T23:28:14.3561371+01:00</DateUntilUtc> <DepartmentId>1</DepartmentId> <FilterId>1</FilterId> <OperatorGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </OperatorGroupIds> <OperatorProviderKeys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </OperatorProviderKeys> <PageIndex>1</PageIndex> <PageSize>1</PageSize> <ServiceIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ServiceIds> <Sources xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </Sources> </OperatorsPerformanceReportFilterPost>
Response Information
Resource Description
GetOperatorsPerformanceResultName | Description | Type | Additional information |
---|---|---|---|
PagedOperatorsPerformance |
A page with Operators performance. |
OperatorsPerformanceData |
None. |
Response Formats
application/json, text/json
Sample:
{ "PagedOperatorsPerformance": { "PageIndex": 1, "PageSize": 2, "TotalItems": 3, "TotalPages": 4, "Items": [ { "OperatorKey": "sample string 1", "OperatorFullName": "sample string 2", "CreatedWebApi": 3, "CreatedAsEmail": 4, "TakenFromQueue": 5, "Assigned": 6, "Closed": 7, "Reopened": 8, "ChangedSolver": 9, "PublicCommentReplies": 10, "InternalCommentReplies": 11, "EmailReplies": 12, "Forwardings": 13 }, { "OperatorKey": "sample string 1", "OperatorFullName": "sample string 2", "CreatedWebApi": 3, "CreatedAsEmail": 4, "TakenFromQueue": 5, "Assigned": 6, "Closed": 7, "Reopened": 8, "ChangedSolver": 9, "PublicCommentReplies": 10, "InternalCommentReplies": 11, "EmailReplies": 12, "Forwardings": 13 } ] } }
application/xml, text/xml
Sample:
<GetOperatorsPerformanceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results"> <PagedOperatorsPerformance> <Items xmlns:d3p1="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.DataStructures"> <d3p1:OperatorsPerformanceData> <d3p1:Assigned>6</d3p1:Assigned> <d3p1:ChangedSolver>9</d3p1:ChangedSolver> <d3p1:Closed>7</d3p1:Closed> <d3p1:CreatedAsEmail>4</d3p1:CreatedAsEmail> <d3p1:CreatedWebApi>3</d3p1:CreatedWebApi> <d3p1:EmailReplies>12</d3p1:EmailReplies> <d3p1:Forwardings>13</d3p1:Forwardings> <d3p1:InternalCommentReplies>11</d3p1:InternalCommentReplies> <d3p1:OperatorFullName>sample string 2</d3p1:OperatorFullName> <d3p1:OperatorKey>sample string 1</d3p1:OperatorKey> <d3p1:PublicCommentReplies>10</d3p1:PublicCommentReplies> <d3p1:Reopened>8</d3p1:Reopened> <d3p1:TakenFromQueue>5</d3p1:TakenFromQueue> </d3p1:OperatorsPerformanceData> <d3p1:OperatorsPerformanceData> <d3p1:Assigned>6</d3p1:Assigned> <d3p1:ChangedSolver>9</d3p1:ChangedSolver> <d3p1:Closed>7</d3p1:Closed> <d3p1:CreatedAsEmail>4</d3p1:CreatedAsEmail> <d3p1:CreatedWebApi>3</d3p1:CreatedWebApi> <d3p1:EmailReplies>12</d3p1:EmailReplies> <d3p1:Forwardings>13</d3p1:Forwardings> <d3p1:InternalCommentReplies>11</d3p1:InternalCommentReplies> <d3p1:OperatorFullName>sample string 2</d3p1:OperatorFullName> <d3p1:OperatorKey>sample string 1</d3p1:OperatorKey> <d3p1:PublicCommentReplies>10</d3p1:PublicCommentReplies> <d3p1:Reopened>8</d3p1:Reopened> <d3p1:TakenFromQueue>5</d3p1:TakenFromQueue> </d3p1:OperatorsPerformanceData> </Items> <PageIndex>1</PageIndex> <PageSize>2</PageSize> <TotalItems>3</TotalItems> <TotalPages>4</TotalPages> </PagedOperatorsPerformance> </GetOperatorsPerformanceResult>