pharmaobservatory 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +379 -7
- data/docs/BiomarkerAssayEvidenceResponse.md +58 -0
- data/docs/{BiomarkerCdxAssertionsResponseBuild.md → BiomarkerAssayEvidenceResponseBuild.md} +2 -2
- data/docs/{BiomarkerCdxAssertionsResponseFreshness.md → BiomarkerAssayEvidenceResponseFreshness.md} +2 -2
- data/docs/{BiomarkerCdxAssertionsResponseScope.md → BiomarkerAssayEvidenceResponseScope.md} +2 -2
- data/docs/BiomarkerAssayEvidenceRow.md +68 -0
- data/docs/BiomarkerAssayWhitespaceResponse.md +58 -0
- data/docs/BiomarkerAssayWhitespaceRow.md +66 -0
- data/docs/BiomarkerBqpAssertionsResponse.md +3 -3
- data/docs/BiomarkerCdxAssertionsResponse.md +3 -3
- data/docs/BiomarkerEvidenceResponse.md +3 -3
- data/docs/BiomarkerLiteratureResponse.md +3 -3
- data/docs/BiomarkerPublishingCompaniesResponse.md +3 -3
- data/docs/BiomarkerPublishingCompaniesRow.md +9 -1
- data/docs/BiomarkerRelationsResponse.md +3 -3
- data/docs/BiomarkerSampleCoverageResponse.md +3 -3
- data/docs/BiomarkerSamplePrevalenceResponse.md +3 -3
- data/docs/BiomarkerValidationResponse.md +3 -3
- data/docs/BiomarkerVariantMentionsResponse.md +3 -3
- data/docs/BiomarkersApi.md +160 -0
- data/docs/BiomarkersRecord.md +2 -2
- data/docs/BiomarkersResponse.md +3 -3
- data/docs/BiomarkersRow.md +2 -0
- data/docs/BrandCompaniesResponse.md +58 -0
- data/docs/BrandCompaniesRow.md +50 -0
- data/docs/BrandRevenueResponse.md +58 -0
- data/docs/BrandRevenueRow.md +60 -0
- data/docs/CatalystsResponse.md +58 -0
- data/docs/CatalystsRow.md +90 -0
- data/docs/CellLinesRecord.md +2 -2
- data/docs/CellLinesResponse.md +3 -3
- data/docs/CliaCertificatesResponse.md +58 -0
- data/docs/CliaCertificatesRow.md +80 -0
- data/docs/CompaniesApi.md +1947 -143
- data/docs/CompaniesRecord.md +2 -2
- data/docs/CompaniesRecordAttributes.md +3 -1
- data/docs/CompaniesResponse.md +3 -3
- data/docs/CompaniesRow.md +1 -1
- data/docs/CompanyAssetsResponse.md +3 -3
- data/docs/CompanyFundingEventsResponse.md +3 -3
- data/docs/CompanyFundingEventsRow.md +3 -1
- data/docs/CompanyFundingSummaryResponse.md +3 -3
- data/docs/CompanyMembersResponse.md +3 -3
- data/docs/CompanyProgramsResponse.md +3 -3
- data/docs/CompanyTargetsResponse.md +3 -3
- data/docs/CompanyTargetsRow.md +5 -1
- data/docs/CompanyTrialGeographyResponse.md +58 -0
- data/docs/CompanyTrialGeographyRow.md +52 -0
- data/docs/CompanyTrialSitesResponse.md +58 -0
- data/docs/CompanyTrialSitesRow.md +52 -0
- data/docs/ConditionAdverseEventsResponse.md +3 -3
- data/docs/ConditionBurdenResponse.md +3 -3
- data/docs/ConditionDeliveryResponse.md +3 -3
- data/docs/ConditionDrugsResponse.md +3 -3
- data/docs/ConditionPrevalenceResponse.md +3 -3
- data/docs/ConditionPrevalenceRow.md +1 -1
- data/docs/ConditionPublicationsResponse.md +3 -3
- data/docs/ConditionRecruitmentByPhaseResponse.md +58 -0
- data/docs/ConditionRecruitmentByPhaseRow.md +50 -0
- data/docs/ConditionRecruitmentDurationResponse.md +58 -0
- data/docs/ConditionRecruitmentDurationRow.md +86 -0
- data/docs/ConditionSitesResponse.md +3 -3
- data/docs/ConditionTrialStartForecastResponse.md +58 -0
- data/docs/ConditionTrialStartForecastRow.md +70 -0
- data/docs/ConditionTrialsResponse.md +3 -3
- data/docs/ConditionTrialsRow.md +1 -1
- data/docs/ConditionsApi.md +560 -0
- data/docs/ConditionsRecord.md +2 -2
- data/docs/ConditionsRecordAttributes.md +3 -1
- data/docs/ConditionsResponse.md +3 -3
- data/docs/CroFootprintResponse.md +58 -0
- data/docs/CroFootprintRow.md +34 -0
- data/docs/CroTrialsResponse.md +58 -0
- data/docs/CroTrialsRow.md +46 -0
- data/docs/DebarmentsResponse.md +58 -0
- data/docs/DebarmentsRow.md +44 -0
- data/docs/DrugApprovalsResponse.md +58 -0
- data/docs/DrugApprovalsRow.md +28 -0
- data/docs/DrugAspCodesResponse.md +58 -0
- data/docs/DrugAspCodesRow.md +28 -0
- data/docs/DrugBrandsResponse.md +58 -0
- data/docs/DrugBrandsRow.md +60 -0
- data/docs/DrugCombinationsResponse.md +58 -0
- data/docs/DrugCombinationsRow.md +32 -0
- data/docs/DrugDeclaredPatentsResponse.md +58 -0
- data/docs/DrugDeclaredPatentsRow.md +58 -0
- data/docs/DrugLabelSafetyResponse.md +58 -0
- data/docs/DrugLabelSafetyRow.md +32 -0
- data/docs/DrugMedicareSpendResponse.md +58 -0
- data/docs/DrugMedicareSpendRow.md +28 -0
- data/docs/DrugPatentCliffResponse.md +3 -3
- data/docs/DrugPatentCliffRow.md +3 -1
- data/docs/DrugPatentMentionsResponse.md +58 -0
- data/docs/DrugPatentMentionsRow.md +28 -0
- data/docs/DrugPatentOwnersResponse.md +58 -0
- data/docs/DrugPatentOwnersRow.md +42 -0
- data/docs/DrugPricingResponse.md +58 -0
- data/docs/DrugPricingRow.md +32 -0
- data/docs/DrugRecallsResponse.md +58 -0
- data/docs/DrugRecallsRow.md +34 -0
- data/docs/DrugRegulatoryResponse.md +58 -0
- data/docs/DrugRegulatoryRow.md +38 -0
- data/docs/DrugSitesResponse.md +58 -0
- data/docs/DrugSitesRow.md +28 -0
- data/docs/DrugTargetsResponse.md +58 -0
- data/docs/DrugTargetsRow.md +36 -0
- data/docs/DrugTrialConditionsResponse.md +58 -0
- data/docs/DrugTrialConditionsRow.md +30 -0
- data/docs/DrugTrialsResponse.md +58 -0
- data/docs/DrugTrialsRow.md +58 -0
- data/docs/DrugVariantsResponse.md +58 -0
- data/docs/DrugVariantsRow.md +38 -0
- data/docs/DrugsApi.md +2153 -0
- data/docs/DrugsRecord.md +38 -0
- data/docs/DrugsRecordAttributes.md +20 -0
- data/docs/DrugsResponse.md +58 -0
- data/docs/DrugsRow.md +82 -0
- data/docs/EnforcementEventsResponse.md +58 -0
- data/docs/EnforcementEventsRow.md +64 -0
- data/docs/GxpFacilitiesResponse.md +58 -0
- data/docs/GxpFacilitiesRow.md +152 -0
- data/docs/HospitalBedsYearlyResponse.md +58 -0
- data/docs/HospitalBedsYearlyRow.md +28 -0
- data/docs/HospitalFacilityChangesResponse.md +58 -0
- data/docs/HospitalFacilityChangesRow.md +30 -0
- data/docs/HospitalsApi.md +393 -0
- data/docs/HospitalsRecord.md +38 -0
- data/docs/HospitalsResponse.md +58 -0
- data/docs/HospitalsRow.md +40 -0
- data/docs/ImportRefusalsResponse.md +58 -0
- data/docs/ImportRefusalsRow.md +60 -0
- data/docs/InspectionFindingsResponse.md +58 -0
- data/docs/InspectionFindingsRow.md +48 -0
- data/docs/InspectionsResponse.md +58 -0
- data/docs/InspectionsRow.md +60 -0
- data/docs/InstitutionalHoldingsResponse.md +3 -3
- data/docs/InstitutionalHoldingsRow.md +7 -1
- data/docs/InstitutionalQuarterTotalsResponse.md +58 -0
- data/docs/InstitutionalQuarterTotalsRow.md +58 -0
- data/docs/InvestorFundsResponse.md +58 -0
- data/docs/InvestorFundsRow.md +24 -0
- data/docs/InvestorPortfolioResponse.md +58 -0
- data/docs/InvestorPortfolioRow.md +42 -0
- data/docs/InvestorPrivateFundsResponse.md +58 -0
- data/docs/InvestorPrivateFundsRow.md +44 -0
- data/docs/InvestorsApi.md +633 -0
- data/docs/InvestorsRecord.md +38 -0
- data/docs/InvestorsResponse.md +58 -0
- data/docs/InvestorsRow.md +54 -0
- data/docs/LegalEntitiesApi.md +1595 -155
- data/docs/LegalEntitiesRecord.md +2 -2
- data/docs/LegalEntitiesRecordAttributes.md +2 -0
- data/docs/LegalEntitiesResponse.md +3 -3
- data/docs/LegalEntitiesRow.md +1 -1
- data/docs/ManagersApi.md +233 -0
- data/docs/ManagersRecord.md +38 -0
- data/docs/ManagersResponse.md +58 -0
- data/docs/ManagersRow.md +46 -0
- data/docs/OrgDisclosuresResponse.md +58 -0
- data/docs/OrgDisclosuresRow.md +56 -0
- data/docs/OrgRelationshipsResponse.md +58 -0
- data/docs/OrgRelationshipsRow.md +68 -0
- data/docs/OwnershipPercentagesResponse.md +58 -0
- data/docs/OwnershipPercentagesRow.md +74 -0
- data/docs/OwnershipPositionsResponse.md +3 -3
- data/docs/OwnershipPositionsRow.md +16 -14
- data/docs/PdufaDatesResponse.md +3 -3
- data/docs/PdufaDatesRow.md +1 -1
- data/docs/ProgramLicensingCandidatesResponse.md +58 -0
- data/docs/ProgramLicensingCandidatesRow.md +58 -0
- data/docs/ProgramsResponse.md +58 -0
- data/docs/ProgramsRow.md +46 -0
- data/docs/RareDiseaseGenesResponse.md +58 -0
- data/docs/RareDiseaseGenesRow.md +50 -0
- data/docs/RareDiseaseHierarchyResponse.md +58 -0
- data/docs/RareDiseaseHierarchyRow.md +40 -0
- data/docs/RareDiseaseInvestigatorCoverageResponse.md +58 -0
- data/docs/RareDiseaseInvestigatorCoverageRow.md +38 -0
- data/docs/RareDiseaseInvestigatorsResponse.md +58 -0
- data/docs/RareDiseaseInvestigatorsRow.md +56 -0
- data/docs/RareDiseaseMappingsResponse.md +58 -0
- data/docs/RareDiseaseMappingsRow.md +44 -0
- data/docs/RareDiseaseOrganizationsResponse.md +58 -0
- data/docs/RareDiseaseOrganizationsRow.md +60 -0
- data/docs/RareDiseasePrevalenceResponse.md +58 -0
- data/docs/RareDiseasePrevalenceRow.md +62 -0
- data/docs/RareDiseaseRarityEvidenceResponse.md +58 -0
- data/docs/RareDiseaseRarityEvidenceRow.md +36 -0
- data/docs/RareDiseaseRarityResponse.md +58 -0
- data/docs/RareDiseaseRarityRow.md +54 -0
- data/docs/RareDiseaseReplacementsResponse.md +58 -0
- data/docs/RareDiseaseReplacementsRow.md +40 -0
- data/docs/RareDiseaseSiteCoverageResponse.md +58 -0
- data/docs/RareDiseaseSiteCoverageRow.md +54 -0
- data/docs/RareDiseaseSponsorsResponse.md +58 -0
- data/docs/RareDiseaseSponsorsRow.md +82 -0
- data/docs/RareDiseaseTrialCoverageResponse.md +58 -0
- data/docs/RareDiseaseTrialCoverageRow.md +58 -0
- data/docs/RareDiseaseTrialSitesResponse.md +58 -0
- data/docs/RareDiseaseTrialSitesRow.md +52 -0
- data/docs/RareDiseaseTrialsResponse.md +58 -0
- data/docs/RareDiseaseTrialsRow.md +90 -0
- data/docs/RareDiseasesApi.md +1353 -0
- data/docs/RareDiseasesRecord.md +38 -0
- data/docs/RareDiseasesRecordAttributes.md +22 -0
- data/docs/RareDiseasesResponse.md +58 -0
- data/docs/RareDiseasesRow.md +68 -0
- data/docs/RecallsResponse.md +58 -0
- data/docs/RecallsRow.md +54 -0
- data/docs/RwdCoverageResponse.md +58 -0
- data/docs/RwdCoverageRow.md +52 -0
- data/docs/RwdRegisterProvenanceResponse.md +58 -0
- data/docs/RwdRegisterProvenanceRow.md +74 -0
- data/docs/RwdRegistersApi.md +313 -0
- data/docs/RwdRegistersRecord.md +38 -0
- data/docs/RwdSourceAgeBandsResponse.md +58 -0
- data/docs/RwdSourceAgeBandsRow.md +40 -0
- data/docs/RwdSourceConditionsResponse.md +58 -0
- data/docs/RwdSourceConditionsRow.md +68 -0
- data/docs/RwdSourceEtlMappingsResponse.md +58 -0
- data/docs/RwdSourceEtlMappingsRow.md +44 -0
- data/docs/RwdSourceLinkagesResponse.md +58 -0
- data/docs/RwdSourceLinkagesRow.md +64 -0
- data/docs/RwdSourceTypesResponse.md +58 -0
- data/docs/RwdSourceTypesRow.md +34 -0
- data/docs/RwdSourceVocabulariesResponse.md +58 -0
- data/docs/RwdSourceVocabulariesRow.md +42 -0
- data/docs/RwdSourcesApi.md +713 -0
- data/docs/RwdSourcesRecord.md +38 -0
- data/docs/RwdSourcesResponse.md +58 -0
- data/docs/RwdSourcesRow.md +280 -0
- data/docs/RwdStudiesApi.md +473 -0
- data/docs/RwdStudiesRecord.md +38 -0
- data/docs/RwdStudiesResponse.md +58 -0
- data/docs/RwdStudiesRow.md +180 -0
- data/docs/RwdStudyConditionsResponse.md +58 -0
- data/docs/RwdStudyConditionsRow.md +54 -0
- data/docs/RwdStudyDataSourcesResponse.md +58 -0
- data/docs/RwdStudyDataSourcesRow.md +54 -0
- data/docs/RwdStudyDrugsResponse.md +58 -0
- data/docs/RwdStudyDrugsRow.md +50 -0
- data/docs/RwdStudyMilestonesResponse.md +58 -0
- data/docs/RwdStudyMilestonesRow.md +54 -0
- data/docs/RwdWithheldFieldsResponse.md +58 -0
- data/docs/RwdWithheldFieldsRow.md +36 -0
- data/docs/SecPdufaDatesResponse.md +58 -0
- data/docs/SecPdufaDatesRow.md +64 -0
- data/docs/SiteBedsYearlyResponse.md +3 -3
- data/docs/SiteCroTrialsResponse.md +3 -3
- data/docs/SiteHospitalsResponse.md +3 -3
- data/docs/SiteInvestigatorsResponse.md +3 -3
- data/docs/SiteTrialConditionsResponse.md +3 -3
- data/docs/SiteTrialDrugsResponse.md +3 -3
- data/docs/SiteTrialsResponse.md +3 -3
- data/docs/SitesRecord.md +2 -2
- data/docs/SitesResponse.md +3 -3
- data/docs/SponsorRecruitmentByPhaseResponse.md +3 -3
- data/docs/SponsorRecruitmentDurationResponse.md +3 -3
- data/docs/SponsorTrialStartForecastResponse.md +3 -3
- data/docs/SponsorTrialsResponse.md +3 -3
- data/docs/SponsorTrialsRow.md +1 -1
- data/docs/SupplierCapabilityEsgResponse.md +58 -0
- data/docs/SupplierCapabilityEsgRow.md +64 -0
- data/docs/SupplierServicesResponse.md +58 -0
- data/docs/SupplierServicesRow.md +30 -0
- data/docs/SupplierSitesResponse.md +58 -0
- data/docs/SupplierSitesRow.md +42 -0
- data/docs/SuppliersApi.md +313 -0
- data/docs/SuppliersRecord.md +38 -0
- data/docs/SuppliersResponse.md +58 -0
- data/docs/SuppliersRow.md +76 -0
- data/docs/TargetAssociationsResponse.md +58 -0
- data/docs/TargetAssociationsRow.md +26 -0
- data/docs/TargetCrowdingResponse.md +58 -0
- data/docs/TargetCrowdingRow.md +30 -0
- data/docs/TargetDrugsResponse.md +58 -0
- data/docs/TargetDrugsRow.md +38 -0
- data/docs/TargetEvidenceResponse.md +58 -0
- data/docs/TargetEvidenceRow.md +52 -0
- data/docs/TargetPatentMentionsResponse.md +58 -0
- data/docs/TargetPatentMentionsRow.md +34 -0
- data/docs/TargetProgramsResponse.md +58 -0
- data/docs/TargetProgramsRow.md +58 -0
- data/docs/TargetPublicationsResponse.md +58 -0
- data/docs/TargetPublicationsRow.md +32 -0
- data/docs/TargetRegulatoryPrecedentResponse.md +58 -0
- data/docs/TargetRegulatoryPrecedentRow.md +38 -0
- data/docs/TargetTrialsResponse.md +58 -0
- data/docs/TargetTrialsRow.md +46 -0
- data/docs/TargetsApi.md +1033 -0
- data/docs/TargetsRecord.md +38 -0
- data/docs/TargetsResponse.md +58 -0
- data/docs/TargetsRow.md +68 -0
- data/docs/TrialAdverseEventsResponse.md +3 -3
- data/docs/TrialChangesResponse.md +3 -3
- data/docs/TrialChangesRow.md +5 -1
- data/docs/TrialDeliveryResponse.md +3 -3
- data/docs/TrialDemographicsResponse.md +3 -3
- data/docs/TrialDrugClassesResponse.md +58 -0
- data/docs/TrialDrugClassesRow.md +28 -0
- data/docs/TrialDrugsResponse.md +3 -3
- data/docs/TrialEnrollmentHistoryResponse.md +3 -3
- data/docs/TrialEnrollmentRateResponse.md +3 -3
- data/docs/TrialExtractedEndpointsResponse.md +3 -3
- data/docs/TrialKolsResponse.md +58 -0
- data/docs/TrialKolsRow.md +32 -0
- data/docs/TrialOutcomeMeasuresResponse.md +3 -3
- data/docs/TrialResearchPaymentsResponse.md +58 -0
- data/docs/TrialResearchPaymentsRow.md +44 -0
- data/docs/TrialSiteHistoryResponse.md +58 -0
- data/docs/TrialSiteHistoryRow.md +50 -0
- data/docs/TrialSitesResponse.md +3 -3
- data/docs/TrialsApi.md +400 -0
- data/docs/TrialsRecord.md +2 -2
- data/docs/TrialsResponse.md +3 -3
- data/docs/TrialsRow.md +9 -1
- data/docs/UnmatchedProductRevenueResponse.md +58 -0
- data/docs/UnmatchedProductRevenueRow.md +80 -0
- data/docs/UntitledLettersResponse.md +58 -0
- data/docs/UntitledLettersRow.md +44 -0
- data/docs/WarningLettersResponse.md +58 -0
- data/docs/WarningLettersRow.md +50 -0
- data/lib/pharmaobservatory/api/biomarkers_api.rb +168 -0
- data/lib/pharmaobservatory/api/companies_api.rb +2164 -162
- data/lib/pharmaobservatory/api/conditions_api.rb +588 -0
- data/lib/pharmaobservatory/api/drugs_api.rb +2261 -0
- data/lib/pharmaobservatory/api/hospitals_api.rb +413 -0
- data/lib/pharmaobservatory/api/investors_api.rb +665 -0
- data/lib/pharmaobservatory/api/legal_entities_api.rb +1670 -158
- data/lib/pharmaobservatory/api/managers_api.rb +245 -0
- data/lib/pharmaobservatory/api/rare_diseases_api.rb +1421 -0
- data/lib/pharmaobservatory/api/rwd_registers_api.rb +329 -0
- data/lib/pharmaobservatory/api/rwd_sources_api.rb +749 -0
- data/lib/pharmaobservatory/api/rwd_studies_api.rb +497 -0
- data/lib/pharmaobservatory/api/suppliers_api.rb +329 -0
- data/lib/pharmaobservatory/api/targets_api.rb +1085 -0
- data/lib/pharmaobservatory/api/trials_api.rb +420 -0
- data/lib/pharmaobservatory/models/biomarker_assay_evidence_response.rb +478 -0
- data/lib/pharmaobservatory/models/{biomarker_cdx_assertions_response_build.rb → biomarker_assay_evidence_response_build.rb} +3 -3
- data/lib/pharmaobservatory/models/{biomarker_cdx_assertions_response_freshness.rb → biomarker_assay_evidence_response_freshness.rb} +3 -3
- data/lib/pharmaobservatory/models/{biomarker_cdx_assertions_response_scope.rb → biomarker_assay_evidence_response_scope.rb} +3 -3
- data/lib/pharmaobservatory/models/biomarker_assay_evidence_row.rb +506 -0
- data/lib/pharmaobservatory/models/biomarker_assay_whitespace_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_assay_whitespace_row.rb +499 -0
- data/lib/pharmaobservatory/models/biomarker_bqp_assertions_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_cdx_assertions_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_evidence_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_literature_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_publishing_companies_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_publishing_companies_row.rb +49 -5
- data/lib/pharmaobservatory/models/biomarker_relations_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_sample_coverage_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_sample_prevalence_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_validation_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarker_variant_mentions_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarkers_record.rb +2 -2
- data/lib/pharmaobservatory/models/biomarkers_response.rb +3 -3
- data/lib/pharmaobservatory/models/biomarkers_row.rb +12 -1
- data/lib/pharmaobservatory/models/brand_companies_response.rb +478 -0
- data/lib/pharmaobservatory/models/brand_companies_row.rb +401 -0
- data/lib/pharmaobservatory/models/brand_revenue_response.rb +478 -0
- data/lib/pharmaobservatory/models/brand_revenue_row.rb +454 -0
- data/lib/pharmaobservatory/models/catalysts_response.rb +478 -0
- data/lib/pharmaobservatory/models/catalysts_row.rb +623 -0
- data/lib/pharmaobservatory/models/cell_lines_record.rb +2 -2
- data/lib/pharmaobservatory/models/cell_lines_response.rb +3 -3
- data/lib/pharmaobservatory/models/clia_certificates_response.rb +478 -0
- data/lib/pharmaobservatory/models/clia_certificates_row.rb +568 -0
- data/lib/pharmaobservatory/models/companies_record.rb +2 -2
- data/lib/pharmaobservatory/models/companies_record_attributes.rb +13 -4
- data/lib/pharmaobservatory/models/companies_response.rb +3 -3
- data/lib/pharmaobservatory/models/companies_row.rb +1 -1
- data/lib/pharmaobservatory/models/company_assets_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_funding_events_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_funding_events_row.rb +13 -2
- data/lib/pharmaobservatory/models/company_funding_summary_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_members_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_programs_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_targets_response.rb +3 -3
- data/lib/pharmaobservatory/models/company_targets_row.rb +27 -5
- data/lib/pharmaobservatory/models/company_trial_geography_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_trial_geography_row.rb +410 -0
- data/lib/pharmaobservatory/models/company_trial_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_trial_sites_row.rb +410 -0
- data/lib/pharmaobservatory/models/condition_adverse_events_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_burden_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_delivery_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_prevalence_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_prevalence_row.rb +1 -1
- data/lib/pharmaobservatory/models/condition_publications_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_recruitment_by_phase_response.rb +478 -0
- data/lib/pharmaobservatory/models/condition_recruitment_by_phase_row.rb +399 -0
- data/lib/pharmaobservatory/models/condition_recruitment_duration_response.rb +478 -0
- data/lib/pharmaobservatory/models/condition_recruitment_duration_row.rb +597 -0
- data/lib/pharmaobservatory/models/condition_sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_trial_start_forecast_response.rb +478 -0
- data/lib/pharmaobservatory/models/condition_trial_start_forecast_row.rb +509 -0
- data/lib/pharmaobservatory/models/condition_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/condition_trials_row.rb +1 -1
- data/lib/pharmaobservatory/models/conditions_record.rb +2 -2
- data/lib/pharmaobservatory/models/conditions_record_attributes.rb +13 -4
- data/lib/pharmaobservatory/models/conditions_response.rb +3 -3
- data/lib/pharmaobservatory/models/cro_footprint_response.rb +478 -0
- data/lib/pharmaobservatory/models/cro_footprint_row.rb +311 -0
- data/lib/pharmaobservatory/models/cro_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/cro_trials_row.rb +381 -0
- data/lib/pharmaobservatory/models/debarments_response.rb +478 -0
- data/lib/pharmaobservatory/models/debarments_row.rb +366 -0
- data/lib/pharmaobservatory/models/drug_approvals_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_approvals_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_asp_codes_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_asp_codes_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_brands_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_brands_row.rb +454 -0
- data/lib/pharmaobservatory/models/drug_combinations_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_combinations_row.rb +300 -0
- data/lib/pharmaobservatory/models/drug_declared_patents_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_declared_patents_row.rb +447 -0
- data/lib/pharmaobservatory/models/drug_label_safety_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_label_safety_row.rb +300 -0
- data/lib/pharmaobservatory/models/drug_medicare_spend_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_medicare_spend_row.rb +280 -0
- data/lib/pharmaobservatory/models/drug_patent_cliff_response.rb +3 -3
- data/lib/pharmaobservatory/models/drug_patent_cliff_row.rb +13 -2
- data/lib/pharmaobservatory/models/drug_patent_mentions_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_patent_mentions_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_patent_owners_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_patent_owners_row.rb +357 -0
- data/lib/pharmaobservatory/models/drug_pricing_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_pricing_row.rb +300 -0
- data/lib/pharmaobservatory/models/drug_recalls_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_recalls_row.rb +311 -0
- data/lib/pharmaobservatory/models/drug_regulatory_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_regulatory_row.rb +333 -0
- data/lib/pharmaobservatory/models/drug_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_sites_row.rb +278 -0
- data/lib/pharmaobservatory/models/drug_targets_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_targets_row.rb +324 -0
- data/lib/pharmaobservatory/models/drug_trial_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_trial_conditions_row.rb +289 -0
- data/lib/pharmaobservatory/models/drug_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_trials_row.rb +445 -0
- data/lib/pharmaobservatory/models/drug_variants_response.rb +478 -0
- data/lib/pharmaobservatory/models/drug_variants_row.rb +333 -0
- data/lib/pharmaobservatory/models/drugs_record.rb +385 -0
- data/lib/pharmaobservatory/models/drugs_record_attributes.rb +229 -0
- data/lib/pharmaobservatory/models/drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/drugs_row.rb +581 -0
- data/lib/pharmaobservatory/models/enforcement_events_response.rb +478 -0
- data/lib/pharmaobservatory/models/enforcement_events_row.rb +476 -0
- data/lib/pharmaobservatory/models/gxp_facilities_response.rb +478 -0
- data/lib/pharmaobservatory/models/gxp_facilities_row.rb +968 -0
- data/lib/pharmaobservatory/models/hospital_beds_yearly_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospital_beds_yearly_row.rb +278 -0
- data/lib/pharmaobservatory/models/hospital_facility_changes_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospital_facility_changes_row.rb +289 -0
- data/lib/pharmaobservatory/models/hospitals_record.rb +385 -0
- data/lib/pharmaobservatory/models/hospitals_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospitals_row.rb +344 -0
- data/lib/pharmaobservatory/models/import_refusals_response.rb +478 -0
- data/lib/pharmaobservatory/models/import_refusals_row.rb +454 -0
- data/lib/pharmaobservatory/models/inspection_findings_response.rb +478 -0
- data/lib/pharmaobservatory/models/inspection_findings_row.rb +388 -0
- data/lib/pharmaobservatory/models/inspections_response.rb +478 -0
- data/lib/pharmaobservatory/models/inspections_row.rb +454 -0
- data/lib/pharmaobservatory/models/institutional_holdings_response.rb +3 -3
- data/lib/pharmaobservatory/models/institutional_holdings_row.rb +35 -2
- data/lib/pharmaobservatory/models/institutional_quarter_totals_response.rb +478 -0
- data/lib/pharmaobservatory/models/institutional_quarter_totals_row.rb +443 -0
- data/lib/pharmaobservatory/models/investor_funds_response.rb +478 -0
- data/lib/pharmaobservatory/models/investor_funds_row.rb +256 -0
- data/lib/pharmaobservatory/models/investor_portfolio_response.rb +478 -0
- data/lib/pharmaobservatory/models/investor_portfolio_row.rb +357 -0
- data/lib/pharmaobservatory/models/investor_private_funds_response.rb +478 -0
- data/lib/pharmaobservatory/models/investor_private_funds_row.rb +366 -0
- data/lib/pharmaobservatory/models/investors_record.rb +385 -0
- data/lib/pharmaobservatory/models/investors_response.rb +478 -0
- data/lib/pharmaobservatory/models/investors_row.rb +421 -0
- data/lib/pharmaobservatory/models/legal_entities_record.rb +2 -2
- data/lib/pharmaobservatory/models/legal_entities_record_attributes.rb +10 -1
- data/lib/pharmaobservatory/models/legal_entities_response.rb +3 -3
- data/lib/pharmaobservatory/models/legal_entities_row.rb +1 -1
- data/lib/pharmaobservatory/models/managers_record.rb +385 -0
- data/lib/pharmaobservatory/models/managers_response.rb +478 -0
- data/lib/pharmaobservatory/models/managers_row.rb +377 -0
- data/lib/pharmaobservatory/models/org_disclosures_response.rb +478 -0
- data/lib/pharmaobservatory/models/org_disclosures_row.rb +432 -0
- data/lib/pharmaobservatory/models/org_relationships_response.rb +478 -0
- data/lib/pharmaobservatory/models/org_relationships_row.rb +498 -0
- data/lib/pharmaobservatory/models/ownership_percentages_response.rb +478 -0
- data/lib/pharmaobservatory/models/ownership_percentages_row.rb +531 -0
- data/lib/pharmaobservatory/models/ownership_positions_response.rb +3 -3
- data/lib/pharmaobservatory/models/ownership_positions_row.rb +26 -15
- data/lib/pharmaobservatory/models/pdufa_dates_response.rb +3 -3
- data/lib/pharmaobservatory/models/pdufa_dates_row.rb +1 -1
- data/lib/pharmaobservatory/models/program_licensing_candidates_response.rb +478 -0
- data/lib/pharmaobservatory/models/program_licensing_candidates_row.rb +445 -0
- data/lib/pharmaobservatory/models/programs_response.rb +478 -0
- data/lib/pharmaobservatory/models/programs_row.rb +377 -0
- data/lib/pharmaobservatory/models/rare_disease_genes_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_genes_row.rb +399 -0
- data/lib/pharmaobservatory/models/rare_disease_hierarchy_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_hierarchy_row.rb +344 -0
- data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_row.rb +333 -0
- data/lib/pharmaobservatory/models/rare_disease_investigators_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_investigators_row.rb +436 -0
- data/lib/pharmaobservatory/models/rare_disease_mappings_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_mappings_row.rb +366 -0
- data/lib/pharmaobservatory/models/rare_disease_organizations_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_organizations_row.rb +454 -0
- data/lib/pharmaobservatory/models/rare_disease_prevalence_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_prevalence_row.rb +465 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_row.rb +322 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_row.rb +421 -0
- data/lib/pharmaobservatory/models/rare_disease_replacements_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_replacements_row.rb +344 -0
- data/lib/pharmaobservatory/models/rare_disease_site_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_site_coverage_row.rb +421 -0
- data/lib/pharmaobservatory/models/rare_disease_sponsors_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_sponsors_row.rb +575 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_coverage_row.rb +449 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_sites_row.rb +412 -0
- data/lib/pharmaobservatory/models/rare_disease_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trials_row.rb +623 -0
- data/lib/pharmaobservatory/models/rare_diseases_record.rb +385 -0
- data/lib/pharmaobservatory/models/rare_diseases_record_attributes.rb +238 -0
- data/lib/pharmaobservatory/models/rare_diseases_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_diseases_row.rb +500 -0
- data/lib/pharmaobservatory/models/recalls_response.rb +478 -0
- data/lib/pharmaobservatory/models/recalls_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_coverage_row.rb +410 -0
- data/lib/pharmaobservatory/models/rwd_register_provenance_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_register_provenance_row.rb +531 -0
- data/lib/pharmaobservatory/models/rwd_registers_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_source_age_bands_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_age_bands_row.rb +344 -0
- data/lib/pharmaobservatory/models/rwd_source_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_conditions_row.rb +502 -0
- data/lib/pharmaobservatory/models/rwd_source_etl_mappings_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_etl_mappings_row.rb +366 -0
- data/lib/pharmaobservatory/models/rwd_source_linkages_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_linkages_row.rb +476 -0
- data/lib/pharmaobservatory/models/rwd_source_types_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_types_row.rb +311 -0
- data/lib/pharmaobservatory/models/rwd_source_vocabularies_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_vocabularies_row.rb +355 -0
- data/lib/pharmaobservatory/models/rwd_sources_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_sources_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_sources_row.rb +1674 -0
- data/lib/pharmaobservatory/models/rwd_studies_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_studies_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_studies_row.rb +1138 -0
- data/lib/pharmaobservatory/models/rwd_study_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_conditions_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_study_data_sources_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_data_sources_row.rb +423 -0
- data/lib/pharmaobservatory/models/rwd_study_drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_drugs_row.rb +401 -0
- data/lib/pharmaobservatory/models/rwd_study_milestones_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_milestones_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_withheld_fields_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_withheld_fields_row.rb +322 -0
- data/lib/pharmaobservatory/models/sec_pdufa_dates_response.rb +478 -0
- data/lib/pharmaobservatory/models/sec_pdufa_dates_row.rb +476 -0
- data/lib/pharmaobservatory/models/site_beds_yearly_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_cro_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_hospitals_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_investigators_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_trial_conditions_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_trial_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/site_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/sites_record.rb +2 -2
- data/lib/pharmaobservatory/models/sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_recruitment_by_phase_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_recruitment_duration_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_trial_start_forecast_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/sponsor_trials_row.rb +1 -1
- data/lib/pharmaobservatory/models/supplier_capability_esg_response.rb +478 -0
- data/lib/pharmaobservatory/models/supplier_capability_esg_row.rb +480 -0
- data/lib/pharmaobservatory/models/supplier_services_response.rb +478 -0
- data/lib/pharmaobservatory/models/supplier_services_row.rb +289 -0
- data/lib/pharmaobservatory/models/supplier_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/supplier_sites_row.rb +357 -0
- data/lib/pharmaobservatory/models/suppliers_record.rb +385 -0
- data/lib/pharmaobservatory/models/suppliers_response.rb +478 -0
- data/lib/pharmaobservatory/models/suppliers_row.rb +544 -0
- data/lib/pharmaobservatory/models/target_associations_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_associations_row.rb +267 -0
- data/lib/pharmaobservatory/models/target_crowding_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_crowding_row.rb +289 -0
- data/lib/pharmaobservatory/models/target_drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_drugs_row.rb +335 -0
- data/lib/pharmaobservatory/models/target_evidence_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_evidence_row.rb +410 -0
- data/lib/pharmaobservatory/models/target_patent_mentions_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_patent_mentions_row.rb +311 -0
- data/lib/pharmaobservatory/models/target_programs_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_programs_row.rb +447 -0
- data/lib/pharmaobservatory/models/target_publications_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_publications_row.rb +300 -0
- data/lib/pharmaobservatory/models/target_regulatory_precedent_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_regulatory_precedent_row.rb +333 -0
- data/lib/pharmaobservatory/models/target_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/target_trials_row.rb +377 -0
- data/lib/pharmaobservatory/models/targets_record.rb +385 -0
- data/lib/pharmaobservatory/models/targets_response.rb +478 -0
- data/lib/pharmaobservatory/models/targets_row.rb +498 -0
- data/lib/pharmaobservatory/models/trial_adverse_events_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_changes_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_changes_row.rb +24 -2
- data/lib/pharmaobservatory/models/trial_delivery_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_demographics_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_drug_classes_response.rb +478 -0
- data/lib/pharmaobservatory/models/trial_drug_classes_row.rb +278 -0
- data/lib/pharmaobservatory/models/trial_drugs_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_enrollment_history_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_enrollment_rate_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_extracted_endpoints_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_kols_response.rb +478 -0
- data/lib/pharmaobservatory/models/trial_kols_row.rb +302 -0
- data/lib/pharmaobservatory/models/trial_outcome_measures_response.rb +3 -3
- data/lib/pharmaobservatory/models/trial_research_payments_response.rb +478 -0
- data/lib/pharmaobservatory/models/trial_research_payments_row.rb +366 -0
- data/lib/pharmaobservatory/models/trial_site_history_response.rb +478 -0
- data/lib/pharmaobservatory/models/trial_site_history_row.rb +401 -0
- data/lib/pharmaobservatory/models/trial_sites_response.rb +3 -3
- data/lib/pharmaobservatory/models/trials_record.rb +2 -2
- data/lib/pharmaobservatory/models/trials_response.rb +3 -3
- data/lib/pharmaobservatory/models/trials_row.rb +47 -3
- data/lib/pharmaobservatory/models/unmatched_product_revenue_response.rb +478 -0
- data/lib/pharmaobservatory/models/unmatched_product_revenue_row.rb +564 -0
- data/lib/pharmaobservatory/models/untitled_letters_response.rb +478 -0
- data/lib/pharmaobservatory/models/untitled_letters_row.rb +366 -0
- data/lib/pharmaobservatory/models/warning_letters_response.rb +478 -0
- data/lib/pharmaobservatory/models/warning_letters_row.rb +399 -0
- data/lib/pharmaobservatory/version.rb +1 -1
- data/lib/pharmaobservatory.rb +235 -3
- metadata +472 -8
data/docs/CompaniesApi.md
CHANGED
|
@@ -8,23 +8,45 @@ All URIs are relative to *https://pharmaobservatory.com*
|
|
|
8
8
|
| [**companies_biomarker_cdx_assertions**](CompaniesApi.md#companies_biomarker_cdx_assertions) | **GET** /api/v1/companies/{id}/biomarker_cdx_assertions | FDA companion diagnostic assertions |
|
|
9
9
|
| [**companies_biomarker_publishing_companies**](CompaniesApi.md#companies_biomarker_publishing_companies) | **GET** /api/v1/companies/{id}/biomarker_publishing_companies | Companies publishing on a biomarker |
|
|
10
10
|
| [**companies_biomarker_validation**](CompaniesApi.md#companies_biomarker_validation) | **GET** /api/v1/companies/{id}/biomarker_validation | Biomarker validation ladder |
|
|
11
|
+
| [**companies_catalysts**](CompaniesApi.md#companies_catalysts) | **GET** /api/v1/companies/{id}/catalysts | Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events |
|
|
12
|
+
| [**companies_clia_certificates**](CompaniesApi.md#companies_clia_certificates) | **GET** /api/v1/companies/{id}/clia_certificates | CLIA laboratory certificates |
|
|
11
13
|
| [**companies_company_assets**](CompaniesApi.md#companies_company_assets) | **GET** /api/v1/companies/{id}/company_assets | Company assets (approved and marketed drugs) |
|
|
12
14
|
| [**companies_company_funding_events**](CompaniesApi.md#companies_company_funding_events) | **GET** /api/v1/companies/{id}/company_funding_events | Company funding events |
|
|
13
15
|
| [**companies_company_funding_summary**](CompaniesApi.md#companies_company_funding_summary) | **GET** /api/v1/companies/{id}/company_funding_summary | Company funding summary |
|
|
14
16
|
| [**companies_company_members**](CompaniesApi.md#companies_company_members) | **GET** /api/v1/companies/{id}/company_members | Company members |
|
|
15
17
|
| [**companies_company_programs**](CompaniesApi.md#companies_company_programs) | **GET** /api/v1/companies/{id}/company_programs | Company programs |
|
|
16
18
|
| [**companies_company_targets**](CompaniesApi.md#companies_company_targets) | **GET** /api/v1/companies/{id}/company_targets | Targets a company pursues |
|
|
19
|
+
| [**companies_company_trial_geography**](CompaniesApi.md#companies_company_trial_geography) | **GET** /api/v1/companies/{id}/company_trial_geography | Company trial geography |
|
|
20
|
+
| [**companies_company_trial_sites**](CompaniesApi.md#companies_company_trial_sites) | **GET** /api/v1/companies/{id}/company_trial_sites | Company trial sites |
|
|
21
|
+
| [**companies_cro_footprint**](CompaniesApi.md#companies_cro_footprint) | **GET** /api/v1/companies/{id}/cro_footprint | CRO footprint |
|
|
22
|
+
| [**companies_cro_trials**](CompaniesApi.md#companies_cro_trials) | **GET** /api/v1/companies/{id}/cro_trials | CRO trials |
|
|
23
|
+
| [**companies_debarments**](CompaniesApi.md#companies_debarments) | **GET** /api/v1/companies/{id}/debarments | FDA firm debarments |
|
|
17
24
|
| [**companies_drug_patent_cliff**](CompaniesApi.md#companies_drug_patent_cliff) | **GET** /api/v1/companies/{id}/drug_patent_cliff | Patent-cliff exposure |
|
|
25
|
+
| [**companies_enforcement_events**](CompaniesApi.md#companies_enforcement_events) | **GET** /api/v1/companies/{id}/enforcement_events | FDA enforcement events |
|
|
18
26
|
| [**companies_get**](CompaniesApi.md#companies_get) | **GET** /api/v1/companies/{id} | One company |
|
|
27
|
+
| [**companies_gxp_facilities**](CompaniesApi.md#companies_gxp_facilities) | **GET** /api/v1/companies/{id}/gxp_facilities | GxP facilities and quality signals |
|
|
28
|
+
| [**companies_import_refusals**](CompaniesApi.md#companies_import_refusals) | **GET** /api/v1/companies/{id}/import_refusals | FDA import refusals |
|
|
29
|
+
| [**companies_inspection_findings**](CompaniesApi.md#companies_inspection_findings) | **GET** /api/v1/companies/{id}/inspection_findings | FDA inspection findings |
|
|
30
|
+
| [**companies_inspections**](CompaniesApi.md#companies_inspections) | **GET** /api/v1/companies/{id}/inspections | FDA inspections |
|
|
19
31
|
| [**companies_institutional_holdings**](CompaniesApi.md#companies_institutional_holdings) | **GET** /api/v1/companies/{id}/institutional_holdings | Institutional holdings (SEC Form 13F) |
|
|
32
|
+
| [**companies_institutional_quarter_totals**](CompaniesApi.md#companies_institutional_quarter_totals) | **GET** /api/v1/companies/{id}/institutional_quarter_totals | Institutional quarter totals (SEC Form 13F) |
|
|
20
33
|
| [**companies_legal_entities**](CompaniesApi.md#companies_legal_entities) | **GET** /api/v1/companies/{id}/legal_entities | Legal entities |
|
|
21
34
|
| [**companies_list**](CompaniesApi.md#companies_list) | **GET** /api/v1/companies | List companies |
|
|
35
|
+
| [**companies_org_disclosures**](CompaniesApi.md#companies_org_disclosures) | **GET** /api/v1/companies/{id}/org_disclosures | Organization disclosures (climate and diversity) |
|
|
36
|
+
| [**companies_org_relationships**](CompaniesApi.md#companies_org_relationships) | **GET** /api/v1/companies/{id}/org_relationships | Organization relationships |
|
|
37
|
+
| [**companies_ownership_percentages**](CompaniesApi.md#companies_ownership_percentages) | **GET** /api/v1/companies/{id}/ownership_percentages | Ownership percentages |
|
|
22
38
|
| [**companies_ownership_positions**](CompaniesApi.md#companies_ownership_positions) | **GET** /api/v1/companies/{id}/ownership_positions | Ownership and control positions |
|
|
23
39
|
| [**companies_pdufa_dates**](CompaniesApi.md#companies_pdufa_dates) | **GET** /api/v1/companies/{id}/pdufa_dates | FDA decision dates (PDUFA) and catalysts |
|
|
40
|
+
| [**companies_program_licensing_candidates**](CompaniesApi.md#companies_program_licensing_candidates) | **GET** /api/v1/companies/{id}/program_licensing_candidates | Program licensing candidates |
|
|
41
|
+
| [**companies_recalls**](CompaniesApi.md#companies_recalls) | **GET** /api/v1/companies/{id}/recalls | FDA recalls |
|
|
24
42
|
| [**companies_sponsor_recruitment_by_phase**](CompaniesApi.md#companies_sponsor_recruitment_by_phase) | **GET** /api/v1/companies/{id}/sponsor_recruitment_by_phase | Trial recruitment duration by sponsor and phase |
|
|
25
43
|
| [**companies_sponsor_recruitment_duration**](CompaniesApi.md#companies_sponsor_recruitment_duration) | **GET** /api/v1/companies/{id}/sponsor_recruitment_duration | Trial recruitment duration by sponsor |
|
|
26
44
|
| [**companies_sponsor_trial_start_forecast**](CompaniesApi.md#companies_sponsor_trial_start_forecast) | **GET** /api/v1/companies/{id}/sponsor_trial_start_forecast | Trial-start forecast by sponsor |
|
|
27
45
|
| [**companies_sponsor_trials**](CompaniesApi.md#companies_sponsor_trials) | **GET** /api/v1/companies/{id}/sponsor_trials | Sponsor trials |
|
|
46
|
+
| [**companies_supplier_capability_esg**](CompaniesApi.md#companies_supplier_capability_esg) | **GET** /api/v1/companies/{id}/supplier_capability_esg | Supplier capability and ESG disclosure |
|
|
47
|
+
| [**companies_unmatched_product_revenue**](CompaniesApi.md#companies_unmatched_product_revenue) | **GET** /api/v1/companies/{id}/unmatched_product_revenue | Unmatched product revenue |
|
|
48
|
+
| [**companies_untitled_letters**](CompaniesApi.md#companies_untitled_letters) | **GET** /api/v1/companies/{id}/untitled_letters | FDA untitled letters |
|
|
49
|
+
| [**companies_warning_letters**](CompaniesApi.md#companies_warning_letters) | **GET** /api/v1/companies/{id}/warning_letters | FDA warning letters |
|
|
28
50
|
|
|
29
51
|
|
|
30
52
|
## companies_biomarker_bqp_assertions
|
|
@@ -351,6 +373,168 @@ end
|
|
|
351
373
|
- **Accept**: application/json
|
|
352
374
|
|
|
353
375
|
|
|
376
|
+
## companies_catalysts
|
|
377
|
+
|
|
378
|
+
> <CatalystsResponse> companies_catalysts(id, opts)
|
|
379
|
+
|
|
380
|
+
Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
|
|
381
|
+
|
|
382
|
+
### Examples
|
|
383
|
+
|
|
384
|
+
```ruby
|
|
385
|
+
require 'time'
|
|
386
|
+
require 'pharmaobservatory'
|
|
387
|
+
# setup authorization
|
|
388
|
+
PharmaObservatory.configure do |config|
|
|
389
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
390
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
394
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
395
|
+
opts = {
|
|
396
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
397
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
398
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
399
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
400
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
401
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
begin
|
|
405
|
+
# Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
|
|
406
|
+
result = api_instance.companies_catalysts(id, opts)
|
|
407
|
+
p result
|
|
408
|
+
rescue PharmaObservatory::ApiError => e
|
|
409
|
+
puts "Error when calling CompaniesApi->companies_catalysts: #{e}"
|
|
410
|
+
end
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
#### Using the companies_catalysts_with_http_info variant
|
|
414
|
+
|
|
415
|
+
This returns an Array which contains the response data, status code and headers.
|
|
416
|
+
|
|
417
|
+
> <Array(<CatalystsResponse>, Integer, Hash)> companies_catalysts_with_http_info(id, opts)
|
|
418
|
+
|
|
419
|
+
```ruby
|
|
420
|
+
begin
|
|
421
|
+
# Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
|
|
422
|
+
data, status_code, headers = api_instance.companies_catalysts_with_http_info(id, opts)
|
|
423
|
+
p status_code # => 2xx
|
|
424
|
+
p headers # => { ... }
|
|
425
|
+
p data # => <CatalystsResponse>
|
|
426
|
+
rescue PharmaObservatory::ApiError => e
|
|
427
|
+
puts "Error when calling CompaniesApi->companies_catalysts_with_http_info: #{e}"
|
|
428
|
+
end
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
### Parameters
|
|
432
|
+
|
|
433
|
+
| Name | Type | Description | Notes |
|
|
434
|
+
| ---- | ---- | ----------- | ----- |
|
|
435
|
+
| **id** | **String** | | |
|
|
436
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
437
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
438
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
439
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
440
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
441
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
442
|
+
|
|
443
|
+
### Return type
|
|
444
|
+
|
|
445
|
+
[**CatalystsResponse**](CatalystsResponse.md)
|
|
446
|
+
|
|
447
|
+
### Authorization
|
|
448
|
+
|
|
449
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
450
|
+
|
|
451
|
+
### HTTP request headers
|
|
452
|
+
|
|
453
|
+
- **Content-Type**: Not defined
|
|
454
|
+
- **Accept**: application/json
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
## companies_clia_certificates
|
|
458
|
+
|
|
459
|
+
> <CliaCertificatesResponse> companies_clia_certificates(id, opts)
|
|
460
|
+
|
|
461
|
+
CLIA laboratory certificates
|
|
462
|
+
|
|
463
|
+
### Examples
|
|
464
|
+
|
|
465
|
+
```ruby
|
|
466
|
+
require 'time'
|
|
467
|
+
require 'pharmaobservatory'
|
|
468
|
+
# setup authorization
|
|
469
|
+
PharmaObservatory.configure do |config|
|
|
470
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
471
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
475
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
476
|
+
opts = {
|
|
477
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
478
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
479
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
480
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
481
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
482
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
begin
|
|
486
|
+
# CLIA laboratory certificates
|
|
487
|
+
result = api_instance.companies_clia_certificates(id, opts)
|
|
488
|
+
p result
|
|
489
|
+
rescue PharmaObservatory::ApiError => e
|
|
490
|
+
puts "Error when calling CompaniesApi->companies_clia_certificates: #{e}"
|
|
491
|
+
end
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
#### Using the companies_clia_certificates_with_http_info variant
|
|
495
|
+
|
|
496
|
+
This returns an Array which contains the response data, status code and headers.
|
|
497
|
+
|
|
498
|
+
> <Array(<CliaCertificatesResponse>, Integer, Hash)> companies_clia_certificates_with_http_info(id, opts)
|
|
499
|
+
|
|
500
|
+
```ruby
|
|
501
|
+
begin
|
|
502
|
+
# CLIA laboratory certificates
|
|
503
|
+
data, status_code, headers = api_instance.companies_clia_certificates_with_http_info(id, opts)
|
|
504
|
+
p status_code # => 2xx
|
|
505
|
+
p headers # => { ... }
|
|
506
|
+
p data # => <CliaCertificatesResponse>
|
|
507
|
+
rescue PharmaObservatory::ApiError => e
|
|
508
|
+
puts "Error when calling CompaniesApi->companies_clia_certificates_with_http_info: #{e}"
|
|
509
|
+
end
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
### Parameters
|
|
513
|
+
|
|
514
|
+
| Name | Type | Description | Notes |
|
|
515
|
+
| ---- | ---- | ----------- | ----- |
|
|
516
|
+
| **id** | **String** | | |
|
|
517
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
518
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
519
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
520
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
521
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
522
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
523
|
+
|
|
524
|
+
### Return type
|
|
525
|
+
|
|
526
|
+
[**CliaCertificatesResponse**](CliaCertificatesResponse.md)
|
|
527
|
+
|
|
528
|
+
### Authorization
|
|
529
|
+
|
|
530
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
531
|
+
|
|
532
|
+
### HTTP request headers
|
|
533
|
+
|
|
534
|
+
- **Content-Type**: Not defined
|
|
535
|
+
- **Accept**: application/json
|
|
536
|
+
|
|
537
|
+
|
|
354
538
|
## companies_company_assets
|
|
355
539
|
|
|
356
540
|
> <CompanyAssetsResponse> companies_company_assets(id, opts)
|
|
@@ -837,11 +1021,11 @@ end
|
|
|
837
1021
|
- **Accept**: application/json
|
|
838
1022
|
|
|
839
1023
|
|
|
840
|
-
##
|
|
1024
|
+
## companies_company_trial_geography
|
|
841
1025
|
|
|
842
|
-
> <
|
|
1026
|
+
> <CompanyTrialGeographyResponse> companies_company_trial_geography(id, opts)
|
|
843
1027
|
|
|
844
|
-
|
|
1028
|
+
Company trial geography
|
|
845
1029
|
|
|
846
1030
|
### Examples
|
|
847
1031
|
|
|
@@ -866,29 +1050,29 @@ opts = {
|
|
|
866
1050
|
}
|
|
867
1051
|
|
|
868
1052
|
begin
|
|
869
|
-
#
|
|
870
|
-
result = api_instance.
|
|
1053
|
+
# Company trial geography
|
|
1054
|
+
result = api_instance.companies_company_trial_geography(id, opts)
|
|
871
1055
|
p result
|
|
872
1056
|
rescue PharmaObservatory::ApiError => e
|
|
873
|
-
puts "Error when calling CompaniesApi->
|
|
1057
|
+
puts "Error when calling CompaniesApi->companies_company_trial_geography: #{e}"
|
|
874
1058
|
end
|
|
875
1059
|
```
|
|
876
1060
|
|
|
877
|
-
#### Using the
|
|
1061
|
+
#### Using the companies_company_trial_geography_with_http_info variant
|
|
878
1062
|
|
|
879
1063
|
This returns an Array which contains the response data, status code and headers.
|
|
880
1064
|
|
|
881
|
-
> <Array(<
|
|
1065
|
+
> <Array(<CompanyTrialGeographyResponse>, Integer, Hash)> companies_company_trial_geography_with_http_info(id, opts)
|
|
882
1066
|
|
|
883
1067
|
```ruby
|
|
884
1068
|
begin
|
|
885
|
-
#
|
|
886
|
-
data, status_code, headers = api_instance.
|
|
1069
|
+
# Company trial geography
|
|
1070
|
+
data, status_code, headers = api_instance.companies_company_trial_geography_with_http_info(id, opts)
|
|
887
1071
|
p status_code # => 2xx
|
|
888
1072
|
p headers # => { ... }
|
|
889
|
-
p data # => <
|
|
1073
|
+
p data # => <CompanyTrialGeographyResponse>
|
|
890
1074
|
rescue PharmaObservatory::ApiError => e
|
|
891
|
-
puts "Error when calling CompaniesApi->
|
|
1075
|
+
puts "Error when calling CompaniesApi->companies_company_trial_geography_with_http_info: #{e}"
|
|
892
1076
|
end
|
|
893
1077
|
```
|
|
894
1078
|
|
|
@@ -906,7 +1090,7 @@ end
|
|
|
906
1090
|
|
|
907
1091
|
### Return type
|
|
908
1092
|
|
|
909
|
-
[**
|
|
1093
|
+
[**CompanyTrialGeographyResponse**](CompanyTrialGeographyResponse.md)
|
|
910
1094
|
|
|
911
1095
|
### Authorization
|
|
912
1096
|
|
|
@@ -918,11 +1102,11 @@ end
|
|
|
918
1102
|
- **Accept**: application/json
|
|
919
1103
|
|
|
920
1104
|
|
|
921
|
-
##
|
|
1105
|
+
## companies_company_trial_sites
|
|
922
1106
|
|
|
923
|
-
> <
|
|
1107
|
+
> <CompanyTrialSitesResponse> companies_company_trial_sites(id, opts)
|
|
924
1108
|
|
|
925
|
-
|
|
1109
|
+
Company trial sites
|
|
926
1110
|
|
|
927
1111
|
### Examples
|
|
928
1112
|
|
|
@@ -937,31 +1121,39 @@ end
|
|
|
937
1121
|
|
|
938
1122
|
api_instance = PharmaObservatory::CompaniesApi.new
|
|
939
1123
|
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1124
|
+
opts = {
|
|
1125
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1126
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1127
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1128
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1129
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1130
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1131
|
+
}
|
|
940
1132
|
|
|
941
1133
|
begin
|
|
942
|
-
#
|
|
943
|
-
result = api_instance.
|
|
1134
|
+
# Company trial sites
|
|
1135
|
+
result = api_instance.companies_company_trial_sites(id, opts)
|
|
944
1136
|
p result
|
|
945
1137
|
rescue PharmaObservatory::ApiError => e
|
|
946
|
-
puts "Error when calling CompaniesApi->
|
|
1138
|
+
puts "Error when calling CompaniesApi->companies_company_trial_sites: #{e}"
|
|
947
1139
|
end
|
|
948
1140
|
```
|
|
949
1141
|
|
|
950
|
-
#### Using the
|
|
1142
|
+
#### Using the companies_company_trial_sites_with_http_info variant
|
|
951
1143
|
|
|
952
1144
|
This returns an Array which contains the response data, status code and headers.
|
|
953
1145
|
|
|
954
|
-
> <Array(<
|
|
1146
|
+
> <Array(<CompanyTrialSitesResponse>, Integer, Hash)> companies_company_trial_sites_with_http_info(id, opts)
|
|
955
1147
|
|
|
956
1148
|
```ruby
|
|
957
1149
|
begin
|
|
958
|
-
#
|
|
959
|
-
data, status_code, headers = api_instance.
|
|
1150
|
+
# Company trial sites
|
|
1151
|
+
data, status_code, headers = api_instance.companies_company_trial_sites_with_http_info(id, opts)
|
|
960
1152
|
p status_code # => 2xx
|
|
961
1153
|
p headers # => { ... }
|
|
962
|
-
p data # => <
|
|
1154
|
+
p data # => <CompanyTrialSitesResponse>
|
|
963
1155
|
rescue PharmaObservatory::ApiError => e
|
|
964
|
-
puts "Error when calling CompaniesApi->
|
|
1156
|
+
puts "Error when calling CompaniesApi->companies_company_trial_sites_with_http_info: #{e}"
|
|
965
1157
|
end
|
|
966
1158
|
```
|
|
967
1159
|
|
|
@@ -970,10 +1162,16 @@ end
|
|
|
970
1162
|
| Name | Type | Description | Notes |
|
|
971
1163
|
| ---- | ---- | ----------- | ----- |
|
|
972
1164
|
| **id** | **String** | | |
|
|
1165
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1166
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1167
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1168
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1169
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1170
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
973
1171
|
|
|
974
1172
|
### Return type
|
|
975
1173
|
|
|
976
|
-
[**
|
|
1174
|
+
[**CompanyTrialSitesResponse**](CompanyTrialSitesResponse.md)
|
|
977
1175
|
|
|
978
1176
|
### Authorization
|
|
979
1177
|
|
|
@@ -985,11 +1183,11 @@ end
|
|
|
985
1183
|
- **Accept**: application/json
|
|
986
1184
|
|
|
987
1185
|
|
|
988
|
-
##
|
|
1186
|
+
## companies_cro_footprint
|
|
989
1187
|
|
|
990
|
-
> <
|
|
1188
|
+
> <CroFootprintResponse> companies_cro_footprint(id, opts)
|
|
991
1189
|
|
|
992
|
-
|
|
1190
|
+
CRO footprint
|
|
993
1191
|
|
|
994
1192
|
### Examples
|
|
995
1193
|
|
|
@@ -1014,29 +1212,29 @@ opts = {
|
|
|
1014
1212
|
}
|
|
1015
1213
|
|
|
1016
1214
|
begin
|
|
1017
|
-
#
|
|
1018
|
-
result = api_instance.
|
|
1215
|
+
# CRO footprint
|
|
1216
|
+
result = api_instance.companies_cro_footprint(id, opts)
|
|
1019
1217
|
p result
|
|
1020
1218
|
rescue PharmaObservatory::ApiError => e
|
|
1021
|
-
puts "Error when calling CompaniesApi->
|
|
1219
|
+
puts "Error when calling CompaniesApi->companies_cro_footprint: #{e}"
|
|
1022
1220
|
end
|
|
1023
1221
|
```
|
|
1024
1222
|
|
|
1025
|
-
#### Using the
|
|
1223
|
+
#### Using the companies_cro_footprint_with_http_info variant
|
|
1026
1224
|
|
|
1027
1225
|
This returns an Array which contains the response data, status code and headers.
|
|
1028
1226
|
|
|
1029
|
-
> <Array(<
|
|
1227
|
+
> <Array(<CroFootprintResponse>, Integer, Hash)> companies_cro_footprint_with_http_info(id, opts)
|
|
1030
1228
|
|
|
1031
1229
|
```ruby
|
|
1032
1230
|
begin
|
|
1033
|
-
#
|
|
1034
|
-
data, status_code, headers = api_instance.
|
|
1231
|
+
# CRO footprint
|
|
1232
|
+
data, status_code, headers = api_instance.companies_cro_footprint_with_http_info(id, opts)
|
|
1035
1233
|
p status_code # => 2xx
|
|
1036
1234
|
p headers # => { ... }
|
|
1037
|
-
p data # => <
|
|
1235
|
+
p data # => <CroFootprintResponse>
|
|
1038
1236
|
rescue PharmaObservatory::ApiError => e
|
|
1039
|
-
puts "Error when calling CompaniesApi->
|
|
1237
|
+
puts "Error when calling CompaniesApi->companies_cro_footprint_with_http_info: #{e}"
|
|
1040
1238
|
end
|
|
1041
1239
|
```
|
|
1042
1240
|
|
|
@@ -1054,7 +1252,7 @@ end
|
|
|
1054
1252
|
|
|
1055
1253
|
### Return type
|
|
1056
1254
|
|
|
1057
|
-
[**
|
|
1255
|
+
[**CroFootprintResponse**](CroFootprintResponse.md)
|
|
1058
1256
|
|
|
1059
1257
|
### Authorization
|
|
1060
1258
|
|
|
@@ -1066,11 +1264,11 @@ end
|
|
|
1066
1264
|
- **Accept**: application/json
|
|
1067
1265
|
|
|
1068
1266
|
|
|
1069
|
-
##
|
|
1267
|
+
## companies_cro_trials
|
|
1070
1268
|
|
|
1071
|
-
> <
|
|
1269
|
+
> <CroTrialsResponse> companies_cro_trials(id, opts)
|
|
1072
1270
|
|
|
1073
|
-
|
|
1271
|
+
CRO trials
|
|
1074
1272
|
|
|
1075
1273
|
### Examples
|
|
1076
1274
|
|
|
@@ -1095,29 +1293,29 @@ opts = {
|
|
|
1095
1293
|
}
|
|
1096
1294
|
|
|
1097
1295
|
begin
|
|
1098
|
-
#
|
|
1099
|
-
result = api_instance.
|
|
1296
|
+
# CRO trials
|
|
1297
|
+
result = api_instance.companies_cro_trials(id, opts)
|
|
1100
1298
|
p result
|
|
1101
1299
|
rescue PharmaObservatory::ApiError => e
|
|
1102
|
-
puts "Error when calling CompaniesApi->
|
|
1300
|
+
puts "Error when calling CompaniesApi->companies_cro_trials: #{e}"
|
|
1103
1301
|
end
|
|
1104
1302
|
```
|
|
1105
1303
|
|
|
1106
|
-
#### Using the
|
|
1304
|
+
#### Using the companies_cro_trials_with_http_info variant
|
|
1107
1305
|
|
|
1108
1306
|
This returns an Array which contains the response data, status code and headers.
|
|
1109
1307
|
|
|
1110
|
-
> <Array(<
|
|
1308
|
+
> <Array(<CroTrialsResponse>, Integer, Hash)> companies_cro_trials_with_http_info(id, opts)
|
|
1111
1309
|
|
|
1112
1310
|
```ruby
|
|
1113
1311
|
begin
|
|
1114
|
-
#
|
|
1115
|
-
data, status_code, headers = api_instance.
|
|
1312
|
+
# CRO trials
|
|
1313
|
+
data, status_code, headers = api_instance.companies_cro_trials_with_http_info(id, opts)
|
|
1116
1314
|
p status_code # => 2xx
|
|
1117
1315
|
p headers # => { ... }
|
|
1118
|
-
p data # => <
|
|
1316
|
+
p data # => <CroTrialsResponse>
|
|
1119
1317
|
rescue PharmaObservatory::ApiError => e
|
|
1120
|
-
puts "Error when calling CompaniesApi->
|
|
1318
|
+
puts "Error when calling CompaniesApi->companies_cro_trials_with_http_info: #{e}"
|
|
1121
1319
|
end
|
|
1122
1320
|
```
|
|
1123
1321
|
|
|
@@ -1135,7 +1333,7 @@ end
|
|
|
1135
1333
|
|
|
1136
1334
|
### Return type
|
|
1137
1335
|
|
|
1138
|
-
[**
|
|
1336
|
+
[**CroTrialsResponse**](CroTrialsResponse.md)
|
|
1139
1337
|
|
|
1140
1338
|
### Authorization
|
|
1141
1339
|
|
|
@@ -1147,11 +1345,11 @@ end
|
|
|
1147
1345
|
- **Accept**: application/json
|
|
1148
1346
|
|
|
1149
1347
|
|
|
1150
|
-
##
|
|
1348
|
+
## companies_debarments
|
|
1151
1349
|
|
|
1152
|
-
> <
|
|
1350
|
+
> <DebarmentsResponse> companies_debarments(id, opts)
|
|
1153
1351
|
|
|
1154
|
-
|
|
1352
|
+
FDA firm debarments
|
|
1155
1353
|
|
|
1156
1354
|
### Examples
|
|
1157
1355
|
|
|
@@ -1165,38 +1363,40 @@ PharmaObservatory.configure do |config|
|
|
|
1165
1363
|
end
|
|
1166
1364
|
|
|
1167
1365
|
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1366
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1168
1367
|
opts = {
|
|
1169
1368
|
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1170
1369
|
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1171
1370
|
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1172
1371
|
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1173
|
-
measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1372
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1373
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1174
1374
|
}
|
|
1175
1375
|
|
|
1176
1376
|
begin
|
|
1177
|
-
#
|
|
1178
|
-
result = api_instance.
|
|
1377
|
+
# FDA firm debarments
|
|
1378
|
+
result = api_instance.companies_debarments(id, opts)
|
|
1179
1379
|
p result
|
|
1180
1380
|
rescue PharmaObservatory::ApiError => e
|
|
1181
|
-
puts "Error when calling CompaniesApi->
|
|
1381
|
+
puts "Error when calling CompaniesApi->companies_debarments: #{e}"
|
|
1182
1382
|
end
|
|
1183
1383
|
```
|
|
1184
1384
|
|
|
1185
|
-
#### Using the
|
|
1385
|
+
#### Using the companies_debarments_with_http_info variant
|
|
1186
1386
|
|
|
1187
1387
|
This returns an Array which contains the response data, status code and headers.
|
|
1188
1388
|
|
|
1189
|
-
> <Array(<
|
|
1389
|
+
> <Array(<DebarmentsResponse>, Integer, Hash)> companies_debarments_with_http_info(id, opts)
|
|
1190
1390
|
|
|
1191
1391
|
```ruby
|
|
1192
1392
|
begin
|
|
1193
|
-
#
|
|
1194
|
-
data, status_code, headers = api_instance.
|
|
1393
|
+
# FDA firm debarments
|
|
1394
|
+
data, status_code, headers = api_instance.companies_debarments_with_http_info(id, opts)
|
|
1195
1395
|
p status_code # => 2xx
|
|
1196
1396
|
p headers # => { ... }
|
|
1197
|
-
p data # => <
|
|
1397
|
+
p data # => <DebarmentsResponse>
|
|
1198
1398
|
rescue PharmaObservatory::ApiError => e
|
|
1199
|
-
puts "Error when calling CompaniesApi->
|
|
1399
|
+
puts "Error when calling CompaniesApi->companies_debarments_with_http_info: #{e}"
|
|
1200
1400
|
end
|
|
1201
1401
|
```
|
|
1202
1402
|
|
|
@@ -1204,15 +1404,17 @@ end
|
|
|
1204
1404
|
|
|
1205
1405
|
| Name | Type | Description | Notes |
|
|
1206
1406
|
| ---- | ---- | ----------- | ----- |
|
|
1407
|
+
| **id** | **String** | | |
|
|
1207
1408
|
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1208
1409
|
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1209
1410
|
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1210
1411
|
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1211
1412
|
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1413
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1212
1414
|
|
|
1213
1415
|
### Return type
|
|
1214
1416
|
|
|
1215
|
-
[**
|
|
1417
|
+
[**DebarmentsResponse**](DebarmentsResponse.md)
|
|
1216
1418
|
|
|
1217
1419
|
### Authorization
|
|
1218
1420
|
|
|
@@ -1224,11 +1426,11 @@ end
|
|
|
1224
1426
|
- **Accept**: application/json
|
|
1225
1427
|
|
|
1226
1428
|
|
|
1227
|
-
##
|
|
1429
|
+
## companies_drug_patent_cliff
|
|
1228
1430
|
|
|
1229
|
-
> <
|
|
1431
|
+
> <DrugPatentCliffResponse> companies_drug_patent_cliff(id, opts)
|
|
1230
1432
|
|
|
1231
|
-
|
|
1433
|
+
Patent-cliff exposure
|
|
1232
1434
|
|
|
1233
1435
|
### Examples
|
|
1234
1436
|
|
|
@@ -1253,29 +1455,29 @@ opts = {
|
|
|
1253
1455
|
}
|
|
1254
1456
|
|
|
1255
1457
|
begin
|
|
1256
|
-
#
|
|
1257
|
-
result = api_instance.
|
|
1458
|
+
# Patent-cliff exposure
|
|
1459
|
+
result = api_instance.companies_drug_patent_cliff(id, opts)
|
|
1258
1460
|
p result
|
|
1259
1461
|
rescue PharmaObservatory::ApiError => e
|
|
1260
|
-
puts "Error when calling CompaniesApi->
|
|
1462
|
+
puts "Error when calling CompaniesApi->companies_drug_patent_cliff: #{e}"
|
|
1261
1463
|
end
|
|
1262
1464
|
```
|
|
1263
1465
|
|
|
1264
|
-
#### Using the
|
|
1466
|
+
#### Using the companies_drug_patent_cliff_with_http_info variant
|
|
1265
1467
|
|
|
1266
1468
|
This returns an Array which contains the response data, status code and headers.
|
|
1267
1469
|
|
|
1268
|
-
> <Array(<
|
|
1470
|
+
> <Array(<DrugPatentCliffResponse>, Integer, Hash)> companies_drug_patent_cliff_with_http_info(id, opts)
|
|
1269
1471
|
|
|
1270
1472
|
```ruby
|
|
1271
1473
|
begin
|
|
1272
|
-
#
|
|
1273
|
-
data, status_code, headers = api_instance.
|
|
1474
|
+
# Patent-cliff exposure
|
|
1475
|
+
data, status_code, headers = api_instance.companies_drug_patent_cliff_with_http_info(id, opts)
|
|
1274
1476
|
p status_code # => 2xx
|
|
1275
1477
|
p headers # => { ... }
|
|
1276
|
-
p data # => <
|
|
1478
|
+
p data # => <DrugPatentCliffResponse>
|
|
1277
1479
|
rescue PharmaObservatory::ApiError => e
|
|
1278
|
-
puts "Error when calling CompaniesApi->
|
|
1480
|
+
puts "Error when calling CompaniesApi->companies_drug_patent_cliff_with_http_info: #{e}"
|
|
1279
1481
|
end
|
|
1280
1482
|
```
|
|
1281
1483
|
|
|
@@ -1293,7 +1495,7 @@ end
|
|
|
1293
1495
|
|
|
1294
1496
|
### Return type
|
|
1295
1497
|
|
|
1296
|
-
[**
|
|
1498
|
+
[**DrugPatentCliffResponse**](DrugPatentCliffResponse.md)
|
|
1297
1499
|
|
|
1298
1500
|
### Authorization
|
|
1299
1501
|
|
|
@@ -1305,11 +1507,11 @@ end
|
|
|
1305
1507
|
- **Accept**: application/json
|
|
1306
1508
|
|
|
1307
1509
|
|
|
1308
|
-
##
|
|
1510
|
+
## companies_enforcement_events
|
|
1309
1511
|
|
|
1310
|
-
> <
|
|
1512
|
+
> <EnforcementEventsResponse> companies_enforcement_events(id, opts)
|
|
1311
1513
|
|
|
1312
|
-
FDA
|
|
1514
|
+
FDA enforcement events
|
|
1313
1515
|
|
|
1314
1516
|
### Examples
|
|
1315
1517
|
|
|
@@ -1334,29 +1536,1469 @@ opts = {
|
|
|
1334
1536
|
}
|
|
1335
1537
|
|
|
1336
1538
|
begin
|
|
1337
|
-
# FDA
|
|
1338
|
-
result = api_instance.
|
|
1539
|
+
# FDA enforcement events
|
|
1540
|
+
result = api_instance.companies_enforcement_events(id, opts)
|
|
1339
1541
|
p result
|
|
1340
1542
|
rescue PharmaObservatory::ApiError => e
|
|
1341
|
-
puts "Error when calling CompaniesApi->
|
|
1543
|
+
puts "Error when calling CompaniesApi->companies_enforcement_events: #{e}"
|
|
1342
1544
|
end
|
|
1343
1545
|
```
|
|
1344
1546
|
|
|
1345
|
-
#### Using the
|
|
1547
|
+
#### Using the companies_enforcement_events_with_http_info variant
|
|
1346
1548
|
|
|
1347
1549
|
This returns an Array which contains the response data, status code and headers.
|
|
1348
1550
|
|
|
1349
|
-
> <Array(<
|
|
1551
|
+
> <Array(<EnforcementEventsResponse>, Integer, Hash)> companies_enforcement_events_with_http_info(id, opts)
|
|
1350
1552
|
|
|
1351
1553
|
```ruby
|
|
1352
1554
|
begin
|
|
1353
|
-
# FDA
|
|
1555
|
+
# FDA enforcement events
|
|
1556
|
+
data, status_code, headers = api_instance.companies_enforcement_events_with_http_info(id, opts)
|
|
1557
|
+
p status_code # => 2xx
|
|
1558
|
+
p headers # => { ... }
|
|
1559
|
+
p data # => <EnforcementEventsResponse>
|
|
1560
|
+
rescue PharmaObservatory::ApiError => e
|
|
1561
|
+
puts "Error when calling CompaniesApi->companies_enforcement_events_with_http_info: #{e}"
|
|
1562
|
+
end
|
|
1563
|
+
```
|
|
1564
|
+
|
|
1565
|
+
### Parameters
|
|
1566
|
+
|
|
1567
|
+
| Name | Type | Description | Notes |
|
|
1568
|
+
| ---- | ---- | ----------- | ----- |
|
|
1569
|
+
| **id** | **String** | | |
|
|
1570
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1571
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1572
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1573
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1574
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1575
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1576
|
+
|
|
1577
|
+
### Return type
|
|
1578
|
+
|
|
1579
|
+
[**EnforcementEventsResponse**](EnforcementEventsResponse.md)
|
|
1580
|
+
|
|
1581
|
+
### Authorization
|
|
1582
|
+
|
|
1583
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1584
|
+
|
|
1585
|
+
### HTTP request headers
|
|
1586
|
+
|
|
1587
|
+
- **Content-Type**: Not defined
|
|
1588
|
+
- **Accept**: application/json
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
## companies_get
|
|
1592
|
+
|
|
1593
|
+
> <CompaniesRecord> companies_get(id)
|
|
1594
|
+
|
|
1595
|
+
One company
|
|
1596
|
+
|
|
1597
|
+
### Examples
|
|
1598
|
+
|
|
1599
|
+
```ruby
|
|
1600
|
+
require 'time'
|
|
1601
|
+
require 'pharmaobservatory'
|
|
1602
|
+
# setup authorization
|
|
1603
|
+
PharmaObservatory.configure do |config|
|
|
1604
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1605
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1606
|
+
end
|
|
1607
|
+
|
|
1608
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1609
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1610
|
+
|
|
1611
|
+
begin
|
|
1612
|
+
# One company
|
|
1613
|
+
result = api_instance.companies_get(id)
|
|
1614
|
+
p result
|
|
1615
|
+
rescue PharmaObservatory::ApiError => e
|
|
1616
|
+
puts "Error when calling CompaniesApi->companies_get: #{e}"
|
|
1617
|
+
end
|
|
1618
|
+
```
|
|
1619
|
+
|
|
1620
|
+
#### Using the companies_get_with_http_info variant
|
|
1621
|
+
|
|
1622
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1623
|
+
|
|
1624
|
+
> <Array(<CompaniesRecord>, Integer, Hash)> companies_get_with_http_info(id)
|
|
1625
|
+
|
|
1626
|
+
```ruby
|
|
1627
|
+
begin
|
|
1628
|
+
# One company
|
|
1629
|
+
data, status_code, headers = api_instance.companies_get_with_http_info(id)
|
|
1630
|
+
p status_code # => 2xx
|
|
1631
|
+
p headers # => { ... }
|
|
1632
|
+
p data # => <CompaniesRecord>
|
|
1633
|
+
rescue PharmaObservatory::ApiError => e
|
|
1634
|
+
puts "Error when calling CompaniesApi->companies_get_with_http_info: #{e}"
|
|
1635
|
+
end
|
|
1636
|
+
```
|
|
1637
|
+
|
|
1638
|
+
### Parameters
|
|
1639
|
+
|
|
1640
|
+
| Name | Type | Description | Notes |
|
|
1641
|
+
| ---- | ---- | ----------- | ----- |
|
|
1642
|
+
| **id** | **String** | | |
|
|
1643
|
+
|
|
1644
|
+
### Return type
|
|
1645
|
+
|
|
1646
|
+
[**CompaniesRecord**](CompaniesRecord.md)
|
|
1647
|
+
|
|
1648
|
+
### Authorization
|
|
1649
|
+
|
|
1650
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1651
|
+
|
|
1652
|
+
### HTTP request headers
|
|
1653
|
+
|
|
1654
|
+
- **Content-Type**: Not defined
|
|
1655
|
+
- **Accept**: application/json
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
## companies_gxp_facilities
|
|
1659
|
+
|
|
1660
|
+
> <GxpFacilitiesResponse> companies_gxp_facilities(id, opts)
|
|
1661
|
+
|
|
1662
|
+
GxP facilities and quality signals
|
|
1663
|
+
|
|
1664
|
+
### Examples
|
|
1665
|
+
|
|
1666
|
+
```ruby
|
|
1667
|
+
require 'time'
|
|
1668
|
+
require 'pharmaobservatory'
|
|
1669
|
+
# setup authorization
|
|
1670
|
+
PharmaObservatory.configure do |config|
|
|
1671
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1672
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1673
|
+
end
|
|
1674
|
+
|
|
1675
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1676
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1677
|
+
opts = {
|
|
1678
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1679
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1680
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1681
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1682
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1683
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
begin
|
|
1687
|
+
# GxP facilities and quality signals
|
|
1688
|
+
result = api_instance.companies_gxp_facilities(id, opts)
|
|
1689
|
+
p result
|
|
1690
|
+
rescue PharmaObservatory::ApiError => e
|
|
1691
|
+
puts "Error when calling CompaniesApi->companies_gxp_facilities: #{e}"
|
|
1692
|
+
end
|
|
1693
|
+
```
|
|
1694
|
+
|
|
1695
|
+
#### Using the companies_gxp_facilities_with_http_info variant
|
|
1696
|
+
|
|
1697
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1698
|
+
|
|
1699
|
+
> <Array(<GxpFacilitiesResponse>, Integer, Hash)> companies_gxp_facilities_with_http_info(id, opts)
|
|
1700
|
+
|
|
1701
|
+
```ruby
|
|
1702
|
+
begin
|
|
1703
|
+
# GxP facilities and quality signals
|
|
1704
|
+
data, status_code, headers = api_instance.companies_gxp_facilities_with_http_info(id, opts)
|
|
1705
|
+
p status_code # => 2xx
|
|
1706
|
+
p headers # => { ... }
|
|
1707
|
+
p data # => <GxpFacilitiesResponse>
|
|
1708
|
+
rescue PharmaObservatory::ApiError => e
|
|
1709
|
+
puts "Error when calling CompaniesApi->companies_gxp_facilities_with_http_info: #{e}"
|
|
1710
|
+
end
|
|
1711
|
+
```
|
|
1712
|
+
|
|
1713
|
+
### Parameters
|
|
1714
|
+
|
|
1715
|
+
| Name | Type | Description | Notes |
|
|
1716
|
+
| ---- | ---- | ----------- | ----- |
|
|
1717
|
+
| **id** | **String** | | |
|
|
1718
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1719
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1720
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1721
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1722
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1723
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1724
|
+
|
|
1725
|
+
### Return type
|
|
1726
|
+
|
|
1727
|
+
[**GxpFacilitiesResponse**](GxpFacilitiesResponse.md)
|
|
1728
|
+
|
|
1729
|
+
### Authorization
|
|
1730
|
+
|
|
1731
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1732
|
+
|
|
1733
|
+
### HTTP request headers
|
|
1734
|
+
|
|
1735
|
+
- **Content-Type**: Not defined
|
|
1736
|
+
- **Accept**: application/json
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
## companies_import_refusals
|
|
1740
|
+
|
|
1741
|
+
> <ImportRefusalsResponse> companies_import_refusals(id, opts)
|
|
1742
|
+
|
|
1743
|
+
FDA import refusals
|
|
1744
|
+
|
|
1745
|
+
### Examples
|
|
1746
|
+
|
|
1747
|
+
```ruby
|
|
1748
|
+
require 'time'
|
|
1749
|
+
require 'pharmaobservatory'
|
|
1750
|
+
# setup authorization
|
|
1751
|
+
PharmaObservatory.configure do |config|
|
|
1752
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1753
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1754
|
+
end
|
|
1755
|
+
|
|
1756
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1757
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1758
|
+
opts = {
|
|
1759
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1760
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1761
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1762
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1763
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1764
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
begin
|
|
1768
|
+
# FDA import refusals
|
|
1769
|
+
result = api_instance.companies_import_refusals(id, opts)
|
|
1770
|
+
p result
|
|
1771
|
+
rescue PharmaObservatory::ApiError => e
|
|
1772
|
+
puts "Error when calling CompaniesApi->companies_import_refusals: #{e}"
|
|
1773
|
+
end
|
|
1774
|
+
```
|
|
1775
|
+
|
|
1776
|
+
#### Using the companies_import_refusals_with_http_info variant
|
|
1777
|
+
|
|
1778
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1779
|
+
|
|
1780
|
+
> <Array(<ImportRefusalsResponse>, Integer, Hash)> companies_import_refusals_with_http_info(id, opts)
|
|
1781
|
+
|
|
1782
|
+
```ruby
|
|
1783
|
+
begin
|
|
1784
|
+
# FDA import refusals
|
|
1785
|
+
data, status_code, headers = api_instance.companies_import_refusals_with_http_info(id, opts)
|
|
1786
|
+
p status_code # => 2xx
|
|
1787
|
+
p headers # => { ... }
|
|
1788
|
+
p data # => <ImportRefusalsResponse>
|
|
1789
|
+
rescue PharmaObservatory::ApiError => e
|
|
1790
|
+
puts "Error when calling CompaniesApi->companies_import_refusals_with_http_info: #{e}"
|
|
1791
|
+
end
|
|
1792
|
+
```
|
|
1793
|
+
|
|
1794
|
+
### Parameters
|
|
1795
|
+
|
|
1796
|
+
| Name | Type | Description | Notes |
|
|
1797
|
+
| ---- | ---- | ----------- | ----- |
|
|
1798
|
+
| **id** | **String** | | |
|
|
1799
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1800
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1801
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1802
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1803
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1804
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1805
|
+
|
|
1806
|
+
### Return type
|
|
1807
|
+
|
|
1808
|
+
[**ImportRefusalsResponse**](ImportRefusalsResponse.md)
|
|
1809
|
+
|
|
1810
|
+
### Authorization
|
|
1811
|
+
|
|
1812
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1813
|
+
|
|
1814
|
+
### HTTP request headers
|
|
1815
|
+
|
|
1816
|
+
- **Content-Type**: Not defined
|
|
1817
|
+
- **Accept**: application/json
|
|
1818
|
+
|
|
1819
|
+
|
|
1820
|
+
## companies_inspection_findings
|
|
1821
|
+
|
|
1822
|
+
> <InspectionFindingsResponse> companies_inspection_findings(id, opts)
|
|
1823
|
+
|
|
1824
|
+
FDA inspection findings
|
|
1825
|
+
|
|
1826
|
+
### Examples
|
|
1827
|
+
|
|
1828
|
+
```ruby
|
|
1829
|
+
require 'time'
|
|
1830
|
+
require 'pharmaobservatory'
|
|
1831
|
+
# setup authorization
|
|
1832
|
+
PharmaObservatory.configure do |config|
|
|
1833
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1834
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1835
|
+
end
|
|
1836
|
+
|
|
1837
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1838
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1839
|
+
opts = {
|
|
1840
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1841
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1842
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1843
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1844
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1845
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
begin
|
|
1849
|
+
# FDA inspection findings
|
|
1850
|
+
result = api_instance.companies_inspection_findings(id, opts)
|
|
1851
|
+
p result
|
|
1852
|
+
rescue PharmaObservatory::ApiError => e
|
|
1853
|
+
puts "Error when calling CompaniesApi->companies_inspection_findings: #{e}"
|
|
1854
|
+
end
|
|
1855
|
+
```
|
|
1856
|
+
|
|
1857
|
+
#### Using the companies_inspection_findings_with_http_info variant
|
|
1858
|
+
|
|
1859
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1860
|
+
|
|
1861
|
+
> <Array(<InspectionFindingsResponse>, Integer, Hash)> companies_inspection_findings_with_http_info(id, opts)
|
|
1862
|
+
|
|
1863
|
+
```ruby
|
|
1864
|
+
begin
|
|
1865
|
+
# FDA inspection findings
|
|
1866
|
+
data, status_code, headers = api_instance.companies_inspection_findings_with_http_info(id, opts)
|
|
1867
|
+
p status_code # => 2xx
|
|
1868
|
+
p headers # => { ... }
|
|
1869
|
+
p data # => <InspectionFindingsResponse>
|
|
1870
|
+
rescue PharmaObservatory::ApiError => e
|
|
1871
|
+
puts "Error when calling CompaniesApi->companies_inspection_findings_with_http_info: #{e}"
|
|
1872
|
+
end
|
|
1873
|
+
```
|
|
1874
|
+
|
|
1875
|
+
### Parameters
|
|
1876
|
+
|
|
1877
|
+
| Name | Type | Description | Notes |
|
|
1878
|
+
| ---- | ---- | ----------- | ----- |
|
|
1879
|
+
| **id** | **String** | | |
|
|
1880
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1881
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1882
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1883
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1884
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1885
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1886
|
+
|
|
1887
|
+
### Return type
|
|
1888
|
+
|
|
1889
|
+
[**InspectionFindingsResponse**](InspectionFindingsResponse.md)
|
|
1890
|
+
|
|
1891
|
+
### Authorization
|
|
1892
|
+
|
|
1893
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1894
|
+
|
|
1895
|
+
### HTTP request headers
|
|
1896
|
+
|
|
1897
|
+
- **Content-Type**: Not defined
|
|
1898
|
+
- **Accept**: application/json
|
|
1899
|
+
|
|
1900
|
+
|
|
1901
|
+
## companies_inspections
|
|
1902
|
+
|
|
1903
|
+
> <InspectionsResponse> companies_inspections(id, opts)
|
|
1904
|
+
|
|
1905
|
+
FDA inspections
|
|
1906
|
+
|
|
1907
|
+
### Examples
|
|
1908
|
+
|
|
1909
|
+
```ruby
|
|
1910
|
+
require 'time'
|
|
1911
|
+
require 'pharmaobservatory'
|
|
1912
|
+
# setup authorization
|
|
1913
|
+
PharmaObservatory.configure do |config|
|
|
1914
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1915
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1916
|
+
end
|
|
1917
|
+
|
|
1918
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1919
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1920
|
+
opts = {
|
|
1921
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1922
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1923
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1924
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1925
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1926
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
begin
|
|
1930
|
+
# FDA inspections
|
|
1931
|
+
result = api_instance.companies_inspections(id, opts)
|
|
1932
|
+
p result
|
|
1933
|
+
rescue PharmaObservatory::ApiError => e
|
|
1934
|
+
puts "Error when calling CompaniesApi->companies_inspections: #{e}"
|
|
1935
|
+
end
|
|
1936
|
+
```
|
|
1937
|
+
|
|
1938
|
+
#### Using the companies_inspections_with_http_info variant
|
|
1939
|
+
|
|
1940
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1941
|
+
|
|
1942
|
+
> <Array(<InspectionsResponse>, Integer, Hash)> companies_inspections_with_http_info(id, opts)
|
|
1943
|
+
|
|
1944
|
+
```ruby
|
|
1945
|
+
begin
|
|
1946
|
+
# FDA inspections
|
|
1947
|
+
data, status_code, headers = api_instance.companies_inspections_with_http_info(id, opts)
|
|
1948
|
+
p status_code # => 2xx
|
|
1949
|
+
p headers # => { ... }
|
|
1950
|
+
p data # => <InspectionsResponse>
|
|
1951
|
+
rescue PharmaObservatory::ApiError => e
|
|
1952
|
+
puts "Error when calling CompaniesApi->companies_inspections_with_http_info: #{e}"
|
|
1953
|
+
end
|
|
1954
|
+
```
|
|
1955
|
+
|
|
1956
|
+
### Parameters
|
|
1957
|
+
|
|
1958
|
+
| Name | Type | Description | Notes |
|
|
1959
|
+
| ---- | ---- | ----------- | ----- |
|
|
1960
|
+
| **id** | **String** | | |
|
|
1961
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1962
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1963
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1964
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1965
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1966
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1967
|
+
|
|
1968
|
+
### Return type
|
|
1969
|
+
|
|
1970
|
+
[**InspectionsResponse**](InspectionsResponse.md)
|
|
1971
|
+
|
|
1972
|
+
### Authorization
|
|
1973
|
+
|
|
1974
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1975
|
+
|
|
1976
|
+
### HTTP request headers
|
|
1977
|
+
|
|
1978
|
+
- **Content-Type**: Not defined
|
|
1979
|
+
- **Accept**: application/json
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
## companies_institutional_holdings
|
|
1983
|
+
|
|
1984
|
+
> <InstitutionalHoldingsResponse> companies_institutional_holdings(id, opts)
|
|
1985
|
+
|
|
1986
|
+
Institutional holdings (SEC Form 13F)
|
|
1987
|
+
|
|
1988
|
+
### Examples
|
|
1989
|
+
|
|
1990
|
+
```ruby
|
|
1991
|
+
require 'time'
|
|
1992
|
+
require 'pharmaobservatory'
|
|
1993
|
+
# setup authorization
|
|
1994
|
+
PharmaObservatory.configure do |config|
|
|
1995
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1996
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1997
|
+
end
|
|
1998
|
+
|
|
1999
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2000
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2001
|
+
opts = {
|
|
2002
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2003
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2004
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2005
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2006
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2007
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
begin
|
|
2011
|
+
# Institutional holdings (SEC Form 13F)
|
|
2012
|
+
result = api_instance.companies_institutional_holdings(id, opts)
|
|
2013
|
+
p result
|
|
2014
|
+
rescue PharmaObservatory::ApiError => e
|
|
2015
|
+
puts "Error when calling CompaniesApi->companies_institutional_holdings: #{e}"
|
|
2016
|
+
end
|
|
2017
|
+
```
|
|
2018
|
+
|
|
2019
|
+
#### Using the companies_institutional_holdings_with_http_info variant
|
|
2020
|
+
|
|
2021
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2022
|
+
|
|
2023
|
+
> <Array(<InstitutionalHoldingsResponse>, Integer, Hash)> companies_institutional_holdings_with_http_info(id, opts)
|
|
2024
|
+
|
|
2025
|
+
```ruby
|
|
2026
|
+
begin
|
|
2027
|
+
# Institutional holdings (SEC Form 13F)
|
|
2028
|
+
data, status_code, headers = api_instance.companies_institutional_holdings_with_http_info(id, opts)
|
|
2029
|
+
p status_code # => 2xx
|
|
2030
|
+
p headers # => { ... }
|
|
2031
|
+
p data # => <InstitutionalHoldingsResponse>
|
|
2032
|
+
rescue PharmaObservatory::ApiError => e
|
|
2033
|
+
puts "Error when calling CompaniesApi->companies_institutional_holdings_with_http_info: #{e}"
|
|
2034
|
+
end
|
|
2035
|
+
```
|
|
2036
|
+
|
|
2037
|
+
### Parameters
|
|
2038
|
+
|
|
2039
|
+
| Name | Type | Description | Notes |
|
|
2040
|
+
| ---- | ---- | ----------- | ----- |
|
|
2041
|
+
| **id** | **String** | | |
|
|
2042
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2043
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2044
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2045
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2046
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2047
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2048
|
+
|
|
2049
|
+
### Return type
|
|
2050
|
+
|
|
2051
|
+
[**InstitutionalHoldingsResponse**](InstitutionalHoldingsResponse.md)
|
|
2052
|
+
|
|
2053
|
+
### Authorization
|
|
2054
|
+
|
|
2055
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2056
|
+
|
|
2057
|
+
### HTTP request headers
|
|
2058
|
+
|
|
2059
|
+
- **Content-Type**: Not defined
|
|
2060
|
+
- **Accept**: application/json
|
|
2061
|
+
|
|
2062
|
+
|
|
2063
|
+
## companies_institutional_quarter_totals
|
|
2064
|
+
|
|
2065
|
+
> <InstitutionalQuarterTotalsResponse> companies_institutional_quarter_totals(id, opts)
|
|
2066
|
+
|
|
2067
|
+
Institutional quarter totals (SEC Form 13F)
|
|
2068
|
+
|
|
2069
|
+
### Examples
|
|
2070
|
+
|
|
2071
|
+
```ruby
|
|
2072
|
+
require 'time'
|
|
2073
|
+
require 'pharmaobservatory'
|
|
2074
|
+
# setup authorization
|
|
2075
|
+
PharmaObservatory.configure do |config|
|
|
2076
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2077
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2078
|
+
end
|
|
2079
|
+
|
|
2080
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2081
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2082
|
+
opts = {
|
|
2083
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2084
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2085
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2086
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2087
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2088
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
begin
|
|
2092
|
+
# Institutional quarter totals (SEC Form 13F)
|
|
2093
|
+
result = api_instance.companies_institutional_quarter_totals(id, opts)
|
|
2094
|
+
p result
|
|
2095
|
+
rescue PharmaObservatory::ApiError => e
|
|
2096
|
+
puts "Error when calling CompaniesApi->companies_institutional_quarter_totals: #{e}"
|
|
2097
|
+
end
|
|
2098
|
+
```
|
|
2099
|
+
|
|
2100
|
+
#### Using the companies_institutional_quarter_totals_with_http_info variant
|
|
2101
|
+
|
|
2102
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2103
|
+
|
|
2104
|
+
> <Array(<InstitutionalQuarterTotalsResponse>, Integer, Hash)> companies_institutional_quarter_totals_with_http_info(id, opts)
|
|
2105
|
+
|
|
2106
|
+
```ruby
|
|
2107
|
+
begin
|
|
2108
|
+
# Institutional quarter totals (SEC Form 13F)
|
|
2109
|
+
data, status_code, headers = api_instance.companies_institutional_quarter_totals_with_http_info(id, opts)
|
|
2110
|
+
p status_code # => 2xx
|
|
2111
|
+
p headers # => { ... }
|
|
2112
|
+
p data # => <InstitutionalQuarterTotalsResponse>
|
|
2113
|
+
rescue PharmaObservatory::ApiError => e
|
|
2114
|
+
puts "Error when calling CompaniesApi->companies_institutional_quarter_totals_with_http_info: #{e}"
|
|
2115
|
+
end
|
|
2116
|
+
```
|
|
2117
|
+
|
|
2118
|
+
### Parameters
|
|
2119
|
+
|
|
2120
|
+
| Name | Type | Description | Notes |
|
|
2121
|
+
| ---- | ---- | ----------- | ----- |
|
|
2122
|
+
| **id** | **String** | | |
|
|
2123
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2124
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2125
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2126
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2127
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2128
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2129
|
+
|
|
2130
|
+
### Return type
|
|
2131
|
+
|
|
2132
|
+
[**InstitutionalQuarterTotalsResponse**](InstitutionalQuarterTotalsResponse.md)
|
|
2133
|
+
|
|
2134
|
+
### Authorization
|
|
2135
|
+
|
|
2136
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2137
|
+
|
|
2138
|
+
### HTTP request headers
|
|
2139
|
+
|
|
2140
|
+
- **Content-Type**: Not defined
|
|
2141
|
+
- **Accept**: application/json
|
|
2142
|
+
|
|
2143
|
+
|
|
2144
|
+
## companies_legal_entities
|
|
2145
|
+
|
|
2146
|
+
> <LegalEntitiesResponse> companies_legal_entities(id, opts)
|
|
2147
|
+
|
|
2148
|
+
Legal entities
|
|
2149
|
+
|
|
2150
|
+
### Examples
|
|
2151
|
+
|
|
2152
|
+
```ruby
|
|
2153
|
+
require 'time'
|
|
2154
|
+
require 'pharmaobservatory'
|
|
2155
|
+
# setup authorization
|
|
2156
|
+
PharmaObservatory.configure do |config|
|
|
2157
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2158
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2159
|
+
end
|
|
2160
|
+
|
|
2161
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2162
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2163
|
+
opts = {
|
|
2164
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2165
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2166
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2167
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2168
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2169
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
begin
|
|
2173
|
+
# Legal entities
|
|
2174
|
+
result = api_instance.companies_legal_entities(id, opts)
|
|
2175
|
+
p result
|
|
2176
|
+
rescue PharmaObservatory::ApiError => e
|
|
2177
|
+
puts "Error when calling CompaniesApi->companies_legal_entities: #{e}"
|
|
2178
|
+
end
|
|
2179
|
+
```
|
|
2180
|
+
|
|
2181
|
+
#### Using the companies_legal_entities_with_http_info variant
|
|
2182
|
+
|
|
2183
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2184
|
+
|
|
2185
|
+
> <Array(<LegalEntitiesResponse>, Integer, Hash)> companies_legal_entities_with_http_info(id, opts)
|
|
2186
|
+
|
|
2187
|
+
```ruby
|
|
2188
|
+
begin
|
|
2189
|
+
# Legal entities
|
|
2190
|
+
data, status_code, headers = api_instance.companies_legal_entities_with_http_info(id, opts)
|
|
2191
|
+
p status_code # => 2xx
|
|
2192
|
+
p headers # => { ... }
|
|
2193
|
+
p data # => <LegalEntitiesResponse>
|
|
2194
|
+
rescue PharmaObservatory::ApiError => e
|
|
2195
|
+
puts "Error when calling CompaniesApi->companies_legal_entities_with_http_info: #{e}"
|
|
2196
|
+
end
|
|
2197
|
+
```
|
|
2198
|
+
|
|
2199
|
+
### Parameters
|
|
2200
|
+
|
|
2201
|
+
| Name | Type | Description | Notes |
|
|
2202
|
+
| ---- | ---- | ----------- | ----- |
|
|
2203
|
+
| **id** | **String** | | |
|
|
2204
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2205
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2206
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2207
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2208
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2209
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2210
|
+
|
|
2211
|
+
### Return type
|
|
2212
|
+
|
|
2213
|
+
[**LegalEntitiesResponse**](LegalEntitiesResponse.md)
|
|
2214
|
+
|
|
2215
|
+
### Authorization
|
|
2216
|
+
|
|
2217
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2218
|
+
|
|
2219
|
+
### HTTP request headers
|
|
2220
|
+
|
|
2221
|
+
- **Content-Type**: Not defined
|
|
2222
|
+
- **Accept**: application/json
|
|
2223
|
+
|
|
2224
|
+
|
|
2225
|
+
## companies_list
|
|
2226
|
+
|
|
2227
|
+
> <CompaniesResponse> companies_list(opts)
|
|
2228
|
+
|
|
2229
|
+
List companies
|
|
2230
|
+
|
|
2231
|
+
### Examples
|
|
2232
|
+
|
|
2233
|
+
```ruby
|
|
2234
|
+
require 'time'
|
|
2235
|
+
require 'pharmaobservatory'
|
|
2236
|
+
# setup authorization
|
|
2237
|
+
PharmaObservatory.configure do |config|
|
|
2238
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2239
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2240
|
+
end
|
|
2241
|
+
|
|
2242
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2243
|
+
opts = {
|
|
2244
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2245
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2246
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2247
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2248
|
+
measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
begin
|
|
2252
|
+
# List companies
|
|
2253
|
+
result = api_instance.companies_list(opts)
|
|
2254
|
+
p result
|
|
2255
|
+
rescue PharmaObservatory::ApiError => e
|
|
2256
|
+
puts "Error when calling CompaniesApi->companies_list: #{e}"
|
|
2257
|
+
end
|
|
2258
|
+
```
|
|
2259
|
+
|
|
2260
|
+
#### Using the companies_list_with_http_info variant
|
|
2261
|
+
|
|
2262
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2263
|
+
|
|
2264
|
+
> <Array(<CompaniesResponse>, Integer, Hash)> companies_list_with_http_info(opts)
|
|
2265
|
+
|
|
2266
|
+
```ruby
|
|
2267
|
+
begin
|
|
2268
|
+
# List companies
|
|
2269
|
+
data, status_code, headers = api_instance.companies_list_with_http_info(opts)
|
|
2270
|
+
p status_code # => 2xx
|
|
2271
|
+
p headers # => { ... }
|
|
2272
|
+
p data # => <CompaniesResponse>
|
|
2273
|
+
rescue PharmaObservatory::ApiError => e
|
|
2274
|
+
puts "Error when calling CompaniesApi->companies_list_with_http_info: #{e}"
|
|
2275
|
+
end
|
|
2276
|
+
```
|
|
2277
|
+
|
|
2278
|
+
### Parameters
|
|
2279
|
+
|
|
2280
|
+
| Name | Type | Description | Notes |
|
|
2281
|
+
| ---- | ---- | ----------- | ----- |
|
|
2282
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2283
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2284
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2285
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2286
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2287
|
+
|
|
2288
|
+
### Return type
|
|
2289
|
+
|
|
2290
|
+
[**CompaniesResponse**](CompaniesResponse.md)
|
|
2291
|
+
|
|
2292
|
+
### Authorization
|
|
2293
|
+
|
|
2294
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2295
|
+
|
|
2296
|
+
### HTTP request headers
|
|
2297
|
+
|
|
2298
|
+
- **Content-Type**: Not defined
|
|
2299
|
+
- **Accept**: application/json
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
## companies_org_disclosures
|
|
2303
|
+
|
|
2304
|
+
> <OrgDisclosuresResponse> companies_org_disclosures(id, opts)
|
|
2305
|
+
|
|
2306
|
+
Organization disclosures (climate and diversity)
|
|
2307
|
+
|
|
2308
|
+
### Examples
|
|
2309
|
+
|
|
2310
|
+
```ruby
|
|
2311
|
+
require 'time'
|
|
2312
|
+
require 'pharmaobservatory'
|
|
2313
|
+
# setup authorization
|
|
2314
|
+
PharmaObservatory.configure do |config|
|
|
2315
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2316
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2317
|
+
end
|
|
2318
|
+
|
|
2319
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2320
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2321
|
+
opts = {
|
|
2322
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2323
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2324
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2325
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2326
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2327
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
begin
|
|
2331
|
+
# Organization disclosures (climate and diversity)
|
|
2332
|
+
result = api_instance.companies_org_disclosures(id, opts)
|
|
2333
|
+
p result
|
|
2334
|
+
rescue PharmaObservatory::ApiError => e
|
|
2335
|
+
puts "Error when calling CompaniesApi->companies_org_disclosures: #{e}"
|
|
2336
|
+
end
|
|
2337
|
+
```
|
|
2338
|
+
|
|
2339
|
+
#### Using the companies_org_disclosures_with_http_info variant
|
|
2340
|
+
|
|
2341
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2342
|
+
|
|
2343
|
+
> <Array(<OrgDisclosuresResponse>, Integer, Hash)> companies_org_disclosures_with_http_info(id, opts)
|
|
2344
|
+
|
|
2345
|
+
```ruby
|
|
2346
|
+
begin
|
|
2347
|
+
# Organization disclosures (climate and diversity)
|
|
2348
|
+
data, status_code, headers = api_instance.companies_org_disclosures_with_http_info(id, opts)
|
|
2349
|
+
p status_code # => 2xx
|
|
2350
|
+
p headers # => { ... }
|
|
2351
|
+
p data # => <OrgDisclosuresResponse>
|
|
2352
|
+
rescue PharmaObservatory::ApiError => e
|
|
2353
|
+
puts "Error when calling CompaniesApi->companies_org_disclosures_with_http_info: #{e}"
|
|
2354
|
+
end
|
|
2355
|
+
```
|
|
2356
|
+
|
|
2357
|
+
### Parameters
|
|
2358
|
+
|
|
2359
|
+
| Name | Type | Description | Notes |
|
|
2360
|
+
| ---- | ---- | ----------- | ----- |
|
|
2361
|
+
| **id** | **String** | | |
|
|
2362
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2363
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2364
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2365
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2366
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2367
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2368
|
+
|
|
2369
|
+
### Return type
|
|
2370
|
+
|
|
2371
|
+
[**OrgDisclosuresResponse**](OrgDisclosuresResponse.md)
|
|
2372
|
+
|
|
2373
|
+
### Authorization
|
|
2374
|
+
|
|
2375
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2376
|
+
|
|
2377
|
+
### HTTP request headers
|
|
2378
|
+
|
|
2379
|
+
- **Content-Type**: Not defined
|
|
2380
|
+
- **Accept**: application/json
|
|
2381
|
+
|
|
2382
|
+
|
|
2383
|
+
## companies_org_relationships
|
|
2384
|
+
|
|
2385
|
+
> <OrgRelationshipsResponse> companies_org_relationships(id, opts)
|
|
2386
|
+
|
|
2387
|
+
Organization relationships
|
|
2388
|
+
|
|
2389
|
+
### Examples
|
|
2390
|
+
|
|
2391
|
+
```ruby
|
|
2392
|
+
require 'time'
|
|
2393
|
+
require 'pharmaobservatory'
|
|
2394
|
+
# setup authorization
|
|
2395
|
+
PharmaObservatory.configure do |config|
|
|
2396
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2397
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2398
|
+
end
|
|
2399
|
+
|
|
2400
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2401
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2402
|
+
opts = {
|
|
2403
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2404
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2405
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2406
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2407
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2408
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
begin
|
|
2412
|
+
# Organization relationships
|
|
2413
|
+
result = api_instance.companies_org_relationships(id, opts)
|
|
2414
|
+
p result
|
|
2415
|
+
rescue PharmaObservatory::ApiError => e
|
|
2416
|
+
puts "Error when calling CompaniesApi->companies_org_relationships: #{e}"
|
|
2417
|
+
end
|
|
2418
|
+
```
|
|
2419
|
+
|
|
2420
|
+
#### Using the companies_org_relationships_with_http_info variant
|
|
2421
|
+
|
|
2422
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2423
|
+
|
|
2424
|
+
> <Array(<OrgRelationshipsResponse>, Integer, Hash)> companies_org_relationships_with_http_info(id, opts)
|
|
2425
|
+
|
|
2426
|
+
```ruby
|
|
2427
|
+
begin
|
|
2428
|
+
# Organization relationships
|
|
2429
|
+
data, status_code, headers = api_instance.companies_org_relationships_with_http_info(id, opts)
|
|
2430
|
+
p status_code # => 2xx
|
|
2431
|
+
p headers # => { ... }
|
|
2432
|
+
p data # => <OrgRelationshipsResponse>
|
|
2433
|
+
rescue PharmaObservatory::ApiError => e
|
|
2434
|
+
puts "Error when calling CompaniesApi->companies_org_relationships_with_http_info: #{e}"
|
|
2435
|
+
end
|
|
2436
|
+
```
|
|
2437
|
+
|
|
2438
|
+
### Parameters
|
|
2439
|
+
|
|
2440
|
+
| Name | Type | Description | Notes |
|
|
2441
|
+
| ---- | ---- | ----------- | ----- |
|
|
2442
|
+
| **id** | **String** | | |
|
|
2443
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2444
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2445
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2446
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2447
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2448
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2449
|
+
|
|
2450
|
+
### Return type
|
|
2451
|
+
|
|
2452
|
+
[**OrgRelationshipsResponse**](OrgRelationshipsResponse.md)
|
|
2453
|
+
|
|
2454
|
+
### Authorization
|
|
2455
|
+
|
|
2456
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2457
|
+
|
|
2458
|
+
### HTTP request headers
|
|
2459
|
+
|
|
2460
|
+
- **Content-Type**: Not defined
|
|
2461
|
+
- **Accept**: application/json
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
## companies_ownership_percentages
|
|
2465
|
+
|
|
2466
|
+
> <OwnershipPercentagesResponse> companies_ownership_percentages(id, opts)
|
|
2467
|
+
|
|
2468
|
+
Ownership percentages
|
|
2469
|
+
|
|
2470
|
+
### Examples
|
|
2471
|
+
|
|
2472
|
+
```ruby
|
|
2473
|
+
require 'time'
|
|
2474
|
+
require 'pharmaobservatory'
|
|
2475
|
+
# setup authorization
|
|
2476
|
+
PharmaObservatory.configure do |config|
|
|
2477
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2478
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2479
|
+
end
|
|
2480
|
+
|
|
2481
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2482
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2483
|
+
opts = {
|
|
2484
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2485
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2486
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2487
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2488
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2489
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
begin
|
|
2493
|
+
# Ownership percentages
|
|
2494
|
+
result = api_instance.companies_ownership_percentages(id, opts)
|
|
2495
|
+
p result
|
|
2496
|
+
rescue PharmaObservatory::ApiError => e
|
|
2497
|
+
puts "Error when calling CompaniesApi->companies_ownership_percentages: #{e}"
|
|
2498
|
+
end
|
|
2499
|
+
```
|
|
2500
|
+
|
|
2501
|
+
#### Using the companies_ownership_percentages_with_http_info variant
|
|
2502
|
+
|
|
2503
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2504
|
+
|
|
2505
|
+
> <Array(<OwnershipPercentagesResponse>, Integer, Hash)> companies_ownership_percentages_with_http_info(id, opts)
|
|
2506
|
+
|
|
2507
|
+
```ruby
|
|
2508
|
+
begin
|
|
2509
|
+
# Ownership percentages
|
|
2510
|
+
data, status_code, headers = api_instance.companies_ownership_percentages_with_http_info(id, opts)
|
|
2511
|
+
p status_code # => 2xx
|
|
2512
|
+
p headers # => { ... }
|
|
2513
|
+
p data # => <OwnershipPercentagesResponse>
|
|
2514
|
+
rescue PharmaObservatory::ApiError => e
|
|
2515
|
+
puts "Error when calling CompaniesApi->companies_ownership_percentages_with_http_info: #{e}"
|
|
2516
|
+
end
|
|
2517
|
+
```
|
|
2518
|
+
|
|
2519
|
+
### Parameters
|
|
2520
|
+
|
|
2521
|
+
| Name | Type | Description | Notes |
|
|
2522
|
+
| ---- | ---- | ----------- | ----- |
|
|
2523
|
+
| **id** | **String** | | |
|
|
2524
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2525
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2526
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2527
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2528
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2529
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2530
|
+
|
|
2531
|
+
### Return type
|
|
2532
|
+
|
|
2533
|
+
[**OwnershipPercentagesResponse**](OwnershipPercentagesResponse.md)
|
|
2534
|
+
|
|
2535
|
+
### Authorization
|
|
2536
|
+
|
|
2537
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2538
|
+
|
|
2539
|
+
### HTTP request headers
|
|
2540
|
+
|
|
2541
|
+
- **Content-Type**: Not defined
|
|
2542
|
+
- **Accept**: application/json
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
## companies_ownership_positions
|
|
2546
|
+
|
|
2547
|
+
> <OwnershipPositionsResponse> companies_ownership_positions(id, opts)
|
|
2548
|
+
|
|
2549
|
+
Ownership and control positions
|
|
2550
|
+
|
|
2551
|
+
### Examples
|
|
2552
|
+
|
|
2553
|
+
```ruby
|
|
2554
|
+
require 'time'
|
|
2555
|
+
require 'pharmaobservatory'
|
|
2556
|
+
# setup authorization
|
|
2557
|
+
PharmaObservatory.configure do |config|
|
|
2558
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2559
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2560
|
+
end
|
|
2561
|
+
|
|
2562
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2563
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2564
|
+
opts = {
|
|
2565
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2566
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2567
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2568
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2569
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2570
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
begin
|
|
2574
|
+
# Ownership and control positions
|
|
2575
|
+
result = api_instance.companies_ownership_positions(id, opts)
|
|
2576
|
+
p result
|
|
2577
|
+
rescue PharmaObservatory::ApiError => e
|
|
2578
|
+
puts "Error when calling CompaniesApi->companies_ownership_positions: #{e}"
|
|
2579
|
+
end
|
|
2580
|
+
```
|
|
2581
|
+
|
|
2582
|
+
#### Using the companies_ownership_positions_with_http_info variant
|
|
2583
|
+
|
|
2584
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2585
|
+
|
|
2586
|
+
> <Array(<OwnershipPositionsResponse>, Integer, Hash)> companies_ownership_positions_with_http_info(id, opts)
|
|
2587
|
+
|
|
2588
|
+
```ruby
|
|
2589
|
+
begin
|
|
2590
|
+
# Ownership and control positions
|
|
2591
|
+
data, status_code, headers = api_instance.companies_ownership_positions_with_http_info(id, opts)
|
|
2592
|
+
p status_code # => 2xx
|
|
2593
|
+
p headers # => { ... }
|
|
2594
|
+
p data # => <OwnershipPositionsResponse>
|
|
2595
|
+
rescue PharmaObservatory::ApiError => e
|
|
2596
|
+
puts "Error when calling CompaniesApi->companies_ownership_positions_with_http_info: #{e}"
|
|
2597
|
+
end
|
|
2598
|
+
```
|
|
2599
|
+
|
|
2600
|
+
### Parameters
|
|
2601
|
+
|
|
2602
|
+
| Name | Type | Description | Notes |
|
|
2603
|
+
| ---- | ---- | ----------- | ----- |
|
|
2604
|
+
| **id** | **String** | | |
|
|
2605
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2606
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2607
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2608
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2609
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2610
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2611
|
+
|
|
2612
|
+
### Return type
|
|
2613
|
+
|
|
2614
|
+
[**OwnershipPositionsResponse**](OwnershipPositionsResponse.md)
|
|
2615
|
+
|
|
2616
|
+
### Authorization
|
|
2617
|
+
|
|
2618
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2619
|
+
|
|
2620
|
+
### HTTP request headers
|
|
2621
|
+
|
|
2622
|
+
- **Content-Type**: Not defined
|
|
2623
|
+
- **Accept**: application/json
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
## companies_pdufa_dates
|
|
2627
|
+
|
|
2628
|
+
> <PdufaDatesResponse> companies_pdufa_dates(id, opts)
|
|
2629
|
+
|
|
2630
|
+
FDA decision dates (PDUFA) and catalysts
|
|
2631
|
+
|
|
2632
|
+
### Examples
|
|
2633
|
+
|
|
2634
|
+
```ruby
|
|
2635
|
+
require 'time'
|
|
2636
|
+
require 'pharmaobservatory'
|
|
2637
|
+
# setup authorization
|
|
2638
|
+
PharmaObservatory.configure do |config|
|
|
2639
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2640
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2641
|
+
end
|
|
2642
|
+
|
|
2643
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2644
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2645
|
+
opts = {
|
|
2646
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2647
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2648
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2649
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2650
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2651
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2652
|
+
}
|
|
2653
|
+
|
|
2654
|
+
begin
|
|
2655
|
+
# FDA decision dates (PDUFA) and catalysts
|
|
2656
|
+
result = api_instance.companies_pdufa_dates(id, opts)
|
|
2657
|
+
p result
|
|
2658
|
+
rescue PharmaObservatory::ApiError => e
|
|
2659
|
+
puts "Error when calling CompaniesApi->companies_pdufa_dates: #{e}"
|
|
2660
|
+
end
|
|
2661
|
+
```
|
|
2662
|
+
|
|
2663
|
+
#### Using the companies_pdufa_dates_with_http_info variant
|
|
2664
|
+
|
|
2665
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2666
|
+
|
|
2667
|
+
> <Array(<PdufaDatesResponse>, Integer, Hash)> companies_pdufa_dates_with_http_info(id, opts)
|
|
2668
|
+
|
|
2669
|
+
```ruby
|
|
2670
|
+
begin
|
|
2671
|
+
# FDA decision dates (PDUFA) and catalysts
|
|
1354
2672
|
data, status_code, headers = api_instance.companies_pdufa_dates_with_http_info(id, opts)
|
|
1355
2673
|
p status_code # => 2xx
|
|
1356
2674
|
p headers # => { ... }
|
|
1357
|
-
p data # => <PdufaDatesResponse>
|
|
2675
|
+
p data # => <PdufaDatesResponse>
|
|
2676
|
+
rescue PharmaObservatory::ApiError => e
|
|
2677
|
+
puts "Error when calling CompaniesApi->companies_pdufa_dates_with_http_info: #{e}"
|
|
2678
|
+
end
|
|
2679
|
+
```
|
|
2680
|
+
|
|
2681
|
+
### Parameters
|
|
2682
|
+
|
|
2683
|
+
| Name | Type | Description | Notes |
|
|
2684
|
+
| ---- | ---- | ----------- | ----- |
|
|
2685
|
+
| **id** | **String** | | |
|
|
2686
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2687
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2688
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2689
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2690
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2691
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2692
|
+
|
|
2693
|
+
### Return type
|
|
2694
|
+
|
|
2695
|
+
[**PdufaDatesResponse**](PdufaDatesResponse.md)
|
|
2696
|
+
|
|
2697
|
+
### Authorization
|
|
2698
|
+
|
|
2699
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2700
|
+
|
|
2701
|
+
### HTTP request headers
|
|
2702
|
+
|
|
2703
|
+
- **Content-Type**: Not defined
|
|
2704
|
+
- **Accept**: application/json
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
## companies_program_licensing_candidates
|
|
2708
|
+
|
|
2709
|
+
> <ProgramLicensingCandidatesResponse> companies_program_licensing_candidates(id, opts)
|
|
2710
|
+
|
|
2711
|
+
Program licensing candidates
|
|
2712
|
+
|
|
2713
|
+
### Examples
|
|
2714
|
+
|
|
2715
|
+
```ruby
|
|
2716
|
+
require 'time'
|
|
2717
|
+
require 'pharmaobservatory'
|
|
2718
|
+
# setup authorization
|
|
2719
|
+
PharmaObservatory.configure do |config|
|
|
2720
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2721
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2722
|
+
end
|
|
2723
|
+
|
|
2724
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2725
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2726
|
+
opts = {
|
|
2727
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2728
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2729
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2730
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2731
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2732
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
begin
|
|
2736
|
+
# Program licensing candidates
|
|
2737
|
+
result = api_instance.companies_program_licensing_candidates(id, opts)
|
|
2738
|
+
p result
|
|
2739
|
+
rescue PharmaObservatory::ApiError => e
|
|
2740
|
+
puts "Error when calling CompaniesApi->companies_program_licensing_candidates: #{e}"
|
|
2741
|
+
end
|
|
2742
|
+
```
|
|
2743
|
+
|
|
2744
|
+
#### Using the companies_program_licensing_candidates_with_http_info variant
|
|
2745
|
+
|
|
2746
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2747
|
+
|
|
2748
|
+
> <Array(<ProgramLicensingCandidatesResponse>, Integer, Hash)> companies_program_licensing_candidates_with_http_info(id, opts)
|
|
2749
|
+
|
|
2750
|
+
```ruby
|
|
2751
|
+
begin
|
|
2752
|
+
# Program licensing candidates
|
|
2753
|
+
data, status_code, headers = api_instance.companies_program_licensing_candidates_with_http_info(id, opts)
|
|
2754
|
+
p status_code # => 2xx
|
|
2755
|
+
p headers # => { ... }
|
|
2756
|
+
p data # => <ProgramLicensingCandidatesResponse>
|
|
2757
|
+
rescue PharmaObservatory::ApiError => e
|
|
2758
|
+
puts "Error when calling CompaniesApi->companies_program_licensing_candidates_with_http_info: #{e}"
|
|
2759
|
+
end
|
|
2760
|
+
```
|
|
2761
|
+
|
|
2762
|
+
### Parameters
|
|
2763
|
+
|
|
2764
|
+
| Name | Type | Description | Notes |
|
|
2765
|
+
| ---- | ---- | ----------- | ----- |
|
|
2766
|
+
| **id** | **String** | | |
|
|
2767
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2768
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2769
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2770
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2771
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2772
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2773
|
+
|
|
2774
|
+
### Return type
|
|
2775
|
+
|
|
2776
|
+
[**ProgramLicensingCandidatesResponse**](ProgramLicensingCandidatesResponse.md)
|
|
2777
|
+
|
|
2778
|
+
### Authorization
|
|
2779
|
+
|
|
2780
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2781
|
+
|
|
2782
|
+
### HTTP request headers
|
|
2783
|
+
|
|
2784
|
+
- **Content-Type**: Not defined
|
|
2785
|
+
- **Accept**: application/json
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
## companies_recalls
|
|
2789
|
+
|
|
2790
|
+
> <RecallsResponse> companies_recalls(id, opts)
|
|
2791
|
+
|
|
2792
|
+
FDA recalls
|
|
2793
|
+
|
|
2794
|
+
### Examples
|
|
2795
|
+
|
|
2796
|
+
```ruby
|
|
2797
|
+
require 'time'
|
|
2798
|
+
require 'pharmaobservatory'
|
|
2799
|
+
# setup authorization
|
|
2800
|
+
PharmaObservatory.configure do |config|
|
|
2801
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2802
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2803
|
+
end
|
|
2804
|
+
|
|
2805
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2806
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2807
|
+
opts = {
|
|
2808
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2809
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2810
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2811
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2812
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2813
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2814
|
+
}
|
|
2815
|
+
|
|
2816
|
+
begin
|
|
2817
|
+
# FDA recalls
|
|
2818
|
+
result = api_instance.companies_recalls(id, opts)
|
|
2819
|
+
p result
|
|
2820
|
+
rescue PharmaObservatory::ApiError => e
|
|
2821
|
+
puts "Error when calling CompaniesApi->companies_recalls: #{e}"
|
|
2822
|
+
end
|
|
2823
|
+
```
|
|
2824
|
+
|
|
2825
|
+
#### Using the companies_recalls_with_http_info variant
|
|
2826
|
+
|
|
2827
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2828
|
+
|
|
2829
|
+
> <Array(<RecallsResponse>, Integer, Hash)> companies_recalls_with_http_info(id, opts)
|
|
2830
|
+
|
|
2831
|
+
```ruby
|
|
2832
|
+
begin
|
|
2833
|
+
# FDA recalls
|
|
2834
|
+
data, status_code, headers = api_instance.companies_recalls_with_http_info(id, opts)
|
|
2835
|
+
p status_code # => 2xx
|
|
2836
|
+
p headers # => { ... }
|
|
2837
|
+
p data # => <RecallsResponse>
|
|
2838
|
+
rescue PharmaObservatory::ApiError => e
|
|
2839
|
+
puts "Error when calling CompaniesApi->companies_recalls_with_http_info: #{e}"
|
|
2840
|
+
end
|
|
2841
|
+
```
|
|
2842
|
+
|
|
2843
|
+
### Parameters
|
|
2844
|
+
|
|
2845
|
+
| Name | Type | Description | Notes |
|
|
2846
|
+
| ---- | ---- | ----------- | ----- |
|
|
2847
|
+
| **id** | **String** | | |
|
|
2848
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2849
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2850
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2851
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2852
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2853
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2854
|
+
|
|
2855
|
+
### Return type
|
|
2856
|
+
|
|
2857
|
+
[**RecallsResponse**](RecallsResponse.md)
|
|
2858
|
+
|
|
2859
|
+
### Authorization
|
|
2860
|
+
|
|
2861
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2862
|
+
|
|
2863
|
+
### HTTP request headers
|
|
2864
|
+
|
|
2865
|
+
- **Content-Type**: Not defined
|
|
2866
|
+
- **Accept**: application/json
|
|
2867
|
+
|
|
2868
|
+
|
|
2869
|
+
## companies_sponsor_recruitment_by_phase
|
|
2870
|
+
|
|
2871
|
+
> <SponsorRecruitmentByPhaseResponse> companies_sponsor_recruitment_by_phase(id, opts)
|
|
2872
|
+
|
|
2873
|
+
Trial recruitment duration by sponsor and phase
|
|
2874
|
+
|
|
2875
|
+
### Examples
|
|
2876
|
+
|
|
2877
|
+
```ruby
|
|
2878
|
+
require 'time'
|
|
2879
|
+
require 'pharmaobservatory'
|
|
2880
|
+
# setup authorization
|
|
2881
|
+
PharmaObservatory.configure do |config|
|
|
2882
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2883
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2884
|
+
end
|
|
2885
|
+
|
|
2886
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2887
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2888
|
+
opts = {
|
|
2889
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2890
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2891
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2892
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2893
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2894
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
begin
|
|
2898
|
+
# Trial recruitment duration by sponsor and phase
|
|
2899
|
+
result = api_instance.companies_sponsor_recruitment_by_phase(id, opts)
|
|
2900
|
+
p result
|
|
2901
|
+
rescue PharmaObservatory::ApiError => e
|
|
2902
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_by_phase: #{e}"
|
|
2903
|
+
end
|
|
2904
|
+
```
|
|
2905
|
+
|
|
2906
|
+
#### Using the companies_sponsor_recruitment_by_phase_with_http_info variant
|
|
2907
|
+
|
|
2908
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2909
|
+
|
|
2910
|
+
> <Array(<SponsorRecruitmentByPhaseResponse>, Integer, Hash)> companies_sponsor_recruitment_by_phase_with_http_info(id, opts)
|
|
2911
|
+
|
|
2912
|
+
```ruby
|
|
2913
|
+
begin
|
|
2914
|
+
# Trial recruitment duration by sponsor and phase
|
|
2915
|
+
data, status_code, headers = api_instance.companies_sponsor_recruitment_by_phase_with_http_info(id, opts)
|
|
2916
|
+
p status_code # => 2xx
|
|
2917
|
+
p headers # => { ... }
|
|
2918
|
+
p data # => <SponsorRecruitmentByPhaseResponse>
|
|
2919
|
+
rescue PharmaObservatory::ApiError => e
|
|
2920
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_by_phase_with_http_info: #{e}"
|
|
2921
|
+
end
|
|
2922
|
+
```
|
|
2923
|
+
|
|
2924
|
+
### Parameters
|
|
2925
|
+
|
|
2926
|
+
| Name | Type | Description | Notes |
|
|
2927
|
+
| ---- | ---- | ----------- | ----- |
|
|
2928
|
+
| **id** | **String** | | |
|
|
2929
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2930
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2931
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2932
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2933
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2934
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2935
|
+
|
|
2936
|
+
### Return type
|
|
2937
|
+
|
|
2938
|
+
[**SponsorRecruitmentByPhaseResponse**](SponsorRecruitmentByPhaseResponse.md)
|
|
2939
|
+
|
|
2940
|
+
### Authorization
|
|
2941
|
+
|
|
2942
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2943
|
+
|
|
2944
|
+
### HTTP request headers
|
|
2945
|
+
|
|
2946
|
+
- **Content-Type**: Not defined
|
|
2947
|
+
- **Accept**: application/json
|
|
2948
|
+
|
|
2949
|
+
|
|
2950
|
+
## companies_sponsor_recruitment_duration
|
|
2951
|
+
|
|
2952
|
+
> <SponsorRecruitmentDurationResponse> companies_sponsor_recruitment_duration(id, opts)
|
|
2953
|
+
|
|
2954
|
+
Trial recruitment duration by sponsor
|
|
2955
|
+
|
|
2956
|
+
### Examples
|
|
2957
|
+
|
|
2958
|
+
```ruby
|
|
2959
|
+
require 'time'
|
|
2960
|
+
require 'pharmaobservatory'
|
|
2961
|
+
# setup authorization
|
|
2962
|
+
PharmaObservatory.configure do |config|
|
|
2963
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2964
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2965
|
+
end
|
|
2966
|
+
|
|
2967
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2968
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2969
|
+
opts = {
|
|
2970
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2971
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2972
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2973
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2974
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2975
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2978
|
+
begin
|
|
2979
|
+
# Trial recruitment duration by sponsor
|
|
2980
|
+
result = api_instance.companies_sponsor_recruitment_duration(id, opts)
|
|
2981
|
+
p result
|
|
2982
|
+
rescue PharmaObservatory::ApiError => e
|
|
2983
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_duration: #{e}"
|
|
2984
|
+
end
|
|
2985
|
+
```
|
|
2986
|
+
|
|
2987
|
+
#### Using the companies_sponsor_recruitment_duration_with_http_info variant
|
|
2988
|
+
|
|
2989
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2990
|
+
|
|
2991
|
+
> <Array(<SponsorRecruitmentDurationResponse>, Integer, Hash)> companies_sponsor_recruitment_duration_with_http_info(id, opts)
|
|
2992
|
+
|
|
2993
|
+
```ruby
|
|
2994
|
+
begin
|
|
2995
|
+
# Trial recruitment duration by sponsor
|
|
2996
|
+
data, status_code, headers = api_instance.companies_sponsor_recruitment_duration_with_http_info(id, opts)
|
|
2997
|
+
p status_code # => 2xx
|
|
2998
|
+
p headers # => { ... }
|
|
2999
|
+
p data # => <SponsorRecruitmentDurationResponse>
|
|
1358
3000
|
rescue PharmaObservatory::ApiError => e
|
|
1359
|
-
puts "Error when calling CompaniesApi->
|
|
3001
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_duration_with_http_info: #{e}"
|
|
1360
3002
|
end
|
|
1361
3003
|
```
|
|
1362
3004
|
|
|
@@ -1374,7 +3016,7 @@ end
|
|
|
1374
3016
|
|
|
1375
3017
|
### Return type
|
|
1376
3018
|
|
|
1377
|
-
[**
|
|
3019
|
+
[**SponsorRecruitmentDurationResponse**](SponsorRecruitmentDurationResponse.md)
|
|
1378
3020
|
|
|
1379
3021
|
### Authorization
|
|
1380
3022
|
|
|
@@ -1386,11 +3028,11 @@ end
|
|
|
1386
3028
|
- **Accept**: application/json
|
|
1387
3029
|
|
|
1388
3030
|
|
|
1389
|
-
##
|
|
3031
|
+
## companies_sponsor_trial_start_forecast
|
|
1390
3032
|
|
|
1391
|
-
> <
|
|
3033
|
+
> <SponsorTrialStartForecastResponse> companies_sponsor_trial_start_forecast(id, opts)
|
|
1392
3034
|
|
|
1393
|
-
Trial
|
|
3035
|
+
Trial-start forecast by sponsor
|
|
1394
3036
|
|
|
1395
3037
|
### Examples
|
|
1396
3038
|
|
|
@@ -1415,29 +3057,29 @@ opts = {
|
|
|
1415
3057
|
}
|
|
1416
3058
|
|
|
1417
3059
|
begin
|
|
1418
|
-
# Trial
|
|
1419
|
-
result = api_instance.
|
|
3060
|
+
# Trial-start forecast by sponsor
|
|
3061
|
+
result = api_instance.companies_sponsor_trial_start_forecast(id, opts)
|
|
1420
3062
|
p result
|
|
1421
3063
|
rescue PharmaObservatory::ApiError => e
|
|
1422
|
-
puts "Error when calling CompaniesApi->
|
|
3064
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_start_forecast: #{e}"
|
|
1423
3065
|
end
|
|
1424
3066
|
```
|
|
1425
3067
|
|
|
1426
|
-
#### Using the
|
|
3068
|
+
#### Using the companies_sponsor_trial_start_forecast_with_http_info variant
|
|
1427
3069
|
|
|
1428
3070
|
This returns an Array which contains the response data, status code and headers.
|
|
1429
3071
|
|
|
1430
|
-
> <Array(<
|
|
3072
|
+
> <Array(<SponsorTrialStartForecastResponse>, Integer, Hash)> companies_sponsor_trial_start_forecast_with_http_info(id, opts)
|
|
1431
3073
|
|
|
1432
3074
|
```ruby
|
|
1433
3075
|
begin
|
|
1434
|
-
# Trial
|
|
1435
|
-
data, status_code, headers = api_instance.
|
|
3076
|
+
# Trial-start forecast by sponsor
|
|
3077
|
+
data, status_code, headers = api_instance.companies_sponsor_trial_start_forecast_with_http_info(id, opts)
|
|
1436
3078
|
p status_code # => 2xx
|
|
1437
3079
|
p headers # => { ... }
|
|
1438
|
-
p data # => <
|
|
3080
|
+
p data # => <SponsorTrialStartForecastResponse>
|
|
1439
3081
|
rescue PharmaObservatory::ApiError => e
|
|
1440
|
-
puts "Error when calling CompaniesApi->
|
|
3082
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_start_forecast_with_http_info: #{e}"
|
|
1441
3083
|
end
|
|
1442
3084
|
```
|
|
1443
3085
|
|
|
@@ -1455,7 +3097,7 @@ end
|
|
|
1455
3097
|
|
|
1456
3098
|
### Return type
|
|
1457
3099
|
|
|
1458
|
-
[**
|
|
3100
|
+
[**SponsorTrialStartForecastResponse**](SponsorTrialStartForecastResponse.md)
|
|
1459
3101
|
|
|
1460
3102
|
### Authorization
|
|
1461
3103
|
|
|
@@ -1467,11 +3109,11 @@ end
|
|
|
1467
3109
|
- **Accept**: application/json
|
|
1468
3110
|
|
|
1469
3111
|
|
|
1470
|
-
##
|
|
3112
|
+
## companies_sponsor_trials
|
|
1471
3113
|
|
|
1472
|
-
> <
|
|
3114
|
+
> <SponsorTrialsResponse> companies_sponsor_trials(id, opts)
|
|
1473
3115
|
|
|
1474
|
-
|
|
3116
|
+
Sponsor trials
|
|
1475
3117
|
|
|
1476
3118
|
### Examples
|
|
1477
3119
|
|
|
@@ -1496,29 +3138,29 @@ opts = {
|
|
|
1496
3138
|
}
|
|
1497
3139
|
|
|
1498
3140
|
begin
|
|
1499
|
-
#
|
|
1500
|
-
result = api_instance.
|
|
3141
|
+
# Sponsor trials
|
|
3142
|
+
result = api_instance.companies_sponsor_trials(id, opts)
|
|
1501
3143
|
p result
|
|
1502
3144
|
rescue PharmaObservatory::ApiError => e
|
|
1503
|
-
puts "Error when calling CompaniesApi->
|
|
3145
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trials: #{e}"
|
|
1504
3146
|
end
|
|
1505
3147
|
```
|
|
1506
3148
|
|
|
1507
|
-
#### Using the
|
|
3149
|
+
#### Using the companies_sponsor_trials_with_http_info variant
|
|
1508
3150
|
|
|
1509
3151
|
This returns an Array which contains the response data, status code and headers.
|
|
1510
3152
|
|
|
1511
|
-
> <Array(<
|
|
3153
|
+
> <Array(<SponsorTrialsResponse>, Integer, Hash)> companies_sponsor_trials_with_http_info(id, opts)
|
|
1512
3154
|
|
|
1513
3155
|
```ruby
|
|
1514
3156
|
begin
|
|
1515
|
-
#
|
|
1516
|
-
data, status_code, headers = api_instance.
|
|
3157
|
+
# Sponsor trials
|
|
3158
|
+
data, status_code, headers = api_instance.companies_sponsor_trials_with_http_info(id, opts)
|
|
1517
3159
|
p status_code # => 2xx
|
|
1518
3160
|
p headers # => { ... }
|
|
1519
|
-
p data # => <
|
|
3161
|
+
p data # => <SponsorTrialsResponse>
|
|
1520
3162
|
rescue PharmaObservatory::ApiError => e
|
|
1521
|
-
puts "Error when calling CompaniesApi->
|
|
3163
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trials_with_http_info: #{e}"
|
|
1522
3164
|
end
|
|
1523
3165
|
```
|
|
1524
3166
|
|
|
@@ -1536,7 +3178,7 @@ end
|
|
|
1536
3178
|
|
|
1537
3179
|
### Return type
|
|
1538
3180
|
|
|
1539
|
-
[**
|
|
3181
|
+
[**SponsorTrialsResponse**](SponsorTrialsResponse.md)
|
|
1540
3182
|
|
|
1541
3183
|
### Authorization
|
|
1542
3184
|
|
|
@@ -1548,11 +3190,11 @@ end
|
|
|
1548
3190
|
- **Accept**: application/json
|
|
1549
3191
|
|
|
1550
3192
|
|
|
1551
|
-
##
|
|
3193
|
+
## companies_supplier_capability_esg
|
|
1552
3194
|
|
|
1553
|
-
> <
|
|
3195
|
+
> <SupplierCapabilityEsgResponse> companies_supplier_capability_esg(id, opts)
|
|
1554
3196
|
|
|
1555
|
-
|
|
3197
|
+
Supplier capability and ESG disclosure
|
|
1556
3198
|
|
|
1557
3199
|
### Examples
|
|
1558
3200
|
|
|
@@ -1577,29 +3219,29 @@ opts = {
|
|
|
1577
3219
|
}
|
|
1578
3220
|
|
|
1579
3221
|
begin
|
|
1580
|
-
#
|
|
1581
|
-
result = api_instance.
|
|
3222
|
+
# Supplier capability and ESG disclosure
|
|
3223
|
+
result = api_instance.companies_supplier_capability_esg(id, opts)
|
|
1582
3224
|
p result
|
|
1583
3225
|
rescue PharmaObservatory::ApiError => e
|
|
1584
|
-
puts "Error when calling CompaniesApi->
|
|
3226
|
+
puts "Error when calling CompaniesApi->companies_supplier_capability_esg: #{e}"
|
|
1585
3227
|
end
|
|
1586
3228
|
```
|
|
1587
3229
|
|
|
1588
|
-
#### Using the
|
|
3230
|
+
#### Using the companies_supplier_capability_esg_with_http_info variant
|
|
1589
3231
|
|
|
1590
3232
|
This returns an Array which contains the response data, status code and headers.
|
|
1591
3233
|
|
|
1592
|
-
> <Array(<
|
|
3234
|
+
> <Array(<SupplierCapabilityEsgResponse>, Integer, Hash)> companies_supplier_capability_esg_with_http_info(id, opts)
|
|
1593
3235
|
|
|
1594
3236
|
```ruby
|
|
1595
3237
|
begin
|
|
1596
|
-
#
|
|
1597
|
-
data, status_code, headers = api_instance.
|
|
3238
|
+
# Supplier capability and ESG disclosure
|
|
3239
|
+
data, status_code, headers = api_instance.companies_supplier_capability_esg_with_http_info(id, opts)
|
|
1598
3240
|
p status_code # => 2xx
|
|
1599
3241
|
p headers # => { ... }
|
|
1600
|
-
p data # => <
|
|
3242
|
+
p data # => <SupplierCapabilityEsgResponse>
|
|
1601
3243
|
rescue PharmaObservatory::ApiError => e
|
|
1602
|
-
puts "Error when calling CompaniesApi->
|
|
3244
|
+
puts "Error when calling CompaniesApi->companies_supplier_capability_esg_with_http_info: #{e}"
|
|
1603
3245
|
end
|
|
1604
3246
|
```
|
|
1605
3247
|
|
|
@@ -1617,7 +3259,7 @@ end
|
|
|
1617
3259
|
|
|
1618
3260
|
### Return type
|
|
1619
3261
|
|
|
1620
|
-
[**
|
|
3262
|
+
[**SupplierCapabilityEsgResponse**](SupplierCapabilityEsgResponse.md)
|
|
1621
3263
|
|
|
1622
3264
|
### Authorization
|
|
1623
3265
|
|
|
@@ -1629,11 +3271,11 @@ end
|
|
|
1629
3271
|
- **Accept**: application/json
|
|
1630
3272
|
|
|
1631
3273
|
|
|
1632
|
-
##
|
|
3274
|
+
## companies_unmatched_product_revenue
|
|
1633
3275
|
|
|
1634
|
-
> <
|
|
3276
|
+
> <UnmatchedProductRevenueResponse> companies_unmatched_product_revenue(id, opts)
|
|
1635
3277
|
|
|
1636
|
-
|
|
3278
|
+
Unmatched product revenue
|
|
1637
3279
|
|
|
1638
3280
|
### Examples
|
|
1639
3281
|
|
|
@@ -1658,29 +3300,29 @@ opts = {
|
|
|
1658
3300
|
}
|
|
1659
3301
|
|
|
1660
3302
|
begin
|
|
1661
|
-
#
|
|
1662
|
-
result = api_instance.
|
|
3303
|
+
# Unmatched product revenue
|
|
3304
|
+
result = api_instance.companies_unmatched_product_revenue(id, opts)
|
|
1663
3305
|
p result
|
|
1664
3306
|
rescue PharmaObservatory::ApiError => e
|
|
1665
|
-
puts "Error when calling CompaniesApi->
|
|
3307
|
+
puts "Error when calling CompaniesApi->companies_unmatched_product_revenue: #{e}"
|
|
1666
3308
|
end
|
|
1667
3309
|
```
|
|
1668
3310
|
|
|
1669
|
-
#### Using the
|
|
3311
|
+
#### Using the companies_unmatched_product_revenue_with_http_info variant
|
|
1670
3312
|
|
|
1671
3313
|
This returns an Array which contains the response data, status code and headers.
|
|
1672
3314
|
|
|
1673
|
-
> <Array(<
|
|
3315
|
+
> <Array(<UnmatchedProductRevenueResponse>, Integer, Hash)> companies_unmatched_product_revenue_with_http_info(id, opts)
|
|
1674
3316
|
|
|
1675
3317
|
```ruby
|
|
1676
3318
|
begin
|
|
1677
|
-
#
|
|
1678
|
-
data, status_code, headers = api_instance.
|
|
3319
|
+
# Unmatched product revenue
|
|
3320
|
+
data, status_code, headers = api_instance.companies_unmatched_product_revenue_with_http_info(id, opts)
|
|
1679
3321
|
p status_code # => 2xx
|
|
1680
3322
|
p headers # => { ... }
|
|
1681
|
-
p data # => <
|
|
3323
|
+
p data # => <UnmatchedProductRevenueResponse>
|
|
1682
3324
|
rescue PharmaObservatory::ApiError => e
|
|
1683
|
-
puts "Error when calling CompaniesApi->
|
|
3325
|
+
puts "Error when calling CompaniesApi->companies_unmatched_product_revenue_with_http_info: #{e}"
|
|
1684
3326
|
end
|
|
1685
3327
|
```
|
|
1686
3328
|
|
|
@@ -1698,7 +3340,169 @@ end
|
|
|
1698
3340
|
|
|
1699
3341
|
### Return type
|
|
1700
3342
|
|
|
1701
|
-
[**
|
|
3343
|
+
[**UnmatchedProductRevenueResponse**](UnmatchedProductRevenueResponse.md)
|
|
3344
|
+
|
|
3345
|
+
### Authorization
|
|
3346
|
+
|
|
3347
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3348
|
+
|
|
3349
|
+
### HTTP request headers
|
|
3350
|
+
|
|
3351
|
+
- **Content-Type**: Not defined
|
|
3352
|
+
- **Accept**: application/json
|
|
3353
|
+
|
|
3354
|
+
|
|
3355
|
+
## companies_untitled_letters
|
|
3356
|
+
|
|
3357
|
+
> <UntitledLettersResponse> companies_untitled_letters(id, opts)
|
|
3358
|
+
|
|
3359
|
+
FDA untitled letters
|
|
3360
|
+
|
|
3361
|
+
### Examples
|
|
3362
|
+
|
|
3363
|
+
```ruby
|
|
3364
|
+
require 'time'
|
|
3365
|
+
require 'pharmaobservatory'
|
|
3366
|
+
# setup authorization
|
|
3367
|
+
PharmaObservatory.configure do |config|
|
|
3368
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3369
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3370
|
+
end
|
|
3371
|
+
|
|
3372
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3373
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3374
|
+
opts = {
|
|
3375
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
3376
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3377
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3378
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3379
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3380
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3381
|
+
}
|
|
3382
|
+
|
|
3383
|
+
begin
|
|
3384
|
+
# FDA untitled letters
|
|
3385
|
+
result = api_instance.companies_untitled_letters(id, opts)
|
|
3386
|
+
p result
|
|
3387
|
+
rescue PharmaObservatory::ApiError => e
|
|
3388
|
+
puts "Error when calling CompaniesApi->companies_untitled_letters: #{e}"
|
|
3389
|
+
end
|
|
3390
|
+
```
|
|
3391
|
+
|
|
3392
|
+
#### Using the companies_untitled_letters_with_http_info variant
|
|
3393
|
+
|
|
3394
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3395
|
+
|
|
3396
|
+
> <Array(<UntitledLettersResponse>, Integer, Hash)> companies_untitled_letters_with_http_info(id, opts)
|
|
3397
|
+
|
|
3398
|
+
```ruby
|
|
3399
|
+
begin
|
|
3400
|
+
# FDA untitled letters
|
|
3401
|
+
data, status_code, headers = api_instance.companies_untitled_letters_with_http_info(id, opts)
|
|
3402
|
+
p status_code # => 2xx
|
|
3403
|
+
p headers # => { ... }
|
|
3404
|
+
p data # => <UntitledLettersResponse>
|
|
3405
|
+
rescue PharmaObservatory::ApiError => e
|
|
3406
|
+
puts "Error when calling CompaniesApi->companies_untitled_letters_with_http_info: #{e}"
|
|
3407
|
+
end
|
|
3408
|
+
```
|
|
3409
|
+
|
|
3410
|
+
### Parameters
|
|
3411
|
+
|
|
3412
|
+
| Name | Type | Description | Notes |
|
|
3413
|
+
| ---- | ---- | ----------- | ----- |
|
|
3414
|
+
| **id** | **String** | | |
|
|
3415
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3416
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3417
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3418
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3419
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3420
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3421
|
+
|
|
3422
|
+
### Return type
|
|
3423
|
+
|
|
3424
|
+
[**UntitledLettersResponse**](UntitledLettersResponse.md)
|
|
3425
|
+
|
|
3426
|
+
### Authorization
|
|
3427
|
+
|
|
3428
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3429
|
+
|
|
3430
|
+
### HTTP request headers
|
|
3431
|
+
|
|
3432
|
+
- **Content-Type**: Not defined
|
|
3433
|
+
- **Accept**: application/json
|
|
3434
|
+
|
|
3435
|
+
|
|
3436
|
+
## companies_warning_letters
|
|
3437
|
+
|
|
3438
|
+
> <WarningLettersResponse> companies_warning_letters(id, opts)
|
|
3439
|
+
|
|
3440
|
+
FDA warning letters
|
|
3441
|
+
|
|
3442
|
+
### Examples
|
|
3443
|
+
|
|
3444
|
+
```ruby
|
|
3445
|
+
require 'time'
|
|
3446
|
+
require 'pharmaobservatory'
|
|
3447
|
+
# setup authorization
|
|
3448
|
+
PharmaObservatory.configure do |config|
|
|
3449
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3450
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3451
|
+
end
|
|
3452
|
+
|
|
3453
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3454
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3455
|
+
opts = {
|
|
3456
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
3457
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3458
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3459
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3460
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3461
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3462
|
+
}
|
|
3463
|
+
|
|
3464
|
+
begin
|
|
3465
|
+
# FDA warning letters
|
|
3466
|
+
result = api_instance.companies_warning_letters(id, opts)
|
|
3467
|
+
p result
|
|
3468
|
+
rescue PharmaObservatory::ApiError => e
|
|
3469
|
+
puts "Error when calling CompaniesApi->companies_warning_letters: #{e}"
|
|
3470
|
+
end
|
|
3471
|
+
```
|
|
3472
|
+
|
|
3473
|
+
#### Using the companies_warning_letters_with_http_info variant
|
|
3474
|
+
|
|
3475
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3476
|
+
|
|
3477
|
+
> <Array(<WarningLettersResponse>, Integer, Hash)> companies_warning_letters_with_http_info(id, opts)
|
|
3478
|
+
|
|
3479
|
+
```ruby
|
|
3480
|
+
begin
|
|
3481
|
+
# FDA warning letters
|
|
3482
|
+
data, status_code, headers = api_instance.companies_warning_letters_with_http_info(id, opts)
|
|
3483
|
+
p status_code # => 2xx
|
|
3484
|
+
p headers # => { ... }
|
|
3485
|
+
p data # => <WarningLettersResponse>
|
|
3486
|
+
rescue PharmaObservatory::ApiError => e
|
|
3487
|
+
puts "Error when calling CompaniesApi->companies_warning_letters_with_http_info: #{e}"
|
|
3488
|
+
end
|
|
3489
|
+
```
|
|
3490
|
+
|
|
3491
|
+
### Parameters
|
|
3492
|
+
|
|
3493
|
+
| Name | Type | Description | Notes |
|
|
3494
|
+
| ---- | ---- | ----------- | ----- |
|
|
3495
|
+
| **id** | **String** | | |
|
|
3496
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3497
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3498
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3499
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3500
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3501
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3502
|
+
|
|
3503
|
+
### Return type
|
|
3504
|
+
|
|
3505
|
+
[**WarningLettersResponse**](WarningLettersResponse.md)
|
|
1702
3506
|
|
|
1703
3507
|
### Authorization
|
|
1704
3508
|
|