Get all question banks
The purpose of this API is to get all question banks.
Request URL: | https://learn.zoho.com/learn/api/v1/portal/<networkurl>/question-bank |
OAuth Scope: | ZohoLearn.questionbank.READ |
Request Method: | GET |
Parameter | Description | Required |
---|---|---|
createdByIds | Zuid of the user who created the Question bank | Optional |
isAsc | Boolean value for ascending order | Optional |
sortBy | Sort the list using "alpha" for the alphabetical order or "recent for the Last Modified order | Optional |
Success Response
Copied{
"STATUS": "OK",
"DATA": [
{
"questionCount": "5",
"clientsCount": "0",
"bannerType": "ZFS",
"canEdit": "true",
"description": "A brief description of this Question bank",
"colorIndex": "6",
"articleCount": "0",
"nameTile": "Q",
"type": "QUESTION_BANK",
"url": "question-bank-1",
"canManage": "true",
"createdBy": {
"role": "MEMBER",
"name": "James Arthur",
"colorIndex": "1",
"emailId": "arthur@zylker.com",
"id": "799705715",
"type": "MEMBER",
"learnerCourseStatus": "YET_TO_START",
"status": "ACTIVE",
"learnerCourseProgress": "0.0"
},
"coAuthors": [],
"name": "Question bank 1",
"createdTime": "12 Jul, 04:29 AM",
"categories": [
{
"questionCount": "0",
"selectedCount": "0",
"itemId": "6342496000000086129",
"itemType": "HUB",
"name": "Topic 2",
"questions": [],
"id": "6342496000000085093",
"url": "topic-2",
"subCategories": [],
"mark": "0",
"status": "ACTIVE"
},
{
"questionCount": "0",
"selectedCount": "0",
"itemId": "6342496000000086129",
"itemType": "HUB",
"name": "Topic 1",
"questions": [],
"id": "6342496000000086135",
"url": "topic-1",
"subCategories": [],
"mark": "0",
"status": "ACTIVE"
}
],
"id": "6342496000000086129",
"logoBgColorIndex": "6",
"createdUser": "799705715",
"status": "ACTIVE"
}
]
}
Show full
Show less
Failure Response: Access Denied
Copied{
"result":"failure",
"reason": "Access Denied",
"errorCode": "9001"
}
Sample URL
Copiedhttps://learn.zoho.com/learn/api/v1/portal/zylker-network/question-bank