bundles/ca.uqam.tool.vivo-proxy/src_custom/test/java/ca/uqam/tool/vivoproxy/swagger/server/api/OrganizationApiTest.java
public void createOrganizationTest() throws ApiException {
        Organization body = new Organization();
        body.setName(SampleValues.LABEL_UNIVERSITE_DU_QUEBEC_A_MONTREAL);
        body.setOrganizationType(SampleValues.IRI_VIVO_UNIVERSITY);
        Response result = api.createOrganization(body, null);
        System.out.println(result);
    }
/**
     * Create an organization in VIVO 
     *
     * This can only be done by the logged in VIVO.
     *
     * @throws ApiException
     *          if the Api call fails
     */
Create an organization in VIVO
This can only be done by the logged in VIVO.

@throws ApiException
if the Api call fails
Create an organization in VIVO This can only be done by the logged in VIVO . @throws ApiException if the Api call fails
public void createOrganizationTest() throws ApiException {
        Organization body = new Organization();
        body.setName(SampleValues.LABEL_UNIVERSITE_DU_QUEBEC_A_MONTREAL);
        body.setOrganizationType(SampleValues.IRI_VIVO_UNIVERSITY);
        Response result = api.createOrganization(body, null);
        System.out.println(result);
    }
public void createOrganizationTest ( ) throws ApiException { Organization body = new Organization ( ) ; body . setName ( SampleValues . LABEL_UNIVERSITE_DU_QUEBEC_A_MONTREAL ) ; body . setOrganizationType ( SampleValues . IRI_VIVO_UNIVERSITY ) ; Response result = api . createOrganization ( body , null ) ; System . out . println ( result ) ; }
Create an organization in VIVO
 This can only be done by the logged in VIVO.
Create an organization in VIVO This can only be done by the logged in VIVO .