Get Related Tasks
Note
This API is used for getting the tasks related to the current user for daily report.
Action | Parameters | Description |
---|---|---|
get |
project_ids |
Get the related tasks of the current user |
Endpoint
Example Request
var axios = require('axios');
var config = {
method: 'get',
url: 'https://app.engineerforce.io/api/v2/dailyreport/get_tasks/?project_ids=1001',
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/get_tasks/?project_ids=1001')
.method("GET", body)
.addHeader("Authorization", "API-Token {{YOUR_API_TOKEN}}")
.build();
Response response = client.newCall(request).execute();
Example Response
[
{
"project": "test project",
"tasks": [
{
"id": 19,
"taskName": "test task",
"timeUnit": "week",
"actualTimeValue": 0.18,
"taskProgressRate": 0,
"assignee_id": 564,
"assignee": {
"id": 564,
"imageUrl": null,
"mailAddress": "testing001@gmail.com",
"name": "john",
"title": "Migrated",
"employmentStatus": "F",
"termOfPositionStart": "2022-04-25",
"termOfPositionEnd": "2022-04-25",
"multi_prices": [
{
"currency": "JPY",
"unitPriceDay": 100000.0,
"costPriceDay": 50000.0,
"unitPriceHour": 10000.0,
"costPriceHour": 5000.0,
"unitPriceWeek": 500000.0,
"costPriceWeek": 25000.0,
"unitPriceMonth": 1000000.0,
"costPriceMonth": 500000.0
},
{
"currency": "USD",
"unitPriceDay": 0.0,
"costPriceDay": 0.0,
"unitPriceHour": 5.0,
"costPriceHour": 2.0,
"unitPriceWeek": 0.0,
"costPriceWeek": 0.0,
"unitPriceMonth": 0.0,
"costPriceMonth": 0.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
}
]
},
"isUnitTask": true,
"parent": null,
"level": 0,
"isAdditional": false
}
]
}
]