Skip to content

DoCurious API Reference / types / ChallengeRequest

Interface: ChallengeRequest ​

Defined in: types/school.types.ts:351

A teacher's request for the School Admin to purchase a paid challenge for classroom use.

Remarks ​

Teachers cannot directly purchase paid challenges. Instead they submit a ChallengeRequest that the SA reviews. The SA can approve, deny, or add notes.

Extends ​

Properties ​

challenge? ​

optional challenge: Challenge

Defined in: types/school.types.ts:370


challengeId ​

challengeId: string

Defined in: types/school.types.ts:353


classId? ​

optional classId: string

Defined in: types/school.types.ts:361

Target class for the challenge


createdAt ​

createdAt: string

Defined in: types/common.types.ts:154

ISO 8601 datetime when the entity was created

Inherited from ​

BaseEntity.createdAt


id ​

id: string

Defined in: types/common.types.ts:167

Inherited from ​

BaseEntity.id


numberOfStudents? ​

optional numberOfStudents: number

Defined in: types/school.types.ts:359

How many students need access


reason? ​

optional reason: string

Defined in: types/school.types.ts:357

Teacher's justification for why this challenge should be purchased


requestedBy? ​

optional requestedBy: object

Defined in: types/school.types.ts:371

displayName ​

displayName: string

id ​

id: string


requestedByUserId ​

requestedByUserId: string

Defined in: types/school.types.ts:354


reviewedAt? ​

optional reviewedAt: string

Defined in: types/school.types.ts:365


reviewedBy? ​

optional reviewedBy: object

Defined in: types/school.types.ts:375

displayName ​

displayName: string

id ​

id: string


reviewedByUserId? ​

optional reviewedByUserId: string

Defined in: types/school.types.ts:364


reviewNote? ​

optional reviewNote: string

Defined in: types/school.types.ts:367

SA's note explaining the approval or denial


schoolId ​

schoolId: string

Defined in: types/school.types.ts:352


status ​

status: "pending" | "approved" | "denied"

Defined in: types/school.types.ts:363


updatedAt ​

updatedAt: string

Defined in: types/common.types.ts:156

ISO 8601 datetime when the entity was last modified

Inherited from ​

BaseEntity.updatedAt

DoCurious Platform Documentation