The Master Production Schedule object
Attributes
Unique identifier for the object.
ISO 8601 timestamp of when the object was created.
ISO 8601 timestamp of when the object was last updated.
{
"id": "master-production-schedule_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"posting_date": "2024-01-15",
"parent_warehouse": "parent_warehouse_example",
"from_date": "2024-01-15",
"to_date": "2024-01-15",
"sales_forecast": "sales_forecast_example"
} /api/manufacturing/master-production-schedule/{id} Retrieve a master production schedule
Retrieves the details of an existing master production schedule. Supply the unique master production schedule ID that was returned from a previous request.
Path parameters
The identifier of the master production schedule to retrieve.
Returns
Returns the master production schedule object if a valid identifier was provided.
curl https://api.overplane.dev/api/manufacturing/master-production-schedule/master-production-schedule_abc123 \
-H "Authorization: Bearer sk_test_..." {
"id": "master-production-schedule_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"posting_date": "2024-01-15",
"parent_warehouse": "parent_warehouse_example",
"from_date": "2024-01-15",
"to_date": "2024-01-15",
"sales_forecast": "sales_forecast_example"
} /api/manufacturing/master-production-schedule List all master production schedules
Returns a list of master production schedules. The results are sorted by creation date, with the most recently created appearing first.
Query parameters
Maximum number of objects to return. Default: 20.
Number of objects to skip for pagination. Default: 0.
Returns
A paginated list of master production schedule objects.
curl https://api.overplane.dev/api/manufacturing/master-production-schedule \
-H "Authorization: Bearer sk_test_..." {
"data": [
{
"id": "master-production-schedule_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"posting_date": "2024-01-15",
"parent_warehouse": "parent_warehouse_example",
"from_date": "2024-01-15",
"to_date": "2024-01-15",
"sales_forecast": "sales_forecast_example"
}
],
"has_more": false,
"total": 1
} /api/manufacturing/master-production-schedule Create a master production schedule
Creates a new master production schedule object.
Body parameters
Returns
Returns the newly created master production schedule object if the call succeeded.
curl https://api.overplane.dev/api/manufacturing/master-production-schedule \
-H "Authorization: Bearer sk_test_..." \
-X POST \
-H "Content-Type: application/json" \
-d '{"company":"Example Corp","posting_date":"2024-01-15","from_date":"2024-01-15"}' {
"id": "master-production-schedule_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"posting_date": "2024-01-15",
"parent_warehouse": "parent_warehouse_example",
"from_date": "2024-01-15",
"to_date": "2024-01-15",
"sales_forecast": "sales_forecast_example"
} /api/manufacturing/master-production-schedule/{id} Update a master production schedule
Updates the specified master production schedule by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path parameters
The identifier of the master production schedule to update.
Body parameters
Returns
Returns the updated master production schedule object.
curl https://api.overplane.dev/api/manufacturing/master-production-schedule/master-production-schedule_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X PATCH \
-H "Content-Type: application/json" \
-d '{"company":"Example Corp","posting_date":"2024-01-15"}' {
"id": "master-production-schedule_abc123",
"created_at": "2024-01-15T09: 30: 00Z",
"updated_at": "2024-01-15T09: 30: 00Z",
"company": "Example Corp",
"posting_date": "2024-01-15",
"parent_warehouse": "parent_warehouse_example",
"from_date": "2024-01-15",
"to_date": "2024-01-15",
"sales_forecast": "sales_forecast_example"
} /api/manufacturing/master-production-schedule/{id} Delete a master production schedule
Permanently deletes a master production schedule. This cannot be undone.
Path parameters
The identifier of the master production schedule to delete.
Returns
Returns a confirmation that the master production schedule has been deleted.
curl https://api.overplane.dev/api/manufacturing/master-production-schedule/master-production-schedule_abc123 \
-H "Authorization: Bearer sk_test_..." \
-X DELETE {
"id": "master-production-schedule_abc123",
"deleted": true
}