Back to top

Registry of registries REST interface

Register a new registry

Retrieve an application key for the access to the ror

GET/metaregci/v0/ror

Get an application key which has to be used for authentication.

Request
HideShow
Headers
Authorization: Basic dGVzdDoxMjM0Njc1NjM0NTY3NjU4NDMyNDUzNTUzMjEzNA==
Response  200
HideShow
Headers
Content-Type: text/plain
Body
AppKey
Response  401
Response  403

POST/metaregci/v0/ror

Upload an xml file containing the registration data.

Request
HideShow
Headers
Content-Type: application/xml
Authorization: Basic dGVzdDoxMjM0Njc1NjM0NTY3NjU4NDMyNDUzNTUzMjEzNA==
AppKey: Some Key
Body
<?xml version="1.0" encoding="utf-8"?>
<Metareg>
  <Register>
    <Name>str1234</Name>
    <Acronym>str1234</Acronym>
    <MedArea>str1234</MedArea>
    <TargetEpidemiology>true</TargetEpidemiology>
    <TargetMinResearch>true</TargetMinResearch>
    <TargetEconEvaluation>true</TargetEconEvaluation>
    <TargetQualityAssurance>true</TargetQualityAssurance>
    <TargetClinResearchSupport>true</TargetClinResearchSupport>
    <TargetHealthcarePlanning>true</TargetHealthcarePlanning>
    <TargetHealthcareResearch>true</TargetHealthcareResearch>
    <TargetEffectivenessResearch>true</TargetEffectivenessResearch>
    <TargetOther>str1234</TargetOther>
    <Abstract>str1234</Abstract>
    <Homepage>http://www.xsd2xml.com</Homepage>
    <Sponsors>str1234</Sponsors>
    <RecruitmentInExclusion>str1234</RecruitmentInExclusion>
    <RecruitmentExtent>regional</RecruitmentExtent>
    <RecruitmentArea>str1234</RecruitmentArea>
    <RecruitmentClinTrials>true</RecruitmentClinTrials>
    <RecruitmentStart>2012-12-13</RecruitmentStart>
    <RecruitmentEnd>2012-12-13</RecruitmentEnd>
    <NumberOfCases NumberOfCasesAt="2012-12-13">33</NumberOfCases>
    <CharacteristicMinCount>33</CharacteristicMinCount>
    <CharacteristicCatalogUri>http://www.xsd2xml.com</CharacteristicCatalogUri>
    <DataFromMember>true</DataFromMember>
    <DataFromStudySubject>true</DataFromStudySubject>
    <DataFromDoctor>true</DataFromDoctor>
    <DataFromNonUniversityHospital>true</DataFromNonUniversityHospital>
    <DataFromUniversityHospital>true</DataFromUniversityHospital>
    <DataFromElseWhere>str1234</DataFromElseWhere>
    <DataManagement>central</DataManagement>
    <DataSecurityPolicyUri>http://www.xsd2xml.com</DataSecurityPolicyUri>
    <EthicsCommittee>str1234</EthicsCommittee>
    <ExternalUse>str1234</ExternalUse>
    <ExternalDataAnalysis>true</ExternalDataAnalysis>
    <ExternalDataDelivery>true</ExternalDataDelivery>
    <OperatorInstitution>str1234</OperatorInstitution>
    <OperatorFacility>str1234</OperatorFacility>
    <OperatorDepartment>str1234</OperatorDepartment>
    <OperatorStreetNr>str1234</OperatorStreetNr>
    <OperatorPostcode>str1234</OperatorPostcode>
    <OperatorCity>str1234</OperatorCity>
    <OperatorCountry>ABW</OperatorCountry>
    <ContactPersonLastName>str1234</ContactPersonLastName>
    <ContactPersonFirstname>str1234</ContactPersonFirstname>
    <ContactPersonTitle>Mr</ContactPersonTitle>
    <ContactPersonAcademicTitle>Dr.</ContactPersonAcademicTitle>
    <ContactPersonPosition>str1234</ContactPersonPosition>
    <ContactMethod>str1234</ContactMethod>
    <ContactHomepage>str1234</ContactHomepage>
  </Register>
  <Biomaterialbank>
    <Name>str1234</Name>
    <Biobankregister>str1234</Biobankregister>
    <BiobankregisterId>str1234</BiobankregisterId>
  </Biomaterialbank>
  <AdditionalObject>
    <Name />
    <Description>str1234</Description>
    <RelationToRegister>str1234</RelationToRegister>
  </AdditionalObject>
</Metareg>
Response  200
HideShow

This response means that the uploaded xml file has been accepted and stored.

Headers
Content-Type: text/plain
Body
AA
Response  200
HideShow

This response means that the signature of the uploaded xml file was missing or could not be validated.

Headers
Content-Type: text/plain
Body
AR
Response  200
HideShow

This response means that there was an internal server error.

Headers
Content-Type: text/plain
Body
AE
Response  401
Response  403
Response  500

Generated by aglio on 11 Sep 2015