POST /actions/production-schedule-versions/{production_schedule_version_id}/apply-to-production

Apply production schedule version to production.

Path parameters

  • production_schedule_version_id string(uuid) Required

    Production schedule version unique identifier

Responses

  • 200 application/json

    Production schedule version applied

  • 400

    Wrong ID format

POST /actions/production-schedule-versions/{production_schedule_version_id}/apply-to-production
curl -X POST "http://api.example.com/actions/production-schedule-versions/a24a6ea4-ce75-4665-a070-57453082c25/apply-to-production" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
import requests

url = "http://api.example.com/actions/production-schedule-versions/a24a6ea4-ce75-4665-a070-57453082c25/apply-to-production"
headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
params = {}
payload = None

response = requests.post(
    url,
    headers=headers,
    params=params,
    json=payload
)

response.raise_for_status()

if response.content:
    print(response.json())
curl \
 --request POST 'http://api.example.com/actions/production-schedule-versions/a24a6ea4-ce75-4665-a070-57453082c25/apply-to-production' \
 --header "Authorization: $API_KEY"
Response examples (200)
{}