pharmaobservatory 0.1.6 → 0.1.8
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 +348 -4
- data/docs/BiomarkerAlleleFrequenciesResponse.md +58 -0
- data/docs/BiomarkerAlleleFrequenciesRow.md +62 -0
- data/docs/BiomarkerAssayProvidersResponse.md +58 -0
- data/docs/BiomarkerAssayProvidersRow.md +72 -0
- data/docs/BiomarkerEvidenceByYearResponse.md +58 -0
- data/docs/BiomarkerEvidenceByYearRow.md +32 -0
- data/docs/BiomarkerTraversalStatusResponse.md +58 -0
- data/docs/BiomarkerTraversalStatusRow.md +36 -0
- data/docs/BiomarkersApi.md +320 -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/CliaCertificatesResponse.md +58 -0
- data/docs/CliaCertificatesRow.md +80 -0
- data/docs/CompaniesApi.md +2656 -196
- data/docs/CompaniesRecordAttributes.md +3 -1
- data/docs/CompanyAssetsRow.md +5 -1
- data/docs/CompanyBiomarkerCapabilityResponse.md +58 -0
- data/docs/CompanyBiomarkerCapabilityRow.md +68 -0
- data/docs/CompanyFundingEventsRow.md +2 -0
- data/docs/CompanyProgramsRow.md +5 -1
- data/docs/CompanyRareDiseaseDeclarationsResponse.md +58 -0
- data/docs/CompanyRareDiseaseDeclarationsRow.md +52 -0
- 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/ConditionsApi.md +320 -0
- 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/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 +174 -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/InstitutionalQuarterTotalsResponse.md +58 -0
- data/docs/InstitutionalQuarterTotalsRow.md +58 -0
- data/docs/LegalEntitiesApi.md +2257 -177
- data/docs/LegalEntitiesRecordAttributes.md +8 -0
- data/docs/LegalEntitySecFilingsResponse.md +58 -0
- data/docs/LegalEntitySecFilingsRow.md +44 -0
- data/docs/OrgDisclosureTrendResponse.md +58 -0
- data/docs/OrgDisclosureTrendRow.md +62 -0
- data/docs/OrgRelationshipsRow.md +1 -1
- data/docs/OwnershipPercentagesResponse.md +58 -0
- data/docs/OwnershipPercentagesRow.md +74 -0
- data/docs/OwnershipSourceCoverageResponse.md +58 -0
- data/docs/OwnershipSourceCoverageRow.md +62 -0
- data/docs/PdufaDatesRow.md +1 -1
- data/docs/ProgramLicensingCandidatesResponse.md +58 -0
- data/docs/ProgramLicensingCandidatesRow.md +62 -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/RwdConductorDeliveryResponse.md +58 -0
- data/docs/RwdConductorDeliveryRow.md +74 -0
- data/docs/RwdConductorFootprintResponse.md +58 -0
- data/docs/RwdConductorFootprintRow.md +40 -0
- data/docs/RwdConductorStudiesResponse.md +58 -0
- data/docs/RwdConductorStudiesRow.md +42 -0
- data/docs/RwdConductorsApi.md +393 -0
- data/docs/RwdConductorsRecord.md +38 -0
- data/docs/RwdConductorsResponse.md +58 -0
- data/docs/RwdConductorsRow.md +72 -0
- data/docs/RwdCoverageResponse.md +58 -0
- data/docs/RwdCoverageRow.md +52 -0
- data/docs/RwdInstitutionsApi.md +153 -0
- data/docs/RwdInstitutionsRecord.md +38 -0
- data/docs/RwdInstitutionsResponse.md +58 -0
- data/docs/RwdInstitutionsRow.md +154 -0
- data/docs/RwdNetworksApi.md +153 -0
- data/docs/RwdNetworksRecord.md +38 -0
- data/docs/RwdNetworksResponse.md +58 -0
- data/docs/RwdNetworksRow.md +110 -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 +553 -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/SbtiCrosscheckResponse.md +58 -0
- data/docs/SbtiCrosscheckRow.md +48 -0
- data/docs/SecPdufaDatesResponse.md +58 -0
- data/docs/SecPdufaDatesRow.md +64 -0
- data/docs/SponsorDeliveryResponse.md +58 -0
- data/docs/SponsorDeliveryRow.md +52 -0
- data/docs/SponsorPatentMentionsResponse.md +58 -0
- data/docs/SponsorPatentMentionsRow.md +42 -0
- data/docs/SponsorTrialConditionsResponse.md +58 -0
- data/docs/SponsorTrialConditionsRow.md +36 -0
- data/docs/SponsorTrialDrugsResponse.md +58 -0
- data/docs/SponsorTrialDrugsRow.md +34 -0
- data/docs/TrialChangesRow.md +5 -1
- data/docs/TrialsApi.md +80 -0
- 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 +336 -0
- data/lib/pharmaobservatory/api/companies_api.rb +3026 -296
- data/lib/pharmaobservatory/api/conditions_api.rb +336 -0
- data/lib/pharmaobservatory/api/drugs_api.rb +2261 -0
- data/lib/pharmaobservatory/api/hospitals_api.rb +413 -0
- data/lib/pharmaobservatory/api/legal_entities_api.rb +2376 -192
- data/lib/pharmaobservatory/api/rare_diseases_api.rb +1421 -0
- data/lib/pharmaobservatory/api/rwd_conductors_api.rb +413 -0
- data/lib/pharmaobservatory/api/rwd_institutions_api.rb +161 -0
- data/lib/pharmaobservatory/api/rwd_networks_api.rb +161 -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 +581 -0
- data/lib/pharmaobservatory/api/trials_api.rb +84 -0
- data/lib/pharmaobservatory/models/biomarker_allele_frequencies_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_allele_frequencies_row.rb +465 -0
- data/lib/pharmaobservatory/models/biomarker_assay_providers_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_assay_providers_row.rb +520 -0
- data/lib/pharmaobservatory/models/biomarker_evidence_by_year_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_evidence_by_year_row.rb +300 -0
- data/lib/pharmaobservatory/models/biomarker_traversal_status_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_traversal_status_row.rb +322 -0
- 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/clia_certificates_response.rb +478 -0
- data/lib/pharmaobservatory/models/clia_certificates_row.rb +568 -0
- data/lib/pharmaobservatory/models/companies_record_attributes.rb +13 -4
- data/lib/pharmaobservatory/models/company_assets_row.rb +24 -2
- data/lib/pharmaobservatory/models/company_biomarker_capability_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_biomarker_capability_row.rb +498 -0
- data/lib/pharmaobservatory/models/company_funding_events_row.rb +12 -1
- data/lib/pharmaobservatory/models/company_programs_row.rb +24 -2
- data/lib/pharmaobservatory/models/company_rare_disease_declarations_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_rare_disease_declarations_row.rb +410 -0
- 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/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_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 +1089 -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_quarter_totals_response.rb +478 -0
- data/lib/pharmaobservatory/models/institutional_quarter_totals_row.rb +443 -0
- data/lib/pharmaobservatory/models/legal_entities_record_attributes.rb +37 -1
- data/lib/pharmaobservatory/models/legal_entity_sec_filings_response.rb +478 -0
- data/lib/pharmaobservatory/models/legal_entity_sec_filings_row.rb +370 -0
- data/lib/pharmaobservatory/models/org_disclosure_trend_response.rb +478 -0
- data/lib/pharmaobservatory/models/org_disclosure_trend_row.rb +465 -0
- data/lib/pharmaobservatory/models/org_relationships_row.rb +1 -1
- 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_source_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/ownership_source_coverage_row.rb +465 -0
- 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 +467 -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_conductor_delivery_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductor_delivery_row.rb +537 -0
- data/lib/pharmaobservatory/models/rwd_conductor_footprint_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductor_footprint_row.rb +346 -0
- data/lib/pharmaobservatory/models/rwd_conductor_studies_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductor_studies_row.rb +355 -0
- data/lib/pharmaobservatory/models/rwd_conductors_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_conductors_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductors_row.rb +526 -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_institutions_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_institutions_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_institutions_row.rb +981 -0
- data/lib/pharmaobservatory/models/rwd_networks_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_networks_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_networks_row.rb +733 -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/sbti_crosscheck_response.rb +478 -0
- data/lib/pharmaobservatory/models/sbti_crosscheck_row.rb +388 -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/sponsor_delivery_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_delivery_row.rb +410 -0
- data/lib/pharmaobservatory/models/sponsor_patent_mentions_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_patent_mentions_row.rb +355 -0
- data/lib/pharmaobservatory/models/sponsor_trial_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_trial_conditions_row.rb +322 -0
- data/lib/pharmaobservatory/models/sponsor_trial_drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_trial_drugs_row.rb +311 -0
- data/lib/pharmaobservatory/models/trial_changes_row.rb +24 -2
- 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 +210 -0
- metadata +422 -2
data/docs/CompaniesApi.md
CHANGED
|
@@ -8,26 +8,56 @@ 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) |
|
|
14
|
+
| [**companies_company_biomarker_capability**](CompaniesApi.md#companies_company_biomarker_capability) | **GET** /api/v1/companies/{id}/company_biomarker_capability | Company biomarker capability |
|
|
12
15
|
| [**companies_company_funding_events**](CompaniesApi.md#companies_company_funding_events) | **GET** /api/v1/companies/{id}/company_funding_events | Company funding events |
|
|
13
16
|
| [**companies_company_funding_summary**](CompaniesApi.md#companies_company_funding_summary) | **GET** /api/v1/companies/{id}/company_funding_summary | Company funding summary |
|
|
14
17
|
| [**companies_company_members**](CompaniesApi.md#companies_company_members) | **GET** /api/v1/companies/{id}/company_members | Company members |
|
|
15
18
|
| [**companies_company_programs**](CompaniesApi.md#companies_company_programs) | **GET** /api/v1/companies/{id}/company_programs | Company programs |
|
|
19
|
+
| [**companies_company_rare_disease_declarations**](CompaniesApi.md#companies_company_rare_disease_declarations) | **GET** /api/v1/companies/{id}/company_rare_disease_declarations | Organization-wide rare disease declarations |
|
|
16
20
|
| [**companies_company_targets**](CompaniesApi.md#companies_company_targets) | **GET** /api/v1/companies/{id}/company_targets | Targets a company pursues |
|
|
21
|
+
| [**companies_company_trial_geography**](CompaniesApi.md#companies_company_trial_geography) | **GET** /api/v1/companies/{id}/company_trial_geography | Company trial geography |
|
|
22
|
+
| [**companies_company_trial_sites**](CompaniesApi.md#companies_company_trial_sites) | **GET** /api/v1/companies/{id}/company_trial_sites | Company trial sites |
|
|
23
|
+
| [**companies_cro_footprint**](CompaniesApi.md#companies_cro_footprint) | **GET** /api/v1/companies/{id}/cro_footprint | CRO footprint |
|
|
24
|
+
| [**companies_cro_trials**](CompaniesApi.md#companies_cro_trials) | **GET** /api/v1/companies/{id}/cro_trials | CRO trials |
|
|
25
|
+
| [**companies_debarments**](CompaniesApi.md#companies_debarments) | **GET** /api/v1/companies/{id}/debarments | FDA firm debarments |
|
|
17
26
|
| [**companies_drug_patent_cliff**](CompaniesApi.md#companies_drug_patent_cliff) | **GET** /api/v1/companies/{id}/drug_patent_cliff | Patent-cliff exposure |
|
|
27
|
+
| [**companies_enforcement_events**](CompaniesApi.md#companies_enforcement_events) | **GET** /api/v1/companies/{id}/enforcement_events | FDA enforcement events |
|
|
18
28
|
| [**companies_get**](CompaniesApi.md#companies_get) | **GET** /api/v1/companies/{id} | One company |
|
|
29
|
+
| [**companies_gxp_facilities**](CompaniesApi.md#companies_gxp_facilities) | **GET** /api/v1/companies/{id}/gxp_facilities | GxP facilities and quality signals |
|
|
30
|
+
| [**companies_import_refusals**](CompaniesApi.md#companies_import_refusals) | **GET** /api/v1/companies/{id}/import_refusals | FDA import refusals |
|
|
31
|
+
| [**companies_inspection_findings**](CompaniesApi.md#companies_inspection_findings) | **GET** /api/v1/companies/{id}/inspection_findings | FDA inspection findings |
|
|
32
|
+
| [**companies_inspections**](CompaniesApi.md#companies_inspections) | **GET** /api/v1/companies/{id}/inspections | FDA inspections |
|
|
19
33
|
| [**companies_institutional_holdings**](CompaniesApi.md#companies_institutional_holdings) | **GET** /api/v1/companies/{id}/institutional_holdings | Institutional holdings (SEC Form 13F) |
|
|
34
|
+
| [**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
35
|
| [**companies_legal_entities**](CompaniesApi.md#companies_legal_entities) | **GET** /api/v1/companies/{id}/legal_entities | Legal entities |
|
|
36
|
+
| [**companies_legal_entity_sec_filings**](CompaniesApi.md#companies_legal_entity_sec_filings) | **GET** /api/v1/companies/{id}/legal_entity_sec_filings | SEC filer records |
|
|
21
37
|
| [**companies_list**](CompaniesApi.md#companies_list) | **GET** /api/v1/companies | List companies |
|
|
38
|
+
| [**companies_org_disclosure_trend**](CompaniesApi.md#companies_org_disclosure_trend) | **GET** /api/v1/companies/{id}/org_disclosure_trend | Organization disclosure trend |
|
|
22
39
|
| [**companies_org_disclosures**](CompaniesApi.md#companies_org_disclosures) | **GET** /api/v1/companies/{id}/org_disclosures | Organization disclosures (climate and diversity) |
|
|
23
40
|
| [**companies_org_relationships**](CompaniesApi.md#companies_org_relationships) | **GET** /api/v1/companies/{id}/org_relationships | Organization relationships |
|
|
41
|
+
| [**companies_ownership_percentages**](CompaniesApi.md#companies_ownership_percentages) | **GET** /api/v1/companies/{id}/ownership_percentages | Ownership percentages |
|
|
24
42
|
| [**companies_ownership_positions**](CompaniesApi.md#companies_ownership_positions) | **GET** /api/v1/companies/{id}/ownership_positions | Ownership and control positions |
|
|
43
|
+
| [**companies_ownership_source_coverage**](CompaniesApi.md#companies_ownership_source_coverage) | **GET** /api/v1/companies/{id}/ownership_source_coverage | Ownership source coverage |
|
|
25
44
|
| [**companies_pdufa_dates**](CompaniesApi.md#companies_pdufa_dates) | **GET** /api/v1/companies/{id}/pdufa_dates | FDA decision dates (PDUFA) and catalysts |
|
|
45
|
+
| [**companies_program_licensing_candidates**](CompaniesApi.md#companies_program_licensing_candidates) | **GET** /api/v1/companies/{id}/program_licensing_candidates | Program licensing candidates |
|
|
46
|
+
| [**companies_recalls**](CompaniesApi.md#companies_recalls) | **GET** /api/v1/companies/{id}/recalls | FDA recalls |
|
|
47
|
+
| [**companies_sbti_crosscheck**](CompaniesApi.md#companies_sbti_crosscheck) | **GET** /api/v1/companies/{id}/sbti_crosscheck | SBTi cross-check |
|
|
48
|
+
| [**companies_sec_pdufa_dates**](CompaniesApi.md#companies_sec_pdufa_dates) | **GET** /api/v1/companies/{id}/sec_pdufa_dates | FDA dates disclosed in SEC filings |
|
|
49
|
+
| [**companies_sponsor_delivery**](CompaniesApi.md#companies_sponsor_delivery) | **GET** /api/v1/companies/{id}/sponsor_delivery | Sponsor delivery reliability |
|
|
50
|
+
| [**companies_sponsor_patent_mentions**](CompaniesApi.md#companies_sponsor_patent_mentions) | **GET** /api/v1/companies/{id}/sponsor_patent_mentions | Sponsor patent mentions |
|
|
26
51
|
| [**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 |
|
|
27
52
|
| [**companies_sponsor_recruitment_duration**](CompaniesApi.md#companies_sponsor_recruitment_duration) | **GET** /api/v1/companies/{id}/sponsor_recruitment_duration | Trial recruitment duration by sponsor |
|
|
53
|
+
| [**companies_sponsor_trial_conditions**](CompaniesApi.md#companies_sponsor_trial_conditions) | **GET** /api/v1/companies/{id}/sponsor_trial_conditions | Sponsor trial conditions |
|
|
54
|
+
| [**companies_sponsor_trial_drugs**](CompaniesApi.md#companies_sponsor_trial_drugs) | **GET** /api/v1/companies/{id}/sponsor_trial_drugs | Sponsor trial drugs |
|
|
28
55
|
| [**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 |
|
|
29
56
|
| [**companies_sponsor_trials**](CompaniesApi.md#companies_sponsor_trials) | **GET** /api/v1/companies/{id}/sponsor_trials | Sponsor trials |
|
|
30
57
|
| [**companies_supplier_capability_esg**](CompaniesApi.md#companies_supplier_capability_esg) | **GET** /api/v1/companies/{id}/supplier_capability_esg | Supplier capability and ESG disclosure |
|
|
58
|
+
| [**companies_unmatched_product_revenue**](CompaniesApi.md#companies_unmatched_product_revenue) | **GET** /api/v1/companies/{id}/unmatched_product_revenue | Unmatched product revenue |
|
|
59
|
+
| [**companies_untitled_letters**](CompaniesApi.md#companies_untitled_letters) | **GET** /api/v1/companies/{id}/untitled_letters | FDA untitled letters |
|
|
60
|
+
| [**companies_warning_letters**](CompaniesApi.md#companies_warning_letters) | **GET** /api/v1/companies/{id}/warning_letters | FDA warning letters |
|
|
31
61
|
|
|
32
62
|
|
|
33
63
|
## companies_biomarker_bqp_assertions
|
|
@@ -354,6 +384,168 @@ end
|
|
|
354
384
|
- **Accept**: application/json
|
|
355
385
|
|
|
356
386
|
|
|
387
|
+
## companies_catalysts
|
|
388
|
+
|
|
389
|
+
> <CatalystsResponse> companies_catalysts(id, opts)
|
|
390
|
+
|
|
391
|
+
Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
|
|
392
|
+
|
|
393
|
+
### Examples
|
|
394
|
+
|
|
395
|
+
```ruby
|
|
396
|
+
require 'time'
|
|
397
|
+
require 'pharmaobservatory'
|
|
398
|
+
# setup authorization
|
|
399
|
+
PharmaObservatory.configure do |config|
|
|
400
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
401
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
405
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
406
|
+
opts = {
|
|
407
|
+
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.
|
|
408
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
409
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
410
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
411
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
412
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
begin
|
|
416
|
+
# Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
|
|
417
|
+
result = api_instance.companies_catalysts(id, opts)
|
|
418
|
+
p result
|
|
419
|
+
rescue PharmaObservatory::ApiError => e
|
|
420
|
+
puts "Error when calling CompaniesApi->companies_catalysts: #{e}"
|
|
421
|
+
end
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
#### Using the companies_catalysts_with_http_info variant
|
|
425
|
+
|
|
426
|
+
This returns an Array which contains the response data, status code and headers.
|
|
427
|
+
|
|
428
|
+
> <Array(<CatalystsResponse>, Integer, Hash)> companies_catalysts_with_http_info(id, opts)
|
|
429
|
+
|
|
430
|
+
```ruby
|
|
431
|
+
begin
|
|
432
|
+
# Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
|
|
433
|
+
data, status_code, headers = api_instance.companies_catalysts_with_http_info(id, opts)
|
|
434
|
+
p status_code # => 2xx
|
|
435
|
+
p headers # => { ... }
|
|
436
|
+
p data # => <CatalystsResponse>
|
|
437
|
+
rescue PharmaObservatory::ApiError => e
|
|
438
|
+
puts "Error when calling CompaniesApi->companies_catalysts_with_http_info: #{e}"
|
|
439
|
+
end
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
### Parameters
|
|
443
|
+
|
|
444
|
+
| Name | Type | Description | Notes |
|
|
445
|
+
| ---- | ---- | ----------- | ----- |
|
|
446
|
+
| **id** | **String** | | |
|
|
447
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
448
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
449
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
450
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
451
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
452
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
453
|
+
|
|
454
|
+
### Return type
|
|
455
|
+
|
|
456
|
+
[**CatalystsResponse**](CatalystsResponse.md)
|
|
457
|
+
|
|
458
|
+
### Authorization
|
|
459
|
+
|
|
460
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
461
|
+
|
|
462
|
+
### HTTP request headers
|
|
463
|
+
|
|
464
|
+
- **Content-Type**: Not defined
|
|
465
|
+
- **Accept**: application/json
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
## companies_clia_certificates
|
|
469
|
+
|
|
470
|
+
> <CliaCertificatesResponse> companies_clia_certificates(id, opts)
|
|
471
|
+
|
|
472
|
+
CLIA laboratory certificates
|
|
473
|
+
|
|
474
|
+
### Examples
|
|
475
|
+
|
|
476
|
+
```ruby
|
|
477
|
+
require 'time'
|
|
478
|
+
require 'pharmaobservatory'
|
|
479
|
+
# setup authorization
|
|
480
|
+
PharmaObservatory.configure do |config|
|
|
481
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
482
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
486
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
487
|
+
opts = {
|
|
488
|
+
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.
|
|
489
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
490
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
491
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
492
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
493
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
begin
|
|
497
|
+
# CLIA laboratory certificates
|
|
498
|
+
result = api_instance.companies_clia_certificates(id, opts)
|
|
499
|
+
p result
|
|
500
|
+
rescue PharmaObservatory::ApiError => e
|
|
501
|
+
puts "Error when calling CompaniesApi->companies_clia_certificates: #{e}"
|
|
502
|
+
end
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
#### Using the companies_clia_certificates_with_http_info variant
|
|
506
|
+
|
|
507
|
+
This returns an Array which contains the response data, status code and headers.
|
|
508
|
+
|
|
509
|
+
> <Array(<CliaCertificatesResponse>, Integer, Hash)> companies_clia_certificates_with_http_info(id, opts)
|
|
510
|
+
|
|
511
|
+
```ruby
|
|
512
|
+
begin
|
|
513
|
+
# CLIA laboratory certificates
|
|
514
|
+
data, status_code, headers = api_instance.companies_clia_certificates_with_http_info(id, opts)
|
|
515
|
+
p status_code # => 2xx
|
|
516
|
+
p headers # => { ... }
|
|
517
|
+
p data # => <CliaCertificatesResponse>
|
|
518
|
+
rescue PharmaObservatory::ApiError => e
|
|
519
|
+
puts "Error when calling CompaniesApi->companies_clia_certificates_with_http_info: #{e}"
|
|
520
|
+
end
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
### Parameters
|
|
524
|
+
|
|
525
|
+
| Name | Type | Description | Notes |
|
|
526
|
+
| ---- | ---- | ----------- | ----- |
|
|
527
|
+
| **id** | **String** | | |
|
|
528
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
529
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
530
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
531
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
532
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
533
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
534
|
+
|
|
535
|
+
### Return type
|
|
536
|
+
|
|
537
|
+
[**CliaCertificatesResponse**](CliaCertificatesResponse.md)
|
|
538
|
+
|
|
539
|
+
### Authorization
|
|
540
|
+
|
|
541
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
542
|
+
|
|
543
|
+
### HTTP request headers
|
|
544
|
+
|
|
545
|
+
- **Content-Type**: Not defined
|
|
546
|
+
- **Accept**: application/json
|
|
547
|
+
|
|
548
|
+
|
|
357
549
|
## companies_company_assets
|
|
358
550
|
|
|
359
551
|
> <CompanyAssetsResponse> companies_company_assets(id, opts)
|
|
@@ -435,6 +627,87 @@ end
|
|
|
435
627
|
- **Accept**: application/json
|
|
436
628
|
|
|
437
629
|
|
|
630
|
+
## companies_company_biomarker_capability
|
|
631
|
+
|
|
632
|
+
> <CompanyBiomarkerCapabilityResponse> companies_company_biomarker_capability(id, opts)
|
|
633
|
+
|
|
634
|
+
Company biomarker capability
|
|
635
|
+
|
|
636
|
+
### Examples
|
|
637
|
+
|
|
638
|
+
```ruby
|
|
639
|
+
require 'time'
|
|
640
|
+
require 'pharmaobservatory'
|
|
641
|
+
# setup authorization
|
|
642
|
+
PharmaObservatory.configure do |config|
|
|
643
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
644
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
645
|
+
end
|
|
646
|
+
|
|
647
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
648
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
649
|
+
opts = {
|
|
650
|
+
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.
|
|
651
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
652
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
653
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
654
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
655
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
begin
|
|
659
|
+
# Company biomarker capability
|
|
660
|
+
result = api_instance.companies_company_biomarker_capability(id, opts)
|
|
661
|
+
p result
|
|
662
|
+
rescue PharmaObservatory::ApiError => e
|
|
663
|
+
puts "Error when calling CompaniesApi->companies_company_biomarker_capability: #{e}"
|
|
664
|
+
end
|
|
665
|
+
```
|
|
666
|
+
|
|
667
|
+
#### Using the companies_company_biomarker_capability_with_http_info variant
|
|
668
|
+
|
|
669
|
+
This returns an Array which contains the response data, status code and headers.
|
|
670
|
+
|
|
671
|
+
> <Array(<CompanyBiomarkerCapabilityResponse>, Integer, Hash)> companies_company_biomarker_capability_with_http_info(id, opts)
|
|
672
|
+
|
|
673
|
+
```ruby
|
|
674
|
+
begin
|
|
675
|
+
# Company biomarker capability
|
|
676
|
+
data, status_code, headers = api_instance.companies_company_biomarker_capability_with_http_info(id, opts)
|
|
677
|
+
p status_code # => 2xx
|
|
678
|
+
p headers # => { ... }
|
|
679
|
+
p data # => <CompanyBiomarkerCapabilityResponse>
|
|
680
|
+
rescue PharmaObservatory::ApiError => e
|
|
681
|
+
puts "Error when calling CompaniesApi->companies_company_biomarker_capability_with_http_info: #{e}"
|
|
682
|
+
end
|
|
683
|
+
```
|
|
684
|
+
|
|
685
|
+
### Parameters
|
|
686
|
+
|
|
687
|
+
| Name | Type | Description | Notes |
|
|
688
|
+
| ---- | ---- | ----------- | ----- |
|
|
689
|
+
| **id** | **String** | | |
|
|
690
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
691
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
692
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
693
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
694
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
695
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
696
|
+
|
|
697
|
+
### Return type
|
|
698
|
+
|
|
699
|
+
[**CompanyBiomarkerCapabilityResponse**](CompanyBiomarkerCapabilityResponse.md)
|
|
700
|
+
|
|
701
|
+
### Authorization
|
|
702
|
+
|
|
703
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
704
|
+
|
|
705
|
+
### HTTP request headers
|
|
706
|
+
|
|
707
|
+
- **Content-Type**: Not defined
|
|
708
|
+
- **Accept**: application/json
|
|
709
|
+
|
|
710
|
+
|
|
438
711
|
## companies_company_funding_events
|
|
439
712
|
|
|
440
713
|
> <CompanyFundingEventsResponse> companies_company_funding_events(id, opts)
|
|
@@ -759,11 +1032,11 @@ end
|
|
|
759
1032
|
- **Accept**: application/json
|
|
760
1033
|
|
|
761
1034
|
|
|
762
|
-
##
|
|
1035
|
+
## companies_company_rare_disease_declarations
|
|
763
1036
|
|
|
764
|
-
> <
|
|
1037
|
+
> <CompanyRareDiseaseDeclarationsResponse> companies_company_rare_disease_declarations(id, opts)
|
|
765
1038
|
|
|
766
|
-
|
|
1039
|
+
Organization-wide rare disease declarations
|
|
767
1040
|
|
|
768
1041
|
### Examples
|
|
769
1042
|
|
|
@@ -788,29 +1061,29 @@ opts = {
|
|
|
788
1061
|
}
|
|
789
1062
|
|
|
790
1063
|
begin
|
|
791
|
-
#
|
|
792
|
-
result = api_instance.
|
|
1064
|
+
# Organization-wide rare disease declarations
|
|
1065
|
+
result = api_instance.companies_company_rare_disease_declarations(id, opts)
|
|
793
1066
|
p result
|
|
794
1067
|
rescue PharmaObservatory::ApiError => e
|
|
795
|
-
puts "Error when calling CompaniesApi->
|
|
1068
|
+
puts "Error when calling CompaniesApi->companies_company_rare_disease_declarations: #{e}"
|
|
796
1069
|
end
|
|
797
1070
|
```
|
|
798
1071
|
|
|
799
|
-
#### Using the
|
|
1072
|
+
#### Using the companies_company_rare_disease_declarations_with_http_info variant
|
|
800
1073
|
|
|
801
1074
|
This returns an Array which contains the response data, status code and headers.
|
|
802
1075
|
|
|
803
|
-
> <Array(<
|
|
1076
|
+
> <Array(<CompanyRareDiseaseDeclarationsResponse>, Integer, Hash)> companies_company_rare_disease_declarations_with_http_info(id, opts)
|
|
804
1077
|
|
|
805
1078
|
```ruby
|
|
806
1079
|
begin
|
|
807
|
-
#
|
|
808
|
-
data, status_code, headers = api_instance.
|
|
1080
|
+
# Organization-wide rare disease declarations
|
|
1081
|
+
data, status_code, headers = api_instance.companies_company_rare_disease_declarations_with_http_info(id, opts)
|
|
809
1082
|
p status_code # => 2xx
|
|
810
1083
|
p headers # => { ... }
|
|
811
|
-
p data # => <
|
|
1084
|
+
p data # => <CompanyRareDiseaseDeclarationsResponse>
|
|
812
1085
|
rescue PharmaObservatory::ApiError => e
|
|
813
|
-
puts "Error when calling CompaniesApi->
|
|
1086
|
+
puts "Error when calling CompaniesApi->companies_company_rare_disease_declarations_with_http_info: #{e}"
|
|
814
1087
|
end
|
|
815
1088
|
```
|
|
816
1089
|
|
|
@@ -828,7 +1101,7 @@ end
|
|
|
828
1101
|
|
|
829
1102
|
### Return type
|
|
830
1103
|
|
|
831
|
-
[**
|
|
1104
|
+
[**CompanyRareDiseaseDeclarationsResponse**](CompanyRareDiseaseDeclarationsResponse.md)
|
|
832
1105
|
|
|
833
1106
|
### Authorization
|
|
834
1107
|
|
|
@@ -840,11 +1113,11 @@ end
|
|
|
840
1113
|
- **Accept**: application/json
|
|
841
1114
|
|
|
842
1115
|
|
|
843
|
-
##
|
|
1116
|
+
## companies_company_targets
|
|
844
1117
|
|
|
845
|
-
> <
|
|
1118
|
+
> <CompanyTargetsResponse> companies_company_targets(id, opts)
|
|
846
1119
|
|
|
847
|
-
|
|
1120
|
+
Targets a company pursues
|
|
848
1121
|
|
|
849
1122
|
### Examples
|
|
850
1123
|
|
|
@@ -869,29 +1142,2198 @@ opts = {
|
|
|
869
1142
|
}
|
|
870
1143
|
|
|
871
1144
|
begin
|
|
872
|
-
#
|
|
873
|
-
result = api_instance.
|
|
1145
|
+
# Targets a company pursues
|
|
1146
|
+
result = api_instance.companies_company_targets(id, opts)
|
|
874
1147
|
p result
|
|
875
1148
|
rescue PharmaObservatory::ApiError => e
|
|
876
|
-
puts "Error when calling CompaniesApi->
|
|
1149
|
+
puts "Error when calling CompaniesApi->companies_company_targets: #{e}"
|
|
877
1150
|
end
|
|
878
1151
|
```
|
|
879
1152
|
|
|
880
|
-
#### Using the
|
|
1153
|
+
#### Using the companies_company_targets_with_http_info variant
|
|
881
1154
|
|
|
882
1155
|
This returns an Array which contains the response data, status code and headers.
|
|
883
1156
|
|
|
884
|
-
> <Array(<
|
|
1157
|
+
> <Array(<CompanyTargetsResponse>, Integer, Hash)> companies_company_targets_with_http_info(id, opts)
|
|
885
1158
|
|
|
886
1159
|
```ruby
|
|
887
1160
|
begin
|
|
888
|
-
#
|
|
889
|
-
data, status_code, headers = api_instance.
|
|
1161
|
+
# Targets a company pursues
|
|
1162
|
+
data, status_code, headers = api_instance.companies_company_targets_with_http_info(id, opts)
|
|
890
1163
|
p status_code # => 2xx
|
|
891
1164
|
p headers # => { ... }
|
|
892
|
-
p data # => <
|
|
1165
|
+
p data # => <CompanyTargetsResponse>
|
|
1166
|
+
rescue PharmaObservatory::ApiError => e
|
|
1167
|
+
puts "Error when calling CompaniesApi->companies_company_targets_with_http_info: #{e}"
|
|
1168
|
+
end
|
|
1169
|
+
```
|
|
1170
|
+
|
|
1171
|
+
### Parameters
|
|
1172
|
+
|
|
1173
|
+
| Name | Type | Description | Notes |
|
|
1174
|
+
| ---- | ---- | ----------- | ----- |
|
|
1175
|
+
| **id** | **String** | | |
|
|
1176
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1177
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1178
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1179
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1180
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1181
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1182
|
+
|
|
1183
|
+
### Return type
|
|
1184
|
+
|
|
1185
|
+
[**CompanyTargetsResponse**](CompanyTargetsResponse.md)
|
|
1186
|
+
|
|
1187
|
+
### Authorization
|
|
1188
|
+
|
|
1189
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1190
|
+
|
|
1191
|
+
### HTTP request headers
|
|
1192
|
+
|
|
1193
|
+
- **Content-Type**: Not defined
|
|
1194
|
+
- **Accept**: application/json
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
## companies_company_trial_geography
|
|
1198
|
+
|
|
1199
|
+
> <CompanyTrialGeographyResponse> companies_company_trial_geography(id, opts)
|
|
1200
|
+
|
|
1201
|
+
Company trial geography
|
|
1202
|
+
|
|
1203
|
+
### Examples
|
|
1204
|
+
|
|
1205
|
+
```ruby
|
|
1206
|
+
require 'time'
|
|
1207
|
+
require 'pharmaobservatory'
|
|
1208
|
+
# setup authorization
|
|
1209
|
+
PharmaObservatory.configure do |config|
|
|
1210
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1211
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1212
|
+
end
|
|
1213
|
+
|
|
1214
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1215
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1216
|
+
opts = {
|
|
1217
|
+
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.
|
|
1218
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1219
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1220
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1221
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1222
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
begin
|
|
1226
|
+
# Company trial geography
|
|
1227
|
+
result = api_instance.companies_company_trial_geography(id, opts)
|
|
1228
|
+
p result
|
|
1229
|
+
rescue PharmaObservatory::ApiError => e
|
|
1230
|
+
puts "Error when calling CompaniesApi->companies_company_trial_geography: #{e}"
|
|
1231
|
+
end
|
|
1232
|
+
```
|
|
1233
|
+
|
|
1234
|
+
#### Using the companies_company_trial_geography_with_http_info variant
|
|
1235
|
+
|
|
1236
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1237
|
+
|
|
1238
|
+
> <Array(<CompanyTrialGeographyResponse>, Integer, Hash)> companies_company_trial_geography_with_http_info(id, opts)
|
|
1239
|
+
|
|
1240
|
+
```ruby
|
|
1241
|
+
begin
|
|
1242
|
+
# Company trial geography
|
|
1243
|
+
data, status_code, headers = api_instance.companies_company_trial_geography_with_http_info(id, opts)
|
|
1244
|
+
p status_code # => 2xx
|
|
1245
|
+
p headers # => { ... }
|
|
1246
|
+
p data # => <CompanyTrialGeographyResponse>
|
|
1247
|
+
rescue PharmaObservatory::ApiError => e
|
|
1248
|
+
puts "Error when calling CompaniesApi->companies_company_trial_geography_with_http_info: #{e}"
|
|
1249
|
+
end
|
|
1250
|
+
```
|
|
1251
|
+
|
|
1252
|
+
### Parameters
|
|
1253
|
+
|
|
1254
|
+
| Name | Type | Description | Notes |
|
|
1255
|
+
| ---- | ---- | ----------- | ----- |
|
|
1256
|
+
| **id** | **String** | | |
|
|
1257
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1258
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1259
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1260
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1261
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1262
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1263
|
+
|
|
1264
|
+
### Return type
|
|
1265
|
+
|
|
1266
|
+
[**CompanyTrialGeographyResponse**](CompanyTrialGeographyResponse.md)
|
|
1267
|
+
|
|
1268
|
+
### Authorization
|
|
1269
|
+
|
|
1270
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1271
|
+
|
|
1272
|
+
### HTTP request headers
|
|
1273
|
+
|
|
1274
|
+
- **Content-Type**: Not defined
|
|
1275
|
+
- **Accept**: application/json
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
## companies_company_trial_sites
|
|
1279
|
+
|
|
1280
|
+
> <CompanyTrialSitesResponse> companies_company_trial_sites(id, opts)
|
|
1281
|
+
|
|
1282
|
+
Company trial sites
|
|
1283
|
+
|
|
1284
|
+
### Examples
|
|
1285
|
+
|
|
1286
|
+
```ruby
|
|
1287
|
+
require 'time'
|
|
1288
|
+
require 'pharmaobservatory'
|
|
1289
|
+
# setup authorization
|
|
1290
|
+
PharmaObservatory.configure do |config|
|
|
1291
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1292
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1293
|
+
end
|
|
1294
|
+
|
|
1295
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1296
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1297
|
+
opts = {
|
|
1298
|
+
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.
|
|
1299
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1300
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1301
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1302
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1303
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
begin
|
|
1307
|
+
# Company trial sites
|
|
1308
|
+
result = api_instance.companies_company_trial_sites(id, opts)
|
|
1309
|
+
p result
|
|
1310
|
+
rescue PharmaObservatory::ApiError => e
|
|
1311
|
+
puts "Error when calling CompaniesApi->companies_company_trial_sites: #{e}"
|
|
1312
|
+
end
|
|
1313
|
+
```
|
|
1314
|
+
|
|
1315
|
+
#### Using the companies_company_trial_sites_with_http_info variant
|
|
1316
|
+
|
|
1317
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1318
|
+
|
|
1319
|
+
> <Array(<CompanyTrialSitesResponse>, Integer, Hash)> companies_company_trial_sites_with_http_info(id, opts)
|
|
1320
|
+
|
|
1321
|
+
```ruby
|
|
1322
|
+
begin
|
|
1323
|
+
# Company trial sites
|
|
1324
|
+
data, status_code, headers = api_instance.companies_company_trial_sites_with_http_info(id, opts)
|
|
1325
|
+
p status_code # => 2xx
|
|
1326
|
+
p headers # => { ... }
|
|
1327
|
+
p data # => <CompanyTrialSitesResponse>
|
|
1328
|
+
rescue PharmaObservatory::ApiError => e
|
|
1329
|
+
puts "Error when calling CompaniesApi->companies_company_trial_sites_with_http_info: #{e}"
|
|
1330
|
+
end
|
|
1331
|
+
```
|
|
1332
|
+
|
|
1333
|
+
### Parameters
|
|
1334
|
+
|
|
1335
|
+
| Name | Type | Description | Notes |
|
|
1336
|
+
| ---- | ---- | ----------- | ----- |
|
|
1337
|
+
| **id** | **String** | | |
|
|
1338
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1339
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1340
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1341
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1342
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1343
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1344
|
+
|
|
1345
|
+
### Return type
|
|
1346
|
+
|
|
1347
|
+
[**CompanyTrialSitesResponse**](CompanyTrialSitesResponse.md)
|
|
1348
|
+
|
|
1349
|
+
### Authorization
|
|
1350
|
+
|
|
1351
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1352
|
+
|
|
1353
|
+
### HTTP request headers
|
|
1354
|
+
|
|
1355
|
+
- **Content-Type**: Not defined
|
|
1356
|
+
- **Accept**: application/json
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
## companies_cro_footprint
|
|
1360
|
+
|
|
1361
|
+
> <CroFootprintResponse> companies_cro_footprint(id, opts)
|
|
1362
|
+
|
|
1363
|
+
CRO footprint
|
|
1364
|
+
|
|
1365
|
+
### Examples
|
|
1366
|
+
|
|
1367
|
+
```ruby
|
|
1368
|
+
require 'time'
|
|
1369
|
+
require 'pharmaobservatory'
|
|
1370
|
+
# setup authorization
|
|
1371
|
+
PharmaObservatory.configure do |config|
|
|
1372
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1373
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1374
|
+
end
|
|
1375
|
+
|
|
1376
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1377
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1378
|
+
opts = {
|
|
1379
|
+
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.
|
|
1380
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1381
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1382
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1383
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1384
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
begin
|
|
1388
|
+
# CRO footprint
|
|
1389
|
+
result = api_instance.companies_cro_footprint(id, opts)
|
|
1390
|
+
p result
|
|
1391
|
+
rescue PharmaObservatory::ApiError => e
|
|
1392
|
+
puts "Error when calling CompaniesApi->companies_cro_footprint: #{e}"
|
|
1393
|
+
end
|
|
1394
|
+
```
|
|
1395
|
+
|
|
1396
|
+
#### Using the companies_cro_footprint_with_http_info variant
|
|
1397
|
+
|
|
1398
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1399
|
+
|
|
1400
|
+
> <Array(<CroFootprintResponse>, Integer, Hash)> companies_cro_footprint_with_http_info(id, opts)
|
|
1401
|
+
|
|
1402
|
+
```ruby
|
|
1403
|
+
begin
|
|
1404
|
+
# CRO footprint
|
|
1405
|
+
data, status_code, headers = api_instance.companies_cro_footprint_with_http_info(id, opts)
|
|
1406
|
+
p status_code # => 2xx
|
|
1407
|
+
p headers # => { ... }
|
|
1408
|
+
p data # => <CroFootprintResponse>
|
|
1409
|
+
rescue PharmaObservatory::ApiError => e
|
|
1410
|
+
puts "Error when calling CompaniesApi->companies_cro_footprint_with_http_info: #{e}"
|
|
1411
|
+
end
|
|
1412
|
+
```
|
|
1413
|
+
|
|
1414
|
+
### Parameters
|
|
1415
|
+
|
|
1416
|
+
| Name | Type | Description | Notes |
|
|
1417
|
+
| ---- | ---- | ----------- | ----- |
|
|
1418
|
+
| **id** | **String** | | |
|
|
1419
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1420
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1421
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1422
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1423
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1424
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1425
|
+
|
|
1426
|
+
### Return type
|
|
1427
|
+
|
|
1428
|
+
[**CroFootprintResponse**](CroFootprintResponse.md)
|
|
1429
|
+
|
|
1430
|
+
### Authorization
|
|
1431
|
+
|
|
1432
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1433
|
+
|
|
1434
|
+
### HTTP request headers
|
|
1435
|
+
|
|
1436
|
+
- **Content-Type**: Not defined
|
|
1437
|
+
- **Accept**: application/json
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
## companies_cro_trials
|
|
1441
|
+
|
|
1442
|
+
> <CroTrialsResponse> companies_cro_trials(id, opts)
|
|
1443
|
+
|
|
1444
|
+
CRO trials
|
|
1445
|
+
|
|
1446
|
+
### Examples
|
|
1447
|
+
|
|
1448
|
+
```ruby
|
|
1449
|
+
require 'time'
|
|
1450
|
+
require 'pharmaobservatory'
|
|
1451
|
+
# setup authorization
|
|
1452
|
+
PharmaObservatory.configure do |config|
|
|
1453
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1454
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1455
|
+
end
|
|
1456
|
+
|
|
1457
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1458
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1459
|
+
opts = {
|
|
1460
|
+
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.
|
|
1461
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1462
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1463
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1464
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1465
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
begin
|
|
1469
|
+
# CRO trials
|
|
1470
|
+
result = api_instance.companies_cro_trials(id, opts)
|
|
1471
|
+
p result
|
|
1472
|
+
rescue PharmaObservatory::ApiError => e
|
|
1473
|
+
puts "Error when calling CompaniesApi->companies_cro_trials: #{e}"
|
|
1474
|
+
end
|
|
1475
|
+
```
|
|
1476
|
+
|
|
1477
|
+
#### Using the companies_cro_trials_with_http_info variant
|
|
1478
|
+
|
|
1479
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1480
|
+
|
|
1481
|
+
> <Array(<CroTrialsResponse>, Integer, Hash)> companies_cro_trials_with_http_info(id, opts)
|
|
1482
|
+
|
|
1483
|
+
```ruby
|
|
1484
|
+
begin
|
|
1485
|
+
# CRO trials
|
|
1486
|
+
data, status_code, headers = api_instance.companies_cro_trials_with_http_info(id, opts)
|
|
1487
|
+
p status_code # => 2xx
|
|
1488
|
+
p headers # => { ... }
|
|
1489
|
+
p data # => <CroTrialsResponse>
|
|
1490
|
+
rescue PharmaObservatory::ApiError => e
|
|
1491
|
+
puts "Error when calling CompaniesApi->companies_cro_trials_with_http_info: #{e}"
|
|
1492
|
+
end
|
|
1493
|
+
```
|
|
1494
|
+
|
|
1495
|
+
### Parameters
|
|
1496
|
+
|
|
1497
|
+
| Name | Type | Description | Notes |
|
|
1498
|
+
| ---- | ---- | ----------- | ----- |
|
|
1499
|
+
| **id** | **String** | | |
|
|
1500
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1501
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1502
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1503
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1504
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1505
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1506
|
+
|
|
1507
|
+
### Return type
|
|
1508
|
+
|
|
1509
|
+
[**CroTrialsResponse**](CroTrialsResponse.md)
|
|
1510
|
+
|
|
1511
|
+
### Authorization
|
|
1512
|
+
|
|
1513
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1514
|
+
|
|
1515
|
+
### HTTP request headers
|
|
1516
|
+
|
|
1517
|
+
- **Content-Type**: Not defined
|
|
1518
|
+
- **Accept**: application/json
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
## companies_debarments
|
|
1522
|
+
|
|
1523
|
+
> <DebarmentsResponse> companies_debarments(id, opts)
|
|
1524
|
+
|
|
1525
|
+
FDA firm debarments
|
|
1526
|
+
|
|
1527
|
+
### Examples
|
|
1528
|
+
|
|
1529
|
+
```ruby
|
|
1530
|
+
require 'time'
|
|
1531
|
+
require 'pharmaobservatory'
|
|
1532
|
+
# setup authorization
|
|
1533
|
+
PharmaObservatory.configure do |config|
|
|
1534
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1535
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1536
|
+
end
|
|
1537
|
+
|
|
1538
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1539
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1540
|
+
opts = {
|
|
1541
|
+
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.
|
|
1542
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1543
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1544
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1545
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1546
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
begin
|
|
1550
|
+
# FDA firm debarments
|
|
1551
|
+
result = api_instance.companies_debarments(id, opts)
|
|
1552
|
+
p result
|
|
1553
|
+
rescue PharmaObservatory::ApiError => e
|
|
1554
|
+
puts "Error when calling CompaniesApi->companies_debarments: #{e}"
|
|
1555
|
+
end
|
|
1556
|
+
```
|
|
1557
|
+
|
|
1558
|
+
#### Using the companies_debarments_with_http_info variant
|
|
1559
|
+
|
|
1560
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1561
|
+
|
|
1562
|
+
> <Array(<DebarmentsResponse>, Integer, Hash)> companies_debarments_with_http_info(id, opts)
|
|
1563
|
+
|
|
1564
|
+
```ruby
|
|
1565
|
+
begin
|
|
1566
|
+
# FDA firm debarments
|
|
1567
|
+
data, status_code, headers = api_instance.companies_debarments_with_http_info(id, opts)
|
|
1568
|
+
p status_code # => 2xx
|
|
1569
|
+
p headers # => { ... }
|
|
1570
|
+
p data # => <DebarmentsResponse>
|
|
1571
|
+
rescue PharmaObservatory::ApiError => e
|
|
1572
|
+
puts "Error when calling CompaniesApi->companies_debarments_with_http_info: #{e}"
|
|
1573
|
+
end
|
|
1574
|
+
```
|
|
1575
|
+
|
|
1576
|
+
### Parameters
|
|
1577
|
+
|
|
1578
|
+
| Name | Type | Description | Notes |
|
|
1579
|
+
| ---- | ---- | ----------- | ----- |
|
|
1580
|
+
| **id** | **String** | | |
|
|
1581
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1582
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1583
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1584
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1585
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1586
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1587
|
+
|
|
1588
|
+
### Return type
|
|
1589
|
+
|
|
1590
|
+
[**DebarmentsResponse**](DebarmentsResponse.md)
|
|
1591
|
+
|
|
1592
|
+
### Authorization
|
|
1593
|
+
|
|
1594
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1595
|
+
|
|
1596
|
+
### HTTP request headers
|
|
1597
|
+
|
|
1598
|
+
- **Content-Type**: Not defined
|
|
1599
|
+
- **Accept**: application/json
|
|
1600
|
+
|
|
1601
|
+
|
|
1602
|
+
## companies_drug_patent_cliff
|
|
1603
|
+
|
|
1604
|
+
> <DrugPatentCliffResponse> companies_drug_patent_cliff(id, opts)
|
|
1605
|
+
|
|
1606
|
+
Patent-cliff exposure
|
|
1607
|
+
|
|
1608
|
+
### Examples
|
|
1609
|
+
|
|
1610
|
+
```ruby
|
|
1611
|
+
require 'time'
|
|
1612
|
+
require 'pharmaobservatory'
|
|
1613
|
+
# setup authorization
|
|
1614
|
+
PharmaObservatory.configure do |config|
|
|
1615
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1616
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1617
|
+
end
|
|
1618
|
+
|
|
1619
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1620
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1621
|
+
opts = {
|
|
1622
|
+
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.
|
|
1623
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1624
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1625
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1626
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1627
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
begin
|
|
1631
|
+
# Patent-cliff exposure
|
|
1632
|
+
result = api_instance.companies_drug_patent_cliff(id, opts)
|
|
1633
|
+
p result
|
|
1634
|
+
rescue PharmaObservatory::ApiError => e
|
|
1635
|
+
puts "Error when calling CompaniesApi->companies_drug_patent_cliff: #{e}"
|
|
1636
|
+
end
|
|
1637
|
+
```
|
|
1638
|
+
|
|
1639
|
+
#### Using the companies_drug_patent_cliff_with_http_info variant
|
|
1640
|
+
|
|
1641
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1642
|
+
|
|
1643
|
+
> <Array(<DrugPatentCliffResponse>, Integer, Hash)> companies_drug_patent_cliff_with_http_info(id, opts)
|
|
1644
|
+
|
|
1645
|
+
```ruby
|
|
1646
|
+
begin
|
|
1647
|
+
# Patent-cliff exposure
|
|
1648
|
+
data, status_code, headers = api_instance.companies_drug_patent_cliff_with_http_info(id, opts)
|
|
1649
|
+
p status_code # => 2xx
|
|
1650
|
+
p headers # => { ... }
|
|
1651
|
+
p data # => <DrugPatentCliffResponse>
|
|
1652
|
+
rescue PharmaObservatory::ApiError => e
|
|
1653
|
+
puts "Error when calling CompaniesApi->companies_drug_patent_cliff_with_http_info: #{e}"
|
|
1654
|
+
end
|
|
1655
|
+
```
|
|
1656
|
+
|
|
1657
|
+
### Parameters
|
|
1658
|
+
|
|
1659
|
+
| Name | Type | Description | Notes |
|
|
1660
|
+
| ---- | ---- | ----------- | ----- |
|
|
1661
|
+
| **id** | **String** | | |
|
|
1662
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1663
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1664
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1665
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1666
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1667
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1668
|
+
|
|
1669
|
+
### Return type
|
|
1670
|
+
|
|
1671
|
+
[**DrugPatentCliffResponse**](DrugPatentCliffResponse.md)
|
|
1672
|
+
|
|
1673
|
+
### Authorization
|
|
1674
|
+
|
|
1675
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1676
|
+
|
|
1677
|
+
### HTTP request headers
|
|
1678
|
+
|
|
1679
|
+
- **Content-Type**: Not defined
|
|
1680
|
+
- **Accept**: application/json
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
## companies_enforcement_events
|
|
1684
|
+
|
|
1685
|
+
> <EnforcementEventsResponse> companies_enforcement_events(id, opts)
|
|
1686
|
+
|
|
1687
|
+
FDA enforcement events
|
|
1688
|
+
|
|
1689
|
+
### Examples
|
|
1690
|
+
|
|
1691
|
+
```ruby
|
|
1692
|
+
require 'time'
|
|
1693
|
+
require 'pharmaobservatory'
|
|
1694
|
+
# setup authorization
|
|
1695
|
+
PharmaObservatory.configure do |config|
|
|
1696
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1697
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1698
|
+
end
|
|
1699
|
+
|
|
1700
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1701
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1702
|
+
opts = {
|
|
1703
|
+
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.
|
|
1704
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1705
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1706
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1707
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1708
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
begin
|
|
1712
|
+
# FDA enforcement events
|
|
1713
|
+
result = api_instance.companies_enforcement_events(id, opts)
|
|
1714
|
+
p result
|
|
1715
|
+
rescue PharmaObservatory::ApiError => e
|
|
1716
|
+
puts "Error when calling CompaniesApi->companies_enforcement_events: #{e}"
|
|
1717
|
+
end
|
|
1718
|
+
```
|
|
1719
|
+
|
|
1720
|
+
#### Using the companies_enforcement_events_with_http_info variant
|
|
1721
|
+
|
|
1722
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1723
|
+
|
|
1724
|
+
> <Array(<EnforcementEventsResponse>, Integer, Hash)> companies_enforcement_events_with_http_info(id, opts)
|
|
1725
|
+
|
|
1726
|
+
```ruby
|
|
1727
|
+
begin
|
|
1728
|
+
# FDA enforcement events
|
|
1729
|
+
data, status_code, headers = api_instance.companies_enforcement_events_with_http_info(id, opts)
|
|
1730
|
+
p status_code # => 2xx
|
|
1731
|
+
p headers # => { ... }
|
|
1732
|
+
p data # => <EnforcementEventsResponse>
|
|
1733
|
+
rescue PharmaObservatory::ApiError => e
|
|
1734
|
+
puts "Error when calling CompaniesApi->companies_enforcement_events_with_http_info: #{e}"
|
|
1735
|
+
end
|
|
1736
|
+
```
|
|
1737
|
+
|
|
1738
|
+
### Parameters
|
|
1739
|
+
|
|
1740
|
+
| Name | Type | Description | Notes |
|
|
1741
|
+
| ---- | ---- | ----------- | ----- |
|
|
1742
|
+
| **id** | **String** | | |
|
|
1743
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1744
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1745
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1746
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1747
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1748
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1749
|
+
|
|
1750
|
+
### Return type
|
|
1751
|
+
|
|
1752
|
+
[**EnforcementEventsResponse**](EnforcementEventsResponse.md)
|
|
1753
|
+
|
|
1754
|
+
### Authorization
|
|
1755
|
+
|
|
1756
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1757
|
+
|
|
1758
|
+
### HTTP request headers
|
|
1759
|
+
|
|
1760
|
+
- **Content-Type**: Not defined
|
|
1761
|
+
- **Accept**: application/json
|
|
1762
|
+
|
|
1763
|
+
|
|
1764
|
+
## companies_get
|
|
1765
|
+
|
|
1766
|
+
> <CompaniesRecord> companies_get(id)
|
|
1767
|
+
|
|
1768
|
+
One company
|
|
1769
|
+
|
|
1770
|
+
### Examples
|
|
1771
|
+
|
|
1772
|
+
```ruby
|
|
1773
|
+
require 'time'
|
|
1774
|
+
require 'pharmaobservatory'
|
|
1775
|
+
# setup authorization
|
|
1776
|
+
PharmaObservatory.configure do |config|
|
|
1777
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1778
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1779
|
+
end
|
|
1780
|
+
|
|
1781
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1782
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1783
|
+
|
|
1784
|
+
begin
|
|
1785
|
+
# One company
|
|
1786
|
+
result = api_instance.companies_get(id)
|
|
1787
|
+
p result
|
|
1788
|
+
rescue PharmaObservatory::ApiError => e
|
|
1789
|
+
puts "Error when calling CompaniesApi->companies_get: #{e}"
|
|
1790
|
+
end
|
|
1791
|
+
```
|
|
1792
|
+
|
|
1793
|
+
#### Using the companies_get_with_http_info variant
|
|
1794
|
+
|
|
1795
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1796
|
+
|
|
1797
|
+
> <Array(<CompaniesRecord>, Integer, Hash)> companies_get_with_http_info(id)
|
|
1798
|
+
|
|
1799
|
+
```ruby
|
|
1800
|
+
begin
|
|
1801
|
+
# One company
|
|
1802
|
+
data, status_code, headers = api_instance.companies_get_with_http_info(id)
|
|
1803
|
+
p status_code # => 2xx
|
|
1804
|
+
p headers # => { ... }
|
|
1805
|
+
p data # => <CompaniesRecord>
|
|
1806
|
+
rescue PharmaObservatory::ApiError => e
|
|
1807
|
+
puts "Error when calling CompaniesApi->companies_get_with_http_info: #{e}"
|
|
1808
|
+
end
|
|
1809
|
+
```
|
|
1810
|
+
|
|
1811
|
+
### Parameters
|
|
1812
|
+
|
|
1813
|
+
| Name | Type | Description | Notes |
|
|
1814
|
+
| ---- | ---- | ----------- | ----- |
|
|
1815
|
+
| **id** | **String** | | |
|
|
1816
|
+
|
|
1817
|
+
### Return type
|
|
1818
|
+
|
|
1819
|
+
[**CompaniesRecord**](CompaniesRecord.md)
|
|
1820
|
+
|
|
1821
|
+
### Authorization
|
|
1822
|
+
|
|
1823
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1824
|
+
|
|
1825
|
+
### HTTP request headers
|
|
1826
|
+
|
|
1827
|
+
- **Content-Type**: Not defined
|
|
1828
|
+
- **Accept**: application/json
|
|
1829
|
+
|
|
1830
|
+
|
|
1831
|
+
## companies_gxp_facilities
|
|
1832
|
+
|
|
1833
|
+
> <GxpFacilitiesResponse> companies_gxp_facilities(id, opts)
|
|
1834
|
+
|
|
1835
|
+
GxP facilities and quality signals
|
|
1836
|
+
|
|
1837
|
+
### Examples
|
|
1838
|
+
|
|
1839
|
+
```ruby
|
|
1840
|
+
require 'time'
|
|
1841
|
+
require 'pharmaobservatory'
|
|
1842
|
+
# setup authorization
|
|
1843
|
+
PharmaObservatory.configure do |config|
|
|
1844
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1845
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1846
|
+
end
|
|
1847
|
+
|
|
1848
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1849
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1850
|
+
opts = {
|
|
1851
|
+
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.
|
|
1852
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1853
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1854
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1855
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1856
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
begin
|
|
1860
|
+
# GxP facilities and quality signals
|
|
1861
|
+
result = api_instance.companies_gxp_facilities(id, opts)
|
|
1862
|
+
p result
|
|
1863
|
+
rescue PharmaObservatory::ApiError => e
|
|
1864
|
+
puts "Error when calling CompaniesApi->companies_gxp_facilities: #{e}"
|
|
1865
|
+
end
|
|
1866
|
+
```
|
|
1867
|
+
|
|
1868
|
+
#### Using the companies_gxp_facilities_with_http_info variant
|
|
1869
|
+
|
|
1870
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1871
|
+
|
|
1872
|
+
> <Array(<GxpFacilitiesResponse>, Integer, Hash)> companies_gxp_facilities_with_http_info(id, opts)
|
|
1873
|
+
|
|
1874
|
+
```ruby
|
|
1875
|
+
begin
|
|
1876
|
+
# GxP facilities and quality signals
|
|
1877
|
+
data, status_code, headers = api_instance.companies_gxp_facilities_with_http_info(id, opts)
|
|
1878
|
+
p status_code # => 2xx
|
|
1879
|
+
p headers # => { ... }
|
|
1880
|
+
p data # => <GxpFacilitiesResponse>
|
|
1881
|
+
rescue PharmaObservatory::ApiError => e
|
|
1882
|
+
puts "Error when calling CompaniesApi->companies_gxp_facilities_with_http_info: #{e}"
|
|
1883
|
+
end
|
|
1884
|
+
```
|
|
1885
|
+
|
|
1886
|
+
### Parameters
|
|
1887
|
+
|
|
1888
|
+
| Name | Type | Description | Notes |
|
|
1889
|
+
| ---- | ---- | ----------- | ----- |
|
|
1890
|
+
| **id** | **String** | | |
|
|
1891
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1892
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1893
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1894
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1895
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1896
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1897
|
+
|
|
1898
|
+
### Return type
|
|
1899
|
+
|
|
1900
|
+
[**GxpFacilitiesResponse**](GxpFacilitiesResponse.md)
|
|
1901
|
+
|
|
1902
|
+
### Authorization
|
|
1903
|
+
|
|
1904
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1905
|
+
|
|
1906
|
+
### HTTP request headers
|
|
1907
|
+
|
|
1908
|
+
- **Content-Type**: Not defined
|
|
1909
|
+
- **Accept**: application/json
|
|
1910
|
+
|
|
1911
|
+
|
|
1912
|
+
## companies_import_refusals
|
|
1913
|
+
|
|
1914
|
+
> <ImportRefusalsResponse> companies_import_refusals(id, opts)
|
|
1915
|
+
|
|
1916
|
+
FDA import refusals
|
|
1917
|
+
|
|
1918
|
+
### Examples
|
|
1919
|
+
|
|
1920
|
+
```ruby
|
|
1921
|
+
require 'time'
|
|
1922
|
+
require 'pharmaobservatory'
|
|
1923
|
+
# setup authorization
|
|
1924
|
+
PharmaObservatory.configure do |config|
|
|
1925
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1926
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1927
|
+
end
|
|
1928
|
+
|
|
1929
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1930
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1931
|
+
opts = {
|
|
1932
|
+
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.
|
|
1933
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1934
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1935
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1936
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1937
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1940
|
+
begin
|
|
1941
|
+
# FDA import refusals
|
|
1942
|
+
result = api_instance.companies_import_refusals(id, opts)
|
|
1943
|
+
p result
|
|
1944
|
+
rescue PharmaObservatory::ApiError => e
|
|
1945
|
+
puts "Error when calling CompaniesApi->companies_import_refusals: #{e}"
|
|
1946
|
+
end
|
|
1947
|
+
```
|
|
1948
|
+
|
|
1949
|
+
#### Using the companies_import_refusals_with_http_info variant
|
|
1950
|
+
|
|
1951
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1952
|
+
|
|
1953
|
+
> <Array(<ImportRefusalsResponse>, Integer, Hash)> companies_import_refusals_with_http_info(id, opts)
|
|
1954
|
+
|
|
1955
|
+
```ruby
|
|
1956
|
+
begin
|
|
1957
|
+
# FDA import refusals
|
|
1958
|
+
data, status_code, headers = api_instance.companies_import_refusals_with_http_info(id, opts)
|
|
1959
|
+
p status_code # => 2xx
|
|
1960
|
+
p headers # => { ... }
|
|
1961
|
+
p data # => <ImportRefusalsResponse>
|
|
1962
|
+
rescue PharmaObservatory::ApiError => e
|
|
1963
|
+
puts "Error when calling CompaniesApi->companies_import_refusals_with_http_info: #{e}"
|
|
1964
|
+
end
|
|
1965
|
+
```
|
|
1966
|
+
|
|
1967
|
+
### Parameters
|
|
1968
|
+
|
|
1969
|
+
| Name | Type | Description | Notes |
|
|
1970
|
+
| ---- | ---- | ----------- | ----- |
|
|
1971
|
+
| **id** | **String** | | |
|
|
1972
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1973
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1974
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1975
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1976
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1977
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1978
|
+
|
|
1979
|
+
### Return type
|
|
1980
|
+
|
|
1981
|
+
[**ImportRefusalsResponse**](ImportRefusalsResponse.md)
|
|
1982
|
+
|
|
1983
|
+
### Authorization
|
|
1984
|
+
|
|
1985
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1986
|
+
|
|
1987
|
+
### HTTP request headers
|
|
1988
|
+
|
|
1989
|
+
- **Content-Type**: Not defined
|
|
1990
|
+
- **Accept**: application/json
|
|
1991
|
+
|
|
1992
|
+
|
|
1993
|
+
## companies_inspection_findings
|
|
1994
|
+
|
|
1995
|
+
> <InspectionFindingsResponse> companies_inspection_findings(id, opts)
|
|
1996
|
+
|
|
1997
|
+
FDA inspection findings
|
|
1998
|
+
|
|
1999
|
+
### Examples
|
|
2000
|
+
|
|
2001
|
+
```ruby
|
|
2002
|
+
require 'time'
|
|
2003
|
+
require 'pharmaobservatory'
|
|
2004
|
+
# setup authorization
|
|
2005
|
+
PharmaObservatory.configure do |config|
|
|
2006
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2007
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2008
|
+
end
|
|
2009
|
+
|
|
2010
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2011
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2012
|
+
opts = {
|
|
2013
|
+
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.
|
|
2014
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2015
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2016
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2017
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2018
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
begin
|
|
2022
|
+
# FDA inspection findings
|
|
2023
|
+
result = api_instance.companies_inspection_findings(id, opts)
|
|
2024
|
+
p result
|
|
2025
|
+
rescue PharmaObservatory::ApiError => e
|
|
2026
|
+
puts "Error when calling CompaniesApi->companies_inspection_findings: #{e}"
|
|
2027
|
+
end
|
|
2028
|
+
```
|
|
2029
|
+
|
|
2030
|
+
#### Using the companies_inspection_findings_with_http_info variant
|
|
2031
|
+
|
|
2032
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2033
|
+
|
|
2034
|
+
> <Array(<InspectionFindingsResponse>, Integer, Hash)> companies_inspection_findings_with_http_info(id, opts)
|
|
2035
|
+
|
|
2036
|
+
```ruby
|
|
2037
|
+
begin
|
|
2038
|
+
# FDA inspection findings
|
|
2039
|
+
data, status_code, headers = api_instance.companies_inspection_findings_with_http_info(id, opts)
|
|
2040
|
+
p status_code # => 2xx
|
|
2041
|
+
p headers # => { ... }
|
|
2042
|
+
p data # => <InspectionFindingsResponse>
|
|
2043
|
+
rescue PharmaObservatory::ApiError => e
|
|
2044
|
+
puts "Error when calling CompaniesApi->companies_inspection_findings_with_http_info: #{e}"
|
|
2045
|
+
end
|
|
2046
|
+
```
|
|
2047
|
+
|
|
2048
|
+
### Parameters
|
|
2049
|
+
|
|
2050
|
+
| Name | Type | Description | Notes |
|
|
2051
|
+
| ---- | ---- | ----------- | ----- |
|
|
2052
|
+
| **id** | **String** | | |
|
|
2053
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2054
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2055
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2056
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2057
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2058
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2059
|
+
|
|
2060
|
+
### Return type
|
|
2061
|
+
|
|
2062
|
+
[**InspectionFindingsResponse**](InspectionFindingsResponse.md)
|
|
2063
|
+
|
|
2064
|
+
### Authorization
|
|
2065
|
+
|
|
2066
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2067
|
+
|
|
2068
|
+
### HTTP request headers
|
|
2069
|
+
|
|
2070
|
+
- **Content-Type**: Not defined
|
|
2071
|
+
- **Accept**: application/json
|
|
2072
|
+
|
|
2073
|
+
|
|
2074
|
+
## companies_inspections
|
|
2075
|
+
|
|
2076
|
+
> <InspectionsResponse> companies_inspections(id, opts)
|
|
2077
|
+
|
|
2078
|
+
FDA inspections
|
|
2079
|
+
|
|
2080
|
+
### Examples
|
|
2081
|
+
|
|
2082
|
+
```ruby
|
|
2083
|
+
require 'time'
|
|
2084
|
+
require 'pharmaobservatory'
|
|
2085
|
+
# setup authorization
|
|
2086
|
+
PharmaObservatory.configure do |config|
|
|
2087
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2088
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2089
|
+
end
|
|
2090
|
+
|
|
2091
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2092
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2093
|
+
opts = {
|
|
2094
|
+
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.
|
|
2095
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2096
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2097
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2098
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2099
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
begin
|
|
2103
|
+
# FDA inspections
|
|
2104
|
+
result = api_instance.companies_inspections(id, opts)
|
|
2105
|
+
p result
|
|
2106
|
+
rescue PharmaObservatory::ApiError => e
|
|
2107
|
+
puts "Error when calling CompaniesApi->companies_inspections: #{e}"
|
|
2108
|
+
end
|
|
2109
|
+
```
|
|
2110
|
+
|
|
2111
|
+
#### Using the companies_inspections_with_http_info variant
|
|
2112
|
+
|
|
2113
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2114
|
+
|
|
2115
|
+
> <Array(<InspectionsResponse>, Integer, Hash)> companies_inspections_with_http_info(id, opts)
|
|
2116
|
+
|
|
2117
|
+
```ruby
|
|
2118
|
+
begin
|
|
2119
|
+
# FDA inspections
|
|
2120
|
+
data, status_code, headers = api_instance.companies_inspections_with_http_info(id, opts)
|
|
2121
|
+
p status_code # => 2xx
|
|
2122
|
+
p headers # => { ... }
|
|
2123
|
+
p data # => <InspectionsResponse>
|
|
2124
|
+
rescue PharmaObservatory::ApiError => e
|
|
2125
|
+
puts "Error when calling CompaniesApi->companies_inspections_with_http_info: #{e}"
|
|
2126
|
+
end
|
|
2127
|
+
```
|
|
2128
|
+
|
|
2129
|
+
### Parameters
|
|
2130
|
+
|
|
2131
|
+
| Name | Type | Description | Notes |
|
|
2132
|
+
| ---- | ---- | ----------- | ----- |
|
|
2133
|
+
| **id** | **String** | | |
|
|
2134
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2135
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2136
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2137
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2138
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2139
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2140
|
+
|
|
2141
|
+
### Return type
|
|
2142
|
+
|
|
2143
|
+
[**InspectionsResponse**](InspectionsResponse.md)
|
|
2144
|
+
|
|
2145
|
+
### Authorization
|
|
2146
|
+
|
|
2147
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2148
|
+
|
|
2149
|
+
### HTTP request headers
|
|
2150
|
+
|
|
2151
|
+
- **Content-Type**: Not defined
|
|
2152
|
+
- **Accept**: application/json
|
|
2153
|
+
|
|
2154
|
+
|
|
2155
|
+
## companies_institutional_holdings
|
|
2156
|
+
|
|
2157
|
+
> <InstitutionalHoldingsResponse> companies_institutional_holdings(id, opts)
|
|
2158
|
+
|
|
2159
|
+
Institutional holdings (SEC Form 13F)
|
|
2160
|
+
|
|
2161
|
+
### Examples
|
|
2162
|
+
|
|
2163
|
+
```ruby
|
|
2164
|
+
require 'time'
|
|
2165
|
+
require 'pharmaobservatory'
|
|
2166
|
+
# setup authorization
|
|
2167
|
+
PharmaObservatory.configure do |config|
|
|
2168
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2169
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2170
|
+
end
|
|
2171
|
+
|
|
2172
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2173
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2174
|
+
opts = {
|
|
2175
|
+
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.
|
|
2176
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2177
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2178
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2179
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2180
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
begin
|
|
2184
|
+
# Institutional holdings (SEC Form 13F)
|
|
2185
|
+
result = api_instance.companies_institutional_holdings(id, opts)
|
|
2186
|
+
p result
|
|
2187
|
+
rescue PharmaObservatory::ApiError => e
|
|
2188
|
+
puts "Error when calling CompaniesApi->companies_institutional_holdings: #{e}"
|
|
2189
|
+
end
|
|
2190
|
+
```
|
|
2191
|
+
|
|
2192
|
+
#### Using the companies_institutional_holdings_with_http_info variant
|
|
2193
|
+
|
|
2194
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2195
|
+
|
|
2196
|
+
> <Array(<InstitutionalHoldingsResponse>, Integer, Hash)> companies_institutional_holdings_with_http_info(id, opts)
|
|
2197
|
+
|
|
2198
|
+
```ruby
|
|
2199
|
+
begin
|
|
2200
|
+
# Institutional holdings (SEC Form 13F)
|
|
2201
|
+
data, status_code, headers = api_instance.companies_institutional_holdings_with_http_info(id, opts)
|
|
2202
|
+
p status_code # => 2xx
|
|
2203
|
+
p headers # => { ... }
|
|
2204
|
+
p data # => <InstitutionalHoldingsResponse>
|
|
2205
|
+
rescue PharmaObservatory::ApiError => e
|
|
2206
|
+
puts "Error when calling CompaniesApi->companies_institutional_holdings_with_http_info: #{e}"
|
|
2207
|
+
end
|
|
2208
|
+
```
|
|
2209
|
+
|
|
2210
|
+
### Parameters
|
|
2211
|
+
|
|
2212
|
+
| Name | Type | Description | Notes |
|
|
2213
|
+
| ---- | ---- | ----------- | ----- |
|
|
2214
|
+
| **id** | **String** | | |
|
|
2215
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2216
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2217
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2218
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2219
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2220
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2221
|
+
|
|
2222
|
+
### Return type
|
|
2223
|
+
|
|
2224
|
+
[**InstitutionalHoldingsResponse**](InstitutionalHoldingsResponse.md)
|
|
2225
|
+
|
|
2226
|
+
### Authorization
|
|
2227
|
+
|
|
2228
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2229
|
+
|
|
2230
|
+
### HTTP request headers
|
|
2231
|
+
|
|
2232
|
+
- **Content-Type**: Not defined
|
|
2233
|
+
- **Accept**: application/json
|
|
2234
|
+
|
|
2235
|
+
|
|
2236
|
+
## companies_institutional_quarter_totals
|
|
2237
|
+
|
|
2238
|
+
> <InstitutionalQuarterTotalsResponse> companies_institutional_quarter_totals(id, opts)
|
|
2239
|
+
|
|
2240
|
+
Institutional quarter totals (SEC Form 13F)
|
|
2241
|
+
|
|
2242
|
+
### Examples
|
|
2243
|
+
|
|
2244
|
+
```ruby
|
|
2245
|
+
require 'time'
|
|
2246
|
+
require 'pharmaobservatory'
|
|
2247
|
+
# setup authorization
|
|
2248
|
+
PharmaObservatory.configure do |config|
|
|
2249
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2250
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2251
|
+
end
|
|
2252
|
+
|
|
2253
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2254
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2255
|
+
opts = {
|
|
2256
|
+
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.
|
|
2257
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2258
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2259
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2260
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2261
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
begin
|
|
2265
|
+
# Institutional quarter totals (SEC Form 13F)
|
|
2266
|
+
result = api_instance.companies_institutional_quarter_totals(id, opts)
|
|
2267
|
+
p result
|
|
2268
|
+
rescue PharmaObservatory::ApiError => e
|
|
2269
|
+
puts "Error when calling CompaniesApi->companies_institutional_quarter_totals: #{e}"
|
|
2270
|
+
end
|
|
2271
|
+
```
|
|
2272
|
+
|
|
2273
|
+
#### Using the companies_institutional_quarter_totals_with_http_info variant
|
|
2274
|
+
|
|
2275
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2276
|
+
|
|
2277
|
+
> <Array(<InstitutionalQuarterTotalsResponse>, Integer, Hash)> companies_institutional_quarter_totals_with_http_info(id, opts)
|
|
2278
|
+
|
|
2279
|
+
```ruby
|
|
2280
|
+
begin
|
|
2281
|
+
# Institutional quarter totals (SEC Form 13F)
|
|
2282
|
+
data, status_code, headers = api_instance.companies_institutional_quarter_totals_with_http_info(id, opts)
|
|
2283
|
+
p status_code # => 2xx
|
|
2284
|
+
p headers # => { ... }
|
|
2285
|
+
p data # => <InstitutionalQuarterTotalsResponse>
|
|
2286
|
+
rescue PharmaObservatory::ApiError => e
|
|
2287
|
+
puts "Error when calling CompaniesApi->companies_institutional_quarter_totals_with_http_info: #{e}"
|
|
2288
|
+
end
|
|
2289
|
+
```
|
|
2290
|
+
|
|
2291
|
+
### Parameters
|
|
2292
|
+
|
|
2293
|
+
| Name | Type | Description | Notes |
|
|
2294
|
+
| ---- | ---- | ----------- | ----- |
|
|
2295
|
+
| **id** | **String** | | |
|
|
2296
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2297
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2298
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2299
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2300
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2301
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2302
|
+
|
|
2303
|
+
### Return type
|
|
2304
|
+
|
|
2305
|
+
[**InstitutionalQuarterTotalsResponse**](InstitutionalQuarterTotalsResponse.md)
|
|
2306
|
+
|
|
2307
|
+
### Authorization
|
|
2308
|
+
|
|
2309
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2310
|
+
|
|
2311
|
+
### HTTP request headers
|
|
2312
|
+
|
|
2313
|
+
- **Content-Type**: Not defined
|
|
2314
|
+
- **Accept**: application/json
|
|
2315
|
+
|
|
2316
|
+
|
|
2317
|
+
## companies_legal_entities
|
|
2318
|
+
|
|
2319
|
+
> <LegalEntitiesResponse> companies_legal_entities(id, opts)
|
|
2320
|
+
|
|
2321
|
+
Legal entities
|
|
2322
|
+
|
|
2323
|
+
### Examples
|
|
2324
|
+
|
|
2325
|
+
```ruby
|
|
2326
|
+
require 'time'
|
|
2327
|
+
require 'pharmaobservatory'
|
|
2328
|
+
# setup authorization
|
|
2329
|
+
PharmaObservatory.configure do |config|
|
|
2330
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2331
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2332
|
+
end
|
|
2333
|
+
|
|
2334
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2335
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2336
|
+
opts = {
|
|
2337
|
+
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.
|
|
2338
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2339
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2340
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2341
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2342
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
begin
|
|
2346
|
+
# Legal entities
|
|
2347
|
+
result = api_instance.companies_legal_entities(id, opts)
|
|
2348
|
+
p result
|
|
2349
|
+
rescue PharmaObservatory::ApiError => e
|
|
2350
|
+
puts "Error when calling CompaniesApi->companies_legal_entities: #{e}"
|
|
2351
|
+
end
|
|
2352
|
+
```
|
|
2353
|
+
|
|
2354
|
+
#### Using the companies_legal_entities_with_http_info variant
|
|
2355
|
+
|
|
2356
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2357
|
+
|
|
2358
|
+
> <Array(<LegalEntitiesResponse>, Integer, Hash)> companies_legal_entities_with_http_info(id, opts)
|
|
2359
|
+
|
|
2360
|
+
```ruby
|
|
2361
|
+
begin
|
|
2362
|
+
# Legal entities
|
|
2363
|
+
data, status_code, headers = api_instance.companies_legal_entities_with_http_info(id, opts)
|
|
2364
|
+
p status_code # => 2xx
|
|
2365
|
+
p headers # => { ... }
|
|
2366
|
+
p data # => <LegalEntitiesResponse>
|
|
2367
|
+
rescue PharmaObservatory::ApiError => e
|
|
2368
|
+
puts "Error when calling CompaniesApi->companies_legal_entities_with_http_info: #{e}"
|
|
2369
|
+
end
|
|
2370
|
+
```
|
|
2371
|
+
|
|
2372
|
+
### Parameters
|
|
2373
|
+
|
|
2374
|
+
| Name | Type | Description | Notes |
|
|
2375
|
+
| ---- | ---- | ----------- | ----- |
|
|
2376
|
+
| **id** | **String** | | |
|
|
2377
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2378
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2379
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2380
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2381
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2382
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2383
|
+
|
|
2384
|
+
### Return type
|
|
2385
|
+
|
|
2386
|
+
[**LegalEntitiesResponse**](LegalEntitiesResponse.md)
|
|
2387
|
+
|
|
2388
|
+
### Authorization
|
|
2389
|
+
|
|
2390
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2391
|
+
|
|
2392
|
+
### HTTP request headers
|
|
2393
|
+
|
|
2394
|
+
- **Content-Type**: Not defined
|
|
2395
|
+
- **Accept**: application/json
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
## companies_legal_entity_sec_filings
|
|
2399
|
+
|
|
2400
|
+
> <LegalEntitySecFilingsResponse> companies_legal_entity_sec_filings(id, opts)
|
|
2401
|
+
|
|
2402
|
+
SEC filer records
|
|
2403
|
+
|
|
2404
|
+
### Examples
|
|
2405
|
+
|
|
2406
|
+
```ruby
|
|
2407
|
+
require 'time'
|
|
2408
|
+
require 'pharmaobservatory'
|
|
2409
|
+
# setup authorization
|
|
2410
|
+
PharmaObservatory.configure do |config|
|
|
2411
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2412
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2413
|
+
end
|
|
2414
|
+
|
|
2415
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2416
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2417
|
+
opts = {
|
|
2418
|
+
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.
|
|
2419
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2420
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2421
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2422
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2423
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
begin
|
|
2427
|
+
# SEC filer records
|
|
2428
|
+
result = api_instance.companies_legal_entity_sec_filings(id, opts)
|
|
2429
|
+
p result
|
|
2430
|
+
rescue PharmaObservatory::ApiError => e
|
|
2431
|
+
puts "Error when calling CompaniesApi->companies_legal_entity_sec_filings: #{e}"
|
|
2432
|
+
end
|
|
2433
|
+
```
|
|
2434
|
+
|
|
2435
|
+
#### Using the companies_legal_entity_sec_filings_with_http_info variant
|
|
2436
|
+
|
|
2437
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2438
|
+
|
|
2439
|
+
> <Array(<LegalEntitySecFilingsResponse>, Integer, Hash)> companies_legal_entity_sec_filings_with_http_info(id, opts)
|
|
2440
|
+
|
|
2441
|
+
```ruby
|
|
2442
|
+
begin
|
|
2443
|
+
# SEC filer records
|
|
2444
|
+
data, status_code, headers = api_instance.companies_legal_entity_sec_filings_with_http_info(id, opts)
|
|
2445
|
+
p status_code # => 2xx
|
|
2446
|
+
p headers # => { ... }
|
|
2447
|
+
p data # => <LegalEntitySecFilingsResponse>
|
|
2448
|
+
rescue PharmaObservatory::ApiError => e
|
|
2449
|
+
puts "Error when calling CompaniesApi->companies_legal_entity_sec_filings_with_http_info: #{e}"
|
|
2450
|
+
end
|
|
2451
|
+
```
|
|
2452
|
+
|
|
2453
|
+
### Parameters
|
|
2454
|
+
|
|
2455
|
+
| Name | Type | Description | Notes |
|
|
2456
|
+
| ---- | ---- | ----------- | ----- |
|
|
2457
|
+
| **id** | **String** | | |
|
|
2458
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2459
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2460
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2461
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2462
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2463
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2464
|
+
|
|
2465
|
+
### Return type
|
|
2466
|
+
|
|
2467
|
+
[**LegalEntitySecFilingsResponse**](LegalEntitySecFilingsResponse.md)
|
|
2468
|
+
|
|
2469
|
+
### Authorization
|
|
2470
|
+
|
|
2471
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2472
|
+
|
|
2473
|
+
### HTTP request headers
|
|
2474
|
+
|
|
2475
|
+
- **Content-Type**: Not defined
|
|
2476
|
+
- **Accept**: application/json
|
|
2477
|
+
|
|
2478
|
+
|
|
2479
|
+
## companies_list
|
|
2480
|
+
|
|
2481
|
+
> <CompaniesResponse> companies_list(opts)
|
|
2482
|
+
|
|
2483
|
+
List companies
|
|
2484
|
+
|
|
2485
|
+
### Examples
|
|
2486
|
+
|
|
2487
|
+
```ruby
|
|
2488
|
+
require 'time'
|
|
2489
|
+
require 'pharmaobservatory'
|
|
2490
|
+
# setup authorization
|
|
2491
|
+
PharmaObservatory.configure do |config|
|
|
2492
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2493
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2494
|
+
end
|
|
2495
|
+
|
|
2496
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2497
|
+
opts = {
|
|
2498
|
+
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.
|
|
2499
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2500
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2501
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2502
|
+
measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
begin
|
|
2506
|
+
# List companies
|
|
2507
|
+
result = api_instance.companies_list(opts)
|
|
2508
|
+
p result
|
|
2509
|
+
rescue PharmaObservatory::ApiError => e
|
|
2510
|
+
puts "Error when calling CompaniesApi->companies_list: #{e}"
|
|
2511
|
+
end
|
|
2512
|
+
```
|
|
2513
|
+
|
|
2514
|
+
#### Using the companies_list_with_http_info variant
|
|
2515
|
+
|
|
2516
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2517
|
+
|
|
2518
|
+
> <Array(<CompaniesResponse>, Integer, Hash)> companies_list_with_http_info(opts)
|
|
2519
|
+
|
|
2520
|
+
```ruby
|
|
2521
|
+
begin
|
|
2522
|
+
# List companies
|
|
2523
|
+
data, status_code, headers = api_instance.companies_list_with_http_info(opts)
|
|
2524
|
+
p status_code # => 2xx
|
|
2525
|
+
p headers # => { ... }
|
|
2526
|
+
p data # => <CompaniesResponse>
|
|
2527
|
+
rescue PharmaObservatory::ApiError => e
|
|
2528
|
+
puts "Error when calling CompaniesApi->companies_list_with_http_info: #{e}"
|
|
2529
|
+
end
|
|
2530
|
+
```
|
|
2531
|
+
|
|
2532
|
+
### Parameters
|
|
2533
|
+
|
|
2534
|
+
| Name | Type | Description | Notes |
|
|
2535
|
+
| ---- | ---- | ----------- | ----- |
|
|
2536
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2537
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2538
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2539
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2540
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2541
|
+
|
|
2542
|
+
### Return type
|
|
2543
|
+
|
|
2544
|
+
[**CompaniesResponse**](CompaniesResponse.md)
|
|
2545
|
+
|
|
2546
|
+
### Authorization
|
|
2547
|
+
|
|
2548
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2549
|
+
|
|
2550
|
+
### HTTP request headers
|
|
2551
|
+
|
|
2552
|
+
- **Content-Type**: Not defined
|
|
2553
|
+
- **Accept**: application/json
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
## companies_org_disclosure_trend
|
|
2557
|
+
|
|
2558
|
+
> <OrgDisclosureTrendResponse> companies_org_disclosure_trend(id, opts)
|
|
2559
|
+
|
|
2560
|
+
Organization disclosure trend
|
|
2561
|
+
|
|
2562
|
+
### Examples
|
|
2563
|
+
|
|
2564
|
+
```ruby
|
|
2565
|
+
require 'time'
|
|
2566
|
+
require 'pharmaobservatory'
|
|
2567
|
+
# setup authorization
|
|
2568
|
+
PharmaObservatory.configure do |config|
|
|
2569
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2570
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2571
|
+
end
|
|
2572
|
+
|
|
2573
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2574
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2575
|
+
opts = {
|
|
2576
|
+
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.
|
|
2577
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2578
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2579
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2580
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2581
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2582
|
+
}
|
|
2583
|
+
|
|
2584
|
+
begin
|
|
2585
|
+
# Organization disclosure trend
|
|
2586
|
+
result = api_instance.companies_org_disclosure_trend(id, opts)
|
|
2587
|
+
p result
|
|
2588
|
+
rescue PharmaObservatory::ApiError => e
|
|
2589
|
+
puts "Error when calling CompaniesApi->companies_org_disclosure_trend: #{e}"
|
|
2590
|
+
end
|
|
2591
|
+
```
|
|
2592
|
+
|
|
2593
|
+
#### Using the companies_org_disclosure_trend_with_http_info variant
|
|
2594
|
+
|
|
2595
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2596
|
+
|
|
2597
|
+
> <Array(<OrgDisclosureTrendResponse>, Integer, Hash)> companies_org_disclosure_trend_with_http_info(id, opts)
|
|
2598
|
+
|
|
2599
|
+
```ruby
|
|
2600
|
+
begin
|
|
2601
|
+
# Organization disclosure trend
|
|
2602
|
+
data, status_code, headers = api_instance.companies_org_disclosure_trend_with_http_info(id, opts)
|
|
2603
|
+
p status_code # => 2xx
|
|
2604
|
+
p headers # => { ... }
|
|
2605
|
+
p data # => <OrgDisclosureTrendResponse>
|
|
2606
|
+
rescue PharmaObservatory::ApiError => e
|
|
2607
|
+
puts "Error when calling CompaniesApi->companies_org_disclosure_trend_with_http_info: #{e}"
|
|
2608
|
+
end
|
|
2609
|
+
```
|
|
2610
|
+
|
|
2611
|
+
### Parameters
|
|
2612
|
+
|
|
2613
|
+
| Name | Type | Description | Notes |
|
|
2614
|
+
| ---- | ---- | ----------- | ----- |
|
|
2615
|
+
| **id** | **String** | | |
|
|
2616
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2617
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2618
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2619
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2620
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2621
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2622
|
+
|
|
2623
|
+
### Return type
|
|
2624
|
+
|
|
2625
|
+
[**OrgDisclosureTrendResponse**](OrgDisclosureTrendResponse.md)
|
|
2626
|
+
|
|
2627
|
+
### Authorization
|
|
2628
|
+
|
|
2629
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2630
|
+
|
|
2631
|
+
### HTTP request headers
|
|
2632
|
+
|
|
2633
|
+
- **Content-Type**: Not defined
|
|
2634
|
+
- **Accept**: application/json
|
|
2635
|
+
|
|
2636
|
+
|
|
2637
|
+
## companies_org_disclosures
|
|
2638
|
+
|
|
2639
|
+
> <OrgDisclosuresResponse> companies_org_disclosures(id, opts)
|
|
2640
|
+
|
|
2641
|
+
Organization disclosures (climate and diversity)
|
|
2642
|
+
|
|
2643
|
+
### Examples
|
|
2644
|
+
|
|
2645
|
+
```ruby
|
|
2646
|
+
require 'time'
|
|
2647
|
+
require 'pharmaobservatory'
|
|
2648
|
+
# setup authorization
|
|
2649
|
+
PharmaObservatory.configure do |config|
|
|
2650
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2651
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2652
|
+
end
|
|
2653
|
+
|
|
2654
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2655
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2656
|
+
opts = {
|
|
2657
|
+
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.
|
|
2658
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2659
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2660
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2661
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2662
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2665
|
+
begin
|
|
2666
|
+
# Organization disclosures (climate and diversity)
|
|
2667
|
+
result = api_instance.companies_org_disclosures(id, opts)
|
|
2668
|
+
p result
|
|
2669
|
+
rescue PharmaObservatory::ApiError => e
|
|
2670
|
+
puts "Error when calling CompaniesApi->companies_org_disclosures: #{e}"
|
|
2671
|
+
end
|
|
2672
|
+
```
|
|
2673
|
+
|
|
2674
|
+
#### Using the companies_org_disclosures_with_http_info variant
|
|
2675
|
+
|
|
2676
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2677
|
+
|
|
2678
|
+
> <Array(<OrgDisclosuresResponse>, Integer, Hash)> companies_org_disclosures_with_http_info(id, opts)
|
|
2679
|
+
|
|
2680
|
+
```ruby
|
|
2681
|
+
begin
|
|
2682
|
+
# Organization disclosures (climate and diversity)
|
|
2683
|
+
data, status_code, headers = api_instance.companies_org_disclosures_with_http_info(id, opts)
|
|
2684
|
+
p status_code # => 2xx
|
|
2685
|
+
p headers # => { ... }
|
|
2686
|
+
p data # => <OrgDisclosuresResponse>
|
|
2687
|
+
rescue PharmaObservatory::ApiError => e
|
|
2688
|
+
puts "Error when calling CompaniesApi->companies_org_disclosures_with_http_info: #{e}"
|
|
2689
|
+
end
|
|
2690
|
+
```
|
|
2691
|
+
|
|
2692
|
+
### Parameters
|
|
2693
|
+
|
|
2694
|
+
| Name | Type | Description | Notes |
|
|
2695
|
+
| ---- | ---- | ----------- | ----- |
|
|
2696
|
+
| **id** | **String** | | |
|
|
2697
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2698
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2699
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2700
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2701
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2702
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2703
|
+
|
|
2704
|
+
### Return type
|
|
2705
|
+
|
|
2706
|
+
[**OrgDisclosuresResponse**](OrgDisclosuresResponse.md)
|
|
2707
|
+
|
|
2708
|
+
### Authorization
|
|
2709
|
+
|
|
2710
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2711
|
+
|
|
2712
|
+
### HTTP request headers
|
|
2713
|
+
|
|
2714
|
+
- **Content-Type**: Not defined
|
|
2715
|
+
- **Accept**: application/json
|
|
2716
|
+
|
|
2717
|
+
|
|
2718
|
+
## companies_org_relationships
|
|
2719
|
+
|
|
2720
|
+
> <OrgRelationshipsResponse> companies_org_relationships(id, opts)
|
|
2721
|
+
|
|
2722
|
+
Organization relationships
|
|
2723
|
+
|
|
2724
|
+
### Examples
|
|
2725
|
+
|
|
2726
|
+
```ruby
|
|
2727
|
+
require 'time'
|
|
2728
|
+
require 'pharmaobservatory'
|
|
2729
|
+
# setup authorization
|
|
2730
|
+
PharmaObservatory.configure do |config|
|
|
2731
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2732
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2733
|
+
end
|
|
2734
|
+
|
|
2735
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2736
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2737
|
+
opts = {
|
|
2738
|
+
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.
|
|
2739
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2740
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2741
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2742
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2743
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2744
|
+
}
|
|
2745
|
+
|
|
2746
|
+
begin
|
|
2747
|
+
# Organization relationships
|
|
2748
|
+
result = api_instance.companies_org_relationships(id, opts)
|
|
2749
|
+
p result
|
|
2750
|
+
rescue PharmaObservatory::ApiError => e
|
|
2751
|
+
puts "Error when calling CompaniesApi->companies_org_relationships: #{e}"
|
|
2752
|
+
end
|
|
2753
|
+
```
|
|
2754
|
+
|
|
2755
|
+
#### Using the companies_org_relationships_with_http_info variant
|
|
2756
|
+
|
|
2757
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2758
|
+
|
|
2759
|
+
> <Array(<OrgRelationshipsResponse>, Integer, Hash)> companies_org_relationships_with_http_info(id, opts)
|
|
2760
|
+
|
|
2761
|
+
```ruby
|
|
2762
|
+
begin
|
|
2763
|
+
# Organization relationships
|
|
2764
|
+
data, status_code, headers = api_instance.companies_org_relationships_with_http_info(id, opts)
|
|
2765
|
+
p status_code # => 2xx
|
|
2766
|
+
p headers # => { ... }
|
|
2767
|
+
p data # => <OrgRelationshipsResponse>
|
|
2768
|
+
rescue PharmaObservatory::ApiError => e
|
|
2769
|
+
puts "Error when calling CompaniesApi->companies_org_relationships_with_http_info: #{e}"
|
|
2770
|
+
end
|
|
2771
|
+
```
|
|
2772
|
+
|
|
2773
|
+
### Parameters
|
|
2774
|
+
|
|
2775
|
+
| Name | Type | Description | Notes |
|
|
2776
|
+
| ---- | ---- | ----------- | ----- |
|
|
2777
|
+
| **id** | **String** | | |
|
|
2778
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2779
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2780
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2781
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2782
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2783
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2784
|
+
|
|
2785
|
+
### Return type
|
|
2786
|
+
|
|
2787
|
+
[**OrgRelationshipsResponse**](OrgRelationshipsResponse.md)
|
|
2788
|
+
|
|
2789
|
+
### Authorization
|
|
2790
|
+
|
|
2791
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2792
|
+
|
|
2793
|
+
### HTTP request headers
|
|
2794
|
+
|
|
2795
|
+
- **Content-Type**: Not defined
|
|
2796
|
+
- **Accept**: application/json
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
## companies_ownership_percentages
|
|
2800
|
+
|
|
2801
|
+
> <OwnershipPercentagesResponse> companies_ownership_percentages(id, opts)
|
|
2802
|
+
|
|
2803
|
+
Ownership percentages
|
|
2804
|
+
|
|
2805
|
+
### Examples
|
|
2806
|
+
|
|
2807
|
+
```ruby
|
|
2808
|
+
require 'time'
|
|
2809
|
+
require 'pharmaobservatory'
|
|
2810
|
+
# setup authorization
|
|
2811
|
+
PharmaObservatory.configure do |config|
|
|
2812
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2813
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2814
|
+
end
|
|
2815
|
+
|
|
2816
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2817
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2818
|
+
opts = {
|
|
2819
|
+
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.
|
|
2820
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2821
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2822
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2823
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2824
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
begin
|
|
2828
|
+
# Ownership percentages
|
|
2829
|
+
result = api_instance.companies_ownership_percentages(id, opts)
|
|
2830
|
+
p result
|
|
2831
|
+
rescue PharmaObservatory::ApiError => e
|
|
2832
|
+
puts "Error when calling CompaniesApi->companies_ownership_percentages: #{e}"
|
|
2833
|
+
end
|
|
2834
|
+
```
|
|
2835
|
+
|
|
2836
|
+
#### Using the companies_ownership_percentages_with_http_info variant
|
|
2837
|
+
|
|
2838
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2839
|
+
|
|
2840
|
+
> <Array(<OwnershipPercentagesResponse>, Integer, Hash)> companies_ownership_percentages_with_http_info(id, opts)
|
|
2841
|
+
|
|
2842
|
+
```ruby
|
|
2843
|
+
begin
|
|
2844
|
+
# Ownership percentages
|
|
2845
|
+
data, status_code, headers = api_instance.companies_ownership_percentages_with_http_info(id, opts)
|
|
2846
|
+
p status_code # => 2xx
|
|
2847
|
+
p headers # => { ... }
|
|
2848
|
+
p data # => <OwnershipPercentagesResponse>
|
|
2849
|
+
rescue PharmaObservatory::ApiError => e
|
|
2850
|
+
puts "Error when calling CompaniesApi->companies_ownership_percentages_with_http_info: #{e}"
|
|
2851
|
+
end
|
|
2852
|
+
```
|
|
2853
|
+
|
|
2854
|
+
### Parameters
|
|
2855
|
+
|
|
2856
|
+
| Name | Type | Description | Notes |
|
|
2857
|
+
| ---- | ---- | ----------- | ----- |
|
|
2858
|
+
| **id** | **String** | | |
|
|
2859
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2860
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2861
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2862
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2863
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2864
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2865
|
+
|
|
2866
|
+
### Return type
|
|
2867
|
+
|
|
2868
|
+
[**OwnershipPercentagesResponse**](OwnershipPercentagesResponse.md)
|
|
2869
|
+
|
|
2870
|
+
### Authorization
|
|
2871
|
+
|
|
2872
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2873
|
+
|
|
2874
|
+
### HTTP request headers
|
|
2875
|
+
|
|
2876
|
+
- **Content-Type**: Not defined
|
|
2877
|
+
- **Accept**: application/json
|
|
2878
|
+
|
|
2879
|
+
|
|
2880
|
+
## companies_ownership_positions
|
|
2881
|
+
|
|
2882
|
+
> <OwnershipPositionsResponse> companies_ownership_positions(id, opts)
|
|
2883
|
+
|
|
2884
|
+
Ownership and control positions
|
|
2885
|
+
|
|
2886
|
+
### Examples
|
|
2887
|
+
|
|
2888
|
+
```ruby
|
|
2889
|
+
require 'time'
|
|
2890
|
+
require 'pharmaobservatory'
|
|
2891
|
+
# setup authorization
|
|
2892
|
+
PharmaObservatory.configure do |config|
|
|
2893
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2894
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2895
|
+
end
|
|
2896
|
+
|
|
2897
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2898
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2899
|
+
opts = {
|
|
2900
|
+
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.
|
|
2901
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2902
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2903
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2904
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2905
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2906
|
+
}
|
|
2907
|
+
|
|
2908
|
+
begin
|
|
2909
|
+
# Ownership and control positions
|
|
2910
|
+
result = api_instance.companies_ownership_positions(id, opts)
|
|
2911
|
+
p result
|
|
2912
|
+
rescue PharmaObservatory::ApiError => e
|
|
2913
|
+
puts "Error when calling CompaniesApi->companies_ownership_positions: #{e}"
|
|
2914
|
+
end
|
|
2915
|
+
```
|
|
2916
|
+
|
|
2917
|
+
#### Using the companies_ownership_positions_with_http_info variant
|
|
2918
|
+
|
|
2919
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2920
|
+
|
|
2921
|
+
> <Array(<OwnershipPositionsResponse>, Integer, Hash)> companies_ownership_positions_with_http_info(id, opts)
|
|
2922
|
+
|
|
2923
|
+
```ruby
|
|
2924
|
+
begin
|
|
2925
|
+
# Ownership and control positions
|
|
2926
|
+
data, status_code, headers = api_instance.companies_ownership_positions_with_http_info(id, opts)
|
|
2927
|
+
p status_code # => 2xx
|
|
2928
|
+
p headers # => { ... }
|
|
2929
|
+
p data # => <OwnershipPositionsResponse>
|
|
2930
|
+
rescue PharmaObservatory::ApiError => e
|
|
2931
|
+
puts "Error when calling CompaniesApi->companies_ownership_positions_with_http_info: #{e}"
|
|
2932
|
+
end
|
|
2933
|
+
```
|
|
2934
|
+
|
|
2935
|
+
### Parameters
|
|
2936
|
+
|
|
2937
|
+
| Name | Type | Description | Notes |
|
|
2938
|
+
| ---- | ---- | ----------- | ----- |
|
|
2939
|
+
| **id** | **String** | | |
|
|
2940
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2941
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2942
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2943
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2944
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2945
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2946
|
+
|
|
2947
|
+
### Return type
|
|
2948
|
+
|
|
2949
|
+
[**OwnershipPositionsResponse**](OwnershipPositionsResponse.md)
|
|
2950
|
+
|
|
2951
|
+
### Authorization
|
|
2952
|
+
|
|
2953
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2954
|
+
|
|
2955
|
+
### HTTP request headers
|
|
2956
|
+
|
|
2957
|
+
- **Content-Type**: Not defined
|
|
2958
|
+
- **Accept**: application/json
|
|
2959
|
+
|
|
2960
|
+
|
|
2961
|
+
## companies_ownership_source_coverage
|
|
2962
|
+
|
|
2963
|
+
> <OwnershipSourceCoverageResponse> companies_ownership_source_coverage(id, opts)
|
|
2964
|
+
|
|
2965
|
+
Ownership source coverage
|
|
2966
|
+
|
|
2967
|
+
### Examples
|
|
2968
|
+
|
|
2969
|
+
```ruby
|
|
2970
|
+
require 'time'
|
|
2971
|
+
require 'pharmaobservatory'
|
|
2972
|
+
# setup authorization
|
|
2973
|
+
PharmaObservatory.configure do |config|
|
|
2974
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2975
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2976
|
+
end
|
|
2977
|
+
|
|
2978
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2979
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2980
|
+
opts = {
|
|
2981
|
+
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.
|
|
2982
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2983
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2984
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2985
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2986
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2987
|
+
}
|
|
2988
|
+
|
|
2989
|
+
begin
|
|
2990
|
+
# Ownership source coverage
|
|
2991
|
+
result = api_instance.companies_ownership_source_coverage(id, opts)
|
|
2992
|
+
p result
|
|
2993
|
+
rescue PharmaObservatory::ApiError => e
|
|
2994
|
+
puts "Error when calling CompaniesApi->companies_ownership_source_coverage: #{e}"
|
|
2995
|
+
end
|
|
2996
|
+
```
|
|
2997
|
+
|
|
2998
|
+
#### Using the companies_ownership_source_coverage_with_http_info variant
|
|
2999
|
+
|
|
3000
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3001
|
+
|
|
3002
|
+
> <Array(<OwnershipSourceCoverageResponse>, Integer, Hash)> companies_ownership_source_coverage_with_http_info(id, opts)
|
|
3003
|
+
|
|
3004
|
+
```ruby
|
|
3005
|
+
begin
|
|
3006
|
+
# Ownership source coverage
|
|
3007
|
+
data, status_code, headers = api_instance.companies_ownership_source_coverage_with_http_info(id, opts)
|
|
3008
|
+
p status_code # => 2xx
|
|
3009
|
+
p headers # => { ... }
|
|
3010
|
+
p data # => <OwnershipSourceCoverageResponse>
|
|
3011
|
+
rescue PharmaObservatory::ApiError => e
|
|
3012
|
+
puts "Error when calling CompaniesApi->companies_ownership_source_coverage_with_http_info: #{e}"
|
|
3013
|
+
end
|
|
3014
|
+
```
|
|
3015
|
+
|
|
3016
|
+
### Parameters
|
|
3017
|
+
|
|
3018
|
+
| Name | Type | Description | Notes |
|
|
3019
|
+
| ---- | ---- | ----------- | ----- |
|
|
3020
|
+
| **id** | **String** | | |
|
|
3021
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3022
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3023
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3024
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3025
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3026
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3027
|
+
|
|
3028
|
+
### Return type
|
|
3029
|
+
|
|
3030
|
+
[**OwnershipSourceCoverageResponse**](OwnershipSourceCoverageResponse.md)
|
|
3031
|
+
|
|
3032
|
+
### Authorization
|
|
3033
|
+
|
|
3034
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3035
|
+
|
|
3036
|
+
### HTTP request headers
|
|
3037
|
+
|
|
3038
|
+
- **Content-Type**: Not defined
|
|
3039
|
+
- **Accept**: application/json
|
|
3040
|
+
|
|
3041
|
+
|
|
3042
|
+
## companies_pdufa_dates
|
|
3043
|
+
|
|
3044
|
+
> <PdufaDatesResponse> companies_pdufa_dates(id, opts)
|
|
3045
|
+
|
|
3046
|
+
FDA decision dates (PDUFA) and catalysts
|
|
3047
|
+
|
|
3048
|
+
### Examples
|
|
3049
|
+
|
|
3050
|
+
```ruby
|
|
3051
|
+
require 'time'
|
|
3052
|
+
require 'pharmaobservatory'
|
|
3053
|
+
# setup authorization
|
|
3054
|
+
PharmaObservatory.configure do |config|
|
|
3055
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3056
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3057
|
+
end
|
|
3058
|
+
|
|
3059
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3060
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3061
|
+
opts = {
|
|
3062
|
+
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.
|
|
3063
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3064
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3065
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3066
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3067
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3068
|
+
}
|
|
3069
|
+
|
|
3070
|
+
begin
|
|
3071
|
+
# FDA decision dates (PDUFA) and catalysts
|
|
3072
|
+
result = api_instance.companies_pdufa_dates(id, opts)
|
|
3073
|
+
p result
|
|
3074
|
+
rescue PharmaObservatory::ApiError => e
|
|
3075
|
+
puts "Error when calling CompaniesApi->companies_pdufa_dates: #{e}"
|
|
3076
|
+
end
|
|
3077
|
+
```
|
|
3078
|
+
|
|
3079
|
+
#### Using the companies_pdufa_dates_with_http_info variant
|
|
3080
|
+
|
|
3081
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3082
|
+
|
|
3083
|
+
> <Array(<PdufaDatesResponse>, Integer, Hash)> companies_pdufa_dates_with_http_info(id, opts)
|
|
3084
|
+
|
|
3085
|
+
```ruby
|
|
3086
|
+
begin
|
|
3087
|
+
# FDA decision dates (PDUFA) and catalysts
|
|
3088
|
+
data, status_code, headers = api_instance.companies_pdufa_dates_with_http_info(id, opts)
|
|
3089
|
+
p status_code # => 2xx
|
|
3090
|
+
p headers # => { ... }
|
|
3091
|
+
p data # => <PdufaDatesResponse>
|
|
3092
|
+
rescue PharmaObservatory::ApiError => e
|
|
3093
|
+
puts "Error when calling CompaniesApi->companies_pdufa_dates_with_http_info: #{e}"
|
|
3094
|
+
end
|
|
3095
|
+
```
|
|
3096
|
+
|
|
3097
|
+
### Parameters
|
|
3098
|
+
|
|
3099
|
+
| Name | Type | Description | Notes |
|
|
3100
|
+
| ---- | ---- | ----------- | ----- |
|
|
3101
|
+
| **id** | **String** | | |
|
|
3102
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3103
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3104
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3105
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3106
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3107
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3108
|
+
|
|
3109
|
+
### Return type
|
|
3110
|
+
|
|
3111
|
+
[**PdufaDatesResponse**](PdufaDatesResponse.md)
|
|
3112
|
+
|
|
3113
|
+
### Authorization
|
|
3114
|
+
|
|
3115
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3116
|
+
|
|
3117
|
+
### HTTP request headers
|
|
3118
|
+
|
|
3119
|
+
- **Content-Type**: Not defined
|
|
3120
|
+
- **Accept**: application/json
|
|
3121
|
+
|
|
3122
|
+
|
|
3123
|
+
## companies_program_licensing_candidates
|
|
3124
|
+
|
|
3125
|
+
> <ProgramLicensingCandidatesResponse> companies_program_licensing_candidates(id, opts)
|
|
3126
|
+
|
|
3127
|
+
Program licensing candidates
|
|
3128
|
+
|
|
3129
|
+
### Examples
|
|
3130
|
+
|
|
3131
|
+
```ruby
|
|
3132
|
+
require 'time'
|
|
3133
|
+
require 'pharmaobservatory'
|
|
3134
|
+
# setup authorization
|
|
3135
|
+
PharmaObservatory.configure do |config|
|
|
3136
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3137
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3138
|
+
end
|
|
3139
|
+
|
|
3140
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3141
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3142
|
+
opts = {
|
|
3143
|
+
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.
|
|
3144
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3145
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3146
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3147
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3148
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3151
|
+
begin
|
|
3152
|
+
# Program licensing candidates
|
|
3153
|
+
result = api_instance.companies_program_licensing_candidates(id, opts)
|
|
3154
|
+
p result
|
|
3155
|
+
rescue PharmaObservatory::ApiError => e
|
|
3156
|
+
puts "Error when calling CompaniesApi->companies_program_licensing_candidates: #{e}"
|
|
3157
|
+
end
|
|
3158
|
+
```
|
|
3159
|
+
|
|
3160
|
+
#### Using the companies_program_licensing_candidates_with_http_info variant
|
|
3161
|
+
|
|
3162
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3163
|
+
|
|
3164
|
+
> <Array(<ProgramLicensingCandidatesResponse>, Integer, Hash)> companies_program_licensing_candidates_with_http_info(id, opts)
|
|
3165
|
+
|
|
3166
|
+
```ruby
|
|
3167
|
+
begin
|
|
3168
|
+
# Program licensing candidates
|
|
3169
|
+
data, status_code, headers = api_instance.companies_program_licensing_candidates_with_http_info(id, opts)
|
|
3170
|
+
p status_code # => 2xx
|
|
3171
|
+
p headers # => { ... }
|
|
3172
|
+
p data # => <ProgramLicensingCandidatesResponse>
|
|
3173
|
+
rescue PharmaObservatory::ApiError => e
|
|
3174
|
+
puts "Error when calling CompaniesApi->companies_program_licensing_candidates_with_http_info: #{e}"
|
|
3175
|
+
end
|
|
3176
|
+
```
|
|
3177
|
+
|
|
3178
|
+
### Parameters
|
|
3179
|
+
|
|
3180
|
+
| Name | Type | Description | Notes |
|
|
3181
|
+
| ---- | ---- | ----------- | ----- |
|
|
3182
|
+
| **id** | **String** | | |
|
|
3183
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3184
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3185
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3186
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3187
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3188
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3189
|
+
|
|
3190
|
+
### Return type
|
|
3191
|
+
|
|
3192
|
+
[**ProgramLicensingCandidatesResponse**](ProgramLicensingCandidatesResponse.md)
|
|
3193
|
+
|
|
3194
|
+
### Authorization
|
|
3195
|
+
|
|
3196
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3197
|
+
|
|
3198
|
+
### HTTP request headers
|
|
3199
|
+
|
|
3200
|
+
- **Content-Type**: Not defined
|
|
3201
|
+
- **Accept**: application/json
|
|
3202
|
+
|
|
3203
|
+
|
|
3204
|
+
## companies_recalls
|
|
3205
|
+
|
|
3206
|
+
> <RecallsResponse> companies_recalls(id, opts)
|
|
3207
|
+
|
|
3208
|
+
FDA recalls
|
|
3209
|
+
|
|
3210
|
+
### Examples
|
|
3211
|
+
|
|
3212
|
+
```ruby
|
|
3213
|
+
require 'time'
|
|
3214
|
+
require 'pharmaobservatory'
|
|
3215
|
+
# setup authorization
|
|
3216
|
+
PharmaObservatory.configure do |config|
|
|
3217
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3218
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3219
|
+
end
|
|
3220
|
+
|
|
3221
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3222
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3223
|
+
opts = {
|
|
3224
|
+
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.
|
|
3225
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3226
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3227
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3228
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3229
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3232
|
+
begin
|
|
3233
|
+
# FDA recalls
|
|
3234
|
+
result = api_instance.companies_recalls(id, opts)
|
|
3235
|
+
p result
|
|
3236
|
+
rescue PharmaObservatory::ApiError => e
|
|
3237
|
+
puts "Error when calling CompaniesApi->companies_recalls: #{e}"
|
|
3238
|
+
end
|
|
3239
|
+
```
|
|
3240
|
+
|
|
3241
|
+
#### Using the companies_recalls_with_http_info variant
|
|
3242
|
+
|
|
3243
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3244
|
+
|
|
3245
|
+
> <Array(<RecallsResponse>, Integer, Hash)> companies_recalls_with_http_info(id, opts)
|
|
3246
|
+
|
|
3247
|
+
```ruby
|
|
3248
|
+
begin
|
|
3249
|
+
# FDA recalls
|
|
3250
|
+
data, status_code, headers = api_instance.companies_recalls_with_http_info(id, opts)
|
|
3251
|
+
p status_code # => 2xx
|
|
3252
|
+
p headers # => { ... }
|
|
3253
|
+
p data # => <RecallsResponse>
|
|
3254
|
+
rescue PharmaObservatory::ApiError => e
|
|
3255
|
+
puts "Error when calling CompaniesApi->companies_recalls_with_http_info: #{e}"
|
|
3256
|
+
end
|
|
3257
|
+
```
|
|
3258
|
+
|
|
3259
|
+
### Parameters
|
|
3260
|
+
|
|
3261
|
+
| Name | Type | Description | Notes |
|
|
3262
|
+
| ---- | ---- | ----------- | ----- |
|
|
3263
|
+
| **id** | **String** | | |
|
|
3264
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3265
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3266
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3267
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3268
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3269
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3270
|
+
|
|
3271
|
+
### Return type
|
|
3272
|
+
|
|
3273
|
+
[**RecallsResponse**](RecallsResponse.md)
|
|
3274
|
+
|
|
3275
|
+
### Authorization
|
|
3276
|
+
|
|
3277
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3278
|
+
|
|
3279
|
+
### HTTP request headers
|
|
3280
|
+
|
|
3281
|
+
- **Content-Type**: Not defined
|
|
3282
|
+
- **Accept**: application/json
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
## companies_sbti_crosscheck
|
|
3286
|
+
|
|
3287
|
+
> <SbtiCrosscheckResponse> companies_sbti_crosscheck(id, opts)
|
|
3288
|
+
|
|
3289
|
+
SBTi cross-check
|
|
3290
|
+
|
|
3291
|
+
### Examples
|
|
3292
|
+
|
|
3293
|
+
```ruby
|
|
3294
|
+
require 'time'
|
|
3295
|
+
require 'pharmaobservatory'
|
|
3296
|
+
# setup authorization
|
|
3297
|
+
PharmaObservatory.configure do |config|
|
|
3298
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3299
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3300
|
+
end
|
|
3301
|
+
|
|
3302
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3303
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3304
|
+
opts = {
|
|
3305
|
+
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.
|
|
3306
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3307
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3308
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3309
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3310
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3313
|
+
begin
|
|
3314
|
+
# SBTi cross-check
|
|
3315
|
+
result = api_instance.companies_sbti_crosscheck(id, opts)
|
|
3316
|
+
p result
|
|
3317
|
+
rescue PharmaObservatory::ApiError => e
|
|
3318
|
+
puts "Error when calling CompaniesApi->companies_sbti_crosscheck: #{e}"
|
|
3319
|
+
end
|
|
3320
|
+
```
|
|
3321
|
+
|
|
3322
|
+
#### Using the companies_sbti_crosscheck_with_http_info variant
|
|
3323
|
+
|
|
3324
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3325
|
+
|
|
3326
|
+
> <Array(<SbtiCrosscheckResponse>, Integer, Hash)> companies_sbti_crosscheck_with_http_info(id, opts)
|
|
3327
|
+
|
|
3328
|
+
```ruby
|
|
3329
|
+
begin
|
|
3330
|
+
# SBTi cross-check
|
|
3331
|
+
data, status_code, headers = api_instance.companies_sbti_crosscheck_with_http_info(id, opts)
|
|
3332
|
+
p status_code # => 2xx
|
|
3333
|
+
p headers # => { ... }
|
|
3334
|
+
p data # => <SbtiCrosscheckResponse>
|
|
893
3335
|
rescue PharmaObservatory::ApiError => e
|
|
894
|
-
puts "Error when calling CompaniesApi->
|
|
3336
|
+
puts "Error when calling CompaniesApi->companies_sbti_crosscheck_with_http_info: #{e}"
|
|
895
3337
|
end
|
|
896
3338
|
```
|
|
897
3339
|
|
|
@@ -909,7 +3351,7 @@ end
|
|
|
909
3351
|
|
|
910
3352
|
### Return type
|
|
911
3353
|
|
|
912
|
-
[**
|
|
3354
|
+
[**SbtiCrosscheckResponse**](SbtiCrosscheckResponse.md)
|
|
913
3355
|
|
|
914
3356
|
### Authorization
|
|
915
3357
|
|
|
@@ -921,11 +3363,11 @@ end
|
|
|
921
3363
|
- **Accept**: application/json
|
|
922
3364
|
|
|
923
3365
|
|
|
924
|
-
##
|
|
3366
|
+
## companies_sec_pdufa_dates
|
|
925
3367
|
|
|
926
|
-
> <
|
|
3368
|
+
> <SecPdufaDatesResponse> companies_sec_pdufa_dates(id, opts)
|
|
927
3369
|
|
|
928
|
-
|
|
3370
|
+
FDA dates disclosed in SEC filings
|
|
929
3371
|
|
|
930
3372
|
### Examples
|
|
931
3373
|
|
|
@@ -940,31 +3382,39 @@ end
|
|
|
940
3382
|
|
|
941
3383
|
api_instance = PharmaObservatory::CompaniesApi.new
|
|
942
3384
|
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3385
|
+
opts = {
|
|
3386
|
+
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.
|
|
3387
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3388
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3389
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3390
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3391
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3392
|
+
}
|
|
943
3393
|
|
|
944
3394
|
begin
|
|
945
|
-
#
|
|
946
|
-
result = api_instance.
|
|
3395
|
+
# FDA dates disclosed in SEC filings
|
|
3396
|
+
result = api_instance.companies_sec_pdufa_dates(id, opts)
|
|
947
3397
|
p result
|
|
948
3398
|
rescue PharmaObservatory::ApiError => e
|
|
949
|
-
puts "Error when calling CompaniesApi->
|
|
3399
|
+
puts "Error when calling CompaniesApi->companies_sec_pdufa_dates: #{e}"
|
|
950
3400
|
end
|
|
951
3401
|
```
|
|
952
3402
|
|
|
953
|
-
#### Using the
|
|
3403
|
+
#### Using the companies_sec_pdufa_dates_with_http_info variant
|
|
954
3404
|
|
|
955
3405
|
This returns an Array which contains the response data, status code and headers.
|
|
956
3406
|
|
|
957
|
-
> <Array(<
|
|
3407
|
+
> <Array(<SecPdufaDatesResponse>, Integer, Hash)> companies_sec_pdufa_dates_with_http_info(id, opts)
|
|
958
3408
|
|
|
959
3409
|
```ruby
|
|
960
3410
|
begin
|
|
961
|
-
#
|
|
962
|
-
data, status_code, headers = api_instance.
|
|
3411
|
+
# FDA dates disclosed in SEC filings
|
|
3412
|
+
data, status_code, headers = api_instance.companies_sec_pdufa_dates_with_http_info(id, opts)
|
|
963
3413
|
p status_code # => 2xx
|
|
964
3414
|
p headers # => { ... }
|
|
965
|
-
p data # => <
|
|
3415
|
+
p data # => <SecPdufaDatesResponse>
|
|
966
3416
|
rescue PharmaObservatory::ApiError => e
|
|
967
|
-
puts "Error when calling CompaniesApi->
|
|
3417
|
+
puts "Error when calling CompaniesApi->companies_sec_pdufa_dates_with_http_info: #{e}"
|
|
968
3418
|
end
|
|
969
3419
|
```
|
|
970
3420
|
|
|
@@ -973,10 +3423,16 @@ end
|
|
|
973
3423
|
| Name | Type | Description | Notes |
|
|
974
3424
|
| ---- | ---- | ----------- | ----- |
|
|
975
3425
|
| **id** | **String** | | |
|
|
3426
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3427
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3428
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3429
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3430
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3431
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
976
3432
|
|
|
977
3433
|
### Return type
|
|
978
3434
|
|
|
979
|
-
[**
|
|
3435
|
+
[**SecPdufaDatesResponse**](SecPdufaDatesResponse.md)
|
|
980
3436
|
|
|
981
3437
|
### Authorization
|
|
982
3438
|
|
|
@@ -988,11 +3444,11 @@ end
|
|
|
988
3444
|
- **Accept**: application/json
|
|
989
3445
|
|
|
990
3446
|
|
|
991
|
-
##
|
|
3447
|
+
## companies_sponsor_delivery
|
|
992
3448
|
|
|
993
|
-
> <
|
|
3449
|
+
> <SponsorDeliveryResponse> companies_sponsor_delivery(id, opts)
|
|
994
3450
|
|
|
995
|
-
|
|
3451
|
+
Sponsor delivery reliability
|
|
996
3452
|
|
|
997
3453
|
### Examples
|
|
998
3454
|
|
|
@@ -1017,29 +3473,29 @@ opts = {
|
|
|
1017
3473
|
}
|
|
1018
3474
|
|
|
1019
3475
|
begin
|
|
1020
|
-
#
|
|
1021
|
-
result = api_instance.
|
|
3476
|
+
# Sponsor delivery reliability
|
|
3477
|
+
result = api_instance.companies_sponsor_delivery(id, opts)
|
|
1022
3478
|
p result
|
|
1023
3479
|
rescue PharmaObservatory::ApiError => e
|
|
1024
|
-
puts "Error when calling CompaniesApi->
|
|
3480
|
+
puts "Error when calling CompaniesApi->companies_sponsor_delivery: #{e}"
|
|
1025
3481
|
end
|
|
1026
3482
|
```
|
|
1027
3483
|
|
|
1028
|
-
#### Using the
|
|
3484
|
+
#### Using the companies_sponsor_delivery_with_http_info variant
|
|
1029
3485
|
|
|
1030
3486
|
This returns an Array which contains the response data, status code and headers.
|
|
1031
3487
|
|
|
1032
|
-
> <Array(<
|
|
3488
|
+
> <Array(<SponsorDeliveryResponse>, Integer, Hash)> companies_sponsor_delivery_with_http_info(id, opts)
|
|
1033
3489
|
|
|
1034
3490
|
```ruby
|
|
1035
3491
|
begin
|
|
1036
|
-
#
|
|
1037
|
-
data, status_code, headers = api_instance.
|
|
3492
|
+
# Sponsor delivery reliability
|
|
3493
|
+
data, status_code, headers = api_instance.companies_sponsor_delivery_with_http_info(id, opts)
|
|
1038
3494
|
p status_code # => 2xx
|
|
1039
3495
|
p headers # => { ... }
|
|
1040
|
-
p data # => <
|
|
3496
|
+
p data # => <SponsorDeliveryResponse>
|
|
1041
3497
|
rescue PharmaObservatory::ApiError => e
|
|
1042
|
-
puts "Error when calling CompaniesApi->
|
|
3498
|
+
puts "Error when calling CompaniesApi->companies_sponsor_delivery_with_http_info: #{e}"
|
|
1043
3499
|
end
|
|
1044
3500
|
```
|
|
1045
3501
|
|
|
@@ -1057,7 +3513,7 @@ end
|
|
|
1057
3513
|
|
|
1058
3514
|
### Return type
|
|
1059
3515
|
|
|
1060
|
-
[**
|
|
3516
|
+
[**SponsorDeliveryResponse**](SponsorDeliveryResponse.md)
|
|
1061
3517
|
|
|
1062
3518
|
### Authorization
|
|
1063
3519
|
|
|
@@ -1069,11 +3525,11 @@ end
|
|
|
1069
3525
|
- **Accept**: application/json
|
|
1070
3526
|
|
|
1071
3527
|
|
|
1072
|
-
##
|
|
3528
|
+
## companies_sponsor_patent_mentions
|
|
1073
3529
|
|
|
1074
|
-
> <
|
|
3530
|
+
> <SponsorPatentMentionsResponse> companies_sponsor_patent_mentions(id, opts)
|
|
1075
3531
|
|
|
1076
|
-
|
|
3532
|
+
Sponsor patent mentions
|
|
1077
3533
|
|
|
1078
3534
|
### Examples
|
|
1079
3535
|
|
|
@@ -1098,29 +3554,29 @@ opts = {
|
|
|
1098
3554
|
}
|
|
1099
3555
|
|
|
1100
3556
|
begin
|
|
1101
|
-
#
|
|
1102
|
-
result = api_instance.
|
|
3557
|
+
# Sponsor patent mentions
|
|
3558
|
+
result = api_instance.companies_sponsor_patent_mentions(id, opts)
|
|
1103
3559
|
p result
|
|
1104
3560
|
rescue PharmaObservatory::ApiError => e
|
|
1105
|
-
puts "Error when calling CompaniesApi->
|
|
3561
|
+
puts "Error when calling CompaniesApi->companies_sponsor_patent_mentions: #{e}"
|
|
1106
3562
|
end
|
|
1107
3563
|
```
|
|
1108
3564
|
|
|
1109
|
-
#### Using the
|
|
3565
|
+
#### Using the companies_sponsor_patent_mentions_with_http_info variant
|
|
1110
3566
|
|
|
1111
3567
|
This returns an Array which contains the response data, status code and headers.
|
|
1112
3568
|
|
|
1113
|
-
> <Array(<
|
|
3569
|
+
> <Array(<SponsorPatentMentionsResponse>, Integer, Hash)> companies_sponsor_patent_mentions_with_http_info(id, opts)
|
|
1114
3570
|
|
|
1115
3571
|
```ruby
|
|
1116
3572
|
begin
|
|
1117
|
-
#
|
|
1118
|
-
data, status_code, headers = api_instance.
|
|
3573
|
+
# Sponsor patent mentions
|
|
3574
|
+
data, status_code, headers = api_instance.companies_sponsor_patent_mentions_with_http_info(id, opts)
|
|
1119
3575
|
p status_code # => 2xx
|
|
1120
3576
|
p headers # => { ... }
|
|
1121
|
-
p data # => <
|
|
3577
|
+
p data # => <SponsorPatentMentionsResponse>
|
|
1122
3578
|
rescue PharmaObservatory::ApiError => e
|
|
1123
|
-
puts "Error when calling CompaniesApi->
|
|
3579
|
+
puts "Error when calling CompaniesApi->companies_sponsor_patent_mentions_with_http_info: #{e}"
|
|
1124
3580
|
end
|
|
1125
3581
|
```
|
|
1126
3582
|
|
|
@@ -1138,7 +3594,7 @@ end
|
|
|
1138
3594
|
|
|
1139
3595
|
### Return type
|
|
1140
3596
|
|
|
1141
|
-
[**
|
|
3597
|
+
[**SponsorPatentMentionsResponse**](SponsorPatentMentionsResponse.md)
|
|
1142
3598
|
|
|
1143
3599
|
### Authorization
|
|
1144
3600
|
|
|
@@ -1150,11 +3606,11 @@ end
|
|
|
1150
3606
|
- **Accept**: application/json
|
|
1151
3607
|
|
|
1152
3608
|
|
|
1153
|
-
##
|
|
3609
|
+
## companies_sponsor_recruitment_by_phase
|
|
1154
3610
|
|
|
1155
|
-
> <
|
|
3611
|
+
> <SponsorRecruitmentByPhaseResponse> companies_sponsor_recruitment_by_phase(id, opts)
|
|
1156
3612
|
|
|
1157
|
-
|
|
3613
|
+
Trial recruitment duration by sponsor and phase
|
|
1158
3614
|
|
|
1159
3615
|
### Examples
|
|
1160
3616
|
|
|
@@ -1168,38 +3624,40 @@ PharmaObservatory.configure do |config|
|
|
|
1168
3624
|
end
|
|
1169
3625
|
|
|
1170
3626
|
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3627
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1171
3628
|
opts = {
|
|
1172
3629
|
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.
|
|
1173
3630
|
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1174
3631
|
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1175
3632
|
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1176
|
-
measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3633
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3634
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1177
3635
|
}
|
|
1178
3636
|
|
|
1179
3637
|
begin
|
|
1180
|
-
#
|
|
1181
|
-
result = api_instance.
|
|
3638
|
+
# Trial recruitment duration by sponsor and phase
|
|
3639
|
+
result = api_instance.companies_sponsor_recruitment_by_phase(id, opts)
|
|
1182
3640
|
p result
|
|
1183
3641
|
rescue PharmaObservatory::ApiError => e
|
|
1184
|
-
puts "Error when calling CompaniesApi->
|
|
3642
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_by_phase: #{e}"
|
|
1185
3643
|
end
|
|
1186
3644
|
```
|
|
1187
3645
|
|
|
1188
|
-
#### Using the
|
|
3646
|
+
#### Using the companies_sponsor_recruitment_by_phase_with_http_info variant
|
|
1189
3647
|
|
|
1190
3648
|
This returns an Array which contains the response data, status code and headers.
|
|
1191
3649
|
|
|
1192
|
-
> <Array(<
|
|
3650
|
+
> <Array(<SponsorRecruitmentByPhaseResponse>, Integer, Hash)> companies_sponsor_recruitment_by_phase_with_http_info(id, opts)
|
|
1193
3651
|
|
|
1194
3652
|
```ruby
|
|
1195
3653
|
begin
|
|
1196
|
-
#
|
|
1197
|
-
data, status_code, headers = api_instance.
|
|
3654
|
+
# Trial recruitment duration by sponsor and phase
|
|
3655
|
+
data, status_code, headers = api_instance.companies_sponsor_recruitment_by_phase_with_http_info(id, opts)
|
|
1198
3656
|
p status_code # => 2xx
|
|
1199
3657
|
p headers # => { ... }
|
|
1200
|
-
p data # => <
|
|
3658
|
+
p data # => <SponsorRecruitmentByPhaseResponse>
|
|
1201
3659
|
rescue PharmaObservatory::ApiError => e
|
|
1202
|
-
puts "Error when calling CompaniesApi->
|
|
3660
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_by_phase_with_http_info: #{e}"
|
|
1203
3661
|
end
|
|
1204
3662
|
```
|
|
1205
3663
|
|
|
@@ -1207,15 +3665,17 @@ end
|
|
|
1207
3665
|
|
|
1208
3666
|
| Name | Type | Description | Notes |
|
|
1209
3667
|
| ---- | ---- | ----------- | ----- |
|
|
3668
|
+
| **id** | **String** | | |
|
|
1210
3669
|
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1211
3670
|
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1212
3671
|
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1213
3672
|
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1214
3673
|
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3674
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1215
3675
|
|
|
1216
3676
|
### Return type
|
|
1217
3677
|
|
|
1218
|
-
[**
|
|
3678
|
+
[**SponsorRecruitmentByPhaseResponse**](SponsorRecruitmentByPhaseResponse.md)
|
|
1219
3679
|
|
|
1220
3680
|
### Authorization
|
|
1221
3681
|
|
|
@@ -1227,11 +3687,11 @@ end
|
|
|
1227
3687
|
- **Accept**: application/json
|
|
1228
3688
|
|
|
1229
3689
|
|
|
1230
|
-
##
|
|
3690
|
+
## companies_sponsor_recruitment_duration
|
|
1231
3691
|
|
|
1232
|
-
> <
|
|
3692
|
+
> <SponsorRecruitmentDurationResponse> companies_sponsor_recruitment_duration(id, opts)
|
|
1233
3693
|
|
|
1234
|
-
|
|
3694
|
+
Trial recruitment duration by sponsor
|
|
1235
3695
|
|
|
1236
3696
|
### Examples
|
|
1237
3697
|
|
|
@@ -1256,29 +3716,29 @@ opts = {
|
|
|
1256
3716
|
}
|
|
1257
3717
|
|
|
1258
3718
|
begin
|
|
1259
|
-
#
|
|
1260
|
-
result = api_instance.
|
|
3719
|
+
# Trial recruitment duration by sponsor
|
|
3720
|
+
result = api_instance.companies_sponsor_recruitment_duration(id, opts)
|
|
1261
3721
|
p result
|
|
1262
3722
|
rescue PharmaObservatory::ApiError => e
|
|
1263
|
-
puts "Error when calling CompaniesApi->
|
|
3723
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_duration: #{e}"
|
|
1264
3724
|
end
|
|
1265
3725
|
```
|
|
1266
3726
|
|
|
1267
|
-
#### Using the
|
|
3727
|
+
#### Using the companies_sponsor_recruitment_duration_with_http_info variant
|
|
1268
3728
|
|
|
1269
3729
|
This returns an Array which contains the response data, status code and headers.
|
|
1270
3730
|
|
|
1271
|
-
> <Array(<
|
|
3731
|
+
> <Array(<SponsorRecruitmentDurationResponse>, Integer, Hash)> companies_sponsor_recruitment_duration_with_http_info(id, opts)
|
|
1272
3732
|
|
|
1273
3733
|
```ruby
|
|
1274
3734
|
begin
|
|
1275
|
-
#
|
|
1276
|
-
data, status_code, headers = api_instance.
|
|
3735
|
+
# Trial recruitment duration by sponsor
|
|
3736
|
+
data, status_code, headers = api_instance.companies_sponsor_recruitment_duration_with_http_info(id, opts)
|
|
1277
3737
|
p status_code # => 2xx
|
|
1278
3738
|
p headers # => { ... }
|
|
1279
|
-
p data # => <
|
|
3739
|
+
p data # => <SponsorRecruitmentDurationResponse>
|
|
1280
3740
|
rescue PharmaObservatory::ApiError => e
|
|
1281
|
-
puts "Error when calling CompaniesApi->
|
|
3741
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_duration_with_http_info: #{e}"
|
|
1282
3742
|
end
|
|
1283
3743
|
```
|
|
1284
3744
|
|
|
@@ -1296,7 +3756,7 @@ end
|
|
|
1296
3756
|
|
|
1297
3757
|
### Return type
|
|
1298
3758
|
|
|
1299
|
-
[**
|
|
3759
|
+
[**SponsorRecruitmentDurationResponse**](SponsorRecruitmentDurationResponse.md)
|
|
1300
3760
|
|
|
1301
3761
|
### Authorization
|
|
1302
3762
|
|
|
@@ -1308,11 +3768,11 @@ end
|
|
|
1308
3768
|
- **Accept**: application/json
|
|
1309
3769
|
|
|
1310
3770
|
|
|
1311
|
-
##
|
|
3771
|
+
## companies_sponsor_trial_conditions
|
|
1312
3772
|
|
|
1313
|
-
> <
|
|
3773
|
+
> <SponsorTrialConditionsResponse> companies_sponsor_trial_conditions(id, opts)
|
|
1314
3774
|
|
|
1315
|
-
|
|
3775
|
+
Sponsor trial conditions
|
|
1316
3776
|
|
|
1317
3777
|
### Examples
|
|
1318
3778
|
|
|
@@ -1337,29 +3797,29 @@ opts = {
|
|
|
1337
3797
|
}
|
|
1338
3798
|
|
|
1339
3799
|
begin
|
|
1340
|
-
#
|
|
1341
|
-
result = api_instance.
|
|
3800
|
+
# Sponsor trial conditions
|
|
3801
|
+
result = api_instance.companies_sponsor_trial_conditions(id, opts)
|
|
1342
3802
|
p result
|
|
1343
3803
|
rescue PharmaObservatory::ApiError => e
|
|
1344
|
-
puts "Error when calling CompaniesApi->
|
|
3804
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_conditions: #{e}"
|
|
1345
3805
|
end
|
|
1346
3806
|
```
|
|
1347
3807
|
|
|
1348
|
-
#### Using the
|
|
3808
|
+
#### Using the companies_sponsor_trial_conditions_with_http_info variant
|
|
1349
3809
|
|
|
1350
3810
|
This returns an Array which contains the response data, status code and headers.
|
|
1351
3811
|
|
|
1352
|
-
> <Array(<
|
|
3812
|
+
> <Array(<SponsorTrialConditionsResponse>, Integer, Hash)> companies_sponsor_trial_conditions_with_http_info(id, opts)
|
|
1353
3813
|
|
|
1354
3814
|
```ruby
|
|
1355
3815
|
begin
|
|
1356
|
-
#
|
|
1357
|
-
data, status_code, headers = api_instance.
|
|
3816
|
+
# Sponsor trial conditions
|
|
3817
|
+
data, status_code, headers = api_instance.companies_sponsor_trial_conditions_with_http_info(id, opts)
|
|
1358
3818
|
p status_code # => 2xx
|
|
1359
3819
|
p headers # => { ... }
|
|
1360
|
-
p data # => <
|
|
3820
|
+
p data # => <SponsorTrialConditionsResponse>
|
|
1361
3821
|
rescue PharmaObservatory::ApiError => e
|
|
1362
|
-
puts "Error when calling CompaniesApi->
|
|
3822
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_conditions_with_http_info: #{e}"
|
|
1363
3823
|
end
|
|
1364
3824
|
```
|
|
1365
3825
|
|
|
@@ -1377,7 +3837,7 @@ end
|
|
|
1377
3837
|
|
|
1378
3838
|
### Return type
|
|
1379
3839
|
|
|
1380
|
-
[**
|
|
3840
|
+
[**SponsorTrialConditionsResponse**](SponsorTrialConditionsResponse.md)
|
|
1381
3841
|
|
|
1382
3842
|
### Authorization
|
|
1383
3843
|
|
|
@@ -1389,11 +3849,11 @@ end
|
|
|
1389
3849
|
- **Accept**: application/json
|
|
1390
3850
|
|
|
1391
3851
|
|
|
1392
|
-
##
|
|
3852
|
+
## companies_sponsor_trial_drugs
|
|
1393
3853
|
|
|
1394
|
-
> <
|
|
3854
|
+
> <SponsorTrialDrugsResponse> companies_sponsor_trial_drugs(id, opts)
|
|
1395
3855
|
|
|
1396
|
-
|
|
3856
|
+
Sponsor trial drugs
|
|
1397
3857
|
|
|
1398
3858
|
### Examples
|
|
1399
3859
|
|
|
@@ -1418,29 +3878,29 @@ opts = {
|
|
|
1418
3878
|
}
|
|
1419
3879
|
|
|
1420
3880
|
begin
|
|
1421
|
-
#
|
|
1422
|
-
result = api_instance.
|
|
3881
|
+
# Sponsor trial drugs
|
|
3882
|
+
result = api_instance.companies_sponsor_trial_drugs(id, opts)
|
|
1423
3883
|
p result
|
|
1424
3884
|
rescue PharmaObservatory::ApiError => e
|
|
1425
|
-
puts "Error when calling CompaniesApi->
|
|
3885
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_drugs: #{e}"
|
|
1426
3886
|
end
|
|
1427
3887
|
```
|
|
1428
3888
|
|
|
1429
|
-
#### Using the
|
|
3889
|
+
#### Using the companies_sponsor_trial_drugs_with_http_info variant
|
|
1430
3890
|
|
|
1431
3891
|
This returns an Array which contains the response data, status code and headers.
|
|
1432
3892
|
|
|
1433
|
-
> <Array(<
|
|
3893
|
+
> <Array(<SponsorTrialDrugsResponse>, Integer, Hash)> companies_sponsor_trial_drugs_with_http_info(id, opts)
|
|
1434
3894
|
|
|
1435
3895
|
```ruby
|
|
1436
3896
|
begin
|
|
1437
|
-
#
|
|
1438
|
-
data, status_code, headers = api_instance.
|
|
3897
|
+
# Sponsor trial drugs
|
|
3898
|
+
data, status_code, headers = api_instance.companies_sponsor_trial_drugs_with_http_info(id, opts)
|
|
1439
3899
|
p status_code # => 2xx
|
|
1440
3900
|
p headers # => { ... }
|
|
1441
|
-
p data # => <
|
|
3901
|
+
p data # => <SponsorTrialDrugsResponse>
|
|
1442
3902
|
rescue PharmaObservatory::ApiError => e
|
|
1443
|
-
puts "Error when calling CompaniesApi->
|
|
3903
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_drugs_with_http_info: #{e}"
|
|
1444
3904
|
end
|
|
1445
3905
|
```
|
|
1446
3906
|
|
|
@@ -1458,7 +3918,7 @@ end
|
|
|
1458
3918
|
|
|
1459
3919
|
### Return type
|
|
1460
3920
|
|
|
1461
|
-
[**
|
|
3921
|
+
[**SponsorTrialDrugsResponse**](SponsorTrialDrugsResponse.md)
|
|
1462
3922
|
|
|
1463
3923
|
### Authorization
|
|
1464
3924
|
|
|
@@ -1470,11 +3930,11 @@ end
|
|
|
1470
3930
|
- **Accept**: application/json
|
|
1471
3931
|
|
|
1472
3932
|
|
|
1473
|
-
##
|
|
3933
|
+
## companies_sponsor_trial_start_forecast
|
|
1474
3934
|
|
|
1475
|
-
> <
|
|
3935
|
+
> <SponsorTrialStartForecastResponse> companies_sponsor_trial_start_forecast(id, opts)
|
|
1476
3936
|
|
|
1477
|
-
|
|
3937
|
+
Trial-start forecast by sponsor
|
|
1478
3938
|
|
|
1479
3939
|
### Examples
|
|
1480
3940
|
|
|
@@ -1499,29 +3959,29 @@ opts = {
|
|
|
1499
3959
|
}
|
|
1500
3960
|
|
|
1501
3961
|
begin
|
|
1502
|
-
#
|
|
1503
|
-
result = api_instance.
|
|
3962
|
+
# Trial-start forecast by sponsor
|
|
3963
|
+
result = api_instance.companies_sponsor_trial_start_forecast(id, opts)
|
|
1504
3964
|
p result
|
|
1505
3965
|
rescue PharmaObservatory::ApiError => e
|
|
1506
|
-
puts "Error when calling CompaniesApi->
|
|
3966
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_start_forecast: #{e}"
|
|
1507
3967
|
end
|
|
1508
3968
|
```
|
|
1509
3969
|
|
|
1510
|
-
#### Using the
|
|
3970
|
+
#### Using the companies_sponsor_trial_start_forecast_with_http_info variant
|
|
1511
3971
|
|
|
1512
3972
|
This returns an Array which contains the response data, status code and headers.
|
|
1513
3973
|
|
|
1514
|
-
> <Array(<
|
|
3974
|
+
> <Array(<SponsorTrialStartForecastResponse>, Integer, Hash)> companies_sponsor_trial_start_forecast_with_http_info(id, opts)
|
|
1515
3975
|
|
|
1516
3976
|
```ruby
|
|
1517
3977
|
begin
|
|
1518
|
-
#
|
|
1519
|
-
data, status_code, headers = api_instance.
|
|
3978
|
+
# Trial-start forecast by sponsor
|
|
3979
|
+
data, status_code, headers = api_instance.companies_sponsor_trial_start_forecast_with_http_info(id, opts)
|
|
1520
3980
|
p status_code # => 2xx
|
|
1521
3981
|
p headers # => { ... }
|
|
1522
|
-
p data # => <
|
|
3982
|
+
p data # => <SponsorTrialStartForecastResponse>
|
|
1523
3983
|
rescue PharmaObservatory::ApiError => e
|
|
1524
|
-
puts "Error when calling CompaniesApi->
|
|
3984
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_start_forecast_with_http_info: #{e}"
|
|
1525
3985
|
end
|
|
1526
3986
|
```
|
|
1527
3987
|
|
|
@@ -1539,7 +3999,7 @@ end
|
|
|
1539
3999
|
|
|
1540
4000
|
### Return type
|
|
1541
4001
|
|
|
1542
|
-
[**
|
|
4002
|
+
[**SponsorTrialStartForecastResponse**](SponsorTrialStartForecastResponse.md)
|
|
1543
4003
|
|
|
1544
4004
|
### Authorization
|
|
1545
4005
|
|
|
@@ -1551,11 +4011,11 @@ end
|
|
|
1551
4011
|
- **Accept**: application/json
|
|
1552
4012
|
|
|
1553
4013
|
|
|
1554
|
-
##
|
|
4014
|
+
## companies_sponsor_trials
|
|
1555
4015
|
|
|
1556
|
-
> <
|
|
4016
|
+
> <SponsorTrialsResponse> companies_sponsor_trials(id, opts)
|
|
1557
4017
|
|
|
1558
|
-
|
|
4018
|
+
Sponsor trials
|
|
1559
4019
|
|
|
1560
4020
|
### Examples
|
|
1561
4021
|
|
|
@@ -1580,29 +4040,29 @@ opts = {
|
|
|
1580
4040
|
}
|
|
1581
4041
|
|
|
1582
4042
|
begin
|
|
1583
|
-
#
|
|
1584
|
-
result = api_instance.
|
|
4043
|
+
# Sponsor trials
|
|
4044
|
+
result = api_instance.companies_sponsor_trials(id, opts)
|
|
1585
4045
|
p result
|
|
1586
4046
|
rescue PharmaObservatory::ApiError => e
|
|
1587
|
-
puts "Error when calling CompaniesApi->
|
|
4047
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trials: #{e}"
|
|
1588
4048
|
end
|
|
1589
4049
|
```
|
|
1590
4050
|
|
|
1591
|
-
#### Using the
|
|
4051
|
+
#### Using the companies_sponsor_trials_with_http_info variant
|
|
1592
4052
|
|
|
1593
4053
|
This returns an Array which contains the response data, status code and headers.
|
|
1594
4054
|
|
|
1595
|
-
> <Array(<
|
|
4055
|
+
> <Array(<SponsorTrialsResponse>, Integer, Hash)> companies_sponsor_trials_with_http_info(id, opts)
|
|
1596
4056
|
|
|
1597
4057
|
```ruby
|
|
1598
4058
|
begin
|
|
1599
|
-
#
|
|
1600
|
-
data, status_code, headers = api_instance.
|
|
4059
|
+
# Sponsor trials
|
|
4060
|
+
data, status_code, headers = api_instance.companies_sponsor_trials_with_http_info(id, opts)
|
|
1601
4061
|
p status_code # => 2xx
|
|
1602
4062
|
p headers # => { ... }
|
|
1603
|
-
p data # => <
|
|
4063
|
+
p data # => <SponsorTrialsResponse>
|
|
1604
4064
|
rescue PharmaObservatory::ApiError => e
|
|
1605
|
-
puts "Error when calling CompaniesApi->
|
|
4065
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trials_with_http_info: #{e}"
|
|
1606
4066
|
end
|
|
1607
4067
|
```
|
|
1608
4068
|
|
|
@@ -1620,7 +4080,7 @@ end
|
|
|
1620
4080
|
|
|
1621
4081
|
### Return type
|
|
1622
4082
|
|
|
1623
|
-
[**
|
|
4083
|
+
[**SponsorTrialsResponse**](SponsorTrialsResponse.md)
|
|
1624
4084
|
|
|
1625
4085
|
### Authorization
|
|
1626
4086
|
|
|
@@ -1632,11 +4092,11 @@ end
|
|
|
1632
4092
|
- **Accept**: application/json
|
|
1633
4093
|
|
|
1634
4094
|
|
|
1635
|
-
##
|
|
4095
|
+
## companies_supplier_capability_esg
|
|
1636
4096
|
|
|
1637
|
-
> <
|
|
4097
|
+
> <SupplierCapabilityEsgResponse> companies_supplier_capability_esg(id, opts)
|
|
1638
4098
|
|
|
1639
|
-
|
|
4099
|
+
Supplier capability and ESG disclosure
|
|
1640
4100
|
|
|
1641
4101
|
### Examples
|
|
1642
4102
|
|
|
@@ -1661,29 +4121,29 @@ opts = {
|
|
|
1661
4121
|
}
|
|
1662
4122
|
|
|
1663
4123
|
begin
|
|
1664
|
-
#
|
|
1665
|
-
result = api_instance.
|
|
4124
|
+
# Supplier capability and ESG disclosure
|
|
4125
|
+
result = api_instance.companies_supplier_capability_esg(id, opts)
|
|
1666
4126
|
p result
|
|
1667
4127
|
rescue PharmaObservatory::ApiError => e
|
|
1668
|
-
puts "Error when calling CompaniesApi->
|
|
4128
|
+
puts "Error when calling CompaniesApi->companies_supplier_capability_esg: #{e}"
|
|
1669
4129
|
end
|
|
1670
4130
|
```
|
|
1671
4131
|
|
|
1672
|
-
#### Using the
|
|
4132
|
+
#### Using the companies_supplier_capability_esg_with_http_info variant
|
|
1673
4133
|
|
|
1674
4134
|
This returns an Array which contains the response data, status code and headers.
|
|
1675
4135
|
|
|
1676
|
-
> <Array(<
|
|
4136
|
+
> <Array(<SupplierCapabilityEsgResponse>, Integer, Hash)> companies_supplier_capability_esg_with_http_info(id, opts)
|
|
1677
4137
|
|
|
1678
4138
|
```ruby
|
|
1679
4139
|
begin
|
|
1680
|
-
#
|
|
1681
|
-
data, status_code, headers = api_instance.
|
|
4140
|
+
# Supplier capability and ESG disclosure
|
|
4141
|
+
data, status_code, headers = api_instance.companies_supplier_capability_esg_with_http_info(id, opts)
|
|
1682
4142
|
p status_code # => 2xx
|
|
1683
4143
|
p headers # => { ... }
|
|
1684
|
-
p data # => <
|
|
4144
|
+
p data # => <SupplierCapabilityEsgResponse>
|
|
1685
4145
|
rescue PharmaObservatory::ApiError => e
|
|
1686
|
-
puts "Error when calling CompaniesApi->
|
|
4146
|
+
puts "Error when calling CompaniesApi->companies_supplier_capability_esg_with_http_info: #{e}"
|
|
1687
4147
|
end
|
|
1688
4148
|
```
|
|
1689
4149
|
|
|
@@ -1701,7 +4161,7 @@ end
|
|
|
1701
4161
|
|
|
1702
4162
|
### Return type
|
|
1703
4163
|
|
|
1704
|
-
[**
|
|
4164
|
+
[**SupplierCapabilityEsgResponse**](SupplierCapabilityEsgResponse.md)
|
|
1705
4165
|
|
|
1706
4166
|
### Authorization
|
|
1707
4167
|
|
|
@@ -1713,11 +4173,11 @@ end
|
|
|
1713
4173
|
- **Accept**: application/json
|
|
1714
4174
|
|
|
1715
4175
|
|
|
1716
|
-
##
|
|
4176
|
+
## companies_unmatched_product_revenue
|
|
1717
4177
|
|
|
1718
|
-
> <
|
|
4178
|
+
> <UnmatchedProductRevenueResponse> companies_unmatched_product_revenue(id, opts)
|
|
1719
4179
|
|
|
1720
|
-
|
|
4180
|
+
Unmatched product revenue
|
|
1721
4181
|
|
|
1722
4182
|
### Examples
|
|
1723
4183
|
|
|
@@ -1742,29 +4202,29 @@ opts = {
|
|
|
1742
4202
|
}
|
|
1743
4203
|
|
|
1744
4204
|
begin
|
|
1745
|
-
#
|
|
1746
|
-
result = api_instance.
|
|
4205
|
+
# Unmatched product revenue
|
|
4206
|
+
result = api_instance.companies_unmatched_product_revenue(id, opts)
|
|
1747
4207
|
p result
|
|
1748
4208
|
rescue PharmaObservatory::ApiError => e
|
|
1749
|
-
puts "Error when calling CompaniesApi->
|
|
4209
|
+
puts "Error when calling CompaniesApi->companies_unmatched_product_revenue: #{e}"
|
|
1750
4210
|
end
|
|
1751
4211
|
```
|
|
1752
4212
|
|
|
1753
|
-
#### Using the
|
|
4213
|
+
#### Using the companies_unmatched_product_revenue_with_http_info variant
|
|
1754
4214
|
|
|
1755
4215
|
This returns an Array which contains the response data, status code and headers.
|
|
1756
4216
|
|
|
1757
|
-
> <Array(<
|
|
4217
|
+
> <Array(<UnmatchedProductRevenueResponse>, Integer, Hash)> companies_unmatched_product_revenue_with_http_info(id, opts)
|
|
1758
4218
|
|
|
1759
4219
|
```ruby
|
|
1760
4220
|
begin
|
|
1761
|
-
#
|
|
1762
|
-
data, status_code, headers = api_instance.
|
|
4221
|
+
# Unmatched product revenue
|
|
4222
|
+
data, status_code, headers = api_instance.companies_unmatched_product_revenue_with_http_info(id, opts)
|
|
1763
4223
|
p status_code # => 2xx
|
|
1764
4224
|
p headers # => { ... }
|
|
1765
|
-
p data # => <
|
|
4225
|
+
p data # => <UnmatchedProductRevenueResponse>
|
|
1766
4226
|
rescue PharmaObservatory::ApiError => e
|
|
1767
|
-
puts "Error when calling CompaniesApi->
|
|
4227
|
+
puts "Error when calling CompaniesApi->companies_unmatched_product_revenue_with_http_info: #{e}"
|
|
1768
4228
|
end
|
|
1769
4229
|
```
|
|
1770
4230
|
|
|
@@ -1782,7 +4242,7 @@ end
|
|
|
1782
4242
|
|
|
1783
4243
|
### Return type
|
|
1784
4244
|
|
|
1785
|
-
[**
|
|
4245
|
+
[**UnmatchedProductRevenueResponse**](UnmatchedProductRevenueResponse.md)
|
|
1786
4246
|
|
|
1787
4247
|
### Authorization
|
|
1788
4248
|
|
|
@@ -1794,11 +4254,11 @@ end
|
|
|
1794
4254
|
- **Accept**: application/json
|
|
1795
4255
|
|
|
1796
4256
|
|
|
1797
|
-
##
|
|
4257
|
+
## companies_untitled_letters
|
|
1798
4258
|
|
|
1799
|
-
> <
|
|
4259
|
+
> <UntitledLettersResponse> companies_untitled_letters(id, opts)
|
|
1800
4260
|
|
|
1801
|
-
|
|
4261
|
+
FDA untitled letters
|
|
1802
4262
|
|
|
1803
4263
|
### Examples
|
|
1804
4264
|
|
|
@@ -1823,29 +4283,29 @@ opts = {
|
|
|
1823
4283
|
}
|
|
1824
4284
|
|
|
1825
4285
|
begin
|
|
1826
|
-
#
|
|
1827
|
-
result = api_instance.
|
|
4286
|
+
# FDA untitled letters
|
|
4287
|
+
result = api_instance.companies_untitled_letters(id, opts)
|
|
1828
4288
|
p result
|
|
1829
4289
|
rescue PharmaObservatory::ApiError => e
|
|
1830
|
-
puts "Error when calling CompaniesApi->
|
|
4290
|
+
puts "Error when calling CompaniesApi->companies_untitled_letters: #{e}"
|
|
1831
4291
|
end
|
|
1832
4292
|
```
|
|
1833
4293
|
|
|
1834
|
-
#### Using the
|
|
4294
|
+
#### Using the companies_untitled_letters_with_http_info variant
|
|
1835
4295
|
|
|
1836
4296
|
This returns an Array which contains the response data, status code and headers.
|
|
1837
4297
|
|
|
1838
|
-
> <Array(<
|
|
4298
|
+
> <Array(<UntitledLettersResponse>, Integer, Hash)> companies_untitled_letters_with_http_info(id, opts)
|
|
1839
4299
|
|
|
1840
4300
|
```ruby
|
|
1841
4301
|
begin
|
|
1842
|
-
#
|
|
1843
|
-
data, status_code, headers = api_instance.
|
|
4302
|
+
# FDA untitled letters
|
|
4303
|
+
data, status_code, headers = api_instance.companies_untitled_letters_with_http_info(id, opts)
|
|
1844
4304
|
p status_code # => 2xx
|
|
1845
4305
|
p headers # => { ... }
|
|
1846
|
-
p data # => <
|
|
4306
|
+
p data # => <UntitledLettersResponse>
|
|
1847
4307
|
rescue PharmaObservatory::ApiError => e
|
|
1848
|
-
puts "Error when calling CompaniesApi->
|
|
4308
|
+
puts "Error when calling CompaniesApi->companies_untitled_letters_with_http_info: #{e}"
|
|
1849
4309
|
end
|
|
1850
4310
|
```
|
|
1851
4311
|
|
|
@@ -1863,7 +4323,7 @@ end
|
|
|
1863
4323
|
|
|
1864
4324
|
### Return type
|
|
1865
4325
|
|
|
1866
|
-
[**
|
|
4326
|
+
[**UntitledLettersResponse**](UntitledLettersResponse.md)
|
|
1867
4327
|
|
|
1868
4328
|
### Authorization
|
|
1869
4329
|
|
|
@@ -1875,11 +4335,11 @@ end
|
|
|
1875
4335
|
- **Accept**: application/json
|
|
1876
4336
|
|
|
1877
4337
|
|
|
1878
|
-
##
|
|
4338
|
+
## companies_warning_letters
|
|
1879
4339
|
|
|
1880
|
-
> <
|
|
4340
|
+
> <WarningLettersResponse> companies_warning_letters(id, opts)
|
|
1881
4341
|
|
|
1882
|
-
|
|
4342
|
+
FDA warning letters
|
|
1883
4343
|
|
|
1884
4344
|
### Examples
|
|
1885
4345
|
|
|
@@ -1904,29 +4364,29 @@ opts = {
|
|
|
1904
4364
|
}
|
|
1905
4365
|
|
|
1906
4366
|
begin
|
|
1907
|
-
#
|
|
1908
|
-
result = api_instance.
|
|
4367
|
+
# FDA warning letters
|
|
4368
|
+
result = api_instance.companies_warning_letters(id, opts)
|
|
1909
4369
|
p result
|
|
1910
4370
|
rescue PharmaObservatory::ApiError => e
|
|
1911
|
-
puts "Error when calling CompaniesApi->
|
|
4371
|
+
puts "Error when calling CompaniesApi->companies_warning_letters: #{e}"
|
|
1912
4372
|
end
|
|
1913
4373
|
```
|
|
1914
4374
|
|
|
1915
|
-
#### Using the
|
|
4375
|
+
#### Using the companies_warning_letters_with_http_info variant
|
|
1916
4376
|
|
|
1917
4377
|
This returns an Array which contains the response data, status code and headers.
|
|
1918
4378
|
|
|
1919
|
-
> <Array(<
|
|
4379
|
+
> <Array(<WarningLettersResponse>, Integer, Hash)> companies_warning_letters_with_http_info(id, opts)
|
|
1920
4380
|
|
|
1921
4381
|
```ruby
|
|
1922
4382
|
begin
|
|
1923
|
-
#
|
|
1924
|
-
data, status_code, headers = api_instance.
|
|
4383
|
+
# FDA warning letters
|
|
4384
|
+
data, status_code, headers = api_instance.companies_warning_letters_with_http_info(id, opts)
|
|
1925
4385
|
p status_code # => 2xx
|
|
1926
4386
|
p headers # => { ... }
|
|
1927
|
-
p data # => <
|
|
4387
|
+
p data # => <WarningLettersResponse>
|
|
1928
4388
|
rescue PharmaObservatory::ApiError => e
|
|
1929
|
-
puts "Error when calling CompaniesApi->
|
|
4389
|
+
puts "Error when calling CompaniesApi->companies_warning_letters_with_http_info: #{e}"
|
|
1930
4390
|
end
|
|
1931
4391
|
```
|
|
1932
4392
|
|
|
@@ -1944,7 +4404,7 @@ end
|
|
|
1944
4404
|
|
|
1945
4405
|
### Return type
|
|
1946
4406
|
|
|
1947
|
-
[**
|
|
4407
|
+
[**WarningLettersResponse**](WarningLettersResponse.md)
|
|
1948
4408
|
|
|
1949
4409
|
### Authorization
|
|
1950
4410
|
|