Skip to content

Get Reported Report

Note

This API is used for getting the daily report which is created already.

Action Parameters Description
get date Get the reported daily report.
Endpoint
GET
/api/v2/dailyreport/get_report/?date={date}

Example Request

curl --location --request GET 'https://app.engineerforce.io/api/v2/dailyreport/get_report/?date=2022-12-5'\
--header 'Authorization: API-Token {{YOUR_API_TOKEN}}'
var axios = require('axios');

var config = {
  method: 'get',
  url: 'https://app.engineerforce.io/api/v2/dailyreport/get_report/?date=2022-12-5',
  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_report/?date=2022-12-5')
  .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/get_report/?date=2022-12-5'

payload={}
headers = {'Authorization': 'API-Token {{YOUR_API_TOKEN}}' }

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

Example Response

{
    "id": 135,
    "receiver": {
        "id": 2,
        "fullname": "george",
        "email": "bossmail@co.io"
    },
    "tomorrow_summary": "adding ...",
    "today_summary": "worked on the most important task...",
    "date": "2022-12-05",
    "writer": {
        "id": 320,
        "fullname": "zaw ye",
        "email": "testing100@co.io"
    },
    "task_records": [
        {
            "project": "test project",
            "tasks": [
                {
                    "taskName": "test project no. 6 - project changes",
                    "totalHour": 4.0,
                    "description": "updating on suggesstions",
                    "startTime": null,
                    "endTime": null,
                    "progressRate": 90,
                    "projectName": "test project",
                    "id": 98,
                    "level": 3,
                    "parent": 19406,
                    "assignee": {
                        "id": 564,
                        "imageUrl": null,
                        "mailAddress": "testing100@co.io",
                        "name": "zaw ye",
                        "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
                            }
                        ]
                    }
                }
            ]
        }
    ],
    "other_tasks": [
        {
            "id": 71,
            "task_name": "meeting",
            "start_time": null,
            "end_time": null,
            "total_time": 1.0,
            "task_comment": ""
        }
    ]
}