Skip to content

Task Gallery Detail API

This API is for getting detailed information of a task template in EngineerForce system.

Endpoint
GET
/api/v2/projectgallerytasks/{PROJECT_GALLERY_TASK_ID}/

Example Request

curl --location --request GET 'https://app.engineerforce.io/api/v2/projectgallerytasks/{PROJECT_GALLERY_TASK_ID}/'\
--header 'Authorization: API-Token {{YOUR_API_TOKEN}}'
var axios = require('axios');

var config = {
  method: 'get',
  url: 'https://app.engineerforce.io/api/v2/projectgallerytasks/{PROJECT_GALLERY_TASK_ID}/',
  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/projectgallery/{PROJECT_GALLERY_TASK_ID}/")
  .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/projectgallery/{PROJECT_GALLERY_TASK_ID}/'

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

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

print(response.text)

Example Response

{
    "url": "https://app.engineerforce.io/api/v2/projectgallerytasks/2553/",
    "id": 2553,
    "ordering": 0,
    "taskName": "Time Card Screen",
    "projectId": 10028,
    "description": "",
    "timeValue": 16.0,
    "timeUnit": "H",
    "comment": "",
    "productivity": "4 item per hour",
    "taskSize": "64 item",
    "riskTimeHourValue": 17.6,
    "riskTimeDayValue": 0.0,
    "riskTimeWeekValue": 0.0,
    "riskTimeMonthValue": 0.0,
    "timeHourValue": 16.0,
    "timeWeekValue": 0.0,
    "timeDayValue": 0.0,
    "timeMonthValue": 0.0,
    "level": 2,
    "parent": 2552,
    "task_risk_coe": 10,
    "amount": 0.0
}