Hi,
I’m trying to get the status of tasks based on the workfile, but using only one request… I’m using postman for these tests…
The url I’m using is the following:
{{host}}/api/v1/entity/:entity?fields=sg_entity.Asset.code,sg_path,sg_task&filter[project.Project.id]=278
This url returns the name of the assets, the path of the workfile and the task associated with the workfile…
But I couldn’t get the status of the task…
"relationships": {
"sg_task": {
"data": [
{
"id": 6828,
"template_task_id": 6399,
"name": "Rig",
"type": "Task"
}
],
"links": {
"self": "/api/v1/entity/custom_entity04s/509/relationships/sg_task"
}
}
Is there any way I could get the task status using only one request? Or should I do one search for each task to get its status?
Thank you