OPEN2U基础服务 - 教学服务
V3_Paper
根据新建试题模型加入试卷。试题会进入题库,试卷会自动关联该试题。 。 (AddNewQuestionByPaper)
查看
接口地址:~/Exam/V3_Paper/AddNewQuestionByPaper
接口方法:public string AddNewQuestionByPaper(Study.BusinessService.Exam.ItemBank_V3.V3_QuestionModelAdd data,string fileIDs)
返回数据:returns
json类型的参数,包含 pid ,shuf,s以及V3_QuestionModel(data):
阿里云图片上传后所有的图片ID集合 逗号分隔(fileIDs 例如 xxxxx.jpg,xxxxx.jpg):
当前用户token(token):
更新试卷里的试题。 。 (UpdateQuestionByPaper)
查看
接口地址:~/Exam/V3_Paper/UpdateQuestionByPaper
接口方法:public string UpdateQuestionByPaper(Study.BusinessService.Exam.ItemBank_V3.V3_QuestionModelAdd data,string fileIDs)
返回数据:returns
qid(qid):
model(model):
index(index):
pid(pid):
阿里云图片上传后所有的图片ID集合 逗号分隔(fileIDs 例如 xxxxx.jpg,xxxxx.jpg):
当前用户token(token):
删除试题---与试卷解除绑定 。 (DeleteQuestionByPaper)
查看
接口地址:~/Exam/V3_Paper/DeleteQuestionByPaper
接口方法:public string DeleteQuestionByPaper(System.String pid,System.String index,System.String qid)
返回数据:returns
试卷ID(pid):
大题序号(index):
试题ID(qid):
当前用户token(token):
试题顺序调整 。 (MoveQuestionByPaper)
查看
接口地址:~/Exam/V3_Paper/MoveQuestionByPaper
接口方法:public string MoveQuestionByPaper(System.String pid,System.String index,System.String qid,System.Boolean m)
返回数据:returns
试卷ID(pid):
大题序号(index):
试题ID(qid):
上移还是下移 true为上 false 为下(m):
当前用户token(token):
大题顺序调整 。 (MoveSectionByPaper)
查看
接口地址:~/Exam/V3_Paper/MoveSectionByPaper
接口方法:public string MoveSectionByPaper(System.String pid,System.String index,System.Boolean m)
返回数据:returns
试卷ID(pid):
大题序号(index):
上移还是下移 true为上 false 为下(m):
当前用户token(token):
更新试卷名称 。 (UpdatePaperTitle)
查看
接口地址:~/Exam/V3_Paper/UpdatePaperTitle
接口方法:public string UpdatePaperTitle(System.String pid,System.String c)
返回数据:returns
试卷ID(pid):
试卷TITLE名称(c):
当前用户token(token):
复制一份试卷 。 (CopyTestPaper)
查看
接口地址:~/Exam/V3_Paper/CopyTestPaper
接口方法:public string CopyTestPaper(System.String newID,System.String oldID)
返回数据:returns
新的试卷ID(newID):
旧的试卷ID(oldID):
当前用户token(token):
导入 。 (Import)
查看
接口地址:~/Exam/V3_Paper/Import
接口方法:public string Import(System.String cid,System.String rid,System.String UserID,System.String pid,System.String oid,System.String c)
返回数据:returns
课程ID(cid):
资源ID(rid):
用户ID(UserID):
试卷ID(pid):
机构ID(oid):
试卷名称(c):
当前用户token(token):
同步题库课程ID 。 (ItemBankCreate)
查看
接口地址:~/Exam/V3_Paper/ItemBankCreate
接口方法:public string ItemBankCreate(System.String CourseID,System.String CourseName,System.String OrgID)
返回数据:returns
CourseID(CourseID):
CourseName(CourseName):
OrgID(OrgID):
当前用户token(token):
批量绑定试卷与试题的关系 。 (PaperBandQuestion)
查看
接口地址:~/Exam/V3_Paper/PaperBandQuestion
接口方法:public string PaperBandQuestion(System.String QuestionStr)
返回数据:returns
包含了pid,shuf,qid,s对象的列表(QuestionStr):
当前用户token(token):
创建新试卷 。 (CreatTestPaper)
查看
接口地址:~/Exam/V3_Paper/CreatTestPaper
接口方法:public string CreatTestPaper(System.String paperName,System.String CourseID)
返回数据:returns
试卷名称(paperName):
课程ID(CourseID):
当前用户token(token):
获取课程题库的关系(GetEdu_CourseItemBankReference)
查看
接口地址:~/Exam/V3_Paper/GetEdu_CourseItemBankReference
接口方法:public string GetEdu_CourseItemBankReference(System.String courseId)
返回数据:{"Success":true,"Message":"","ErrCode":"","Data":{"CourseID":"ba1f5300-f13a-41b7-aa44-ff6b9bb30cea","ItemBankCourseID":"8922743e-9fd1-4327-ac4b-6f78ed65c11c","Type":null},"StartTime":"2017/10/27 11:49:44:969","EndTime":"2017/10/27 11:49:45:188"} Type=0的时候不能编辑
课程ID(courseId):
当前用户token(token):
联系人:朱利戈
E-Mail:zhulg@mail.open.com.cn