POST api/employee/detailedSummary
Get employee's dading summary for a period of time
Request Information
URI Parameters
None.
Body Parameters
GetDadingSummaryBinderName | Description | Type | Additional information |
---|---|---|---|
ProjectBaseId | integer |
None. |
|
PersonIds | Collection of integer |
None. |
|
FromDate | date |
None. |
|
ToDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectBaseId": 1, "PersonIds": [ 1, 2 ], "FromDate": "2024-12-21 15:11:50", "ToDate": "2024-12-21 15:11:50" }
application/xml, text/xml
Sample:
<GetDadingSummaryBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <FromDate>2024-12-21T19:11:50.666462-08:00</FromDate> <PersonIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </PersonIds> <ProjectBaseId>1</ProjectBaseId> <ToDate>2024-12-21T19:11:50.666462-08:00</ToDate> </GetDadingSummaryBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Get employee's dading summary for a period of time
API_Data_IEnumerableOfEmployeeDadingSummaryName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of EmployeeDadingSummary |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "PersonId": 1, "TotalSummary": { "TotalCount": 2, "TotalDuration": "4m", "TotalMinutes": 4 }, "Details": [ { "RequesterId": 1, "RequesterName": "sample string 2", "Amount": { "TotalCount": 1, "TotalDuration": "2m", "TotalMinutes": 2 } }, { "RequesterId": 1, "RequesterName": "sample string 2", "Amount": { "TotalCount": 1, "TotalDuration": "2m", "TotalMinutes": 2 } } ] }, { "PersonId": 1, "TotalSummary": { "TotalCount": 2, "TotalDuration": "4m", "TotalMinutes": 4 }, "Details": [ { "RequesterId": 1, "RequesterName": "sample string 2", "Amount": { "TotalCount": 1, "TotalDuration": "2m", "TotalMinutes": 2 } }, { "RequesterId": 1, "RequesterName": "sample string 2", "Amount": { "TotalCount": 1, "TotalDuration": "2m", "TotalMinutes": 2 } } ] } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfEmployeeDadingSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d2p1:EmployeeDadingSummary> <d2p1:Details> <d2p1:GroupedDadingAmountsByRequest> <d2p1:Amount> <d2p1:TotalCount>1</d2p1:TotalCount> <d2p1:TotalMinutes>2</d2p1:TotalMinutes> </d2p1:Amount> <d2p1:RequesterId>1</d2p1:RequesterId> <d2p1:RequesterName>sample string 2</d2p1:RequesterName> </d2p1:GroupedDadingAmountsByRequest> <d2p1:GroupedDadingAmountsByRequest> <d2p1:Amount> <d2p1:TotalCount>1</d2p1:TotalCount> <d2p1:TotalMinutes>2</d2p1:TotalMinutes> </d2p1:Amount> <d2p1:RequesterId>1</d2p1:RequesterId> <d2p1:RequesterName>sample string 2</d2p1:RequesterName> </d2p1:GroupedDadingAmountsByRequest> </d2p1:Details> <d2p1:PersonId>1</d2p1:PersonId> </d2p1:EmployeeDadingSummary> <d2p1:EmployeeDadingSummary> <d2p1:Details> <d2p1:GroupedDadingAmountsByRequest> <d2p1:Amount> <d2p1:TotalCount>1</d2p1:TotalCount> <d2p1:TotalMinutes>2</d2p1:TotalMinutes> </d2p1:Amount> <d2p1:RequesterId>1</d2p1:RequesterId> <d2p1:RequesterName>sample string 2</d2p1:RequesterName> </d2p1:GroupedDadingAmountsByRequest> <d2p1:GroupedDadingAmountsByRequest> <d2p1:Amount> <d2p1:TotalCount>1</d2p1:TotalCount> <d2p1:TotalMinutes>2</d2p1:TotalMinutes> </d2p1:Amount> <d2p1:RequesterId>1</d2p1:RequesterId> <d2p1:RequesterName>sample string 2</d2p1:RequesterName> </d2p1:GroupedDadingAmountsByRequest> </d2p1:Details> <d2p1:PersonId>1</d2p1:PersonId> </d2p1:EmployeeDadingSummary> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfEmployeeDadingSummary>