ValidNumberOfOptionsForStudent

Description

Validates the number of options of a lessongroup

Paths

Example

Example request object

{
  "Criteria": {
    "LessonGroupId": "00000000-0000-0000-0000-000000000000",
    "NumberOfOptions": 0
  },
  "Context": {
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Language": "string_example",
    "ShopId": "00000000-0000-0000-0000-000000000000",
    "SessionId": "00000000-0000-0000-0000-000000000000",
    "Origin": 0,
    "Password": "string_example",
    "Encode": false,
    "AccessToken": "string_example"
  }
}

Example response object

{
  "Result": {
    "ValidationResult": {
      "IsValid": false,
      "Message": null,
      "brokenRuleName": null
    },
    "MinNumberOfOptions": 0,
    "MaxNumberOfOptions": 0,
    "LessonGroupDescription": "string_example"
  }
}

ShouldBeExecuted

Postdata

Response