-
Notifications
You must be signed in to change notification settings - Fork 3
QDDT Rest api
Stig Norland edited this page Jun 19, 2018
·
1 revision
Category/page/search?
optional, level=ENTITY,GROUP_ENTITY
optional, category=DATETIME,TEXT,NUMERIC,CODE,MISSING_GROUP,LIST,SCALE,MIXED
optional, name=’any%part%name’
Note: GROUP_ENTITY will return MISSING_GROUP,LIST,SCALE,MIXED elements and ENTITY will return DATETIME,TEXT,NUMERIC,CODE elements
URL | methods | params | Controller | Type | Exception |
---|---|---|---|---|---|
/agency/{id}] | [GET] | AgencyController.get(UUID) | Agency | ||
/agency] | [POST] | AgencyController.update(Agency) | Agency | ||
/agency/delete/{id}] | [DELETE] | AgencyController.delete(UUID) | |||
/agency/create] | [POST] | AgencyController.create(Agency) | Agency | ||
/agency/xml/{id}] | [GET] | AgencyController.getXml(UUID) | java.lang.String | ||
/author/{id}] | [GET] | AuthorController.get(UUID) | Author | ||
/author] | [POST] | AuthorController.update(Author) | Author | ||
/author/delete/{id}] | [DELETE] | AuthorController.delete(UUID) | |||
/author/create] | [POST] | AuthorController.create(Author) | Author | ||
/author/page/] | [GET] | ||||
/author/combine] | [POST] | params=[authorId] | AuthorController.addAuthor(UUID,UUID,UUID,UUID) | Author | |
/author/decombine] | [DELETE] | params=[authorId] | AuthorController.removeQuestion(UUID,UUID,UUID,UUID,UUID) | Author | |
/category/{id}] | [GET] | CategoryController.get(UUID) | CategoryJsonEdit | ||
/category] | [POST] | CategoryController.update(Category) | CategoryJsonEdit | ||
/category/delete/{id}] | [DELETE] | CategoryController.delete(UUID) | |||
/category/create] | [POST] | CategoryController.create(Category) | CategoryJsonEdit | ||
/category/page/search] | [GET] | ||||
/category/page/by-group/{name}] | [GET] | ||||
/category/page/by-leaf/{name}] | [GET] | ||||
/category/xml/{id}] | [GET] | CategoryController.getXml(UUID) | java.lang.String | ||
/comment/{id}] | [GET] | CommentController.get(UUID) | Comment | ||
/comment/page/by-owner/{ownerId}] | [GET] | ||||
/comment] | [POST] | CommentController.update(Comment) | Comment | ||
/comment/delete/{id}] | [DELETE] | CommentController.delete(UUID) | |||
/comment/create/{ownerId}] | [POST] | CommentController.create(Comment,UUID) | Comment | ||
/comment/xml/{id}] | [GET] | CommentController.getXml(UUID) | java.lang.String | ||
/concept/{id}] | [GET] | ConceptController.get(UUID) | ConceptJsonEdit | ||
/concept] | [POST] | ConceptController.update(Concept) | ConceptJsonEdit | ||
/concept/delete/{id}] | [DELETE] | ConceptController.delete(UUID) | |||
/concept/page] | [GET] | ||||
/concept/create/by-topicgroup/{uuid}] | [POST] | ConceptController.createByTopic(Concept,UUID) | ConceptJsonEdit | ||
/concept/page/search] | [GET] | ||||
/concept/pdf/{id}] | [GET] | [applicpublication/pdf] | ConceptController.getPdf(UUID) | byte[] | |
/concept/create/by-parent/{uuid}] | [POST] | ConceptController.createByParent(Concept,UUID) | ConceptJsonEdit | ||
/concept/combine] | [POST] | params=[conceptid && questionitemid && questionitemrevision] | ConceptController.addQuestionItem(UUID,UUID,java.lang.Number) | ConceptJsonEdit | |
/concept/page/by-topicgroup/{topicId}] | [GET] | ||||
/concept/list/by-QuestionItem/{qiId}] | [GET] | ConceptController.getByQuestionItemId(UUID) | List | ||
/concept/decombine] | [POST] | params=[conceptid && questionitemid] | ConceptController.removeQuestionItem(UUID,UUID) | ConceptJsonEdit | |
/concept/xml/{id}] | [GET] | ConceptController.getXml(UUID) | java.lang.String | ||
/controlconstruct/{id}] | [GET] | ControlConstructController.get(UUID) | ControlConstruct | ||
/controlconstruct] | [POST] | ControlConstructController.update(ControlConstruct) | ControlConstruct | ||
/controlconstruct/delete/{id}] | [DELETE] | ControlConstructController.delete(UUID) | |||
/controlconstruct/create] | [POST] | ControlConstructController.create(ControlConstruct) | ControlConstruct | ||
/controlconstruct/page/search] | [GET] | ||||
/controlconstruct/pdf/{id}] | [GET] | [applicpublication/pdf] | ControlConstructController.getPdf(UUID) | byte[] | |
/controlconstruct/list/by-question/{uuid}] | [GET] | ControlConstructController.getBySecond(UUID) | List | ||
/controlconstruct/createfile] | [POST] | consumes=[multipart/form-data] | ControlConstructController.createWithFile(MultipartFile[],ControlConstruct) | ControlConstruct | throws org.apache.tomcat.util.http.fileupload.FileUploadException |
/controlconstruct/list/by-questiontext/{question}] | [GET] | ControlConstructController.getTop25ByQuestionText(java.lang.String) | List | ||
/controlconstruct/xml/{id}] | [GET] | ControlConstructController.getXml(UUID) | java.lang.String | ||
/instruction/{id}] | [GET] | InstructionController.get(UUID) | Instruction | ||
/instruction] | [POST] | InstructionController.update(Instruction) | Instruction | ||
/instruction/delete/{id}] | [DELETE] | InstructionController.delete(UUID) | |||
/instruction/create] | [POST] | InstructionController.create(Instruction) | Instruction | ||
/instruction/page/search] | [GET] | ||||
/instruction/xml/{id}] | [GET] | InstructionController.getXml(UUID) | java.lang.String | ||
/instrument/{id}] | [GET] | InstrumentController.get(UUID) | Instrument | ||
/instrument] | [POST] | InstrumentController.update(Instrument) | Instrument | ||
/instrument/delete/{id}] | [DELETE] | InstrumentController.delete(UUID) | |||
/instrument/create] | [POST] | InstrumentController.create(Instrument) | Instrument | ||
/instrument/page] | [GET] | ||||
/instrument/page/search] | [GET] | ||||
/instrument/pdf/{id}] | [GET] | [applicpublication/pdf] | InstrumentController.getPdf(UUID) | byte[] | |
/instrument/xml/{id}] | [GET] | InstrumentController.getXml(UUID) | java.lang.String | ||
/othermaterial/{id}] | [GET] | OtherMaterialController.get(UUID) | OtherMaterial | ||
/othermaterial] | [POST] | OtherMaterialController.update(OtherMaterial) | OtherMaterial | ||
/othermaterial/delete/{id}] | [DELETE] | OtherMaterialController.delete(UUID) | throws no.nsd.qddt.exception.RequestAbortedException | ||
/othermaterial/create] | [POST] | OtherMaterialController.create(OtherMaterial) | OtherMaterial | ||
/othermaterial/files/{fileId}] | [GET] | [applicpublication/octet-stream] | OtherMaterialController.getFile(UUID) | FileSystemResource | |
/othermaterial/upload/{ownerid}] | [POST] | consumes=[multipart/form-data] | OtherMaterialController.handleFileUpload(UUID,multipart.MultipartFile) | OtherMaterial | throws org.apache.tomcat.util.http.fileupload.FileUploadException |
/othermaterial/upload] | [GET] | OtherMaterialController.provideUploadInfo() | java.lang.String | ||
/othermaterial/xml/{id}] | [GET] | OtherMaterialController.getXml(UUID) | java.lang.String | ||
/publication/{id}] | [GET] | publicationController.get(UUID) | Publication | ||
/publication] | [POST] | publicationController.update(publication) | Publication | ||
/publication/delete/{id}] | [DELETE] | publicationController.delete(UUID) | |||
/publication/create] | [POST] | publicationController.create(publication) | Publication | ||
/publication/page] | [GET] | ||||
/publication/page/search] | [GET] | ||||
/publication/pdf/{id}] | [GET] | [applicpublication/pdf] | publicationController.getPdf(UUID) | byte[] | |
/publication/element/] | [GET] | publicationController.getDetail(publicationElement) | PublicationElement | ||
/publicationstatus/{id}] | [GET] | PublicationStatusController.get(java.lang.Long) | |||
/publicationstatus] | [POST] | PublicationStatusController.update(Publicationstatus) | |||
/publicationstatus/delete/{id}] | [DELETE] | publicationstatus.publicationStatusController.delete(java.lang.Long) | |||
/publicationstatus/create] | [POST] | PublicationStatusController.create(PublicationStatus) | |||
/publicationstatus/list] | [GET] | PublicationStatusController.getAll() | List | ||
/questionitem/{id}] | [GET] | QuestionItemController.get(UUID) | QuestionItemJsonEdit | ||
/questionitem] | [POST] | QuestionItemController.update(QuestionItem) | QuestionItemJsonEdit | ||
/questionitem/delete/{id}] | [DELETE] | QuestionItemController.delete(UUID) | |||
/questionitem/create] | [POST] | QuestionItemController.create(QuestionItem) | QuestionItemJsonEdit | ||
/questionitem/page] | [GET] | ||||
/questionitem/page/search] | [GET] | ||||
/questionitem/pdf/{id}] | [GET] | [applicpublication/pdf] | QuestionItemController.getPdf(UUID) | byte[] | |
/questionitem/xml/{id}] | [GET] | QuestionItemController.getXml(UUID) | java.lang.String | ||
/responsedomain/{id}] | [GET] | ResponseDomainController.get(UUID) | ResponseDomain | ||
/responsedomain] | [POST] | ResponseDomainController.update(ResponseDomain) | ResponseDomain | ||
/responsedomain/delete/{id}] | [DELETE] | ResponseDomainController.delete(UUID) | throws no.nsd.qddt.exception.RequestAbortedException | ||
/responsedomain/create] | [POST] | ResponseDomainController.create(ResponseDomain) | ResponseDomain | ||
/responsedomain/page/search] | [GET] | params=[ResponseKind] | |||
/responsedomain/createmixed] | [GET] | params=[responseDomaindId && missingId] | ResponseDomainController.createMixed(UUID,UUID) | ResponseDomainJsonEdit | |
/responsedomain/xml/{id}] | [GET] | ResponseDomainController.getXml(UUID) | java.lang.String | ||
/study/{id}] | [GET] | StudyController.get(UUID) | Study | ||
/study] | [POST] | StudyController.update(Study) | Study | ||
/study/delete/{id}] | [DELETE] | StudyController.delete(UUID) | |||
/study/create/{surveyId}] | [POST] | StudyController.create(Study,UUID) | Study | ||
/study/pdf/{id}] | [GET] | StudyController.getPdf(UUID) | byte[] | ||
/study/xml/{id}] | [GET] | StudyController.getXml(UUID) | java.lang.String | ||
/surveyprogram/{id}] | [GET] | SurveyProgramController.get(UUID) | SurveyProgram | ||
/surveyprogram] | [POST] | SurveyProgramController.update(SurveyProgram) | SurveyProgram | ||
/surveyprogram/delete/{id}] | [DELETE] | SurveyProgramController.delete(UUID) | |||
/surveyprogram/create] | [POST] | SurveyProgramController.create(SurveyProgram) | SurveyProgram | ||
/surveyprogram/list/by-user] | [GET] | SurveyProgramController.listByUser() | List | ||
/surveyprogram/pdf/{id}] | [GET] | SurveyProgramController.getPdf(UUID) | byte[] | ||
/surveyprogram/xml/{id}] | [GET] | SurveyProgramController.getXml(UUID) | java.lang.String | ||
/topicgroup/{id}] | [GET] | TopicGroupController.get(UUID) | TopicGroupJson | ||
/topicgroup] | [POST] | TopicGroupController.update(TopicGroup) | TopicGroupJson | ||
/topicgroup/delete/{id}] | [DELETE] | TopicGroupController.delete(UUID) | |||
/topicgroup/create/{studyId}] | [POST] | TopicGroupController.create(TopicGroup,UUID) | TopicGroupJson | ||
/topicgroup/page/search] | [GET] | ||||
/topicgroup/pdf/{id}] | [GET] | TopicGroupController.getPdf(UUID) | byte[] | ||
/topicgroup/combine] | [POST] | params=[topicid && questionitemid && questionitemrevision] | TopicGroupController.addQuestionItem(UUID,UUID,java.lang.Number) | TopicGroupJson | |
/topicgroup/list/by-study/{uuid}] | [GET] | TopicGroupController.findByStudy(UUID) | List | ||
/topicgroup/decombine] | [POST] | params=[topicid && questionitemid] | TopicGroupController.removeQuestionItem(UUID,UUID) | TopicGroupJson | |
/topicgroup/xml/{id}] | [GET] | TopicGroupController.getXml(UUID) | java.lang.String | ||
/universe/{id}] | [GET] | UniverseController.get(UUID) | Universe | ||
/universe] | [POST] | UniverseController.update(Universe) | Universe | ||
/universe/delete/{id}] | [DELETE] | UniverseController.delete(UUID) | |||
/universe/create] | [POST] | UniverseController.create(Universe) | Universe | ||
/universe/page/search] | [GET] | ||||
/universe/xml/{id}] | [GET] | UniverseController.getXml(UUID) | java.lang.String | ||
/user] | [GET] | user.UserController.getLoggedInUser() | user.User |