List production plans
GET/api/production-plans
Required permissions:
- production_plan.view: allows view resources of projects where the user is the PM or the Account.
- production_plan.view_other: allows view resources of projects where the user is not the PM nor the Account.
Here the dedicated support page.
Request
Query Parameters
- On a date
- Greater than
- Lower than
Possible values: <= 100
Default value: 100
The number of items to include in the response.
Default value: 0
The offset of the first returned item.
Filter items by the updated_at field. This is in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Filter items updated on a date.
Example: 2024-01-01T20:00:00%2B02:00
Filter items updated after a date.
Example: gt:2024-01-01T20:00:00%2B02:00
Filter items updated before a date.
Example: lt:2024-01-01T20:00:00%2B02:00
The id of the project to which the production plans must belong.
Header Parameters
The company you want to interact with
The API version you want to use
Responses
- 200
- 400
Returns the list of production plans.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: >= 1
The first day of month of the production plan
Possible values: <= 100
The percentage of production planned in a month
Possible values: >= 1
ID of the project related to this production plan
[
{
"id": 1,
"created_at": "2024-12-20T14:44:08.301Z",
"updated_at": "2024-12-20T14:44:08.301Z",
"date": "2024-01-01",
"value": 15.6,
"project_id": 1
}
]
Bad request