Update Program

PATCH /v1/programs/{id}

Path parameters

  • id string Required

    Program ID

application/json

Body

The user attributes

Responses

  • 200 application/json

    Program response

    Hide response attribute Show response attribute object
PATCH /v1/programs/{id}
curl \
 -X PATCH https://api.azav-pilot.de/v1/programs/uuidv4 \
 -H "Content-Type: application/json" \
 -d '{"program":{"id":"\u003cuuid v4\u003e","slug":"zertifizierter-scrum-master","title":"Zertifizierter SCRUM Master","degree":"trade","lessons":0,"audience":"single","program_type":"program","subject_area":1.1,"teaching_style":"full_time","certified_since":{"day":15,"year":2024,"month":10,"calendar":"Elixir.Calendar.ISO"},"certified_until":{"day":15,"year":2025,"month":10,"calendar":"Elixir.Calendar.ISO"},"cost_per_lesson":0,"industry_branch":"gtb","cost_per_attendee":0,"practical_lessons":0,"admission_criteria":[{"type":"boolean","criterion":"Deutschkenntnisse min. B3"}],"expected_class_size":0,"minimum_attendance_rate":0}}'
Request example
{
  "program": {
    "id": "<uuid v4>",
    "slug": "zertifizierter-scrum-master",
    "title": "Zertifizierter SCRUM Master",
    "degree": "trade",
    "lessons": 0,
    "audience": "single",
    "program_type": "program",
    "subject_area": 1.1,
    "teaching_style": "full_time",
    "certified_since": {
      "day": 15,
      "year": 2024,
      "month": 10,
      "calendar": "Elixir.Calendar.ISO"
    },
    "certified_until": {
      "day": 15,
      "year": 2025,
      "month": 10,
      "calendar": "Elixir.Calendar.ISO"
    },
    "cost_per_lesson": 0,
    "industry_branch": "gtb",
    "cost_per_attendee": 0,
    "practical_lessons": 0,
    "admission_criteria": [
      {
        "type": "boolean",
        "criterion": "Deutschkenntnisse min. B3"
      }
    ],
    "expected_class_size": 0,
    "minimum_attendance_rate": 0
  }
}
Response examples (200)
{
  "data": {
    "id": "<uuid v4>",
    "slug": "zertifizierter-scrum-master",
    "title": "Zertifizierter SCRUM Master",
    "degree": "trade",
    "lessons": 0,
    "audience": "single",
    "program_type": "program",
    "subject_area": 1.1,
    "teaching_style": "full_time",
    "certified_since": {
      "day": 15,
      "year": 2024,
      "month": 10,
      "calendar": "Elixir.Calendar.ISO"
    },
    "certified_until": {
      "day": 15,
      "year": 2025,
      "month": 10,
      "calendar": "Elixir.Calendar.ISO"
    },
    "cost_per_lesson": 0,
    "industry_branch": "gtb",
    "cost_per_attendee": 0,
    "practical_lessons": 0,
    "admission_criteria": [
      {
        "type": "boolean",
        "criterion": "Deutschkenntnisse min. B3"
      }
    ],
    "expected_class_size": 0,
    "minimum_attendance_rate": 0
  }
}