Get Completed Projects
Note
This API is used for getting completed projects of the current user. (projects which are completed with tasks assigned to the current user)
Action | Parameters | Description |
---|---|---|
get |
None |
Get completed projects. |
Endpoint
Example Request
var axios = require('axios');
var config = {
method: 'get',
url: 'https://app.engineerforce.io/api/v2/completedprojects/',
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/completedprojects/')
.method("GET", body)
.addHeader("Authorization", "API-Token {{YOUR_API_TOKEN}}")
.build();
Response response = client.newCall(request).execute();
Example Response
{
"count": 1,
"next": null,
"previous": null,
"results": [{
"url": "https://app.engineerforce.io/api/v2/projects/1000/",
"projectName": "Web Development 101",
"techStack": "PHP",
"remark": "",
"id": 1000,
"startDate": "2022-01-01",
"endDate": "2022-01-30",
"year": 2022,
"duration": "29 days",
"team": "7 Members"
}]
}