POST api/{version}/StudentCourseStudyPlan/InsertOrUpdateStudyPlanBlockoutDates?registrationId={registrationId}

Used to insert or update the study plan block out dates

Request Information

URI Parameters

NameDescriptionTypeAdditional information
registrationId

integer

Required

version

string

None.

Body Parameters

Collection of StudentBlockoutDays
NameDescriptionTypeAdditional information
StudentBlockoutDayId

Gets or sets the block out day id

integer

None.

RegistrationId

Gets or sets the registration Id

integer

None.

StartDate

Gets or sets the block out start date

date

None.

EndDate

Gets or set the block out end date

date

None.

IsRemoved

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "StudentBlockoutDayId": 1,
    "RegistrationId": 2,
    "StartDate": "2026-04-02T20:49:32.1149591-04:00",
    "EndDate": "2026-04-02T20:49:32.1149591-04:00",
    "IsRemoved": true
  },
  {
    "StudentBlockoutDayId": 1,
    "RegistrationId": 2,
    "StartDate": "2026-04-02T20:49:32.1149591-04:00",
    "EndDate": "2026-04-02T20:49:32.1149591-04:00",
    "IsRemoved": true
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>