Get the production schedule version task link rows. Give project_id to get the rows of a project. You must then be in the team of this project. Without project_id, you must be an administrator. A vendor or a client cannot call this route. Add a query parameter for each column to filter on, for example name=Modeling. The name filter does not make a difference between upper case and lower case. To get the rows that have one value of a list, give the list in JSON, for example task_status_id=["
Query parameters
-
Filter by project ID
-
Page to get. Without this parameter, the response has all the rows.
-
Number of rows in a page. The default value is 100.
-
Add the related data to each row
Default value is
false. -
Comma-separated list of the fields to get for each row. The response always has id and type. The names that are not fields are ignored.
curl -X GET "http://api.example.com/data/production-schedule-version-task-links?page=1&limit=50&relations=false&project_id=a24a6ea4-ce75-4665-a070-57453082c25" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
import requests
url = "http://api.example.com/data/production-schedule-version-task-links"
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
params = {
"page": 1,
"limit": 50,
"relations": false,
"project_id": "a24a6ea4-ce75-4665-a070-57453082c25"
}
payload = None
response = requests.get(
url,
headers=headers,
params=params,
json=payload
)
response.raise_for_status()
if response.content:
print(response.json())
[
{}
]
{
"data": [
{}
],
"total": 100,
"nb_pages": 2,
"limit": 50,
"offset": 0,
"page": 1
}