← Back to all endpoints
POST /dsb/plan auth required

Headers

NameRequiredDescription
X-Session-Token Yes -

Request Body

Content-TypeFormat
application/json object

Schema

FieldTypeRequiredDescription
username any No DSBmobile username or school identifier
password any No DSBmobile password
plan_index integer No Which plan iframe index to fetch
plan_url any No Explicit plan URL (overrides plan_index)
include_raw boolean No Include raw HTML of the plan page in the response

Example

{ "username": "<DSBmobile username or school identifier>", "password": "<DSBmobile password>", "plan_index": 0, "plan_url": "<Explicit plan URL (overrides plan_index)>", "include_raw": true }

Responses

200 Successful Response
422 Validation Error
{ "detail": [] }