POST api/report/personalDailyWork
Get personal daily work summary by person id and the date
Request Information
URI Parameters
None.
Body Parameters
DailyWorkReportBinderName | Description | Type | Additional information |
---|---|---|---|
PersonId | integer |
None. |
|
Date | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "PersonId": 1, "Date": "2024-12-29 02:43:16" }
application/xml, text/xml
Sample:
<DailyWorkReportBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Report"> <Date>2024-12-29T06:43:16.0699249-08:00</Date> <PersonId>1</PersonId> </DailyWorkReportBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Get personal daily work summary by person id and the date
API_Data_WorkSummaryName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | WorkSummary |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "TimeSpent": "0.1h", "TimeRemain": "0.1h", "CompletedPoints": 1, "CompletedTaskCount": 2, "UncompletedTaskCount": 3 } }
application/xml, text/xml
Sample:
<API_Data_WorkSummary 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.Report"> <d2p1:CompletedPoints>1</d2p1:CompletedPoints> <d2p1:CompletedTaskCount>2</d2p1:CompletedTaskCount> <d2p1:TimeRemainInt>5</d2p1:TimeRemainInt> <d2p1:TimeSpentInt>4</d2p1:TimeSpentInt> <d2p1:UncompletedTaskCount>3</d2p1:UncompletedTaskCount> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_WorkSummary>