Back to list

evaluation/get/

Get the list of questions and possible answers for the individual lesson evaluation.

Extra Parameters:

Parameter none
Example https://api.agclassroom.org/api/evaluation/get/

HTTP Method

GET

Requires authentication:

No

Return Format:

JSON

Return Example:

{

success:true

message:""

resultcount:11

result: [...]

0 {...}

question: {...}

id: 20

question: Which grade level was taught with this lesson?

required: true

type: {...}

id: 8

title: multiple choice (dropdown)

constant: M_CHOICE_SELECT

automated: true

options: [...]

0 {...}

id: 110

answer: Kindergarden

1 {...}

id: 120

answer: 1st Grade

. . .

1 {...}

. . .

}

Back to list

evaluation/{API key}/save/

Save the users' answers to the evaluation question.

Extra Parameters:

Parameter API key
Type (20 character) string
Description This identifier is given to you by a national administrator. Along with white-listing developers, the identifier is tied directly to your location.
Example https://api.agclassroom.org/api/evaluation/127568eca0fcfe875bcd/save/

POST Parameter lessonID
Type number
Example "lessonID": 234

POST Parameter firstname
Type string
Example "firstname": "Benjamin"

POST Parameter lastname
Type string
Example "lastname": "Button"

POST Parameter emailaddress
Type string
Example "emailaddress": "bbutton@gmail.com"

POST Parameter question [number]
Type number, string, array (depending on the type of answer)
Description The evaluation/get/ method returns a list of questions to ask and hints as to the expected answers and formats. The question name in the html inputs should be "question" + the question identifier given in the previous "get" call.
Example "question34": 245
"question45": 342, 231, 183
"question21": "I thought it was great."

HTTP Method

POST

Requires authentication:

No

Return Format:

JSON

Return Example:

{

success:true

message:"Saved"

}