Parentsevening

Generate slots on a date of a Parents' Evening

Changed on

Requires permission: ParentsEvening

One slot of the given duration every duration + gap minutes while the start is before the end, all saved together. The date must belong to the evening. The gap cannot be negative, and one call makes at most 300 slots.

post/ParentsEvening/Slots

Request

  • Base URL: https://api.tonbridge.school
  • URL: https://api.tonbridge.school/ParentsEvening/Slots
  • Auth: HTTP bearer

Request body

eveningIdstring guid nullable
dateIdstring guid nullable
startstring date-time nullable
endstring date-time nullable
durationinteger nullable
gapinteger nullable

Response

How many slots were created

createdinteger

Changes

    • breaking

      the request property type changed from integer to string, and format from int32 to guid

    • breaking

      the request property type changed from string to integer, and format from no format to int32

    • breaking

      the request property type changed from integer to string, and format from int32 to guid

    • breaking

      the request property type changed from string to integer, and format from no format to int32

    • breaking

      removed the success response with the status

    • info

      api operation id PanopticApiEndpointsParentsEveningSetupPostCreateMultipleSlotsEndpoint removed and replaced with PanopticApiEndpointsParentsEveningSetupPostSlotsEndpoint

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      the request property's minLength was decreased from 1 to 0

    • info

      the request property's minLength was decreased from 1 to 0

    • info

      the request property's minLength was decreased from 1 to 0

    • info

      the request property's minLength was decreased from 1 to 0

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status