Schedule

添加自定义课程(REST JSON)

Changed on
post/api/schedule/custom

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

maxScheduleWeekinteger required
minScheduleWeekinteger required
positioninteger required
scheduleLengthinteger required
scheduleLocationstring required
scheduleNamestring required

Response

Successful HTTP response; legacy business endpoints may return success=false in this envelope, while social endpoints use matching 4xx/5xx statuses

codeinteger
errorCodestring
messagestring
successboolean

Changes