UpdateFees

View as Markdown
Update editable fields of a fee Input variables - feesId: id of the fee - json representation of editable fields of a Fee - cost - description - startDate - duration (applicable only for fees that are not oneoff) - interval (applicable only for fees that are not oneoff)

Path parameters

feesIdstringRequired

Headers

dreamclass-secret-keystringOptional

Your DreamClass API key. Required on every request. Find it in the DreamClass app under Settings > Integrations.

tenantstringOptional
Your tenant code: the DreamClass subdomain you sign in at (for https://myaccount.dreamclass.io it is "myaccount"), or your full white-labelled domain. Required on every request.
schoolCodestringOptional

Your school code. Required on every request. Find it in the DreamClass app under Settings > Integrations.

Request

This endpoint expects an object.
costintegerRequired
startDatedateRequired
descriptionstringRequired
durationintegerRequired
intervalintegerRequired

Response

OK
idinteger
descriptionstring
costinteger
durationinteger
intervalinteger
startDatedate
periodanyOptional
typeanyOptional
schoolPeriodIdanyOptional