Get the created daily report of a team member
Note
This API is used for getting the daily report information of other member
Action | Parameters | Description |
---|---|---|
get |
report_date,team_id,user_email |
Get the daily report of other memeber. |
Endpoint
GET
Example Request
var axios = require('axios');
var config = {
method: 'get',
url: 'https://app.engineerforce.io/api/v2/dailyreport/check_other_individual_report/?user_email=tester@co.io&report_date=2022-11-01&team_id=110',
headers: { 'Authorization': 'API-Token {{YOUR_API_TOKEN}}' }
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url('https://app.engineerforce.io/api/v2/dailyreport/check_other_individual_report/?user_email=tester@co.io&report_date=2022-11-01&team_id=110')
.method("GET", body)
.addHeader("Authorization", "API-Token {{YOUR_API_TOKEN}}")
.build();
Response response = client.newCall(request).execute();
import requests
url = 'https://app.engineerforce.io/api/v2/dailyreport/check_other_individual_report/?user_email=tester@co.io&report_date=2022-11-01&team_id=110'
payload={}
headers = {'Authorization': 'API-Token {{YOUR_API_TOKEN}}' }
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
Example Response
{
"receiver": {
"id": 1,
"fullname": "mr wang",
"email": "wang@co.io"
},
"writer": {
"id": 101,
"fullname": "tester",
"email": "tester@co.io"
},
"tomorrow_summary": "",
"today_summary": "",
"date": "2022-11-01",
"task_records": [{
"project": "test",
"tasks": [{
"id": 18821,
"taskName": "task 101",
"timeUnit": "H",
"actualTimeValue": 0.0,
"parent": null,
"level": 0,
"isAdditional": false,
"taskProgressRate": 0,
"assignee_id": null,
"assignee": null
}, {
"id": 18823,
"taskName": "task 102",
"timeUnit": "H",
"actualTimeValue": 0.0,
"parent": 18821,
"level": 1,
"isAdditional": false,
"taskProgressRate": 0,
"assignee_id": null,
"assignee": null
}, {
"taskName": "task 103",
"totalHour": 3.0,
"description": "",
"startTime": "09:00:00",
"endTime": "12:00:00",
"progressRate": 100,
"isAdditional": false,
"projectName": "test",
"projectID": 1004,
"id": 18828,
"level": 2,
"parent": 18823,
"assignee": {
"id": 565,
"imageUrl": null,
"mailAddress": "tester@co.io",
"name": "tester",
"title": "Developer",
"employmentStatus": "F",
"termOfPositionStart": "2022-07-27",
"termOfPositionEnd": "2022-07-27",
"multi_prices": [{
"currency": "USD",
"unitPriceDay": 1000.0,
"costPriceDay": 500.0,
"unitPriceHour": 100.0,
"costPriceHour": 50.0,
"unitPriceWeek": 0.0,
"costPriceWeek": 0.0,
"unitPriceMonth": 0.0,
"costPriceMonth": 0.0
}, {
"currency": "JPY",
"unitPriceDay": 100000.0,
"costPriceDay": 50000.0,
"unitPriceHour": 10000.0,
"costPriceHour": 5000.0,
"unitPriceWeek": 300000.0,
"costPriceWeek": 150000.0,
"unitPriceMonth": 1000000.0,
"costPriceMonth": 500000.0
}, {
"currency": "MMK",
"unitPriceDay": 0.0,
"costPriceDay": 0.0,
"unitPriceHour": 1000.0,
"costPriceHour": 500.0,
"unitPriceWeek": 0.0,
"costPriceWeek": 0.0,
"unitPriceMonth": 0.0,
"costPriceMonth": 0.0
}]
}
}],
}],
"other_tasks": []
}