pharmaobservatory 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +269 -4
- 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 +1675 -117
- data/docs/CompaniesRecordAttributes.md +3 -1
- data/docs/CompanyFundingEventsRow.md +2 -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 +152 -0
- data/docs/HospitalBedsYearlyResponse.md +58 -0
- data/docs/HospitalBedsYearlyRow.md +28 -0
- data/docs/HospitalFacilityChangesResponse.md +58 -0
- data/docs/HospitalFacilityChangesRow.md +30 -0
- data/docs/HospitalsApi.md +393 -0
- data/docs/HospitalsRecord.md +38 -0
- data/docs/HospitalsResponse.md +58 -0
- data/docs/HospitalsRow.md +40 -0
- data/docs/ImportRefusalsResponse.md +58 -0
- data/docs/ImportRefusalsRow.md +60 -0
- data/docs/InspectionFindingsResponse.md +58 -0
- data/docs/InspectionFindingsRow.md +48 -0
- data/docs/InspectionsResponse.md +58 -0
- data/docs/InspectionsRow.md +60 -0
- data/docs/InstitutionalQuarterTotalsResponse.md +58 -0
- data/docs/InstitutionalQuarterTotalsRow.md +58 -0
- data/docs/LegalEntitiesApi.md +1379 -179
- data/docs/LegalEntitiesRecordAttributes.md +2 -0
- data/docs/OrgRelationshipsRow.md +1 -1
- data/docs/OwnershipPercentagesResponse.md +58 -0
- data/docs/OwnershipPercentagesRow.md +74 -0
- data/docs/PdufaDatesRow.md +1 -1
- data/docs/ProgramLicensingCandidatesResponse.md +58 -0
- data/docs/ProgramLicensingCandidatesRow.md +58 -0
- data/docs/ProgramsResponse.md +58 -0
- data/docs/ProgramsRow.md +46 -0
- data/docs/RareDiseaseGenesResponse.md +58 -0
- data/docs/RareDiseaseGenesRow.md +50 -0
- data/docs/RareDiseaseHierarchyResponse.md +58 -0
- data/docs/RareDiseaseHierarchyRow.md +40 -0
- data/docs/RareDiseaseInvestigatorCoverageResponse.md +58 -0
- data/docs/RareDiseaseInvestigatorCoverageRow.md +38 -0
- data/docs/RareDiseaseInvestigatorsResponse.md +58 -0
- data/docs/RareDiseaseInvestigatorsRow.md +56 -0
- data/docs/RareDiseaseMappingsResponse.md +58 -0
- data/docs/RareDiseaseMappingsRow.md +44 -0
- data/docs/RareDiseaseOrganizationsResponse.md +58 -0
- data/docs/RareDiseaseOrganizationsRow.md +60 -0
- data/docs/RareDiseasePrevalenceResponse.md +58 -0
- data/docs/RareDiseasePrevalenceRow.md +62 -0
- data/docs/RareDiseaseRarityEvidenceResponse.md +58 -0
- data/docs/RareDiseaseRarityEvidenceRow.md +36 -0
- data/docs/RareDiseaseRarityResponse.md +58 -0
- data/docs/RareDiseaseRarityRow.md +54 -0
- data/docs/RareDiseaseReplacementsResponse.md +58 -0
- data/docs/RareDiseaseReplacementsRow.md +40 -0
- data/docs/RareDiseaseSiteCoverageResponse.md +58 -0
- data/docs/RareDiseaseSiteCoverageRow.md +54 -0
- data/docs/RareDiseaseSponsorsResponse.md +58 -0
- data/docs/RareDiseaseSponsorsRow.md +82 -0
- data/docs/RareDiseaseTrialCoverageResponse.md +58 -0
- data/docs/RareDiseaseTrialCoverageRow.md +58 -0
- data/docs/RareDiseaseTrialSitesResponse.md +58 -0
- data/docs/RareDiseaseTrialSitesRow.md +52 -0
- data/docs/RareDiseaseTrialsResponse.md +58 -0
- data/docs/RareDiseaseTrialsRow.md +90 -0
- data/docs/RareDiseasesApi.md +1353 -0
- data/docs/RareDiseasesRecord.md +38 -0
- data/docs/RareDiseasesRecordAttributes.md +22 -0
- data/docs/RareDiseasesResponse.md +58 -0
- data/docs/RareDiseasesRow.md +68 -0
- data/docs/RecallsResponse.md +58 -0
- data/docs/RecallsRow.md +54 -0
- data/docs/RwdCoverageResponse.md +58 -0
- data/docs/RwdCoverageRow.md +52 -0
- data/docs/RwdRegisterProvenanceResponse.md +58 -0
- data/docs/RwdRegisterProvenanceRow.md +74 -0
- data/docs/RwdRegistersApi.md +313 -0
- data/docs/RwdRegistersRecord.md +38 -0
- data/docs/RwdSourceAgeBandsResponse.md +58 -0
- data/docs/RwdSourceAgeBandsRow.md +40 -0
- data/docs/RwdSourceConditionsResponse.md +58 -0
- data/docs/RwdSourceConditionsRow.md +68 -0
- data/docs/RwdSourceEtlMappingsResponse.md +58 -0
- data/docs/RwdSourceEtlMappingsRow.md +44 -0
- data/docs/RwdSourceLinkagesResponse.md +58 -0
- data/docs/RwdSourceLinkagesRow.md +64 -0
- data/docs/RwdSourceTypesResponse.md +58 -0
- data/docs/RwdSourceTypesRow.md +34 -0
- data/docs/RwdSourceVocabulariesResponse.md +58 -0
- data/docs/RwdSourceVocabulariesRow.md +42 -0
- data/docs/RwdSourcesApi.md +713 -0
- data/docs/RwdSourcesRecord.md +38 -0
- data/docs/RwdSourcesResponse.md +58 -0
- data/docs/RwdSourcesRow.md +280 -0
- data/docs/RwdStudiesApi.md +473 -0
- data/docs/RwdStudiesRecord.md +38 -0
- data/docs/RwdStudiesResponse.md +58 -0
- data/docs/RwdStudiesRow.md +180 -0
- data/docs/RwdStudyConditionsResponse.md +58 -0
- data/docs/RwdStudyConditionsRow.md +54 -0
- data/docs/RwdStudyDataSourcesResponse.md +58 -0
- data/docs/RwdStudyDataSourcesRow.md +54 -0
- data/docs/RwdStudyDrugsResponse.md +58 -0
- data/docs/RwdStudyDrugsRow.md +50 -0
- data/docs/RwdStudyMilestonesResponse.md +58 -0
- data/docs/RwdStudyMilestonesRow.md +54 -0
- data/docs/RwdWithheldFieldsResponse.md +58 -0
- data/docs/RwdWithheldFieldsRow.md +36 -0
- data/docs/SecPdufaDatesResponse.md +58 -0
- data/docs/SecPdufaDatesRow.md +64 -0
- data/docs/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/companies_api.rb +1936 -207
- 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 +1442 -182
- data/lib/pharmaobservatory/api/rare_diseases_api.rb +1421 -0
- data/lib/pharmaobservatory/api/rwd_registers_api.rb +329 -0
- data/lib/pharmaobservatory/api/rwd_sources_api.rb +749 -0
- data/lib/pharmaobservatory/api/rwd_studies_api.rb +497 -0
- data/lib/pharmaobservatory/api/trials_api.rb +84 -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_funding_events_row.rb +12 -1
- 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 +968 -0
- data/lib/pharmaobservatory/models/hospital_beds_yearly_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospital_beds_yearly_row.rb +278 -0
- data/lib/pharmaobservatory/models/hospital_facility_changes_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospital_facility_changes_row.rb +289 -0
- data/lib/pharmaobservatory/models/hospitals_record.rb +385 -0
- data/lib/pharmaobservatory/models/hospitals_response.rb +478 -0
- data/lib/pharmaobservatory/models/hospitals_row.rb +344 -0
- data/lib/pharmaobservatory/models/import_refusals_response.rb +478 -0
- data/lib/pharmaobservatory/models/import_refusals_row.rb +454 -0
- data/lib/pharmaobservatory/models/inspection_findings_response.rb +478 -0
- data/lib/pharmaobservatory/models/inspection_findings_row.rb +388 -0
- data/lib/pharmaobservatory/models/inspections_response.rb +478 -0
- data/lib/pharmaobservatory/models/inspections_row.rb +454 -0
- data/lib/pharmaobservatory/models/institutional_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 +10 -1
- 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/pdufa_dates_row.rb +1 -1
- data/lib/pharmaobservatory/models/program_licensing_candidates_response.rb +478 -0
- data/lib/pharmaobservatory/models/program_licensing_candidates_row.rb +445 -0
- data/lib/pharmaobservatory/models/programs_response.rb +478 -0
- data/lib/pharmaobservatory/models/programs_row.rb +377 -0
- data/lib/pharmaobservatory/models/rare_disease_genes_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_genes_row.rb +399 -0
- data/lib/pharmaobservatory/models/rare_disease_hierarchy_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_hierarchy_row.rb +344 -0
- data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_investigator_coverage_row.rb +333 -0
- data/lib/pharmaobservatory/models/rare_disease_investigators_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_investigators_row.rb +436 -0
- data/lib/pharmaobservatory/models/rare_disease_mappings_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_mappings_row.rb +366 -0
- data/lib/pharmaobservatory/models/rare_disease_organizations_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_organizations_row.rb +454 -0
- data/lib/pharmaobservatory/models/rare_disease_prevalence_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_prevalence_row.rb +465 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_evidence_row.rb +322 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_rarity_row.rb +421 -0
- data/lib/pharmaobservatory/models/rare_disease_replacements_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_replacements_row.rb +344 -0
- data/lib/pharmaobservatory/models/rare_disease_site_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_site_coverage_row.rb +421 -0
- data/lib/pharmaobservatory/models/rare_disease_sponsors_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_sponsors_row.rb +575 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_coverage_row.rb +449 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_sites_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trial_sites_row.rb +412 -0
- data/lib/pharmaobservatory/models/rare_disease_trials_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_disease_trials_row.rb +623 -0
- data/lib/pharmaobservatory/models/rare_diseases_record.rb +385 -0
- data/lib/pharmaobservatory/models/rare_diseases_record_attributes.rb +238 -0
- data/lib/pharmaobservatory/models/rare_diseases_response.rb +478 -0
- data/lib/pharmaobservatory/models/rare_diseases_row.rb +500 -0
- data/lib/pharmaobservatory/models/recalls_response.rb +478 -0
- data/lib/pharmaobservatory/models/recalls_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_coverage_row.rb +410 -0
- data/lib/pharmaobservatory/models/rwd_register_provenance_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_register_provenance_row.rb +531 -0
- data/lib/pharmaobservatory/models/rwd_registers_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_source_age_bands_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_age_bands_row.rb +344 -0
- data/lib/pharmaobservatory/models/rwd_source_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_conditions_row.rb +502 -0
- data/lib/pharmaobservatory/models/rwd_source_etl_mappings_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_etl_mappings_row.rb +366 -0
- data/lib/pharmaobservatory/models/rwd_source_linkages_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_linkages_row.rb +476 -0
- data/lib/pharmaobservatory/models/rwd_source_types_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_types_row.rb +311 -0
- data/lib/pharmaobservatory/models/rwd_source_vocabularies_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_source_vocabularies_row.rb +355 -0
- data/lib/pharmaobservatory/models/rwd_sources_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_sources_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_sources_row.rb +1674 -0
- data/lib/pharmaobservatory/models/rwd_studies_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_studies_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_studies_row.rb +1138 -0
- data/lib/pharmaobservatory/models/rwd_study_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_conditions_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_study_data_sources_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_data_sources_row.rb +423 -0
- data/lib/pharmaobservatory/models/rwd_study_drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_drugs_row.rb +401 -0
- data/lib/pharmaobservatory/models/rwd_study_milestones_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_study_milestones_row.rb +421 -0
- data/lib/pharmaobservatory/models/rwd_withheld_fields_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_withheld_fields_row.rb +322 -0
- data/lib/pharmaobservatory/models/sec_pdufa_dates_response.rb +478 -0
- data/lib/pharmaobservatory/models/sec_pdufa_dates_row.rb +476 -0
- data/lib/pharmaobservatory/models/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 +164 -0
- metadata +330 -2
data/docs/CompaniesApi.md
CHANGED
|
@@ -8,26 +8,45 @@ All URIs are relative to *https://pharmaobservatory.com*
|
|
|
8
8
|
| [**companies_biomarker_cdx_assertions**](CompaniesApi.md#companies_biomarker_cdx_assertions) | **GET** /api/v1/companies/{id}/biomarker_cdx_assertions | FDA companion diagnostic assertions |
|
|
9
9
|
| [**companies_biomarker_publishing_companies**](CompaniesApi.md#companies_biomarker_publishing_companies) | **GET** /api/v1/companies/{id}/biomarker_publishing_companies | Companies publishing on a biomarker |
|
|
10
10
|
| [**companies_biomarker_validation**](CompaniesApi.md#companies_biomarker_validation) | **GET** /api/v1/companies/{id}/biomarker_validation | Biomarker validation ladder |
|
|
11
|
+
| [**companies_catalysts**](CompaniesApi.md#companies_catalysts) | **GET** /api/v1/companies/{id}/catalysts | Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events |
|
|
12
|
+
| [**companies_clia_certificates**](CompaniesApi.md#companies_clia_certificates) | **GET** /api/v1/companies/{id}/clia_certificates | CLIA laboratory certificates |
|
|
11
13
|
| [**companies_company_assets**](CompaniesApi.md#companies_company_assets) | **GET** /api/v1/companies/{id}/company_assets | Company assets (approved and marketed drugs) |
|
|
12
14
|
| [**companies_company_funding_events**](CompaniesApi.md#companies_company_funding_events) | **GET** /api/v1/companies/{id}/company_funding_events | Company funding events |
|
|
13
15
|
| [**companies_company_funding_summary**](CompaniesApi.md#companies_company_funding_summary) | **GET** /api/v1/companies/{id}/company_funding_summary | Company funding summary |
|
|
14
16
|
| [**companies_company_members**](CompaniesApi.md#companies_company_members) | **GET** /api/v1/companies/{id}/company_members | Company members |
|
|
15
17
|
| [**companies_company_programs**](CompaniesApi.md#companies_company_programs) | **GET** /api/v1/companies/{id}/company_programs | Company programs |
|
|
16
18
|
| [**companies_company_targets**](CompaniesApi.md#companies_company_targets) | **GET** /api/v1/companies/{id}/company_targets | Targets a company pursues |
|
|
19
|
+
| [**companies_company_trial_geography**](CompaniesApi.md#companies_company_trial_geography) | **GET** /api/v1/companies/{id}/company_trial_geography | Company trial geography |
|
|
20
|
+
| [**companies_company_trial_sites**](CompaniesApi.md#companies_company_trial_sites) | **GET** /api/v1/companies/{id}/company_trial_sites | Company trial sites |
|
|
21
|
+
| [**companies_cro_footprint**](CompaniesApi.md#companies_cro_footprint) | **GET** /api/v1/companies/{id}/cro_footprint | CRO footprint |
|
|
22
|
+
| [**companies_cro_trials**](CompaniesApi.md#companies_cro_trials) | **GET** /api/v1/companies/{id}/cro_trials | CRO trials |
|
|
23
|
+
| [**companies_debarments**](CompaniesApi.md#companies_debarments) | **GET** /api/v1/companies/{id}/debarments | FDA firm debarments |
|
|
17
24
|
| [**companies_drug_patent_cliff**](CompaniesApi.md#companies_drug_patent_cliff) | **GET** /api/v1/companies/{id}/drug_patent_cliff | Patent-cliff exposure |
|
|
25
|
+
| [**companies_enforcement_events**](CompaniesApi.md#companies_enforcement_events) | **GET** /api/v1/companies/{id}/enforcement_events | FDA enforcement events |
|
|
18
26
|
| [**companies_get**](CompaniesApi.md#companies_get) | **GET** /api/v1/companies/{id} | One company |
|
|
27
|
+
| [**companies_gxp_facilities**](CompaniesApi.md#companies_gxp_facilities) | **GET** /api/v1/companies/{id}/gxp_facilities | GxP facilities and quality signals |
|
|
28
|
+
| [**companies_import_refusals**](CompaniesApi.md#companies_import_refusals) | **GET** /api/v1/companies/{id}/import_refusals | FDA import refusals |
|
|
29
|
+
| [**companies_inspection_findings**](CompaniesApi.md#companies_inspection_findings) | **GET** /api/v1/companies/{id}/inspection_findings | FDA inspection findings |
|
|
30
|
+
| [**companies_inspections**](CompaniesApi.md#companies_inspections) | **GET** /api/v1/companies/{id}/inspections | FDA inspections |
|
|
19
31
|
| [**companies_institutional_holdings**](CompaniesApi.md#companies_institutional_holdings) | **GET** /api/v1/companies/{id}/institutional_holdings | Institutional holdings (SEC Form 13F) |
|
|
32
|
+
| [**companies_institutional_quarter_totals**](CompaniesApi.md#companies_institutional_quarter_totals) | **GET** /api/v1/companies/{id}/institutional_quarter_totals | Institutional quarter totals (SEC Form 13F) |
|
|
20
33
|
| [**companies_legal_entities**](CompaniesApi.md#companies_legal_entities) | **GET** /api/v1/companies/{id}/legal_entities | Legal entities |
|
|
21
34
|
| [**companies_list**](CompaniesApi.md#companies_list) | **GET** /api/v1/companies | List companies |
|
|
22
35
|
| [**companies_org_disclosures**](CompaniesApi.md#companies_org_disclosures) | **GET** /api/v1/companies/{id}/org_disclosures | Organization disclosures (climate and diversity) |
|
|
23
36
|
| [**companies_org_relationships**](CompaniesApi.md#companies_org_relationships) | **GET** /api/v1/companies/{id}/org_relationships | Organization relationships |
|
|
37
|
+
| [**companies_ownership_percentages**](CompaniesApi.md#companies_ownership_percentages) | **GET** /api/v1/companies/{id}/ownership_percentages | Ownership percentages |
|
|
24
38
|
| [**companies_ownership_positions**](CompaniesApi.md#companies_ownership_positions) | **GET** /api/v1/companies/{id}/ownership_positions | Ownership and control positions |
|
|
25
39
|
| [**companies_pdufa_dates**](CompaniesApi.md#companies_pdufa_dates) | **GET** /api/v1/companies/{id}/pdufa_dates | FDA decision dates (PDUFA) and catalysts |
|
|
40
|
+
| [**companies_program_licensing_candidates**](CompaniesApi.md#companies_program_licensing_candidates) | **GET** /api/v1/companies/{id}/program_licensing_candidates | Program licensing candidates |
|
|
41
|
+
| [**companies_recalls**](CompaniesApi.md#companies_recalls) | **GET** /api/v1/companies/{id}/recalls | FDA recalls |
|
|
26
42
|
| [**companies_sponsor_recruitment_by_phase**](CompaniesApi.md#companies_sponsor_recruitment_by_phase) | **GET** /api/v1/companies/{id}/sponsor_recruitment_by_phase | Trial recruitment duration by sponsor and phase |
|
|
27
43
|
| [**companies_sponsor_recruitment_duration**](CompaniesApi.md#companies_sponsor_recruitment_duration) | **GET** /api/v1/companies/{id}/sponsor_recruitment_duration | Trial recruitment duration by sponsor |
|
|
28
44
|
| [**companies_sponsor_trial_start_forecast**](CompaniesApi.md#companies_sponsor_trial_start_forecast) | **GET** /api/v1/companies/{id}/sponsor_trial_start_forecast | Trial-start forecast by sponsor |
|
|
29
45
|
| [**companies_sponsor_trials**](CompaniesApi.md#companies_sponsor_trials) | **GET** /api/v1/companies/{id}/sponsor_trials | Sponsor trials |
|
|
30
46
|
| [**companies_supplier_capability_esg**](CompaniesApi.md#companies_supplier_capability_esg) | **GET** /api/v1/companies/{id}/supplier_capability_esg | Supplier capability and ESG disclosure |
|
|
47
|
+
| [**companies_unmatched_product_revenue**](CompaniesApi.md#companies_unmatched_product_revenue) | **GET** /api/v1/companies/{id}/unmatched_product_revenue | Unmatched product revenue |
|
|
48
|
+
| [**companies_untitled_letters**](CompaniesApi.md#companies_untitled_letters) | **GET** /api/v1/companies/{id}/untitled_letters | FDA untitled letters |
|
|
49
|
+
| [**companies_warning_letters**](CompaniesApi.md#companies_warning_letters) | **GET** /api/v1/companies/{id}/warning_letters | FDA warning letters |
|
|
31
50
|
|
|
32
51
|
|
|
33
52
|
## companies_biomarker_bqp_assertions
|
|
@@ -354,6 +373,168 @@ end
|
|
|
354
373
|
- **Accept**: application/json
|
|
355
374
|
|
|
356
375
|
|
|
376
|
+
## companies_catalysts
|
|
377
|
+
|
|
378
|
+
> <CatalystsResponse> companies_catalysts(id, opts)
|
|
379
|
+
|
|
380
|
+
Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
|
|
381
|
+
|
|
382
|
+
### Examples
|
|
383
|
+
|
|
384
|
+
```ruby
|
|
385
|
+
require 'time'
|
|
386
|
+
require 'pharmaobservatory'
|
|
387
|
+
# setup authorization
|
|
388
|
+
PharmaObservatory.configure do |config|
|
|
389
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
390
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
394
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
395
|
+
opts = {
|
|
396
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
397
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
398
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
399
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
400
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
401
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
begin
|
|
405
|
+
# Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
|
|
406
|
+
result = api_instance.companies_catalysts(id, opts)
|
|
407
|
+
p result
|
|
408
|
+
rescue PharmaObservatory::ApiError => e
|
|
409
|
+
puts "Error when calling CompaniesApi->companies_catalysts: #{e}"
|
|
410
|
+
end
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
#### Using the companies_catalysts_with_http_info variant
|
|
414
|
+
|
|
415
|
+
This returns an Array which contains the response data, status code and headers.
|
|
416
|
+
|
|
417
|
+
> <Array(<CatalystsResponse>, Integer, Hash)> companies_catalysts_with_http_info(id, opts)
|
|
418
|
+
|
|
419
|
+
```ruby
|
|
420
|
+
begin
|
|
421
|
+
# Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
|
|
422
|
+
data, status_code, headers = api_instance.companies_catalysts_with_http_info(id, opts)
|
|
423
|
+
p status_code # => 2xx
|
|
424
|
+
p headers # => { ... }
|
|
425
|
+
p data # => <CatalystsResponse>
|
|
426
|
+
rescue PharmaObservatory::ApiError => e
|
|
427
|
+
puts "Error when calling CompaniesApi->companies_catalysts_with_http_info: #{e}"
|
|
428
|
+
end
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
### Parameters
|
|
432
|
+
|
|
433
|
+
| Name | Type | Description | Notes |
|
|
434
|
+
| ---- | ---- | ----------- | ----- |
|
|
435
|
+
| **id** | **String** | | |
|
|
436
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
437
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
438
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
439
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
440
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
441
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
442
|
+
|
|
443
|
+
### Return type
|
|
444
|
+
|
|
445
|
+
[**CatalystsResponse**](CatalystsResponse.md)
|
|
446
|
+
|
|
447
|
+
### Authorization
|
|
448
|
+
|
|
449
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
450
|
+
|
|
451
|
+
### HTTP request headers
|
|
452
|
+
|
|
453
|
+
- **Content-Type**: Not defined
|
|
454
|
+
- **Accept**: application/json
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
## companies_clia_certificates
|
|
458
|
+
|
|
459
|
+
> <CliaCertificatesResponse> companies_clia_certificates(id, opts)
|
|
460
|
+
|
|
461
|
+
CLIA laboratory certificates
|
|
462
|
+
|
|
463
|
+
### Examples
|
|
464
|
+
|
|
465
|
+
```ruby
|
|
466
|
+
require 'time'
|
|
467
|
+
require 'pharmaobservatory'
|
|
468
|
+
# setup authorization
|
|
469
|
+
PharmaObservatory.configure do |config|
|
|
470
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
471
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
475
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
476
|
+
opts = {
|
|
477
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
478
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
479
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
480
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
481
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
482
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
begin
|
|
486
|
+
# CLIA laboratory certificates
|
|
487
|
+
result = api_instance.companies_clia_certificates(id, opts)
|
|
488
|
+
p result
|
|
489
|
+
rescue PharmaObservatory::ApiError => e
|
|
490
|
+
puts "Error when calling CompaniesApi->companies_clia_certificates: #{e}"
|
|
491
|
+
end
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
#### Using the companies_clia_certificates_with_http_info variant
|
|
495
|
+
|
|
496
|
+
This returns an Array which contains the response data, status code and headers.
|
|
497
|
+
|
|
498
|
+
> <Array(<CliaCertificatesResponse>, Integer, Hash)> companies_clia_certificates_with_http_info(id, opts)
|
|
499
|
+
|
|
500
|
+
```ruby
|
|
501
|
+
begin
|
|
502
|
+
# CLIA laboratory certificates
|
|
503
|
+
data, status_code, headers = api_instance.companies_clia_certificates_with_http_info(id, opts)
|
|
504
|
+
p status_code # => 2xx
|
|
505
|
+
p headers # => { ... }
|
|
506
|
+
p data # => <CliaCertificatesResponse>
|
|
507
|
+
rescue PharmaObservatory::ApiError => e
|
|
508
|
+
puts "Error when calling CompaniesApi->companies_clia_certificates_with_http_info: #{e}"
|
|
509
|
+
end
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
### Parameters
|
|
513
|
+
|
|
514
|
+
| Name | Type | Description | Notes |
|
|
515
|
+
| ---- | ---- | ----------- | ----- |
|
|
516
|
+
| **id** | **String** | | |
|
|
517
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
518
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
519
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
520
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
521
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
522
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
523
|
+
|
|
524
|
+
### Return type
|
|
525
|
+
|
|
526
|
+
[**CliaCertificatesResponse**](CliaCertificatesResponse.md)
|
|
527
|
+
|
|
528
|
+
### Authorization
|
|
529
|
+
|
|
530
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
531
|
+
|
|
532
|
+
### HTTP request headers
|
|
533
|
+
|
|
534
|
+
- **Content-Type**: Not defined
|
|
535
|
+
- **Accept**: application/json
|
|
536
|
+
|
|
537
|
+
|
|
357
538
|
## companies_company_assets
|
|
358
539
|
|
|
359
540
|
> <CompanyAssetsResponse> companies_company_assets(id, opts)
|
|
@@ -840,11 +1021,11 @@ end
|
|
|
840
1021
|
- **Accept**: application/json
|
|
841
1022
|
|
|
842
1023
|
|
|
843
|
-
##
|
|
1024
|
+
## companies_company_trial_geography
|
|
844
1025
|
|
|
845
|
-
> <
|
|
1026
|
+
> <CompanyTrialGeographyResponse> companies_company_trial_geography(id, opts)
|
|
846
1027
|
|
|
847
|
-
|
|
1028
|
+
Company trial geography
|
|
848
1029
|
|
|
849
1030
|
### Examples
|
|
850
1031
|
|
|
@@ -869,29 +1050,29 @@ opts = {
|
|
|
869
1050
|
}
|
|
870
1051
|
|
|
871
1052
|
begin
|
|
872
|
-
#
|
|
873
|
-
result = api_instance.
|
|
1053
|
+
# Company trial geography
|
|
1054
|
+
result = api_instance.companies_company_trial_geography(id, opts)
|
|
874
1055
|
p result
|
|
875
1056
|
rescue PharmaObservatory::ApiError => e
|
|
876
|
-
puts "Error when calling CompaniesApi->
|
|
1057
|
+
puts "Error when calling CompaniesApi->companies_company_trial_geography: #{e}"
|
|
877
1058
|
end
|
|
878
1059
|
```
|
|
879
1060
|
|
|
880
|
-
#### Using the
|
|
1061
|
+
#### Using the companies_company_trial_geography_with_http_info variant
|
|
881
1062
|
|
|
882
1063
|
This returns an Array which contains the response data, status code and headers.
|
|
883
1064
|
|
|
884
|
-
> <Array(<
|
|
1065
|
+
> <Array(<CompanyTrialGeographyResponse>, Integer, Hash)> companies_company_trial_geography_with_http_info(id, opts)
|
|
885
1066
|
|
|
886
1067
|
```ruby
|
|
887
1068
|
begin
|
|
888
|
-
#
|
|
889
|
-
data, status_code, headers = api_instance.
|
|
1069
|
+
# Company trial geography
|
|
1070
|
+
data, status_code, headers = api_instance.companies_company_trial_geography_with_http_info(id, opts)
|
|
890
1071
|
p status_code # => 2xx
|
|
891
1072
|
p headers # => { ... }
|
|
892
|
-
p data # => <
|
|
1073
|
+
p data # => <CompanyTrialGeographyResponse>
|
|
893
1074
|
rescue PharmaObservatory::ApiError => e
|
|
894
|
-
puts "Error when calling CompaniesApi->
|
|
1075
|
+
puts "Error when calling CompaniesApi->companies_company_trial_geography_with_http_info: #{e}"
|
|
895
1076
|
end
|
|
896
1077
|
```
|
|
897
1078
|
|
|
@@ -909,7 +1090,7 @@ end
|
|
|
909
1090
|
|
|
910
1091
|
### Return type
|
|
911
1092
|
|
|
912
|
-
[**
|
|
1093
|
+
[**CompanyTrialGeographyResponse**](CompanyTrialGeographyResponse.md)
|
|
913
1094
|
|
|
914
1095
|
### Authorization
|
|
915
1096
|
|
|
@@ -921,11 +1102,11 @@ end
|
|
|
921
1102
|
- **Accept**: application/json
|
|
922
1103
|
|
|
923
1104
|
|
|
924
|
-
##
|
|
1105
|
+
## companies_company_trial_sites
|
|
925
1106
|
|
|
926
|
-
> <
|
|
1107
|
+
> <CompanyTrialSitesResponse> companies_company_trial_sites(id, opts)
|
|
927
1108
|
|
|
928
|
-
|
|
1109
|
+
Company trial sites
|
|
929
1110
|
|
|
930
1111
|
### Examples
|
|
931
1112
|
|
|
@@ -940,31 +1121,39 @@ end
|
|
|
940
1121
|
|
|
941
1122
|
api_instance = PharmaObservatory::CompaniesApi.new
|
|
942
1123
|
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1124
|
+
opts = {
|
|
1125
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1126
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1127
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1128
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1129
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1130
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1131
|
+
}
|
|
943
1132
|
|
|
944
1133
|
begin
|
|
945
|
-
#
|
|
946
|
-
result = api_instance.
|
|
1134
|
+
# Company trial sites
|
|
1135
|
+
result = api_instance.companies_company_trial_sites(id, opts)
|
|
947
1136
|
p result
|
|
948
1137
|
rescue PharmaObservatory::ApiError => e
|
|
949
|
-
puts "Error when calling CompaniesApi->
|
|
1138
|
+
puts "Error when calling CompaniesApi->companies_company_trial_sites: #{e}"
|
|
950
1139
|
end
|
|
951
1140
|
```
|
|
952
1141
|
|
|
953
|
-
#### Using the
|
|
1142
|
+
#### Using the companies_company_trial_sites_with_http_info variant
|
|
954
1143
|
|
|
955
1144
|
This returns an Array which contains the response data, status code and headers.
|
|
956
1145
|
|
|
957
|
-
> <Array(<
|
|
1146
|
+
> <Array(<CompanyTrialSitesResponse>, Integer, Hash)> companies_company_trial_sites_with_http_info(id, opts)
|
|
958
1147
|
|
|
959
1148
|
```ruby
|
|
960
1149
|
begin
|
|
961
|
-
#
|
|
962
|
-
data, status_code, headers = api_instance.
|
|
1150
|
+
# Company trial sites
|
|
1151
|
+
data, status_code, headers = api_instance.companies_company_trial_sites_with_http_info(id, opts)
|
|
963
1152
|
p status_code # => 2xx
|
|
964
1153
|
p headers # => { ... }
|
|
965
|
-
p data # => <
|
|
1154
|
+
p data # => <CompanyTrialSitesResponse>
|
|
966
1155
|
rescue PharmaObservatory::ApiError => e
|
|
967
|
-
puts "Error when calling CompaniesApi->
|
|
1156
|
+
puts "Error when calling CompaniesApi->companies_company_trial_sites_with_http_info: #{e}"
|
|
968
1157
|
end
|
|
969
1158
|
```
|
|
970
1159
|
|
|
@@ -973,10 +1162,16 @@ end
|
|
|
973
1162
|
| Name | Type | Description | Notes |
|
|
974
1163
|
| ---- | ---- | ----------- | ----- |
|
|
975
1164
|
| **id** | **String** | | |
|
|
1165
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1166
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1167
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1168
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1169
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1170
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
976
1171
|
|
|
977
1172
|
### Return type
|
|
978
1173
|
|
|
979
|
-
[**
|
|
1174
|
+
[**CompanyTrialSitesResponse**](CompanyTrialSitesResponse.md)
|
|
980
1175
|
|
|
981
1176
|
### Authorization
|
|
982
1177
|
|
|
@@ -988,11 +1183,11 @@ end
|
|
|
988
1183
|
- **Accept**: application/json
|
|
989
1184
|
|
|
990
1185
|
|
|
991
|
-
##
|
|
1186
|
+
## companies_cro_footprint
|
|
992
1187
|
|
|
993
|
-
> <
|
|
1188
|
+
> <CroFootprintResponse> companies_cro_footprint(id, opts)
|
|
994
1189
|
|
|
995
|
-
|
|
1190
|
+
CRO footprint
|
|
996
1191
|
|
|
997
1192
|
### Examples
|
|
998
1193
|
|
|
@@ -1017,29 +1212,29 @@ opts = {
|
|
|
1017
1212
|
}
|
|
1018
1213
|
|
|
1019
1214
|
begin
|
|
1020
|
-
#
|
|
1021
|
-
result = api_instance.
|
|
1215
|
+
# CRO footprint
|
|
1216
|
+
result = api_instance.companies_cro_footprint(id, opts)
|
|
1022
1217
|
p result
|
|
1023
1218
|
rescue PharmaObservatory::ApiError => e
|
|
1024
|
-
puts "Error when calling CompaniesApi->
|
|
1219
|
+
puts "Error when calling CompaniesApi->companies_cro_footprint: #{e}"
|
|
1025
1220
|
end
|
|
1026
1221
|
```
|
|
1027
1222
|
|
|
1028
|
-
#### Using the
|
|
1223
|
+
#### Using the companies_cro_footprint_with_http_info variant
|
|
1029
1224
|
|
|
1030
1225
|
This returns an Array which contains the response data, status code and headers.
|
|
1031
1226
|
|
|
1032
|
-
> <Array(<
|
|
1227
|
+
> <Array(<CroFootprintResponse>, Integer, Hash)> companies_cro_footprint_with_http_info(id, opts)
|
|
1033
1228
|
|
|
1034
1229
|
```ruby
|
|
1035
1230
|
begin
|
|
1036
|
-
#
|
|
1037
|
-
data, status_code, headers = api_instance.
|
|
1231
|
+
# CRO footprint
|
|
1232
|
+
data, status_code, headers = api_instance.companies_cro_footprint_with_http_info(id, opts)
|
|
1038
1233
|
p status_code # => 2xx
|
|
1039
1234
|
p headers # => { ... }
|
|
1040
|
-
p data # => <
|
|
1235
|
+
p data # => <CroFootprintResponse>
|
|
1041
1236
|
rescue PharmaObservatory::ApiError => e
|
|
1042
|
-
puts "Error when calling CompaniesApi->
|
|
1237
|
+
puts "Error when calling CompaniesApi->companies_cro_footprint_with_http_info: #{e}"
|
|
1043
1238
|
end
|
|
1044
1239
|
```
|
|
1045
1240
|
|
|
@@ -1057,7 +1252,7 @@ end
|
|
|
1057
1252
|
|
|
1058
1253
|
### Return type
|
|
1059
1254
|
|
|
1060
|
-
[**
|
|
1255
|
+
[**CroFootprintResponse**](CroFootprintResponse.md)
|
|
1061
1256
|
|
|
1062
1257
|
### Authorization
|
|
1063
1258
|
|
|
@@ -1069,11 +1264,11 @@ end
|
|
|
1069
1264
|
- **Accept**: application/json
|
|
1070
1265
|
|
|
1071
1266
|
|
|
1072
|
-
##
|
|
1267
|
+
## companies_cro_trials
|
|
1073
1268
|
|
|
1074
|
-
> <
|
|
1269
|
+
> <CroTrialsResponse> companies_cro_trials(id, opts)
|
|
1075
1270
|
|
|
1076
|
-
|
|
1271
|
+
CRO trials
|
|
1077
1272
|
|
|
1078
1273
|
### Examples
|
|
1079
1274
|
|
|
@@ -1098,29 +1293,29 @@ opts = {
|
|
|
1098
1293
|
}
|
|
1099
1294
|
|
|
1100
1295
|
begin
|
|
1101
|
-
#
|
|
1102
|
-
result = api_instance.
|
|
1296
|
+
# CRO trials
|
|
1297
|
+
result = api_instance.companies_cro_trials(id, opts)
|
|
1103
1298
|
p result
|
|
1104
1299
|
rescue PharmaObservatory::ApiError => e
|
|
1105
|
-
puts "Error when calling CompaniesApi->
|
|
1300
|
+
puts "Error when calling CompaniesApi->companies_cro_trials: #{e}"
|
|
1106
1301
|
end
|
|
1107
1302
|
```
|
|
1108
1303
|
|
|
1109
|
-
#### Using the
|
|
1304
|
+
#### Using the companies_cro_trials_with_http_info variant
|
|
1110
1305
|
|
|
1111
1306
|
This returns an Array which contains the response data, status code and headers.
|
|
1112
1307
|
|
|
1113
|
-
> <Array(<
|
|
1308
|
+
> <Array(<CroTrialsResponse>, Integer, Hash)> companies_cro_trials_with_http_info(id, opts)
|
|
1114
1309
|
|
|
1115
1310
|
```ruby
|
|
1116
1311
|
begin
|
|
1117
|
-
#
|
|
1118
|
-
data, status_code, headers = api_instance.
|
|
1312
|
+
# CRO trials
|
|
1313
|
+
data, status_code, headers = api_instance.companies_cro_trials_with_http_info(id, opts)
|
|
1119
1314
|
p status_code # => 2xx
|
|
1120
1315
|
p headers # => { ... }
|
|
1121
|
-
p data # => <
|
|
1316
|
+
p data # => <CroTrialsResponse>
|
|
1122
1317
|
rescue PharmaObservatory::ApiError => e
|
|
1123
|
-
puts "Error when calling CompaniesApi->
|
|
1318
|
+
puts "Error when calling CompaniesApi->companies_cro_trials_with_http_info: #{e}"
|
|
1124
1319
|
end
|
|
1125
1320
|
```
|
|
1126
1321
|
|
|
@@ -1138,7 +1333,7 @@ end
|
|
|
1138
1333
|
|
|
1139
1334
|
### Return type
|
|
1140
1335
|
|
|
1141
|
-
[**
|
|
1336
|
+
[**CroTrialsResponse**](CroTrialsResponse.md)
|
|
1142
1337
|
|
|
1143
1338
|
### Authorization
|
|
1144
1339
|
|
|
@@ -1150,11 +1345,11 @@ end
|
|
|
1150
1345
|
- **Accept**: application/json
|
|
1151
1346
|
|
|
1152
1347
|
|
|
1153
|
-
##
|
|
1348
|
+
## companies_debarments
|
|
1154
1349
|
|
|
1155
|
-
> <
|
|
1350
|
+
> <DebarmentsResponse> companies_debarments(id, opts)
|
|
1156
1351
|
|
|
1157
|
-
|
|
1352
|
+
FDA firm debarments
|
|
1158
1353
|
|
|
1159
1354
|
### Examples
|
|
1160
1355
|
|
|
@@ -1168,38 +1363,40 @@ PharmaObservatory.configure do |config|
|
|
|
1168
1363
|
end
|
|
1169
1364
|
|
|
1170
1365
|
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1366
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1171
1367
|
opts = {
|
|
1172
1368
|
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1173
1369
|
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1174
1370
|
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1175
1371
|
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).
|
|
1372
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1373
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1177
1374
|
}
|
|
1178
1375
|
|
|
1179
1376
|
begin
|
|
1180
|
-
#
|
|
1181
|
-
result = api_instance.
|
|
1377
|
+
# FDA firm debarments
|
|
1378
|
+
result = api_instance.companies_debarments(id, opts)
|
|
1182
1379
|
p result
|
|
1183
1380
|
rescue PharmaObservatory::ApiError => e
|
|
1184
|
-
puts "Error when calling CompaniesApi->
|
|
1381
|
+
puts "Error when calling CompaniesApi->companies_debarments: #{e}"
|
|
1185
1382
|
end
|
|
1186
1383
|
```
|
|
1187
1384
|
|
|
1188
|
-
#### Using the
|
|
1385
|
+
#### Using the companies_debarments_with_http_info variant
|
|
1189
1386
|
|
|
1190
1387
|
This returns an Array which contains the response data, status code and headers.
|
|
1191
1388
|
|
|
1192
|
-
> <Array(<
|
|
1389
|
+
> <Array(<DebarmentsResponse>, Integer, Hash)> companies_debarments_with_http_info(id, opts)
|
|
1193
1390
|
|
|
1194
1391
|
```ruby
|
|
1195
1392
|
begin
|
|
1196
|
-
#
|
|
1197
|
-
data, status_code, headers = api_instance.
|
|
1393
|
+
# FDA firm debarments
|
|
1394
|
+
data, status_code, headers = api_instance.companies_debarments_with_http_info(id, opts)
|
|
1198
1395
|
p status_code # => 2xx
|
|
1199
1396
|
p headers # => { ... }
|
|
1200
|
-
p data # => <
|
|
1397
|
+
p data # => <DebarmentsResponse>
|
|
1201
1398
|
rescue PharmaObservatory::ApiError => e
|
|
1202
|
-
puts "Error when calling CompaniesApi->
|
|
1399
|
+
puts "Error when calling CompaniesApi->companies_debarments_with_http_info: #{e}"
|
|
1203
1400
|
end
|
|
1204
1401
|
```
|
|
1205
1402
|
|
|
@@ -1207,15 +1404,17 @@ end
|
|
|
1207
1404
|
|
|
1208
1405
|
| Name | Type | Description | Notes |
|
|
1209
1406
|
| ---- | ---- | ----------- | ----- |
|
|
1407
|
+
| **id** | **String** | | |
|
|
1210
1408
|
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1211
1409
|
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1212
1410
|
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1213
1411
|
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1214
1412
|
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1413
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1215
1414
|
|
|
1216
1415
|
### Return type
|
|
1217
1416
|
|
|
1218
|
-
[**
|
|
1417
|
+
[**DebarmentsResponse**](DebarmentsResponse.md)
|
|
1219
1418
|
|
|
1220
1419
|
### Authorization
|
|
1221
1420
|
|
|
@@ -1227,11 +1426,11 @@ end
|
|
|
1227
1426
|
- **Accept**: application/json
|
|
1228
1427
|
|
|
1229
1428
|
|
|
1230
|
-
##
|
|
1429
|
+
## companies_drug_patent_cliff
|
|
1231
1430
|
|
|
1232
|
-
> <
|
|
1431
|
+
> <DrugPatentCliffResponse> companies_drug_patent_cliff(id, opts)
|
|
1233
1432
|
|
|
1234
|
-
|
|
1433
|
+
Patent-cliff exposure
|
|
1235
1434
|
|
|
1236
1435
|
### Examples
|
|
1237
1436
|
|
|
@@ -1256,29 +1455,29 @@ opts = {
|
|
|
1256
1455
|
}
|
|
1257
1456
|
|
|
1258
1457
|
begin
|
|
1259
|
-
#
|
|
1260
|
-
result = api_instance.
|
|
1458
|
+
# Patent-cliff exposure
|
|
1459
|
+
result = api_instance.companies_drug_patent_cliff(id, opts)
|
|
1261
1460
|
p result
|
|
1262
1461
|
rescue PharmaObservatory::ApiError => e
|
|
1263
|
-
puts "Error when calling CompaniesApi->
|
|
1462
|
+
puts "Error when calling CompaniesApi->companies_drug_patent_cliff: #{e}"
|
|
1264
1463
|
end
|
|
1265
1464
|
```
|
|
1266
1465
|
|
|
1267
|
-
#### Using the
|
|
1466
|
+
#### Using the companies_drug_patent_cliff_with_http_info variant
|
|
1268
1467
|
|
|
1269
1468
|
This returns an Array which contains the response data, status code and headers.
|
|
1270
1469
|
|
|
1271
|
-
> <Array(<
|
|
1470
|
+
> <Array(<DrugPatentCliffResponse>, Integer, Hash)> companies_drug_patent_cliff_with_http_info(id, opts)
|
|
1272
1471
|
|
|
1273
1472
|
```ruby
|
|
1274
1473
|
begin
|
|
1275
|
-
#
|
|
1276
|
-
data, status_code, headers = api_instance.
|
|
1474
|
+
# Patent-cliff exposure
|
|
1475
|
+
data, status_code, headers = api_instance.companies_drug_patent_cliff_with_http_info(id, opts)
|
|
1277
1476
|
p status_code # => 2xx
|
|
1278
1477
|
p headers # => { ... }
|
|
1279
|
-
p data # => <
|
|
1478
|
+
p data # => <DrugPatentCliffResponse>
|
|
1280
1479
|
rescue PharmaObservatory::ApiError => e
|
|
1281
|
-
puts "Error when calling CompaniesApi->
|
|
1480
|
+
puts "Error when calling CompaniesApi->companies_drug_patent_cliff_with_http_info: #{e}"
|
|
1282
1481
|
end
|
|
1283
1482
|
```
|
|
1284
1483
|
|
|
@@ -1296,7 +1495,7 @@ end
|
|
|
1296
1495
|
|
|
1297
1496
|
### Return type
|
|
1298
1497
|
|
|
1299
|
-
[**
|
|
1498
|
+
[**DrugPatentCliffResponse**](DrugPatentCliffResponse.md)
|
|
1300
1499
|
|
|
1301
1500
|
### Authorization
|
|
1302
1501
|
|
|
@@ -1308,11 +1507,11 @@ end
|
|
|
1308
1507
|
- **Accept**: application/json
|
|
1309
1508
|
|
|
1310
1509
|
|
|
1311
|
-
##
|
|
1510
|
+
## companies_enforcement_events
|
|
1312
1511
|
|
|
1313
|
-
> <
|
|
1512
|
+
> <EnforcementEventsResponse> companies_enforcement_events(id, opts)
|
|
1314
1513
|
|
|
1315
|
-
|
|
1514
|
+
FDA enforcement events
|
|
1316
1515
|
|
|
1317
1516
|
### Examples
|
|
1318
1517
|
|
|
@@ -1337,29 +1536,1145 @@ opts = {
|
|
|
1337
1536
|
}
|
|
1338
1537
|
|
|
1339
1538
|
begin
|
|
1340
|
-
#
|
|
1341
|
-
result = api_instance.
|
|
1539
|
+
# FDA enforcement events
|
|
1540
|
+
result = api_instance.companies_enforcement_events(id, opts)
|
|
1342
1541
|
p result
|
|
1343
1542
|
rescue PharmaObservatory::ApiError => e
|
|
1344
|
-
puts "Error when calling CompaniesApi->
|
|
1543
|
+
puts "Error when calling CompaniesApi->companies_enforcement_events: #{e}"
|
|
1345
1544
|
end
|
|
1346
1545
|
```
|
|
1347
1546
|
|
|
1348
|
-
#### Using the
|
|
1547
|
+
#### Using the companies_enforcement_events_with_http_info variant
|
|
1349
1548
|
|
|
1350
1549
|
This returns an Array which contains the response data, status code and headers.
|
|
1351
1550
|
|
|
1352
|
-
> <Array(<
|
|
1551
|
+
> <Array(<EnforcementEventsResponse>, Integer, Hash)> companies_enforcement_events_with_http_info(id, opts)
|
|
1353
1552
|
|
|
1354
1553
|
```ruby
|
|
1355
1554
|
begin
|
|
1356
|
-
#
|
|
1555
|
+
# FDA enforcement events
|
|
1556
|
+
data, status_code, headers = api_instance.companies_enforcement_events_with_http_info(id, opts)
|
|
1557
|
+
p status_code # => 2xx
|
|
1558
|
+
p headers # => { ... }
|
|
1559
|
+
p data # => <EnforcementEventsResponse>
|
|
1560
|
+
rescue PharmaObservatory::ApiError => e
|
|
1561
|
+
puts "Error when calling CompaniesApi->companies_enforcement_events_with_http_info: #{e}"
|
|
1562
|
+
end
|
|
1563
|
+
```
|
|
1564
|
+
|
|
1565
|
+
### Parameters
|
|
1566
|
+
|
|
1567
|
+
| Name | Type | Description | Notes |
|
|
1568
|
+
| ---- | ---- | ----------- | ----- |
|
|
1569
|
+
| **id** | **String** | | |
|
|
1570
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1571
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1572
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1573
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1574
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1575
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1576
|
+
|
|
1577
|
+
### Return type
|
|
1578
|
+
|
|
1579
|
+
[**EnforcementEventsResponse**](EnforcementEventsResponse.md)
|
|
1580
|
+
|
|
1581
|
+
### Authorization
|
|
1582
|
+
|
|
1583
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1584
|
+
|
|
1585
|
+
### HTTP request headers
|
|
1586
|
+
|
|
1587
|
+
- **Content-Type**: Not defined
|
|
1588
|
+
- **Accept**: application/json
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
## companies_get
|
|
1592
|
+
|
|
1593
|
+
> <CompaniesRecord> companies_get(id)
|
|
1594
|
+
|
|
1595
|
+
One company
|
|
1596
|
+
|
|
1597
|
+
### Examples
|
|
1598
|
+
|
|
1599
|
+
```ruby
|
|
1600
|
+
require 'time'
|
|
1601
|
+
require 'pharmaobservatory'
|
|
1602
|
+
# setup authorization
|
|
1603
|
+
PharmaObservatory.configure do |config|
|
|
1604
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1605
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1606
|
+
end
|
|
1607
|
+
|
|
1608
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1609
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1610
|
+
|
|
1611
|
+
begin
|
|
1612
|
+
# One company
|
|
1613
|
+
result = api_instance.companies_get(id)
|
|
1614
|
+
p result
|
|
1615
|
+
rescue PharmaObservatory::ApiError => e
|
|
1616
|
+
puts "Error when calling CompaniesApi->companies_get: #{e}"
|
|
1617
|
+
end
|
|
1618
|
+
```
|
|
1619
|
+
|
|
1620
|
+
#### Using the companies_get_with_http_info variant
|
|
1621
|
+
|
|
1622
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1623
|
+
|
|
1624
|
+
> <Array(<CompaniesRecord>, Integer, Hash)> companies_get_with_http_info(id)
|
|
1625
|
+
|
|
1626
|
+
```ruby
|
|
1627
|
+
begin
|
|
1628
|
+
# One company
|
|
1629
|
+
data, status_code, headers = api_instance.companies_get_with_http_info(id)
|
|
1630
|
+
p status_code # => 2xx
|
|
1631
|
+
p headers # => { ... }
|
|
1632
|
+
p data # => <CompaniesRecord>
|
|
1633
|
+
rescue PharmaObservatory::ApiError => e
|
|
1634
|
+
puts "Error when calling CompaniesApi->companies_get_with_http_info: #{e}"
|
|
1635
|
+
end
|
|
1636
|
+
```
|
|
1637
|
+
|
|
1638
|
+
### Parameters
|
|
1639
|
+
|
|
1640
|
+
| Name | Type | Description | Notes |
|
|
1641
|
+
| ---- | ---- | ----------- | ----- |
|
|
1642
|
+
| **id** | **String** | | |
|
|
1643
|
+
|
|
1644
|
+
### Return type
|
|
1645
|
+
|
|
1646
|
+
[**CompaniesRecord**](CompaniesRecord.md)
|
|
1647
|
+
|
|
1648
|
+
### Authorization
|
|
1649
|
+
|
|
1650
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1651
|
+
|
|
1652
|
+
### HTTP request headers
|
|
1653
|
+
|
|
1654
|
+
- **Content-Type**: Not defined
|
|
1655
|
+
- **Accept**: application/json
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
## companies_gxp_facilities
|
|
1659
|
+
|
|
1660
|
+
> <GxpFacilitiesResponse> companies_gxp_facilities(id, opts)
|
|
1661
|
+
|
|
1662
|
+
GxP facilities and quality signals
|
|
1663
|
+
|
|
1664
|
+
### Examples
|
|
1665
|
+
|
|
1666
|
+
```ruby
|
|
1667
|
+
require 'time'
|
|
1668
|
+
require 'pharmaobservatory'
|
|
1669
|
+
# setup authorization
|
|
1670
|
+
PharmaObservatory.configure do |config|
|
|
1671
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1672
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1673
|
+
end
|
|
1674
|
+
|
|
1675
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1676
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1677
|
+
opts = {
|
|
1678
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1679
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1680
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1681
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1682
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1683
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
begin
|
|
1687
|
+
# GxP facilities and quality signals
|
|
1688
|
+
result = api_instance.companies_gxp_facilities(id, opts)
|
|
1689
|
+
p result
|
|
1690
|
+
rescue PharmaObservatory::ApiError => e
|
|
1691
|
+
puts "Error when calling CompaniesApi->companies_gxp_facilities: #{e}"
|
|
1692
|
+
end
|
|
1693
|
+
```
|
|
1694
|
+
|
|
1695
|
+
#### Using the companies_gxp_facilities_with_http_info variant
|
|
1696
|
+
|
|
1697
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1698
|
+
|
|
1699
|
+
> <Array(<GxpFacilitiesResponse>, Integer, Hash)> companies_gxp_facilities_with_http_info(id, opts)
|
|
1700
|
+
|
|
1701
|
+
```ruby
|
|
1702
|
+
begin
|
|
1703
|
+
# GxP facilities and quality signals
|
|
1704
|
+
data, status_code, headers = api_instance.companies_gxp_facilities_with_http_info(id, opts)
|
|
1705
|
+
p status_code # => 2xx
|
|
1706
|
+
p headers # => { ... }
|
|
1707
|
+
p data # => <GxpFacilitiesResponse>
|
|
1708
|
+
rescue PharmaObservatory::ApiError => e
|
|
1709
|
+
puts "Error when calling CompaniesApi->companies_gxp_facilities_with_http_info: #{e}"
|
|
1710
|
+
end
|
|
1711
|
+
```
|
|
1712
|
+
|
|
1713
|
+
### Parameters
|
|
1714
|
+
|
|
1715
|
+
| Name | Type | Description | Notes |
|
|
1716
|
+
| ---- | ---- | ----------- | ----- |
|
|
1717
|
+
| **id** | **String** | | |
|
|
1718
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1719
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1720
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1721
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1722
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1723
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1724
|
+
|
|
1725
|
+
### Return type
|
|
1726
|
+
|
|
1727
|
+
[**GxpFacilitiesResponse**](GxpFacilitiesResponse.md)
|
|
1728
|
+
|
|
1729
|
+
### Authorization
|
|
1730
|
+
|
|
1731
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1732
|
+
|
|
1733
|
+
### HTTP request headers
|
|
1734
|
+
|
|
1735
|
+
- **Content-Type**: Not defined
|
|
1736
|
+
- **Accept**: application/json
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
## companies_import_refusals
|
|
1740
|
+
|
|
1741
|
+
> <ImportRefusalsResponse> companies_import_refusals(id, opts)
|
|
1742
|
+
|
|
1743
|
+
FDA import refusals
|
|
1744
|
+
|
|
1745
|
+
### Examples
|
|
1746
|
+
|
|
1747
|
+
```ruby
|
|
1748
|
+
require 'time'
|
|
1749
|
+
require 'pharmaobservatory'
|
|
1750
|
+
# setup authorization
|
|
1751
|
+
PharmaObservatory.configure do |config|
|
|
1752
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1753
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1754
|
+
end
|
|
1755
|
+
|
|
1756
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1757
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1758
|
+
opts = {
|
|
1759
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1760
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1761
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1762
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1763
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1764
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
begin
|
|
1768
|
+
# FDA import refusals
|
|
1769
|
+
result = api_instance.companies_import_refusals(id, opts)
|
|
1770
|
+
p result
|
|
1771
|
+
rescue PharmaObservatory::ApiError => e
|
|
1772
|
+
puts "Error when calling CompaniesApi->companies_import_refusals: #{e}"
|
|
1773
|
+
end
|
|
1774
|
+
```
|
|
1775
|
+
|
|
1776
|
+
#### Using the companies_import_refusals_with_http_info variant
|
|
1777
|
+
|
|
1778
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1779
|
+
|
|
1780
|
+
> <Array(<ImportRefusalsResponse>, Integer, Hash)> companies_import_refusals_with_http_info(id, opts)
|
|
1781
|
+
|
|
1782
|
+
```ruby
|
|
1783
|
+
begin
|
|
1784
|
+
# FDA import refusals
|
|
1785
|
+
data, status_code, headers = api_instance.companies_import_refusals_with_http_info(id, opts)
|
|
1786
|
+
p status_code # => 2xx
|
|
1787
|
+
p headers # => { ... }
|
|
1788
|
+
p data # => <ImportRefusalsResponse>
|
|
1789
|
+
rescue PharmaObservatory::ApiError => e
|
|
1790
|
+
puts "Error when calling CompaniesApi->companies_import_refusals_with_http_info: #{e}"
|
|
1791
|
+
end
|
|
1792
|
+
```
|
|
1793
|
+
|
|
1794
|
+
### Parameters
|
|
1795
|
+
|
|
1796
|
+
| Name | Type | Description | Notes |
|
|
1797
|
+
| ---- | ---- | ----------- | ----- |
|
|
1798
|
+
| **id** | **String** | | |
|
|
1799
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1800
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1801
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1802
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1803
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1804
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1805
|
+
|
|
1806
|
+
### Return type
|
|
1807
|
+
|
|
1808
|
+
[**ImportRefusalsResponse**](ImportRefusalsResponse.md)
|
|
1809
|
+
|
|
1810
|
+
### Authorization
|
|
1811
|
+
|
|
1812
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1813
|
+
|
|
1814
|
+
### HTTP request headers
|
|
1815
|
+
|
|
1816
|
+
- **Content-Type**: Not defined
|
|
1817
|
+
- **Accept**: application/json
|
|
1818
|
+
|
|
1819
|
+
|
|
1820
|
+
## companies_inspection_findings
|
|
1821
|
+
|
|
1822
|
+
> <InspectionFindingsResponse> companies_inspection_findings(id, opts)
|
|
1823
|
+
|
|
1824
|
+
FDA inspection findings
|
|
1825
|
+
|
|
1826
|
+
### Examples
|
|
1827
|
+
|
|
1828
|
+
```ruby
|
|
1829
|
+
require 'time'
|
|
1830
|
+
require 'pharmaobservatory'
|
|
1831
|
+
# setup authorization
|
|
1832
|
+
PharmaObservatory.configure do |config|
|
|
1833
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1834
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1835
|
+
end
|
|
1836
|
+
|
|
1837
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1838
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1839
|
+
opts = {
|
|
1840
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1841
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1842
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1843
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1844
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1845
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
begin
|
|
1849
|
+
# FDA inspection findings
|
|
1850
|
+
result = api_instance.companies_inspection_findings(id, opts)
|
|
1851
|
+
p result
|
|
1852
|
+
rescue PharmaObservatory::ApiError => e
|
|
1853
|
+
puts "Error when calling CompaniesApi->companies_inspection_findings: #{e}"
|
|
1854
|
+
end
|
|
1855
|
+
```
|
|
1856
|
+
|
|
1857
|
+
#### Using the companies_inspection_findings_with_http_info variant
|
|
1858
|
+
|
|
1859
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1860
|
+
|
|
1861
|
+
> <Array(<InspectionFindingsResponse>, Integer, Hash)> companies_inspection_findings_with_http_info(id, opts)
|
|
1862
|
+
|
|
1863
|
+
```ruby
|
|
1864
|
+
begin
|
|
1865
|
+
# FDA inspection findings
|
|
1866
|
+
data, status_code, headers = api_instance.companies_inspection_findings_with_http_info(id, opts)
|
|
1867
|
+
p status_code # => 2xx
|
|
1868
|
+
p headers # => { ... }
|
|
1869
|
+
p data # => <InspectionFindingsResponse>
|
|
1870
|
+
rescue PharmaObservatory::ApiError => e
|
|
1871
|
+
puts "Error when calling CompaniesApi->companies_inspection_findings_with_http_info: #{e}"
|
|
1872
|
+
end
|
|
1873
|
+
```
|
|
1874
|
+
|
|
1875
|
+
### Parameters
|
|
1876
|
+
|
|
1877
|
+
| Name | Type | Description | Notes |
|
|
1878
|
+
| ---- | ---- | ----------- | ----- |
|
|
1879
|
+
| **id** | **String** | | |
|
|
1880
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1881
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1882
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1883
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1884
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1885
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1886
|
+
|
|
1887
|
+
### Return type
|
|
1888
|
+
|
|
1889
|
+
[**InspectionFindingsResponse**](InspectionFindingsResponse.md)
|
|
1890
|
+
|
|
1891
|
+
### Authorization
|
|
1892
|
+
|
|
1893
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1894
|
+
|
|
1895
|
+
### HTTP request headers
|
|
1896
|
+
|
|
1897
|
+
- **Content-Type**: Not defined
|
|
1898
|
+
- **Accept**: application/json
|
|
1899
|
+
|
|
1900
|
+
|
|
1901
|
+
## companies_inspections
|
|
1902
|
+
|
|
1903
|
+
> <InspectionsResponse> companies_inspections(id, opts)
|
|
1904
|
+
|
|
1905
|
+
FDA inspections
|
|
1906
|
+
|
|
1907
|
+
### Examples
|
|
1908
|
+
|
|
1909
|
+
```ruby
|
|
1910
|
+
require 'time'
|
|
1911
|
+
require 'pharmaobservatory'
|
|
1912
|
+
# setup authorization
|
|
1913
|
+
PharmaObservatory.configure do |config|
|
|
1914
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1915
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1916
|
+
end
|
|
1917
|
+
|
|
1918
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1919
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1920
|
+
opts = {
|
|
1921
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
1922
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1923
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1924
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1925
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1926
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
begin
|
|
1930
|
+
# FDA inspections
|
|
1931
|
+
result = api_instance.companies_inspections(id, opts)
|
|
1932
|
+
p result
|
|
1933
|
+
rescue PharmaObservatory::ApiError => e
|
|
1934
|
+
puts "Error when calling CompaniesApi->companies_inspections: #{e}"
|
|
1935
|
+
end
|
|
1936
|
+
```
|
|
1937
|
+
|
|
1938
|
+
#### Using the companies_inspections_with_http_info variant
|
|
1939
|
+
|
|
1940
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1941
|
+
|
|
1942
|
+
> <Array(<InspectionsResponse>, Integer, Hash)> companies_inspections_with_http_info(id, opts)
|
|
1943
|
+
|
|
1944
|
+
```ruby
|
|
1945
|
+
begin
|
|
1946
|
+
# FDA inspections
|
|
1947
|
+
data, status_code, headers = api_instance.companies_inspections_with_http_info(id, opts)
|
|
1948
|
+
p status_code # => 2xx
|
|
1949
|
+
p headers # => { ... }
|
|
1950
|
+
p data # => <InspectionsResponse>
|
|
1951
|
+
rescue PharmaObservatory::ApiError => e
|
|
1952
|
+
puts "Error when calling CompaniesApi->companies_inspections_with_http_info: #{e}"
|
|
1953
|
+
end
|
|
1954
|
+
```
|
|
1955
|
+
|
|
1956
|
+
### Parameters
|
|
1957
|
+
|
|
1958
|
+
| Name | Type | Description | Notes |
|
|
1959
|
+
| ---- | ---- | ----------- | ----- |
|
|
1960
|
+
| **id** | **String** | | |
|
|
1961
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1962
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1963
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1964
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1965
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1966
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1967
|
+
|
|
1968
|
+
### Return type
|
|
1969
|
+
|
|
1970
|
+
[**InspectionsResponse**](InspectionsResponse.md)
|
|
1971
|
+
|
|
1972
|
+
### Authorization
|
|
1973
|
+
|
|
1974
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1975
|
+
|
|
1976
|
+
### HTTP request headers
|
|
1977
|
+
|
|
1978
|
+
- **Content-Type**: Not defined
|
|
1979
|
+
- **Accept**: application/json
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
## companies_institutional_holdings
|
|
1983
|
+
|
|
1984
|
+
> <InstitutionalHoldingsResponse> companies_institutional_holdings(id, opts)
|
|
1985
|
+
|
|
1986
|
+
Institutional holdings (SEC Form 13F)
|
|
1987
|
+
|
|
1988
|
+
### Examples
|
|
1989
|
+
|
|
1990
|
+
```ruby
|
|
1991
|
+
require 'time'
|
|
1992
|
+
require 'pharmaobservatory'
|
|
1993
|
+
# setup authorization
|
|
1994
|
+
PharmaObservatory.configure do |config|
|
|
1995
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1996
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1997
|
+
end
|
|
1998
|
+
|
|
1999
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2000
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2001
|
+
opts = {
|
|
2002
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2003
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2004
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2005
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2006
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2007
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
begin
|
|
2011
|
+
# Institutional holdings (SEC Form 13F)
|
|
2012
|
+
result = api_instance.companies_institutional_holdings(id, opts)
|
|
2013
|
+
p result
|
|
2014
|
+
rescue PharmaObservatory::ApiError => e
|
|
2015
|
+
puts "Error when calling CompaniesApi->companies_institutional_holdings: #{e}"
|
|
2016
|
+
end
|
|
2017
|
+
```
|
|
2018
|
+
|
|
2019
|
+
#### Using the companies_institutional_holdings_with_http_info variant
|
|
2020
|
+
|
|
2021
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2022
|
+
|
|
2023
|
+
> <Array(<InstitutionalHoldingsResponse>, Integer, Hash)> companies_institutional_holdings_with_http_info(id, opts)
|
|
2024
|
+
|
|
2025
|
+
```ruby
|
|
2026
|
+
begin
|
|
2027
|
+
# Institutional holdings (SEC Form 13F)
|
|
2028
|
+
data, status_code, headers = api_instance.companies_institutional_holdings_with_http_info(id, opts)
|
|
2029
|
+
p status_code # => 2xx
|
|
2030
|
+
p headers # => { ... }
|
|
2031
|
+
p data # => <InstitutionalHoldingsResponse>
|
|
2032
|
+
rescue PharmaObservatory::ApiError => e
|
|
2033
|
+
puts "Error when calling CompaniesApi->companies_institutional_holdings_with_http_info: #{e}"
|
|
2034
|
+
end
|
|
2035
|
+
```
|
|
2036
|
+
|
|
2037
|
+
### Parameters
|
|
2038
|
+
|
|
2039
|
+
| Name | Type | Description | Notes |
|
|
2040
|
+
| ---- | ---- | ----------- | ----- |
|
|
2041
|
+
| **id** | **String** | | |
|
|
2042
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2043
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2044
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2045
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2046
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2047
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2048
|
+
|
|
2049
|
+
### Return type
|
|
2050
|
+
|
|
2051
|
+
[**InstitutionalHoldingsResponse**](InstitutionalHoldingsResponse.md)
|
|
2052
|
+
|
|
2053
|
+
### Authorization
|
|
2054
|
+
|
|
2055
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2056
|
+
|
|
2057
|
+
### HTTP request headers
|
|
2058
|
+
|
|
2059
|
+
- **Content-Type**: Not defined
|
|
2060
|
+
- **Accept**: application/json
|
|
2061
|
+
|
|
2062
|
+
|
|
2063
|
+
## companies_institutional_quarter_totals
|
|
2064
|
+
|
|
2065
|
+
> <InstitutionalQuarterTotalsResponse> companies_institutional_quarter_totals(id, opts)
|
|
2066
|
+
|
|
2067
|
+
Institutional quarter totals (SEC Form 13F)
|
|
2068
|
+
|
|
2069
|
+
### Examples
|
|
2070
|
+
|
|
2071
|
+
```ruby
|
|
2072
|
+
require 'time'
|
|
2073
|
+
require 'pharmaobservatory'
|
|
2074
|
+
# setup authorization
|
|
2075
|
+
PharmaObservatory.configure do |config|
|
|
2076
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2077
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2078
|
+
end
|
|
2079
|
+
|
|
2080
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2081
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2082
|
+
opts = {
|
|
2083
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2084
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2085
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2086
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2087
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2088
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
begin
|
|
2092
|
+
# Institutional quarter totals (SEC Form 13F)
|
|
2093
|
+
result = api_instance.companies_institutional_quarter_totals(id, opts)
|
|
2094
|
+
p result
|
|
2095
|
+
rescue PharmaObservatory::ApiError => e
|
|
2096
|
+
puts "Error when calling CompaniesApi->companies_institutional_quarter_totals: #{e}"
|
|
2097
|
+
end
|
|
2098
|
+
```
|
|
2099
|
+
|
|
2100
|
+
#### Using the companies_institutional_quarter_totals_with_http_info variant
|
|
2101
|
+
|
|
2102
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2103
|
+
|
|
2104
|
+
> <Array(<InstitutionalQuarterTotalsResponse>, Integer, Hash)> companies_institutional_quarter_totals_with_http_info(id, opts)
|
|
2105
|
+
|
|
2106
|
+
```ruby
|
|
2107
|
+
begin
|
|
2108
|
+
# Institutional quarter totals (SEC Form 13F)
|
|
2109
|
+
data, status_code, headers = api_instance.companies_institutional_quarter_totals_with_http_info(id, opts)
|
|
2110
|
+
p status_code # => 2xx
|
|
2111
|
+
p headers # => { ... }
|
|
2112
|
+
p data # => <InstitutionalQuarterTotalsResponse>
|
|
2113
|
+
rescue PharmaObservatory::ApiError => e
|
|
2114
|
+
puts "Error when calling CompaniesApi->companies_institutional_quarter_totals_with_http_info: #{e}"
|
|
2115
|
+
end
|
|
2116
|
+
```
|
|
2117
|
+
|
|
2118
|
+
### Parameters
|
|
2119
|
+
|
|
2120
|
+
| Name | Type | Description | Notes |
|
|
2121
|
+
| ---- | ---- | ----------- | ----- |
|
|
2122
|
+
| **id** | **String** | | |
|
|
2123
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2124
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2125
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2126
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2127
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2128
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2129
|
+
|
|
2130
|
+
### Return type
|
|
2131
|
+
|
|
2132
|
+
[**InstitutionalQuarterTotalsResponse**](InstitutionalQuarterTotalsResponse.md)
|
|
2133
|
+
|
|
2134
|
+
### Authorization
|
|
2135
|
+
|
|
2136
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2137
|
+
|
|
2138
|
+
### HTTP request headers
|
|
2139
|
+
|
|
2140
|
+
- **Content-Type**: Not defined
|
|
2141
|
+
- **Accept**: application/json
|
|
2142
|
+
|
|
2143
|
+
|
|
2144
|
+
## companies_legal_entities
|
|
2145
|
+
|
|
2146
|
+
> <LegalEntitiesResponse> companies_legal_entities(id, opts)
|
|
2147
|
+
|
|
2148
|
+
Legal entities
|
|
2149
|
+
|
|
2150
|
+
### Examples
|
|
2151
|
+
|
|
2152
|
+
```ruby
|
|
2153
|
+
require 'time'
|
|
2154
|
+
require 'pharmaobservatory'
|
|
2155
|
+
# setup authorization
|
|
2156
|
+
PharmaObservatory.configure do |config|
|
|
2157
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2158
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2159
|
+
end
|
|
2160
|
+
|
|
2161
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2162
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2163
|
+
opts = {
|
|
2164
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2165
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2166
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2167
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2168
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2169
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
begin
|
|
2173
|
+
# Legal entities
|
|
2174
|
+
result = api_instance.companies_legal_entities(id, opts)
|
|
2175
|
+
p result
|
|
2176
|
+
rescue PharmaObservatory::ApiError => e
|
|
2177
|
+
puts "Error when calling CompaniesApi->companies_legal_entities: #{e}"
|
|
2178
|
+
end
|
|
2179
|
+
```
|
|
2180
|
+
|
|
2181
|
+
#### Using the companies_legal_entities_with_http_info variant
|
|
2182
|
+
|
|
2183
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2184
|
+
|
|
2185
|
+
> <Array(<LegalEntitiesResponse>, Integer, Hash)> companies_legal_entities_with_http_info(id, opts)
|
|
2186
|
+
|
|
2187
|
+
```ruby
|
|
2188
|
+
begin
|
|
2189
|
+
# Legal entities
|
|
2190
|
+
data, status_code, headers = api_instance.companies_legal_entities_with_http_info(id, opts)
|
|
2191
|
+
p status_code # => 2xx
|
|
2192
|
+
p headers # => { ... }
|
|
2193
|
+
p data # => <LegalEntitiesResponse>
|
|
2194
|
+
rescue PharmaObservatory::ApiError => e
|
|
2195
|
+
puts "Error when calling CompaniesApi->companies_legal_entities_with_http_info: #{e}"
|
|
2196
|
+
end
|
|
2197
|
+
```
|
|
2198
|
+
|
|
2199
|
+
### Parameters
|
|
2200
|
+
|
|
2201
|
+
| Name | Type | Description | Notes |
|
|
2202
|
+
| ---- | ---- | ----------- | ----- |
|
|
2203
|
+
| **id** | **String** | | |
|
|
2204
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2205
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2206
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2207
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2208
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2209
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2210
|
+
|
|
2211
|
+
### Return type
|
|
2212
|
+
|
|
2213
|
+
[**LegalEntitiesResponse**](LegalEntitiesResponse.md)
|
|
2214
|
+
|
|
2215
|
+
### Authorization
|
|
2216
|
+
|
|
2217
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2218
|
+
|
|
2219
|
+
### HTTP request headers
|
|
2220
|
+
|
|
2221
|
+
- **Content-Type**: Not defined
|
|
2222
|
+
- **Accept**: application/json
|
|
2223
|
+
|
|
2224
|
+
|
|
2225
|
+
## companies_list
|
|
2226
|
+
|
|
2227
|
+
> <CompaniesResponse> companies_list(opts)
|
|
2228
|
+
|
|
2229
|
+
List companies
|
|
2230
|
+
|
|
2231
|
+
### Examples
|
|
2232
|
+
|
|
2233
|
+
```ruby
|
|
2234
|
+
require 'time'
|
|
2235
|
+
require 'pharmaobservatory'
|
|
2236
|
+
# setup authorization
|
|
2237
|
+
PharmaObservatory.configure do |config|
|
|
2238
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2239
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2240
|
+
end
|
|
2241
|
+
|
|
2242
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2243
|
+
opts = {
|
|
2244
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2245
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2246
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2247
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2248
|
+
measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
begin
|
|
2252
|
+
# List companies
|
|
2253
|
+
result = api_instance.companies_list(opts)
|
|
2254
|
+
p result
|
|
2255
|
+
rescue PharmaObservatory::ApiError => e
|
|
2256
|
+
puts "Error when calling CompaniesApi->companies_list: #{e}"
|
|
2257
|
+
end
|
|
2258
|
+
```
|
|
2259
|
+
|
|
2260
|
+
#### Using the companies_list_with_http_info variant
|
|
2261
|
+
|
|
2262
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2263
|
+
|
|
2264
|
+
> <Array(<CompaniesResponse>, Integer, Hash)> companies_list_with_http_info(opts)
|
|
2265
|
+
|
|
2266
|
+
```ruby
|
|
2267
|
+
begin
|
|
2268
|
+
# List companies
|
|
2269
|
+
data, status_code, headers = api_instance.companies_list_with_http_info(opts)
|
|
2270
|
+
p status_code # => 2xx
|
|
2271
|
+
p headers # => { ... }
|
|
2272
|
+
p data # => <CompaniesResponse>
|
|
2273
|
+
rescue PharmaObservatory::ApiError => e
|
|
2274
|
+
puts "Error when calling CompaniesApi->companies_list_with_http_info: #{e}"
|
|
2275
|
+
end
|
|
2276
|
+
```
|
|
2277
|
+
|
|
2278
|
+
### Parameters
|
|
2279
|
+
|
|
2280
|
+
| Name | Type | Description | Notes |
|
|
2281
|
+
| ---- | ---- | ----------- | ----- |
|
|
2282
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2283
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2284
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2285
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2286
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2287
|
+
|
|
2288
|
+
### Return type
|
|
2289
|
+
|
|
2290
|
+
[**CompaniesResponse**](CompaniesResponse.md)
|
|
2291
|
+
|
|
2292
|
+
### Authorization
|
|
2293
|
+
|
|
2294
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2295
|
+
|
|
2296
|
+
### HTTP request headers
|
|
2297
|
+
|
|
2298
|
+
- **Content-Type**: Not defined
|
|
2299
|
+
- **Accept**: application/json
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
## companies_org_disclosures
|
|
2303
|
+
|
|
2304
|
+
> <OrgDisclosuresResponse> companies_org_disclosures(id, opts)
|
|
2305
|
+
|
|
2306
|
+
Organization disclosures (climate and diversity)
|
|
2307
|
+
|
|
2308
|
+
### Examples
|
|
2309
|
+
|
|
2310
|
+
```ruby
|
|
2311
|
+
require 'time'
|
|
2312
|
+
require 'pharmaobservatory'
|
|
2313
|
+
# setup authorization
|
|
2314
|
+
PharmaObservatory.configure do |config|
|
|
2315
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2316
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2317
|
+
end
|
|
2318
|
+
|
|
2319
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2320
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2321
|
+
opts = {
|
|
2322
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2323
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2324
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2325
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2326
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2327
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
begin
|
|
2331
|
+
# Organization disclosures (climate and diversity)
|
|
2332
|
+
result = api_instance.companies_org_disclosures(id, opts)
|
|
2333
|
+
p result
|
|
2334
|
+
rescue PharmaObservatory::ApiError => e
|
|
2335
|
+
puts "Error when calling CompaniesApi->companies_org_disclosures: #{e}"
|
|
2336
|
+
end
|
|
2337
|
+
```
|
|
2338
|
+
|
|
2339
|
+
#### Using the companies_org_disclosures_with_http_info variant
|
|
2340
|
+
|
|
2341
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2342
|
+
|
|
2343
|
+
> <Array(<OrgDisclosuresResponse>, Integer, Hash)> companies_org_disclosures_with_http_info(id, opts)
|
|
2344
|
+
|
|
2345
|
+
```ruby
|
|
2346
|
+
begin
|
|
2347
|
+
# Organization disclosures (climate and diversity)
|
|
2348
|
+
data, status_code, headers = api_instance.companies_org_disclosures_with_http_info(id, opts)
|
|
2349
|
+
p status_code # => 2xx
|
|
2350
|
+
p headers # => { ... }
|
|
2351
|
+
p data # => <OrgDisclosuresResponse>
|
|
2352
|
+
rescue PharmaObservatory::ApiError => e
|
|
2353
|
+
puts "Error when calling CompaniesApi->companies_org_disclosures_with_http_info: #{e}"
|
|
2354
|
+
end
|
|
2355
|
+
```
|
|
2356
|
+
|
|
2357
|
+
### Parameters
|
|
2358
|
+
|
|
2359
|
+
| Name | Type | Description | Notes |
|
|
2360
|
+
| ---- | ---- | ----------- | ----- |
|
|
2361
|
+
| **id** | **String** | | |
|
|
2362
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2363
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2364
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2365
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2366
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2367
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2368
|
+
|
|
2369
|
+
### Return type
|
|
2370
|
+
|
|
2371
|
+
[**OrgDisclosuresResponse**](OrgDisclosuresResponse.md)
|
|
2372
|
+
|
|
2373
|
+
### Authorization
|
|
2374
|
+
|
|
2375
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2376
|
+
|
|
2377
|
+
### HTTP request headers
|
|
2378
|
+
|
|
2379
|
+
- **Content-Type**: Not defined
|
|
2380
|
+
- **Accept**: application/json
|
|
2381
|
+
|
|
2382
|
+
|
|
2383
|
+
## companies_org_relationships
|
|
2384
|
+
|
|
2385
|
+
> <OrgRelationshipsResponse> companies_org_relationships(id, opts)
|
|
2386
|
+
|
|
2387
|
+
Organization relationships
|
|
2388
|
+
|
|
2389
|
+
### Examples
|
|
2390
|
+
|
|
2391
|
+
```ruby
|
|
2392
|
+
require 'time'
|
|
2393
|
+
require 'pharmaobservatory'
|
|
2394
|
+
# setup authorization
|
|
2395
|
+
PharmaObservatory.configure do |config|
|
|
2396
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2397
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2398
|
+
end
|
|
2399
|
+
|
|
2400
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2401
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2402
|
+
opts = {
|
|
2403
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2404
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2405
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2406
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2407
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2408
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
begin
|
|
2412
|
+
# Organization relationships
|
|
2413
|
+
result = api_instance.companies_org_relationships(id, opts)
|
|
2414
|
+
p result
|
|
2415
|
+
rescue PharmaObservatory::ApiError => e
|
|
2416
|
+
puts "Error when calling CompaniesApi->companies_org_relationships: #{e}"
|
|
2417
|
+
end
|
|
2418
|
+
```
|
|
2419
|
+
|
|
2420
|
+
#### Using the companies_org_relationships_with_http_info variant
|
|
2421
|
+
|
|
2422
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2423
|
+
|
|
2424
|
+
> <Array(<OrgRelationshipsResponse>, Integer, Hash)> companies_org_relationships_with_http_info(id, opts)
|
|
2425
|
+
|
|
2426
|
+
```ruby
|
|
2427
|
+
begin
|
|
2428
|
+
# Organization relationships
|
|
1357
2429
|
data, status_code, headers = api_instance.companies_org_relationships_with_http_info(id, opts)
|
|
1358
2430
|
p status_code # => 2xx
|
|
1359
2431
|
p headers # => { ... }
|
|
1360
|
-
p data # => <OrgRelationshipsResponse>
|
|
2432
|
+
p data # => <OrgRelationshipsResponse>
|
|
2433
|
+
rescue PharmaObservatory::ApiError => e
|
|
2434
|
+
puts "Error when calling CompaniesApi->companies_org_relationships_with_http_info: #{e}"
|
|
2435
|
+
end
|
|
2436
|
+
```
|
|
2437
|
+
|
|
2438
|
+
### Parameters
|
|
2439
|
+
|
|
2440
|
+
| Name | Type | Description | Notes |
|
|
2441
|
+
| ---- | ---- | ----------- | ----- |
|
|
2442
|
+
| **id** | **String** | | |
|
|
2443
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2444
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2445
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2446
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2447
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2448
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2449
|
+
|
|
2450
|
+
### Return type
|
|
2451
|
+
|
|
2452
|
+
[**OrgRelationshipsResponse**](OrgRelationshipsResponse.md)
|
|
2453
|
+
|
|
2454
|
+
### Authorization
|
|
2455
|
+
|
|
2456
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2457
|
+
|
|
2458
|
+
### HTTP request headers
|
|
2459
|
+
|
|
2460
|
+
- **Content-Type**: Not defined
|
|
2461
|
+
- **Accept**: application/json
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
## companies_ownership_percentages
|
|
2465
|
+
|
|
2466
|
+
> <OwnershipPercentagesResponse> companies_ownership_percentages(id, opts)
|
|
2467
|
+
|
|
2468
|
+
Ownership percentages
|
|
2469
|
+
|
|
2470
|
+
### Examples
|
|
2471
|
+
|
|
2472
|
+
```ruby
|
|
2473
|
+
require 'time'
|
|
2474
|
+
require 'pharmaobservatory'
|
|
2475
|
+
# setup authorization
|
|
2476
|
+
PharmaObservatory.configure do |config|
|
|
2477
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2478
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2479
|
+
end
|
|
2480
|
+
|
|
2481
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2482
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2483
|
+
opts = {
|
|
2484
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2485
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2486
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2487
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2488
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2489
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
begin
|
|
2493
|
+
# Ownership percentages
|
|
2494
|
+
result = api_instance.companies_ownership_percentages(id, opts)
|
|
2495
|
+
p result
|
|
2496
|
+
rescue PharmaObservatory::ApiError => e
|
|
2497
|
+
puts "Error when calling CompaniesApi->companies_ownership_percentages: #{e}"
|
|
2498
|
+
end
|
|
2499
|
+
```
|
|
2500
|
+
|
|
2501
|
+
#### Using the companies_ownership_percentages_with_http_info variant
|
|
2502
|
+
|
|
2503
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2504
|
+
|
|
2505
|
+
> <Array(<OwnershipPercentagesResponse>, Integer, Hash)> companies_ownership_percentages_with_http_info(id, opts)
|
|
2506
|
+
|
|
2507
|
+
```ruby
|
|
2508
|
+
begin
|
|
2509
|
+
# Ownership percentages
|
|
2510
|
+
data, status_code, headers = api_instance.companies_ownership_percentages_with_http_info(id, opts)
|
|
2511
|
+
p status_code # => 2xx
|
|
2512
|
+
p headers # => { ... }
|
|
2513
|
+
p data # => <OwnershipPercentagesResponse>
|
|
2514
|
+
rescue PharmaObservatory::ApiError => e
|
|
2515
|
+
puts "Error when calling CompaniesApi->companies_ownership_percentages_with_http_info: #{e}"
|
|
2516
|
+
end
|
|
2517
|
+
```
|
|
2518
|
+
|
|
2519
|
+
### Parameters
|
|
2520
|
+
|
|
2521
|
+
| Name | Type | Description | Notes |
|
|
2522
|
+
| ---- | ---- | ----------- | ----- |
|
|
2523
|
+
| **id** | **String** | | |
|
|
2524
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2525
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2526
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2527
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2528
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2529
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2530
|
+
|
|
2531
|
+
### Return type
|
|
2532
|
+
|
|
2533
|
+
[**OwnershipPercentagesResponse**](OwnershipPercentagesResponse.md)
|
|
2534
|
+
|
|
2535
|
+
### Authorization
|
|
2536
|
+
|
|
2537
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2538
|
+
|
|
2539
|
+
### HTTP request headers
|
|
2540
|
+
|
|
2541
|
+
- **Content-Type**: Not defined
|
|
2542
|
+
- **Accept**: application/json
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
## companies_ownership_positions
|
|
2546
|
+
|
|
2547
|
+
> <OwnershipPositionsResponse> companies_ownership_positions(id, opts)
|
|
2548
|
+
|
|
2549
|
+
Ownership and control positions
|
|
2550
|
+
|
|
2551
|
+
### Examples
|
|
2552
|
+
|
|
2553
|
+
```ruby
|
|
2554
|
+
require 'time'
|
|
2555
|
+
require 'pharmaobservatory'
|
|
2556
|
+
# setup authorization
|
|
2557
|
+
PharmaObservatory.configure do |config|
|
|
2558
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2559
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2560
|
+
end
|
|
2561
|
+
|
|
2562
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2563
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2564
|
+
opts = {
|
|
2565
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2566
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2567
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2568
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2569
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2570
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
begin
|
|
2574
|
+
# Ownership and control positions
|
|
2575
|
+
result = api_instance.companies_ownership_positions(id, opts)
|
|
2576
|
+
p result
|
|
2577
|
+
rescue PharmaObservatory::ApiError => e
|
|
2578
|
+
puts "Error when calling CompaniesApi->companies_ownership_positions: #{e}"
|
|
2579
|
+
end
|
|
2580
|
+
```
|
|
2581
|
+
|
|
2582
|
+
#### Using the companies_ownership_positions_with_http_info variant
|
|
2583
|
+
|
|
2584
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2585
|
+
|
|
2586
|
+
> <Array(<OwnershipPositionsResponse>, Integer, Hash)> companies_ownership_positions_with_http_info(id, opts)
|
|
2587
|
+
|
|
2588
|
+
```ruby
|
|
2589
|
+
begin
|
|
2590
|
+
# Ownership and control positions
|
|
2591
|
+
data, status_code, headers = api_instance.companies_ownership_positions_with_http_info(id, opts)
|
|
2592
|
+
p status_code # => 2xx
|
|
2593
|
+
p headers # => { ... }
|
|
2594
|
+
p data # => <OwnershipPositionsResponse>
|
|
2595
|
+
rescue PharmaObservatory::ApiError => e
|
|
2596
|
+
puts "Error when calling CompaniesApi->companies_ownership_positions_with_http_info: #{e}"
|
|
2597
|
+
end
|
|
2598
|
+
```
|
|
2599
|
+
|
|
2600
|
+
### Parameters
|
|
2601
|
+
|
|
2602
|
+
| Name | Type | Description | Notes |
|
|
2603
|
+
| ---- | ---- | ----------- | ----- |
|
|
2604
|
+
| **id** | **String** | | |
|
|
2605
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2606
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2607
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2608
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2609
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2610
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2611
|
+
|
|
2612
|
+
### Return type
|
|
2613
|
+
|
|
2614
|
+
[**OwnershipPositionsResponse**](OwnershipPositionsResponse.md)
|
|
2615
|
+
|
|
2616
|
+
### Authorization
|
|
2617
|
+
|
|
2618
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2619
|
+
|
|
2620
|
+
### HTTP request headers
|
|
2621
|
+
|
|
2622
|
+
- **Content-Type**: Not defined
|
|
2623
|
+
- **Accept**: application/json
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
## companies_pdufa_dates
|
|
2627
|
+
|
|
2628
|
+
> <PdufaDatesResponse> companies_pdufa_dates(id, opts)
|
|
2629
|
+
|
|
2630
|
+
FDA decision dates (PDUFA) and catalysts
|
|
2631
|
+
|
|
2632
|
+
### Examples
|
|
2633
|
+
|
|
2634
|
+
```ruby
|
|
2635
|
+
require 'time'
|
|
2636
|
+
require 'pharmaobservatory'
|
|
2637
|
+
# setup authorization
|
|
2638
|
+
PharmaObservatory.configure do |config|
|
|
2639
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2640
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2641
|
+
end
|
|
2642
|
+
|
|
2643
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2644
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2645
|
+
opts = {
|
|
2646
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2647
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2648
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2649
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2650
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2651
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2652
|
+
}
|
|
2653
|
+
|
|
2654
|
+
begin
|
|
2655
|
+
# FDA decision dates (PDUFA) and catalysts
|
|
2656
|
+
result = api_instance.companies_pdufa_dates(id, opts)
|
|
2657
|
+
p result
|
|
2658
|
+
rescue PharmaObservatory::ApiError => e
|
|
2659
|
+
puts "Error when calling CompaniesApi->companies_pdufa_dates: #{e}"
|
|
2660
|
+
end
|
|
2661
|
+
```
|
|
2662
|
+
|
|
2663
|
+
#### Using the companies_pdufa_dates_with_http_info variant
|
|
2664
|
+
|
|
2665
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2666
|
+
|
|
2667
|
+
> <Array(<PdufaDatesResponse>, Integer, Hash)> companies_pdufa_dates_with_http_info(id, opts)
|
|
2668
|
+
|
|
2669
|
+
```ruby
|
|
2670
|
+
begin
|
|
2671
|
+
# FDA decision dates (PDUFA) and catalysts
|
|
2672
|
+
data, status_code, headers = api_instance.companies_pdufa_dates_with_http_info(id, opts)
|
|
2673
|
+
p status_code # => 2xx
|
|
2674
|
+
p headers # => { ... }
|
|
2675
|
+
p data # => <PdufaDatesResponse>
|
|
1361
2676
|
rescue PharmaObservatory::ApiError => e
|
|
1362
|
-
puts "Error when calling CompaniesApi->
|
|
2677
|
+
puts "Error when calling CompaniesApi->companies_pdufa_dates_with_http_info: #{e}"
|
|
1363
2678
|
end
|
|
1364
2679
|
```
|
|
1365
2680
|
|
|
@@ -1377,7 +2692,7 @@ end
|
|
|
1377
2692
|
|
|
1378
2693
|
### Return type
|
|
1379
2694
|
|
|
1380
|
-
[**
|
|
2695
|
+
[**PdufaDatesResponse**](PdufaDatesResponse.md)
|
|
1381
2696
|
|
|
1382
2697
|
### Authorization
|
|
1383
2698
|
|
|
@@ -1389,11 +2704,11 @@ end
|
|
|
1389
2704
|
- **Accept**: application/json
|
|
1390
2705
|
|
|
1391
2706
|
|
|
1392
|
-
##
|
|
2707
|
+
## companies_program_licensing_candidates
|
|
1393
2708
|
|
|
1394
|
-
> <
|
|
2709
|
+
> <ProgramLicensingCandidatesResponse> companies_program_licensing_candidates(id, opts)
|
|
1395
2710
|
|
|
1396
|
-
|
|
2711
|
+
Program licensing candidates
|
|
1397
2712
|
|
|
1398
2713
|
### Examples
|
|
1399
2714
|
|
|
@@ -1418,29 +2733,29 @@ opts = {
|
|
|
1418
2733
|
}
|
|
1419
2734
|
|
|
1420
2735
|
begin
|
|
1421
|
-
#
|
|
1422
|
-
result = api_instance.
|
|
2736
|
+
# Program licensing candidates
|
|
2737
|
+
result = api_instance.companies_program_licensing_candidates(id, opts)
|
|
1423
2738
|
p result
|
|
1424
2739
|
rescue PharmaObservatory::ApiError => e
|
|
1425
|
-
puts "Error when calling CompaniesApi->
|
|
2740
|
+
puts "Error when calling CompaniesApi->companies_program_licensing_candidates: #{e}"
|
|
1426
2741
|
end
|
|
1427
2742
|
```
|
|
1428
2743
|
|
|
1429
|
-
#### Using the
|
|
2744
|
+
#### Using the companies_program_licensing_candidates_with_http_info variant
|
|
1430
2745
|
|
|
1431
2746
|
This returns an Array which contains the response data, status code and headers.
|
|
1432
2747
|
|
|
1433
|
-
> <Array(<
|
|
2748
|
+
> <Array(<ProgramLicensingCandidatesResponse>, Integer, Hash)> companies_program_licensing_candidates_with_http_info(id, opts)
|
|
1434
2749
|
|
|
1435
2750
|
```ruby
|
|
1436
2751
|
begin
|
|
1437
|
-
#
|
|
1438
|
-
data, status_code, headers = api_instance.
|
|
2752
|
+
# Program licensing candidates
|
|
2753
|
+
data, status_code, headers = api_instance.companies_program_licensing_candidates_with_http_info(id, opts)
|
|
1439
2754
|
p status_code # => 2xx
|
|
1440
2755
|
p headers # => { ... }
|
|
1441
|
-
p data # => <
|
|
2756
|
+
p data # => <ProgramLicensingCandidatesResponse>
|
|
1442
2757
|
rescue PharmaObservatory::ApiError => e
|
|
1443
|
-
puts "Error when calling CompaniesApi->
|
|
2758
|
+
puts "Error when calling CompaniesApi->companies_program_licensing_candidates_with_http_info: #{e}"
|
|
1444
2759
|
end
|
|
1445
2760
|
```
|
|
1446
2761
|
|
|
@@ -1458,7 +2773,7 @@ end
|
|
|
1458
2773
|
|
|
1459
2774
|
### Return type
|
|
1460
2775
|
|
|
1461
|
-
[**
|
|
2776
|
+
[**ProgramLicensingCandidatesResponse**](ProgramLicensingCandidatesResponse.md)
|
|
1462
2777
|
|
|
1463
2778
|
### Authorization
|
|
1464
2779
|
|
|
@@ -1470,11 +2785,11 @@ end
|
|
|
1470
2785
|
- **Accept**: application/json
|
|
1471
2786
|
|
|
1472
2787
|
|
|
1473
|
-
##
|
|
2788
|
+
## companies_recalls
|
|
1474
2789
|
|
|
1475
|
-
> <
|
|
2790
|
+
> <RecallsResponse> companies_recalls(id, opts)
|
|
1476
2791
|
|
|
1477
|
-
FDA
|
|
2792
|
+
FDA recalls
|
|
1478
2793
|
|
|
1479
2794
|
### Examples
|
|
1480
2795
|
|
|
@@ -1499,29 +2814,29 @@ opts = {
|
|
|
1499
2814
|
}
|
|
1500
2815
|
|
|
1501
2816
|
begin
|
|
1502
|
-
# FDA
|
|
1503
|
-
result = api_instance.
|
|
2817
|
+
# FDA recalls
|
|
2818
|
+
result = api_instance.companies_recalls(id, opts)
|
|
1504
2819
|
p result
|
|
1505
2820
|
rescue PharmaObservatory::ApiError => e
|
|
1506
|
-
puts "Error when calling CompaniesApi->
|
|
2821
|
+
puts "Error when calling CompaniesApi->companies_recalls: #{e}"
|
|
1507
2822
|
end
|
|
1508
2823
|
```
|
|
1509
2824
|
|
|
1510
|
-
#### Using the
|
|
2825
|
+
#### Using the companies_recalls_with_http_info variant
|
|
1511
2826
|
|
|
1512
2827
|
This returns an Array which contains the response data, status code and headers.
|
|
1513
2828
|
|
|
1514
|
-
> <Array(<
|
|
2829
|
+
> <Array(<RecallsResponse>, Integer, Hash)> companies_recalls_with_http_info(id, opts)
|
|
1515
2830
|
|
|
1516
2831
|
```ruby
|
|
1517
2832
|
begin
|
|
1518
|
-
# FDA
|
|
1519
|
-
data, status_code, headers = api_instance.
|
|
2833
|
+
# FDA recalls
|
|
2834
|
+
data, status_code, headers = api_instance.companies_recalls_with_http_info(id, opts)
|
|
1520
2835
|
p status_code # => 2xx
|
|
1521
2836
|
p headers # => { ... }
|
|
1522
|
-
p data # => <
|
|
2837
|
+
p data # => <RecallsResponse>
|
|
1523
2838
|
rescue PharmaObservatory::ApiError => e
|
|
1524
|
-
puts "Error when calling CompaniesApi->
|
|
2839
|
+
puts "Error when calling CompaniesApi->companies_recalls_with_http_info: #{e}"
|
|
1525
2840
|
end
|
|
1526
2841
|
```
|
|
1527
2842
|
|
|
@@ -1539,7 +2854,7 @@ end
|
|
|
1539
2854
|
|
|
1540
2855
|
### Return type
|
|
1541
2856
|
|
|
1542
|
-
[**
|
|
2857
|
+
[**RecallsResponse**](RecallsResponse.md)
|
|
1543
2858
|
|
|
1544
2859
|
### Authorization
|
|
1545
2860
|
|
|
@@ -1955,3 +3270,246 @@ end
|
|
|
1955
3270
|
- **Content-Type**: Not defined
|
|
1956
3271
|
- **Accept**: application/json
|
|
1957
3272
|
|
|
3273
|
+
|
|
3274
|
+
## companies_unmatched_product_revenue
|
|
3275
|
+
|
|
3276
|
+
> <UnmatchedProductRevenueResponse> companies_unmatched_product_revenue(id, opts)
|
|
3277
|
+
|
|
3278
|
+
Unmatched product revenue
|
|
3279
|
+
|
|
3280
|
+
### Examples
|
|
3281
|
+
|
|
3282
|
+
```ruby
|
|
3283
|
+
require 'time'
|
|
3284
|
+
require 'pharmaobservatory'
|
|
3285
|
+
# setup authorization
|
|
3286
|
+
PharmaObservatory.configure do |config|
|
|
3287
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3288
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3289
|
+
end
|
|
3290
|
+
|
|
3291
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3292
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3293
|
+
opts = {
|
|
3294
|
+
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.
|
|
3295
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3296
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3297
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3298
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3299
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3300
|
+
}
|
|
3301
|
+
|
|
3302
|
+
begin
|
|
3303
|
+
# Unmatched product revenue
|
|
3304
|
+
result = api_instance.companies_unmatched_product_revenue(id, opts)
|
|
3305
|
+
p result
|
|
3306
|
+
rescue PharmaObservatory::ApiError => e
|
|
3307
|
+
puts "Error when calling CompaniesApi->companies_unmatched_product_revenue: #{e}"
|
|
3308
|
+
end
|
|
3309
|
+
```
|
|
3310
|
+
|
|
3311
|
+
#### Using the companies_unmatched_product_revenue_with_http_info variant
|
|
3312
|
+
|
|
3313
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3314
|
+
|
|
3315
|
+
> <Array(<UnmatchedProductRevenueResponse>, Integer, Hash)> companies_unmatched_product_revenue_with_http_info(id, opts)
|
|
3316
|
+
|
|
3317
|
+
```ruby
|
|
3318
|
+
begin
|
|
3319
|
+
# Unmatched product revenue
|
|
3320
|
+
data, status_code, headers = api_instance.companies_unmatched_product_revenue_with_http_info(id, opts)
|
|
3321
|
+
p status_code # => 2xx
|
|
3322
|
+
p headers # => { ... }
|
|
3323
|
+
p data # => <UnmatchedProductRevenueResponse>
|
|
3324
|
+
rescue PharmaObservatory::ApiError => e
|
|
3325
|
+
puts "Error when calling CompaniesApi->companies_unmatched_product_revenue_with_http_info: #{e}"
|
|
3326
|
+
end
|
|
3327
|
+
```
|
|
3328
|
+
|
|
3329
|
+
### Parameters
|
|
3330
|
+
|
|
3331
|
+
| Name | Type | Description | Notes |
|
|
3332
|
+
| ---- | ---- | ----------- | ----- |
|
|
3333
|
+
| **id** | **String** | | |
|
|
3334
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3335
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3336
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3337
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3338
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3339
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3340
|
+
|
|
3341
|
+
### Return type
|
|
3342
|
+
|
|
3343
|
+
[**UnmatchedProductRevenueResponse**](UnmatchedProductRevenueResponse.md)
|
|
3344
|
+
|
|
3345
|
+
### Authorization
|
|
3346
|
+
|
|
3347
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3348
|
+
|
|
3349
|
+
### HTTP request headers
|
|
3350
|
+
|
|
3351
|
+
- **Content-Type**: Not defined
|
|
3352
|
+
- **Accept**: application/json
|
|
3353
|
+
|
|
3354
|
+
|
|
3355
|
+
## companies_untitled_letters
|
|
3356
|
+
|
|
3357
|
+
> <UntitledLettersResponse> companies_untitled_letters(id, opts)
|
|
3358
|
+
|
|
3359
|
+
FDA untitled letters
|
|
3360
|
+
|
|
3361
|
+
### Examples
|
|
3362
|
+
|
|
3363
|
+
```ruby
|
|
3364
|
+
require 'time'
|
|
3365
|
+
require 'pharmaobservatory'
|
|
3366
|
+
# setup authorization
|
|
3367
|
+
PharmaObservatory.configure do |config|
|
|
3368
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3369
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3370
|
+
end
|
|
3371
|
+
|
|
3372
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3373
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3374
|
+
opts = {
|
|
3375
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
3376
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3377
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3378
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3379
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3380
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3381
|
+
}
|
|
3382
|
+
|
|
3383
|
+
begin
|
|
3384
|
+
# FDA untitled letters
|
|
3385
|
+
result = api_instance.companies_untitled_letters(id, opts)
|
|
3386
|
+
p result
|
|
3387
|
+
rescue PharmaObservatory::ApiError => e
|
|
3388
|
+
puts "Error when calling CompaniesApi->companies_untitled_letters: #{e}"
|
|
3389
|
+
end
|
|
3390
|
+
```
|
|
3391
|
+
|
|
3392
|
+
#### Using the companies_untitled_letters_with_http_info variant
|
|
3393
|
+
|
|
3394
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3395
|
+
|
|
3396
|
+
> <Array(<UntitledLettersResponse>, Integer, Hash)> companies_untitled_letters_with_http_info(id, opts)
|
|
3397
|
+
|
|
3398
|
+
```ruby
|
|
3399
|
+
begin
|
|
3400
|
+
# FDA untitled letters
|
|
3401
|
+
data, status_code, headers = api_instance.companies_untitled_letters_with_http_info(id, opts)
|
|
3402
|
+
p status_code # => 2xx
|
|
3403
|
+
p headers # => { ... }
|
|
3404
|
+
p data # => <UntitledLettersResponse>
|
|
3405
|
+
rescue PharmaObservatory::ApiError => e
|
|
3406
|
+
puts "Error when calling CompaniesApi->companies_untitled_letters_with_http_info: #{e}"
|
|
3407
|
+
end
|
|
3408
|
+
```
|
|
3409
|
+
|
|
3410
|
+
### Parameters
|
|
3411
|
+
|
|
3412
|
+
| Name | Type | Description | Notes |
|
|
3413
|
+
| ---- | ---- | ----------- | ----- |
|
|
3414
|
+
| **id** | **String** | | |
|
|
3415
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3416
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3417
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3418
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3419
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3420
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3421
|
+
|
|
3422
|
+
### Return type
|
|
3423
|
+
|
|
3424
|
+
[**UntitledLettersResponse**](UntitledLettersResponse.md)
|
|
3425
|
+
|
|
3426
|
+
### Authorization
|
|
3427
|
+
|
|
3428
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3429
|
+
|
|
3430
|
+
### HTTP request headers
|
|
3431
|
+
|
|
3432
|
+
- **Content-Type**: Not defined
|
|
3433
|
+
- **Accept**: application/json
|
|
3434
|
+
|
|
3435
|
+
|
|
3436
|
+
## companies_warning_letters
|
|
3437
|
+
|
|
3438
|
+
> <WarningLettersResponse> companies_warning_letters(id, opts)
|
|
3439
|
+
|
|
3440
|
+
FDA warning letters
|
|
3441
|
+
|
|
3442
|
+
### Examples
|
|
3443
|
+
|
|
3444
|
+
```ruby
|
|
3445
|
+
require 'time'
|
|
3446
|
+
require 'pharmaobservatory'
|
|
3447
|
+
# setup authorization
|
|
3448
|
+
PharmaObservatory.configure do |config|
|
|
3449
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3450
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3451
|
+
end
|
|
3452
|
+
|
|
3453
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3454
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3455
|
+
opts = {
|
|
3456
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
3457
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3458
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3459
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3460
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3461
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3462
|
+
}
|
|
3463
|
+
|
|
3464
|
+
begin
|
|
3465
|
+
# FDA warning letters
|
|
3466
|
+
result = api_instance.companies_warning_letters(id, opts)
|
|
3467
|
+
p result
|
|
3468
|
+
rescue PharmaObservatory::ApiError => e
|
|
3469
|
+
puts "Error when calling CompaniesApi->companies_warning_letters: #{e}"
|
|
3470
|
+
end
|
|
3471
|
+
```
|
|
3472
|
+
|
|
3473
|
+
#### Using the companies_warning_letters_with_http_info variant
|
|
3474
|
+
|
|
3475
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3476
|
+
|
|
3477
|
+
> <Array(<WarningLettersResponse>, Integer, Hash)> companies_warning_letters_with_http_info(id, opts)
|
|
3478
|
+
|
|
3479
|
+
```ruby
|
|
3480
|
+
begin
|
|
3481
|
+
# FDA warning letters
|
|
3482
|
+
data, status_code, headers = api_instance.companies_warning_letters_with_http_info(id, opts)
|
|
3483
|
+
p status_code # => 2xx
|
|
3484
|
+
p headers # => { ... }
|
|
3485
|
+
p data # => <WarningLettersResponse>
|
|
3486
|
+
rescue PharmaObservatory::ApiError => e
|
|
3487
|
+
puts "Error when calling CompaniesApi->companies_warning_letters_with_http_info: #{e}"
|
|
3488
|
+
end
|
|
3489
|
+
```
|
|
3490
|
+
|
|
3491
|
+
### Parameters
|
|
3492
|
+
|
|
3493
|
+
| Name | Type | Description | Notes |
|
|
3494
|
+
| ---- | ---- | ----------- | ----- |
|
|
3495
|
+
| **id** | **String** | | |
|
|
3496
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3497
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3498
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3499
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3500
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3501
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3502
|
+
|
|
3503
|
+
### Return type
|
|
3504
|
+
|
|
3505
|
+
[**WarningLettersResponse**](WarningLettersResponse.md)
|
|
3506
|
+
|
|
3507
|
+
### Authorization
|
|
3508
|
+
|
|
3509
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3510
|
+
|
|
3511
|
+
### HTTP request headers
|
|
3512
|
+
|
|
3513
|
+
- **Content-Type**: Not defined
|
|
3514
|
+
- **Accept**: application/json
|
|
3515
|
+
|