Deprecated API's
- ldaReport in favour of surveyResponseDetail
- nps_survey
- survey_details
New Fields added on Opportunity Application
- youth_nps_response
- youth_lps_response
- standards_response
New Argument on field survey_questions in survey object.
- main_questions_only takes Boolean, filter out subquestions in survey_questions field.
Survey API's
- no change in submitting survey response api, takes json of question_id as key and response as value.
- surveyResponseDetail api is added, for all survey types.
query SurveyDetails($survey_uuid: String!) {
surveyResponseDetail(survey_uuid: $survey_uuid) {
id
survey_uuid
answers
completed_at
survey {
title
survey_questions(main_questions_only: true) {
id
question_text
position
subquestions {
id
position
question_text
}
standard { # for standard's
id
name
meta
}
leadership_value { # for lda's
id
name
meta
}
}
}
opportunity_application {
id
intial_lda_report {
survey_uuid
}
middle_lda_report {
survey_uuid
}
end_lda_report {
survey_uuid
}
youth_nps_response {
survey_uuid
}
youth_lps_response {
survey_uuid
}
standards_response {
survey_uuid
}
}
}
}