pharmaobservatory 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +83 -4
- data/docs/BiomarkerAlleleFrequenciesResponse.md +58 -0
- data/docs/BiomarkerAlleleFrequenciesRow.md +62 -0
- data/docs/BiomarkerAssayProvidersResponse.md +58 -0
- data/docs/BiomarkerAssayProvidersRow.md +72 -0
- data/docs/BiomarkerEvidenceByYearResponse.md +58 -0
- data/docs/BiomarkerEvidenceByYearRow.md +32 -0
- data/docs/BiomarkerTraversalStatusResponse.md +58 -0
- data/docs/BiomarkerTraversalStatusRow.md +36 -0
- data/docs/BiomarkersApi.md +320 -0
- data/docs/CompaniesApi.md +1001 -99
- data/docs/CompanyAssetsRow.md +5 -1
- data/docs/CompanyBiomarkerCapabilityResponse.md +58 -0
- data/docs/CompanyBiomarkerCapabilityRow.md +68 -0
- data/docs/CompanyProgramsRow.md +5 -1
- data/docs/CompanyRareDiseaseDeclarationsResponse.md +58 -0
- data/docs/CompanyRareDiseaseDeclarationsRow.md +52 -0
- data/docs/GxpFacilitiesRow.md +22 -0
- data/docs/LegalEntitiesApi.md +981 -101
- data/docs/LegalEntitiesRecordAttributes.md +6 -0
- data/docs/LegalEntitySecFilingsResponse.md +58 -0
- data/docs/LegalEntitySecFilingsRow.md +44 -0
- data/docs/OrgDisclosureTrendResponse.md +58 -0
- data/docs/OrgDisclosureTrendRow.md +62 -0
- data/docs/OwnershipSourceCoverageResponse.md +58 -0
- data/docs/OwnershipSourceCoverageRow.md +62 -0
- data/docs/ProgramLicensingCandidatesRow.md +5 -1
- data/docs/ProgramsRow.md +1 -1
- data/docs/RwdConductorDeliveryResponse.md +58 -0
- data/docs/RwdConductorDeliveryRow.md +74 -0
- data/docs/RwdConductorFootprintResponse.md +58 -0
- data/docs/RwdConductorFootprintRow.md +40 -0
- data/docs/RwdConductorStudiesResponse.md +58 -0
- data/docs/RwdConductorStudiesRow.md +42 -0
- data/docs/RwdConductorsApi.md +393 -0
- data/docs/RwdConductorsRecord.md +38 -0
- data/docs/RwdConductorsResponse.md +58 -0
- data/docs/RwdConductorsRow.md +72 -0
- data/docs/RwdInstitutionsApi.md +153 -0
- data/docs/RwdInstitutionsRecord.md +38 -0
- data/docs/RwdInstitutionsResponse.md +58 -0
- data/docs/RwdInstitutionsRow.md +154 -0
- data/docs/RwdNetworksApi.md +153 -0
- data/docs/RwdNetworksRecord.md +38 -0
- data/docs/RwdNetworksResponse.md +58 -0
- data/docs/RwdNetworksRow.md +110 -0
- data/docs/RwdStudiesApi.md +80 -0
- data/docs/SbtiCrosscheckResponse.md +58 -0
- data/docs/SbtiCrosscheckRow.md +48 -0
- data/docs/SponsorDeliveryResponse.md +58 -0
- data/docs/SponsorDeliveryRow.md +52 -0
- data/docs/SponsorPatentMentionsResponse.md +58 -0
- data/docs/SponsorPatentMentionsRow.md +42 -0
- data/docs/SponsorTrialConditionsResponse.md +58 -0
- data/docs/SponsorTrialConditionsRow.md +36 -0
- data/docs/SponsorTrialDrugsResponse.md +58 -0
- data/docs/SponsorTrialDrugsRow.md +34 -0
- data/lib/pharmaobservatory/api/biomarkers_api.rb +336 -0
- data/lib/pharmaobservatory/api/companies_api.rb +1131 -130
- data/lib/pharmaobservatory/api/legal_entities_api.rb +1047 -123
- data/lib/pharmaobservatory/api/rwd_conductors_api.rb +413 -0
- data/lib/pharmaobservatory/api/rwd_institutions_api.rb +161 -0
- data/lib/pharmaobservatory/api/rwd_networks_api.rb +161 -0
- data/lib/pharmaobservatory/api/rwd_studies_api.rb +84 -0
- data/lib/pharmaobservatory/models/biomarker_allele_frequencies_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_allele_frequencies_row.rb +465 -0
- data/lib/pharmaobservatory/models/biomarker_assay_providers_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_assay_providers_row.rb +520 -0
- data/lib/pharmaobservatory/models/biomarker_evidence_by_year_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_evidence_by_year_row.rb +300 -0
- data/lib/pharmaobservatory/models/biomarker_traversal_status_response.rb +478 -0
- data/lib/pharmaobservatory/models/biomarker_traversal_status_row.rb +322 -0
- data/lib/pharmaobservatory/models/company_assets_row.rb +24 -2
- data/lib/pharmaobservatory/models/company_biomarker_capability_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_biomarker_capability_row.rb +498 -0
- data/lib/pharmaobservatory/models/company_programs_row.rb +24 -2
- data/lib/pharmaobservatory/models/company_rare_disease_declarations_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_rare_disease_declarations_row.rb +410 -0
- data/lib/pharmaobservatory/models/gxp_facilities_row.rb +122 -1
- data/lib/pharmaobservatory/models/legal_entities_record_attributes.rb +28 -1
- data/lib/pharmaobservatory/models/legal_entity_sec_filings_response.rb +478 -0
- data/lib/pharmaobservatory/models/legal_entity_sec_filings_row.rb +370 -0
- data/lib/pharmaobservatory/models/org_disclosure_trend_response.rb +478 -0
- data/lib/pharmaobservatory/models/org_disclosure_trend_row.rb +465 -0
- data/lib/pharmaobservatory/models/ownership_source_coverage_response.rb +478 -0
- data/lib/pharmaobservatory/models/ownership_source_coverage_row.rb +465 -0
- data/lib/pharmaobservatory/models/program_licensing_candidates_row.rb +24 -2
- data/lib/pharmaobservatory/models/programs_row.rb +1 -1
- data/lib/pharmaobservatory/models/rwd_conductor_delivery_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductor_delivery_row.rb +537 -0
- data/lib/pharmaobservatory/models/rwd_conductor_footprint_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductor_footprint_row.rb +346 -0
- data/lib/pharmaobservatory/models/rwd_conductor_studies_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductor_studies_row.rb +355 -0
- data/lib/pharmaobservatory/models/rwd_conductors_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_conductors_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_conductors_row.rb +526 -0
- data/lib/pharmaobservatory/models/rwd_institutions_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_institutions_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_institutions_row.rb +981 -0
- data/lib/pharmaobservatory/models/rwd_networks_record.rb +385 -0
- data/lib/pharmaobservatory/models/rwd_networks_response.rb +478 -0
- data/lib/pharmaobservatory/models/rwd_networks_row.rb +733 -0
- data/lib/pharmaobservatory/models/sbti_crosscheck_response.rb +478 -0
- data/lib/pharmaobservatory/models/sbti_crosscheck_row.rb +388 -0
- data/lib/pharmaobservatory/models/sponsor_delivery_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_delivery_row.rb +410 -0
- data/lib/pharmaobservatory/models/sponsor_patent_mentions_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_patent_mentions_row.rb +355 -0
- data/lib/pharmaobservatory/models/sponsor_trial_conditions_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_trial_conditions_row.rb +322 -0
- data/lib/pharmaobservatory/models/sponsor_trial_drugs_response.rb +478 -0
- data/lib/pharmaobservatory/models/sponsor_trial_drugs_row.rb +311 -0
- data/lib/pharmaobservatory/version.rb +1 -1
- data/lib/pharmaobservatory.rb +46 -0
- metadata +94 -2
data/docs/CompaniesApi.md
CHANGED
|
@@ -11,10 +11,12 @@ All URIs are relative to *https://pharmaobservatory.com*
|
|
|
11
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
12
|
| [**companies_clia_certificates**](CompaniesApi.md#companies_clia_certificates) | **GET** /api/v1/companies/{id}/clia_certificates | CLIA laboratory certificates |
|
|
13
13
|
| [**companies_company_assets**](CompaniesApi.md#companies_company_assets) | **GET** /api/v1/companies/{id}/company_assets | Company assets (approved and marketed drugs) |
|
|
14
|
+
| [**companies_company_biomarker_capability**](CompaniesApi.md#companies_company_biomarker_capability) | **GET** /api/v1/companies/{id}/company_biomarker_capability | Company biomarker capability |
|
|
14
15
|
| [**companies_company_funding_events**](CompaniesApi.md#companies_company_funding_events) | **GET** /api/v1/companies/{id}/company_funding_events | Company funding events |
|
|
15
16
|
| [**companies_company_funding_summary**](CompaniesApi.md#companies_company_funding_summary) | **GET** /api/v1/companies/{id}/company_funding_summary | Company funding summary |
|
|
16
17
|
| [**companies_company_members**](CompaniesApi.md#companies_company_members) | **GET** /api/v1/companies/{id}/company_members | Company members |
|
|
17
18
|
| [**companies_company_programs**](CompaniesApi.md#companies_company_programs) | **GET** /api/v1/companies/{id}/company_programs | Company programs |
|
|
19
|
+
| [**companies_company_rare_disease_declarations**](CompaniesApi.md#companies_company_rare_disease_declarations) | **GET** /api/v1/companies/{id}/company_rare_disease_declarations | Organization-wide rare disease declarations |
|
|
18
20
|
| [**companies_company_targets**](CompaniesApi.md#companies_company_targets) | **GET** /api/v1/companies/{id}/company_targets | Targets a company pursues |
|
|
19
21
|
| [**companies_company_trial_geography**](CompaniesApi.md#companies_company_trial_geography) | **GET** /api/v1/companies/{id}/company_trial_geography | Company trial geography |
|
|
20
22
|
| [**companies_company_trial_sites**](CompaniesApi.md#companies_company_trial_sites) | **GET** /api/v1/companies/{id}/company_trial_sites | Company trial sites |
|
|
@@ -31,16 +33,25 @@ All URIs are relative to *https://pharmaobservatory.com*
|
|
|
31
33
|
| [**companies_institutional_holdings**](CompaniesApi.md#companies_institutional_holdings) | **GET** /api/v1/companies/{id}/institutional_holdings | Institutional holdings (SEC Form 13F) |
|
|
32
34
|
| [**companies_institutional_quarter_totals**](CompaniesApi.md#companies_institutional_quarter_totals) | **GET** /api/v1/companies/{id}/institutional_quarter_totals | Institutional quarter totals (SEC Form 13F) |
|
|
33
35
|
| [**companies_legal_entities**](CompaniesApi.md#companies_legal_entities) | **GET** /api/v1/companies/{id}/legal_entities | Legal entities |
|
|
36
|
+
| [**companies_legal_entity_sec_filings**](CompaniesApi.md#companies_legal_entity_sec_filings) | **GET** /api/v1/companies/{id}/legal_entity_sec_filings | SEC filer records |
|
|
34
37
|
| [**companies_list**](CompaniesApi.md#companies_list) | **GET** /api/v1/companies | List companies |
|
|
38
|
+
| [**companies_org_disclosure_trend**](CompaniesApi.md#companies_org_disclosure_trend) | **GET** /api/v1/companies/{id}/org_disclosure_trend | Organization disclosure trend |
|
|
35
39
|
| [**companies_org_disclosures**](CompaniesApi.md#companies_org_disclosures) | **GET** /api/v1/companies/{id}/org_disclosures | Organization disclosures (climate and diversity) |
|
|
36
40
|
| [**companies_org_relationships**](CompaniesApi.md#companies_org_relationships) | **GET** /api/v1/companies/{id}/org_relationships | Organization relationships |
|
|
37
41
|
| [**companies_ownership_percentages**](CompaniesApi.md#companies_ownership_percentages) | **GET** /api/v1/companies/{id}/ownership_percentages | Ownership percentages |
|
|
38
42
|
| [**companies_ownership_positions**](CompaniesApi.md#companies_ownership_positions) | **GET** /api/v1/companies/{id}/ownership_positions | Ownership and control positions |
|
|
43
|
+
| [**companies_ownership_source_coverage**](CompaniesApi.md#companies_ownership_source_coverage) | **GET** /api/v1/companies/{id}/ownership_source_coverage | Ownership source coverage |
|
|
39
44
|
| [**companies_pdufa_dates**](CompaniesApi.md#companies_pdufa_dates) | **GET** /api/v1/companies/{id}/pdufa_dates | FDA decision dates (PDUFA) and catalysts |
|
|
40
45
|
| [**companies_program_licensing_candidates**](CompaniesApi.md#companies_program_licensing_candidates) | **GET** /api/v1/companies/{id}/program_licensing_candidates | Program licensing candidates |
|
|
41
46
|
| [**companies_recalls**](CompaniesApi.md#companies_recalls) | **GET** /api/v1/companies/{id}/recalls | FDA recalls |
|
|
47
|
+
| [**companies_sbti_crosscheck**](CompaniesApi.md#companies_sbti_crosscheck) | **GET** /api/v1/companies/{id}/sbti_crosscheck | SBTi cross-check |
|
|
48
|
+
| [**companies_sec_pdufa_dates**](CompaniesApi.md#companies_sec_pdufa_dates) | **GET** /api/v1/companies/{id}/sec_pdufa_dates | FDA dates disclosed in SEC filings |
|
|
49
|
+
| [**companies_sponsor_delivery**](CompaniesApi.md#companies_sponsor_delivery) | **GET** /api/v1/companies/{id}/sponsor_delivery | Sponsor delivery reliability |
|
|
50
|
+
| [**companies_sponsor_patent_mentions**](CompaniesApi.md#companies_sponsor_patent_mentions) | **GET** /api/v1/companies/{id}/sponsor_patent_mentions | Sponsor patent mentions |
|
|
42
51
|
| [**companies_sponsor_recruitment_by_phase**](CompaniesApi.md#companies_sponsor_recruitment_by_phase) | **GET** /api/v1/companies/{id}/sponsor_recruitment_by_phase | Trial recruitment duration by sponsor and phase |
|
|
43
52
|
| [**companies_sponsor_recruitment_duration**](CompaniesApi.md#companies_sponsor_recruitment_duration) | **GET** /api/v1/companies/{id}/sponsor_recruitment_duration | Trial recruitment duration by sponsor |
|
|
53
|
+
| [**companies_sponsor_trial_conditions**](CompaniesApi.md#companies_sponsor_trial_conditions) | **GET** /api/v1/companies/{id}/sponsor_trial_conditions | Sponsor trial conditions |
|
|
54
|
+
| [**companies_sponsor_trial_drugs**](CompaniesApi.md#companies_sponsor_trial_drugs) | **GET** /api/v1/companies/{id}/sponsor_trial_drugs | Sponsor trial drugs |
|
|
44
55
|
| [**companies_sponsor_trial_start_forecast**](CompaniesApi.md#companies_sponsor_trial_start_forecast) | **GET** /api/v1/companies/{id}/sponsor_trial_start_forecast | Trial-start forecast by sponsor |
|
|
45
56
|
| [**companies_sponsor_trials**](CompaniesApi.md#companies_sponsor_trials) | **GET** /api/v1/companies/{id}/sponsor_trials | Sponsor trials |
|
|
46
57
|
| [**companies_supplier_capability_esg**](CompaniesApi.md#companies_supplier_capability_esg) | **GET** /api/v1/companies/{id}/supplier_capability_esg | Supplier capability and ESG disclosure |
|
|
@@ -616,6 +627,87 @@ end
|
|
|
616
627
|
- **Accept**: application/json
|
|
617
628
|
|
|
618
629
|
|
|
630
|
+
## companies_company_biomarker_capability
|
|
631
|
+
|
|
632
|
+
> <CompanyBiomarkerCapabilityResponse> companies_company_biomarker_capability(id, opts)
|
|
633
|
+
|
|
634
|
+
Company biomarker capability
|
|
635
|
+
|
|
636
|
+
### Examples
|
|
637
|
+
|
|
638
|
+
```ruby
|
|
639
|
+
require 'time'
|
|
640
|
+
require 'pharmaobservatory'
|
|
641
|
+
# setup authorization
|
|
642
|
+
PharmaObservatory.configure do |config|
|
|
643
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
644
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
645
|
+
end
|
|
646
|
+
|
|
647
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
648
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
649
|
+
opts = {
|
|
650
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
651
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
652
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
653
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
654
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
655
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
begin
|
|
659
|
+
# Company biomarker capability
|
|
660
|
+
result = api_instance.companies_company_biomarker_capability(id, opts)
|
|
661
|
+
p result
|
|
662
|
+
rescue PharmaObservatory::ApiError => e
|
|
663
|
+
puts "Error when calling CompaniesApi->companies_company_biomarker_capability: #{e}"
|
|
664
|
+
end
|
|
665
|
+
```
|
|
666
|
+
|
|
667
|
+
#### Using the companies_company_biomarker_capability_with_http_info variant
|
|
668
|
+
|
|
669
|
+
This returns an Array which contains the response data, status code and headers.
|
|
670
|
+
|
|
671
|
+
> <Array(<CompanyBiomarkerCapabilityResponse>, Integer, Hash)> companies_company_biomarker_capability_with_http_info(id, opts)
|
|
672
|
+
|
|
673
|
+
```ruby
|
|
674
|
+
begin
|
|
675
|
+
# Company biomarker capability
|
|
676
|
+
data, status_code, headers = api_instance.companies_company_biomarker_capability_with_http_info(id, opts)
|
|
677
|
+
p status_code # => 2xx
|
|
678
|
+
p headers # => { ... }
|
|
679
|
+
p data # => <CompanyBiomarkerCapabilityResponse>
|
|
680
|
+
rescue PharmaObservatory::ApiError => e
|
|
681
|
+
puts "Error when calling CompaniesApi->companies_company_biomarker_capability_with_http_info: #{e}"
|
|
682
|
+
end
|
|
683
|
+
```
|
|
684
|
+
|
|
685
|
+
### Parameters
|
|
686
|
+
|
|
687
|
+
| Name | Type | Description | Notes |
|
|
688
|
+
| ---- | ---- | ----------- | ----- |
|
|
689
|
+
| **id** | **String** | | |
|
|
690
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
691
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
692
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
693
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
694
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
695
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
696
|
+
|
|
697
|
+
### Return type
|
|
698
|
+
|
|
699
|
+
[**CompanyBiomarkerCapabilityResponse**](CompanyBiomarkerCapabilityResponse.md)
|
|
700
|
+
|
|
701
|
+
### Authorization
|
|
702
|
+
|
|
703
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
704
|
+
|
|
705
|
+
### HTTP request headers
|
|
706
|
+
|
|
707
|
+
- **Content-Type**: Not defined
|
|
708
|
+
- **Accept**: application/json
|
|
709
|
+
|
|
710
|
+
|
|
619
711
|
## companies_company_funding_events
|
|
620
712
|
|
|
621
713
|
> <CompanyFundingEventsResponse> companies_company_funding_events(id, opts)
|
|
@@ -940,6 +1032,87 @@ end
|
|
|
940
1032
|
- **Accept**: application/json
|
|
941
1033
|
|
|
942
1034
|
|
|
1035
|
+
## companies_company_rare_disease_declarations
|
|
1036
|
+
|
|
1037
|
+
> <CompanyRareDiseaseDeclarationsResponse> companies_company_rare_disease_declarations(id, opts)
|
|
1038
|
+
|
|
1039
|
+
Organization-wide rare disease declarations
|
|
1040
|
+
|
|
1041
|
+
### Examples
|
|
1042
|
+
|
|
1043
|
+
```ruby
|
|
1044
|
+
require 'time'
|
|
1045
|
+
require 'pharmaobservatory'
|
|
1046
|
+
# setup authorization
|
|
1047
|
+
PharmaObservatory.configure do |config|
|
|
1048
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
1049
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1050
|
+
end
|
|
1051
|
+
|
|
1052
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
1053
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
1054
|
+
opts = {
|
|
1055
|
+
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.
|
|
1056
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
1057
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
1058
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
1059
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
1060
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
begin
|
|
1064
|
+
# Organization-wide rare disease declarations
|
|
1065
|
+
result = api_instance.companies_company_rare_disease_declarations(id, opts)
|
|
1066
|
+
p result
|
|
1067
|
+
rescue PharmaObservatory::ApiError => e
|
|
1068
|
+
puts "Error when calling CompaniesApi->companies_company_rare_disease_declarations: #{e}"
|
|
1069
|
+
end
|
|
1070
|
+
```
|
|
1071
|
+
|
|
1072
|
+
#### Using the companies_company_rare_disease_declarations_with_http_info variant
|
|
1073
|
+
|
|
1074
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1075
|
+
|
|
1076
|
+
> <Array(<CompanyRareDiseaseDeclarationsResponse>, Integer, Hash)> companies_company_rare_disease_declarations_with_http_info(id, opts)
|
|
1077
|
+
|
|
1078
|
+
```ruby
|
|
1079
|
+
begin
|
|
1080
|
+
# Organization-wide rare disease declarations
|
|
1081
|
+
data, status_code, headers = api_instance.companies_company_rare_disease_declarations_with_http_info(id, opts)
|
|
1082
|
+
p status_code # => 2xx
|
|
1083
|
+
p headers # => { ... }
|
|
1084
|
+
p data # => <CompanyRareDiseaseDeclarationsResponse>
|
|
1085
|
+
rescue PharmaObservatory::ApiError => e
|
|
1086
|
+
puts "Error when calling CompaniesApi->companies_company_rare_disease_declarations_with_http_info: #{e}"
|
|
1087
|
+
end
|
|
1088
|
+
```
|
|
1089
|
+
|
|
1090
|
+
### Parameters
|
|
1091
|
+
|
|
1092
|
+
| Name | Type | Description | Notes |
|
|
1093
|
+
| ---- | ---- | ----------- | ----- |
|
|
1094
|
+
| **id** | **String** | | |
|
|
1095
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
1096
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
1097
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
1098
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
1099
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
1100
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
1101
|
+
|
|
1102
|
+
### Return type
|
|
1103
|
+
|
|
1104
|
+
[**CompanyRareDiseaseDeclarationsResponse**](CompanyRareDiseaseDeclarationsResponse.md)
|
|
1105
|
+
|
|
1106
|
+
### Authorization
|
|
1107
|
+
|
|
1108
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
1109
|
+
|
|
1110
|
+
### HTTP request headers
|
|
1111
|
+
|
|
1112
|
+
- **Content-Type**: Not defined
|
|
1113
|
+
- **Accept**: application/json
|
|
1114
|
+
|
|
1115
|
+
|
|
943
1116
|
## companies_company_targets
|
|
944
1117
|
|
|
945
1118
|
> <CompanyTargetsResponse> companies_company_targets(id, opts)
|
|
@@ -2222,11 +2395,11 @@ end
|
|
|
2222
2395
|
- **Accept**: application/json
|
|
2223
2396
|
|
|
2224
2397
|
|
|
2225
|
-
##
|
|
2398
|
+
## companies_legal_entity_sec_filings
|
|
2226
2399
|
|
|
2227
|
-
> <
|
|
2400
|
+
> <LegalEntitySecFilingsResponse> companies_legal_entity_sec_filings(id, opts)
|
|
2228
2401
|
|
|
2229
|
-
|
|
2402
|
+
SEC filer records
|
|
2230
2403
|
|
|
2231
2404
|
### Examples
|
|
2232
2405
|
|
|
@@ -2240,38 +2413,40 @@ PharmaObservatory.configure do |config|
|
|
|
2240
2413
|
end
|
|
2241
2414
|
|
|
2242
2415
|
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2416
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2243
2417
|
opts = {
|
|
2244
2418
|
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2245
2419
|
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2246
2420
|
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2247
2421
|
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).
|
|
2422
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2423
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2249
2424
|
}
|
|
2250
2425
|
|
|
2251
2426
|
begin
|
|
2252
|
-
#
|
|
2253
|
-
result = api_instance.
|
|
2427
|
+
# SEC filer records
|
|
2428
|
+
result = api_instance.companies_legal_entity_sec_filings(id, opts)
|
|
2254
2429
|
p result
|
|
2255
2430
|
rescue PharmaObservatory::ApiError => e
|
|
2256
|
-
puts "Error when calling CompaniesApi->
|
|
2431
|
+
puts "Error when calling CompaniesApi->companies_legal_entity_sec_filings: #{e}"
|
|
2257
2432
|
end
|
|
2258
2433
|
```
|
|
2259
2434
|
|
|
2260
|
-
#### Using the
|
|
2435
|
+
#### Using the companies_legal_entity_sec_filings_with_http_info variant
|
|
2261
2436
|
|
|
2262
2437
|
This returns an Array which contains the response data, status code and headers.
|
|
2263
2438
|
|
|
2264
|
-
> <Array(<
|
|
2439
|
+
> <Array(<LegalEntitySecFilingsResponse>, Integer, Hash)> companies_legal_entity_sec_filings_with_http_info(id, opts)
|
|
2265
2440
|
|
|
2266
2441
|
```ruby
|
|
2267
2442
|
begin
|
|
2268
|
-
#
|
|
2269
|
-
data, status_code, headers = api_instance.
|
|
2443
|
+
# SEC filer records
|
|
2444
|
+
data, status_code, headers = api_instance.companies_legal_entity_sec_filings_with_http_info(id, opts)
|
|
2270
2445
|
p status_code # => 2xx
|
|
2271
2446
|
p headers # => { ... }
|
|
2272
|
-
p data # => <
|
|
2447
|
+
p data # => <LegalEntitySecFilingsResponse>
|
|
2273
2448
|
rescue PharmaObservatory::ApiError => e
|
|
2274
|
-
puts "Error when calling CompaniesApi->
|
|
2449
|
+
puts "Error when calling CompaniesApi->companies_legal_entity_sec_filings_with_http_info: #{e}"
|
|
2275
2450
|
end
|
|
2276
2451
|
```
|
|
2277
2452
|
|
|
@@ -2279,15 +2454,17 @@ end
|
|
|
2279
2454
|
|
|
2280
2455
|
| Name | Type | Description | Notes |
|
|
2281
2456
|
| ---- | ---- | ----------- | ----- |
|
|
2457
|
+
| **id** | **String** | | |
|
|
2282
2458
|
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2283
2459
|
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2284
2460
|
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2285
2461
|
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2286
2462
|
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2463
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2287
2464
|
|
|
2288
2465
|
### Return type
|
|
2289
2466
|
|
|
2290
|
-
[**
|
|
2467
|
+
[**LegalEntitySecFilingsResponse**](LegalEntitySecFilingsResponse.md)
|
|
2291
2468
|
|
|
2292
2469
|
### Authorization
|
|
2293
2470
|
|
|
@@ -2299,11 +2476,11 @@ end
|
|
|
2299
2476
|
- **Accept**: application/json
|
|
2300
2477
|
|
|
2301
2478
|
|
|
2302
|
-
##
|
|
2479
|
+
## companies_list
|
|
2303
2480
|
|
|
2304
|
-
> <
|
|
2481
|
+
> <CompaniesResponse> companies_list(opts)
|
|
2305
2482
|
|
|
2306
|
-
|
|
2483
|
+
List companies
|
|
2307
2484
|
|
|
2308
2485
|
### Examples
|
|
2309
2486
|
|
|
@@ -2317,40 +2494,38 @@ PharmaObservatory.configure do |config|
|
|
|
2317
2494
|
end
|
|
2318
2495
|
|
|
2319
2496
|
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2320
|
-
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2321
2497
|
opts = {
|
|
2322
2498
|
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2323
2499
|
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2324
2500
|
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2325
2501
|
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2326
|
-
measure: 'measure_example'
|
|
2327
|
-
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2502
|
+
measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2328
2503
|
}
|
|
2329
2504
|
|
|
2330
2505
|
begin
|
|
2331
|
-
#
|
|
2332
|
-
result = api_instance.
|
|
2506
|
+
# List companies
|
|
2507
|
+
result = api_instance.companies_list(opts)
|
|
2333
2508
|
p result
|
|
2334
2509
|
rescue PharmaObservatory::ApiError => e
|
|
2335
|
-
puts "Error when calling CompaniesApi->
|
|
2510
|
+
puts "Error when calling CompaniesApi->companies_list: #{e}"
|
|
2336
2511
|
end
|
|
2337
2512
|
```
|
|
2338
2513
|
|
|
2339
|
-
#### Using the
|
|
2514
|
+
#### Using the companies_list_with_http_info variant
|
|
2340
2515
|
|
|
2341
2516
|
This returns an Array which contains the response data, status code and headers.
|
|
2342
2517
|
|
|
2343
|
-
> <Array(<
|
|
2518
|
+
> <Array(<CompaniesResponse>, Integer, Hash)> companies_list_with_http_info(opts)
|
|
2344
2519
|
|
|
2345
2520
|
```ruby
|
|
2346
2521
|
begin
|
|
2347
|
-
#
|
|
2348
|
-
data, status_code, headers = api_instance.
|
|
2522
|
+
# List companies
|
|
2523
|
+
data, status_code, headers = api_instance.companies_list_with_http_info(opts)
|
|
2349
2524
|
p status_code # => 2xx
|
|
2350
2525
|
p headers # => { ... }
|
|
2351
|
-
p data # => <
|
|
2526
|
+
p data # => <CompaniesResponse>
|
|
2352
2527
|
rescue PharmaObservatory::ApiError => e
|
|
2353
|
-
puts "Error when calling CompaniesApi->
|
|
2528
|
+
puts "Error when calling CompaniesApi->companies_list_with_http_info: #{e}"
|
|
2354
2529
|
end
|
|
2355
2530
|
```
|
|
2356
2531
|
|
|
@@ -2358,17 +2533,15 @@ end
|
|
|
2358
2533
|
|
|
2359
2534
|
| Name | Type | Description | Notes |
|
|
2360
2535
|
| ---- | ---- | ----------- | ----- |
|
|
2361
|
-
| **id** | **String** | | |
|
|
2362
2536
|
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2363
2537
|
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2364
2538
|
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2365
2539
|
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2366
2540
|
| **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
2541
|
|
|
2369
2542
|
### Return type
|
|
2370
2543
|
|
|
2371
|
-
[**
|
|
2544
|
+
[**CompaniesResponse**](CompaniesResponse.md)
|
|
2372
2545
|
|
|
2373
2546
|
### Authorization
|
|
2374
2547
|
|
|
@@ -2380,11 +2553,11 @@ end
|
|
|
2380
2553
|
- **Accept**: application/json
|
|
2381
2554
|
|
|
2382
2555
|
|
|
2383
|
-
##
|
|
2556
|
+
## companies_org_disclosure_trend
|
|
2384
2557
|
|
|
2385
|
-
> <
|
|
2558
|
+
> <OrgDisclosureTrendResponse> companies_org_disclosure_trend(id, opts)
|
|
2386
2559
|
|
|
2387
|
-
Organization
|
|
2560
|
+
Organization disclosure trend
|
|
2388
2561
|
|
|
2389
2562
|
### Examples
|
|
2390
2563
|
|
|
@@ -2409,29 +2582,29 @@ opts = {
|
|
|
2409
2582
|
}
|
|
2410
2583
|
|
|
2411
2584
|
begin
|
|
2412
|
-
# Organization
|
|
2413
|
-
result = api_instance.
|
|
2585
|
+
# Organization disclosure trend
|
|
2586
|
+
result = api_instance.companies_org_disclosure_trend(id, opts)
|
|
2414
2587
|
p result
|
|
2415
2588
|
rescue PharmaObservatory::ApiError => e
|
|
2416
|
-
puts "Error when calling CompaniesApi->
|
|
2589
|
+
puts "Error when calling CompaniesApi->companies_org_disclosure_trend: #{e}"
|
|
2417
2590
|
end
|
|
2418
2591
|
```
|
|
2419
2592
|
|
|
2420
|
-
#### Using the
|
|
2593
|
+
#### Using the companies_org_disclosure_trend_with_http_info variant
|
|
2421
2594
|
|
|
2422
2595
|
This returns an Array which contains the response data, status code and headers.
|
|
2423
2596
|
|
|
2424
|
-
> <Array(<
|
|
2597
|
+
> <Array(<OrgDisclosureTrendResponse>, Integer, Hash)> companies_org_disclosure_trend_with_http_info(id, opts)
|
|
2425
2598
|
|
|
2426
2599
|
```ruby
|
|
2427
2600
|
begin
|
|
2428
|
-
# Organization
|
|
2429
|
-
data, status_code, headers = api_instance.
|
|
2601
|
+
# Organization disclosure trend
|
|
2602
|
+
data, status_code, headers = api_instance.companies_org_disclosure_trend_with_http_info(id, opts)
|
|
2430
2603
|
p status_code # => 2xx
|
|
2431
2604
|
p headers # => { ... }
|
|
2432
|
-
p data # => <
|
|
2605
|
+
p data # => <OrgDisclosureTrendResponse>
|
|
2433
2606
|
rescue PharmaObservatory::ApiError => e
|
|
2434
|
-
puts "Error when calling CompaniesApi->
|
|
2607
|
+
puts "Error when calling CompaniesApi->companies_org_disclosure_trend_with_http_info: #{e}"
|
|
2435
2608
|
end
|
|
2436
2609
|
```
|
|
2437
2610
|
|
|
@@ -2449,7 +2622,7 @@ end
|
|
|
2449
2622
|
|
|
2450
2623
|
### Return type
|
|
2451
2624
|
|
|
2452
|
-
[**
|
|
2625
|
+
[**OrgDisclosureTrendResponse**](OrgDisclosureTrendResponse.md)
|
|
2453
2626
|
|
|
2454
2627
|
### Authorization
|
|
2455
2628
|
|
|
@@ -2461,11 +2634,11 @@ end
|
|
|
2461
2634
|
- **Accept**: application/json
|
|
2462
2635
|
|
|
2463
2636
|
|
|
2464
|
-
##
|
|
2637
|
+
## companies_org_disclosures
|
|
2465
2638
|
|
|
2466
|
-
> <
|
|
2639
|
+
> <OrgDisclosuresResponse> companies_org_disclosures(id, opts)
|
|
2467
2640
|
|
|
2468
|
-
|
|
2641
|
+
Organization disclosures (climate and diversity)
|
|
2469
2642
|
|
|
2470
2643
|
### Examples
|
|
2471
2644
|
|
|
@@ -2490,29 +2663,29 @@ opts = {
|
|
|
2490
2663
|
}
|
|
2491
2664
|
|
|
2492
2665
|
begin
|
|
2493
|
-
#
|
|
2494
|
-
result = api_instance.
|
|
2666
|
+
# Organization disclosures (climate and diversity)
|
|
2667
|
+
result = api_instance.companies_org_disclosures(id, opts)
|
|
2495
2668
|
p result
|
|
2496
2669
|
rescue PharmaObservatory::ApiError => e
|
|
2497
|
-
puts "Error when calling CompaniesApi->
|
|
2670
|
+
puts "Error when calling CompaniesApi->companies_org_disclosures: #{e}"
|
|
2498
2671
|
end
|
|
2499
2672
|
```
|
|
2500
2673
|
|
|
2501
|
-
#### Using the
|
|
2674
|
+
#### Using the companies_org_disclosures_with_http_info variant
|
|
2502
2675
|
|
|
2503
2676
|
This returns an Array which contains the response data, status code and headers.
|
|
2504
2677
|
|
|
2505
|
-
> <Array(<
|
|
2678
|
+
> <Array(<OrgDisclosuresResponse>, Integer, Hash)> companies_org_disclosures_with_http_info(id, opts)
|
|
2506
2679
|
|
|
2507
2680
|
```ruby
|
|
2508
2681
|
begin
|
|
2509
|
-
#
|
|
2510
|
-
data, status_code, headers = api_instance.
|
|
2682
|
+
# Organization disclosures (climate and diversity)
|
|
2683
|
+
data, status_code, headers = api_instance.companies_org_disclosures_with_http_info(id, opts)
|
|
2511
2684
|
p status_code # => 2xx
|
|
2512
2685
|
p headers # => { ... }
|
|
2513
|
-
p data # => <
|
|
2686
|
+
p data # => <OrgDisclosuresResponse>
|
|
2514
2687
|
rescue PharmaObservatory::ApiError => e
|
|
2515
|
-
puts "Error when calling CompaniesApi->
|
|
2688
|
+
puts "Error when calling CompaniesApi->companies_org_disclosures_with_http_info: #{e}"
|
|
2516
2689
|
end
|
|
2517
2690
|
```
|
|
2518
2691
|
|
|
@@ -2530,7 +2703,7 @@ end
|
|
|
2530
2703
|
|
|
2531
2704
|
### Return type
|
|
2532
2705
|
|
|
2533
|
-
[**
|
|
2706
|
+
[**OrgDisclosuresResponse**](OrgDisclosuresResponse.md)
|
|
2534
2707
|
|
|
2535
2708
|
### Authorization
|
|
2536
2709
|
|
|
@@ -2542,11 +2715,11 @@ end
|
|
|
2542
2715
|
- **Accept**: application/json
|
|
2543
2716
|
|
|
2544
2717
|
|
|
2545
|
-
##
|
|
2718
|
+
## companies_org_relationships
|
|
2546
2719
|
|
|
2547
|
-
> <
|
|
2720
|
+
> <OrgRelationshipsResponse> companies_org_relationships(id, opts)
|
|
2548
2721
|
|
|
2549
|
-
|
|
2722
|
+
Organization relationships
|
|
2550
2723
|
|
|
2551
2724
|
### Examples
|
|
2552
2725
|
|
|
@@ -2571,29 +2744,29 @@ opts = {
|
|
|
2571
2744
|
}
|
|
2572
2745
|
|
|
2573
2746
|
begin
|
|
2574
|
-
#
|
|
2575
|
-
result = api_instance.
|
|
2747
|
+
# Organization relationships
|
|
2748
|
+
result = api_instance.companies_org_relationships(id, opts)
|
|
2576
2749
|
p result
|
|
2577
2750
|
rescue PharmaObservatory::ApiError => e
|
|
2578
|
-
puts "Error when calling CompaniesApi->
|
|
2751
|
+
puts "Error when calling CompaniesApi->companies_org_relationships: #{e}"
|
|
2579
2752
|
end
|
|
2580
2753
|
```
|
|
2581
2754
|
|
|
2582
|
-
#### Using the
|
|
2755
|
+
#### Using the companies_org_relationships_with_http_info variant
|
|
2583
2756
|
|
|
2584
2757
|
This returns an Array which contains the response data, status code and headers.
|
|
2585
2758
|
|
|
2586
|
-
> <Array(<
|
|
2759
|
+
> <Array(<OrgRelationshipsResponse>, Integer, Hash)> companies_org_relationships_with_http_info(id, opts)
|
|
2587
2760
|
|
|
2588
2761
|
```ruby
|
|
2589
2762
|
begin
|
|
2590
|
-
#
|
|
2591
|
-
data, status_code, headers = api_instance.
|
|
2763
|
+
# Organization relationships
|
|
2764
|
+
data, status_code, headers = api_instance.companies_org_relationships_with_http_info(id, opts)
|
|
2592
2765
|
p status_code # => 2xx
|
|
2593
2766
|
p headers # => { ... }
|
|
2594
|
-
p data # => <
|
|
2767
|
+
p data # => <OrgRelationshipsResponse>
|
|
2595
2768
|
rescue PharmaObservatory::ApiError => e
|
|
2596
|
-
puts "Error when calling CompaniesApi->
|
|
2769
|
+
puts "Error when calling CompaniesApi->companies_org_relationships_with_http_info: #{e}"
|
|
2597
2770
|
end
|
|
2598
2771
|
```
|
|
2599
2772
|
|
|
@@ -2611,7 +2784,7 @@ end
|
|
|
2611
2784
|
|
|
2612
2785
|
### Return type
|
|
2613
2786
|
|
|
2614
|
-
[**
|
|
2787
|
+
[**OrgRelationshipsResponse**](OrgRelationshipsResponse.md)
|
|
2615
2788
|
|
|
2616
2789
|
### Authorization
|
|
2617
2790
|
|
|
@@ -2623,9 +2796,252 @@ end
|
|
|
2623
2796
|
- **Accept**: application/json
|
|
2624
2797
|
|
|
2625
2798
|
|
|
2626
|
-
##
|
|
2799
|
+
## companies_ownership_percentages
|
|
2627
2800
|
|
|
2628
|
-
> <
|
|
2801
|
+
> <OwnershipPercentagesResponse> companies_ownership_percentages(id, opts)
|
|
2802
|
+
|
|
2803
|
+
Ownership percentages
|
|
2804
|
+
|
|
2805
|
+
### Examples
|
|
2806
|
+
|
|
2807
|
+
```ruby
|
|
2808
|
+
require 'time'
|
|
2809
|
+
require 'pharmaobservatory'
|
|
2810
|
+
# setup authorization
|
|
2811
|
+
PharmaObservatory.configure do |config|
|
|
2812
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2813
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2814
|
+
end
|
|
2815
|
+
|
|
2816
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2817
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2818
|
+
opts = {
|
|
2819
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2820
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2821
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2822
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2823
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2824
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
begin
|
|
2828
|
+
# Ownership percentages
|
|
2829
|
+
result = api_instance.companies_ownership_percentages(id, opts)
|
|
2830
|
+
p result
|
|
2831
|
+
rescue PharmaObservatory::ApiError => e
|
|
2832
|
+
puts "Error when calling CompaniesApi->companies_ownership_percentages: #{e}"
|
|
2833
|
+
end
|
|
2834
|
+
```
|
|
2835
|
+
|
|
2836
|
+
#### Using the companies_ownership_percentages_with_http_info variant
|
|
2837
|
+
|
|
2838
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2839
|
+
|
|
2840
|
+
> <Array(<OwnershipPercentagesResponse>, Integer, Hash)> companies_ownership_percentages_with_http_info(id, opts)
|
|
2841
|
+
|
|
2842
|
+
```ruby
|
|
2843
|
+
begin
|
|
2844
|
+
# Ownership percentages
|
|
2845
|
+
data, status_code, headers = api_instance.companies_ownership_percentages_with_http_info(id, opts)
|
|
2846
|
+
p status_code # => 2xx
|
|
2847
|
+
p headers # => { ... }
|
|
2848
|
+
p data # => <OwnershipPercentagesResponse>
|
|
2849
|
+
rescue PharmaObservatory::ApiError => e
|
|
2850
|
+
puts "Error when calling CompaniesApi->companies_ownership_percentages_with_http_info: #{e}"
|
|
2851
|
+
end
|
|
2852
|
+
```
|
|
2853
|
+
|
|
2854
|
+
### Parameters
|
|
2855
|
+
|
|
2856
|
+
| Name | Type | Description | Notes |
|
|
2857
|
+
| ---- | ---- | ----------- | ----- |
|
|
2858
|
+
| **id** | **String** | | |
|
|
2859
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2860
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2861
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2862
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2863
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2864
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2865
|
+
|
|
2866
|
+
### Return type
|
|
2867
|
+
|
|
2868
|
+
[**OwnershipPercentagesResponse**](OwnershipPercentagesResponse.md)
|
|
2869
|
+
|
|
2870
|
+
### Authorization
|
|
2871
|
+
|
|
2872
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2873
|
+
|
|
2874
|
+
### HTTP request headers
|
|
2875
|
+
|
|
2876
|
+
- **Content-Type**: Not defined
|
|
2877
|
+
- **Accept**: application/json
|
|
2878
|
+
|
|
2879
|
+
|
|
2880
|
+
## companies_ownership_positions
|
|
2881
|
+
|
|
2882
|
+
> <OwnershipPositionsResponse> companies_ownership_positions(id, opts)
|
|
2883
|
+
|
|
2884
|
+
Ownership and control positions
|
|
2885
|
+
|
|
2886
|
+
### Examples
|
|
2887
|
+
|
|
2888
|
+
```ruby
|
|
2889
|
+
require 'time'
|
|
2890
|
+
require 'pharmaobservatory'
|
|
2891
|
+
# setup authorization
|
|
2892
|
+
PharmaObservatory.configure do |config|
|
|
2893
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2894
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2895
|
+
end
|
|
2896
|
+
|
|
2897
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2898
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2899
|
+
opts = {
|
|
2900
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2901
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2902
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2903
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2904
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2905
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2906
|
+
}
|
|
2907
|
+
|
|
2908
|
+
begin
|
|
2909
|
+
# Ownership and control positions
|
|
2910
|
+
result = api_instance.companies_ownership_positions(id, opts)
|
|
2911
|
+
p result
|
|
2912
|
+
rescue PharmaObservatory::ApiError => e
|
|
2913
|
+
puts "Error when calling CompaniesApi->companies_ownership_positions: #{e}"
|
|
2914
|
+
end
|
|
2915
|
+
```
|
|
2916
|
+
|
|
2917
|
+
#### Using the companies_ownership_positions_with_http_info variant
|
|
2918
|
+
|
|
2919
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2920
|
+
|
|
2921
|
+
> <Array(<OwnershipPositionsResponse>, Integer, Hash)> companies_ownership_positions_with_http_info(id, opts)
|
|
2922
|
+
|
|
2923
|
+
```ruby
|
|
2924
|
+
begin
|
|
2925
|
+
# Ownership and control positions
|
|
2926
|
+
data, status_code, headers = api_instance.companies_ownership_positions_with_http_info(id, opts)
|
|
2927
|
+
p status_code # => 2xx
|
|
2928
|
+
p headers # => { ... }
|
|
2929
|
+
p data # => <OwnershipPositionsResponse>
|
|
2930
|
+
rescue PharmaObservatory::ApiError => e
|
|
2931
|
+
puts "Error when calling CompaniesApi->companies_ownership_positions_with_http_info: #{e}"
|
|
2932
|
+
end
|
|
2933
|
+
```
|
|
2934
|
+
|
|
2935
|
+
### Parameters
|
|
2936
|
+
|
|
2937
|
+
| Name | Type | Description | Notes |
|
|
2938
|
+
| ---- | ---- | ----------- | ----- |
|
|
2939
|
+
| **id** | **String** | | |
|
|
2940
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
2941
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
2942
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
2943
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
2944
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
2945
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
2946
|
+
|
|
2947
|
+
### Return type
|
|
2948
|
+
|
|
2949
|
+
[**OwnershipPositionsResponse**](OwnershipPositionsResponse.md)
|
|
2950
|
+
|
|
2951
|
+
### Authorization
|
|
2952
|
+
|
|
2953
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
2954
|
+
|
|
2955
|
+
### HTTP request headers
|
|
2956
|
+
|
|
2957
|
+
- **Content-Type**: Not defined
|
|
2958
|
+
- **Accept**: application/json
|
|
2959
|
+
|
|
2960
|
+
|
|
2961
|
+
## companies_ownership_source_coverage
|
|
2962
|
+
|
|
2963
|
+
> <OwnershipSourceCoverageResponse> companies_ownership_source_coverage(id, opts)
|
|
2964
|
+
|
|
2965
|
+
Ownership source coverage
|
|
2966
|
+
|
|
2967
|
+
### Examples
|
|
2968
|
+
|
|
2969
|
+
```ruby
|
|
2970
|
+
require 'time'
|
|
2971
|
+
require 'pharmaobservatory'
|
|
2972
|
+
# setup authorization
|
|
2973
|
+
PharmaObservatory.configure do |config|
|
|
2974
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
2975
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2976
|
+
end
|
|
2977
|
+
|
|
2978
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
2979
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
2980
|
+
opts = {
|
|
2981
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
2982
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
2983
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
2984
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
2985
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
2986
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
2987
|
+
}
|
|
2988
|
+
|
|
2989
|
+
begin
|
|
2990
|
+
# Ownership source coverage
|
|
2991
|
+
result = api_instance.companies_ownership_source_coverage(id, opts)
|
|
2992
|
+
p result
|
|
2993
|
+
rescue PharmaObservatory::ApiError => e
|
|
2994
|
+
puts "Error when calling CompaniesApi->companies_ownership_source_coverage: #{e}"
|
|
2995
|
+
end
|
|
2996
|
+
```
|
|
2997
|
+
|
|
2998
|
+
#### Using the companies_ownership_source_coverage_with_http_info variant
|
|
2999
|
+
|
|
3000
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3001
|
+
|
|
3002
|
+
> <Array(<OwnershipSourceCoverageResponse>, Integer, Hash)> companies_ownership_source_coverage_with_http_info(id, opts)
|
|
3003
|
+
|
|
3004
|
+
```ruby
|
|
3005
|
+
begin
|
|
3006
|
+
# Ownership source coverage
|
|
3007
|
+
data, status_code, headers = api_instance.companies_ownership_source_coverage_with_http_info(id, opts)
|
|
3008
|
+
p status_code # => 2xx
|
|
3009
|
+
p headers # => { ... }
|
|
3010
|
+
p data # => <OwnershipSourceCoverageResponse>
|
|
3011
|
+
rescue PharmaObservatory::ApiError => e
|
|
3012
|
+
puts "Error when calling CompaniesApi->companies_ownership_source_coverage_with_http_info: #{e}"
|
|
3013
|
+
end
|
|
3014
|
+
```
|
|
3015
|
+
|
|
3016
|
+
### Parameters
|
|
3017
|
+
|
|
3018
|
+
| Name | Type | Description | Notes |
|
|
3019
|
+
| ---- | ---- | ----------- | ----- |
|
|
3020
|
+
| **id** | **String** | | |
|
|
3021
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3022
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3023
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3024
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3025
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3026
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3027
|
+
|
|
3028
|
+
### Return type
|
|
3029
|
+
|
|
3030
|
+
[**OwnershipSourceCoverageResponse**](OwnershipSourceCoverageResponse.md)
|
|
3031
|
+
|
|
3032
|
+
### Authorization
|
|
3033
|
+
|
|
3034
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3035
|
+
|
|
3036
|
+
### HTTP request headers
|
|
3037
|
+
|
|
3038
|
+
- **Content-Type**: Not defined
|
|
3039
|
+
- **Accept**: application/json
|
|
3040
|
+
|
|
3041
|
+
|
|
3042
|
+
## companies_pdufa_dates
|
|
3043
|
+
|
|
3044
|
+
> <PdufaDatesResponse> companies_pdufa_dates(id, opts)
|
|
2629
3045
|
|
|
2630
3046
|
FDA decision dates (PDUFA) and catalysts
|
|
2631
3047
|
|
|
@@ -2866,11 +3282,11 @@ end
|
|
|
2866
3282
|
- **Accept**: application/json
|
|
2867
3283
|
|
|
2868
3284
|
|
|
2869
|
-
##
|
|
3285
|
+
## companies_sbti_crosscheck
|
|
2870
3286
|
|
|
2871
|
-
> <
|
|
3287
|
+
> <SbtiCrosscheckResponse> companies_sbti_crosscheck(id, opts)
|
|
2872
3288
|
|
|
2873
|
-
|
|
3289
|
+
SBTi cross-check
|
|
2874
3290
|
|
|
2875
3291
|
### Examples
|
|
2876
3292
|
|
|
@@ -2895,29 +3311,29 @@ opts = {
|
|
|
2895
3311
|
}
|
|
2896
3312
|
|
|
2897
3313
|
begin
|
|
2898
|
-
#
|
|
2899
|
-
result = api_instance.
|
|
3314
|
+
# SBTi cross-check
|
|
3315
|
+
result = api_instance.companies_sbti_crosscheck(id, opts)
|
|
2900
3316
|
p result
|
|
2901
3317
|
rescue PharmaObservatory::ApiError => e
|
|
2902
|
-
puts "Error when calling CompaniesApi->
|
|
3318
|
+
puts "Error when calling CompaniesApi->companies_sbti_crosscheck: #{e}"
|
|
2903
3319
|
end
|
|
2904
3320
|
```
|
|
2905
3321
|
|
|
2906
|
-
#### Using the
|
|
3322
|
+
#### Using the companies_sbti_crosscheck_with_http_info variant
|
|
2907
3323
|
|
|
2908
3324
|
This returns an Array which contains the response data, status code and headers.
|
|
2909
3325
|
|
|
2910
|
-
> <Array(<
|
|
3326
|
+
> <Array(<SbtiCrosscheckResponse>, Integer, Hash)> companies_sbti_crosscheck_with_http_info(id, opts)
|
|
2911
3327
|
|
|
2912
3328
|
```ruby
|
|
2913
3329
|
begin
|
|
2914
|
-
#
|
|
2915
|
-
data, status_code, headers = api_instance.
|
|
3330
|
+
# SBTi cross-check
|
|
3331
|
+
data, status_code, headers = api_instance.companies_sbti_crosscheck_with_http_info(id, opts)
|
|
2916
3332
|
p status_code # => 2xx
|
|
2917
3333
|
p headers # => { ... }
|
|
2918
|
-
p data # => <
|
|
3334
|
+
p data # => <SbtiCrosscheckResponse>
|
|
2919
3335
|
rescue PharmaObservatory::ApiError => e
|
|
2920
|
-
puts "Error when calling CompaniesApi->
|
|
3336
|
+
puts "Error when calling CompaniesApi->companies_sbti_crosscheck_with_http_info: #{e}"
|
|
2921
3337
|
end
|
|
2922
3338
|
```
|
|
2923
3339
|
|
|
@@ -2935,7 +3351,7 @@ end
|
|
|
2935
3351
|
|
|
2936
3352
|
### Return type
|
|
2937
3353
|
|
|
2938
|
-
[**
|
|
3354
|
+
[**SbtiCrosscheckResponse**](SbtiCrosscheckResponse.md)
|
|
2939
3355
|
|
|
2940
3356
|
### Authorization
|
|
2941
3357
|
|
|
@@ -2947,11 +3363,11 @@ end
|
|
|
2947
3363
|
- **Accept**: application/json
|
|
2948
3364
|
|
|
2949
3365
|
|
|
2950
|
-
##
|
|
3366
|
+
## companies_sec_pdufa_dates
|
|
2951
3367
|
|
|
2952
|
-
> <
|
|
3368
|
+
> <SecPdufaDatesResponse> companies_sec_pdufa_dates(id, opts)
|
|
2953
3369
|
|
|
2954
|
-
|
|
3370
|
+
FDA dates disclosed in SEC filings
|
|
2955
3371
|
|
|
2956
3372
|
### Examples
|
|
2957
3373
|
|
|
@@ -2976,29 +3392,29 @@ opts = {
|
|
|
2976
3392
|
}
|
|
2977
3393
|
|
|
2978
3394
|
begin
|
|
2979
|
-
#
|
|
2980
|
-
result = api_instance.
|
|
3395
|
+
# FDA dates disclosed in SEC filings
|
|
3396
|
+
result = api_instance.companies_sec_pdufa_dates(id, opts)
|
|
2981
3397
|
p result
|
|
2982
3398
|
rescue PharmaObservatory::ApiError => e
|
|
2983
|
-
puts "Error when calling CompaniesApi->
|
|
3399
|
+
puts "Error when calling CompaniesApi->companies_sec_pdufa_dates: #{e}"
|
|
2984
3400
|
end
|
|
2985
3401
|
```
|
|
2986
3402
|
|
|
2987
|
-
#### Using the
|
|
3403
|
+
#### Using the companies_sec_pdufa_dates_with_http_info variant
|
|
2988
3404
|
|
|
2989
3405
|
This returns an Array which contains the response data, status code and headers.
|
|
2990
3406
|
|
|
2991
|
-
> <Array(<
|
|
3407
|
+
> <Array(<SecPdufaDatesResponse>, Integer, Hash)> companies_sec_pdufa_dates_with_http_info(id, opts)
|
|
2992
3408
|
|
|
2993
3409
|
```ruby
|
|
2994
3410
|
begin
|
|
2995
|
-
#
|
|
2996
|
-
data, status_code, headers = api_instance.
|
|
3411
|
+
# FDA dates disclosed in SEC filings
|
|
3412
|
+
data, status_code, headers = api_instance.companies_sec_pdufa_dates_with_http_info(id, opts)
|
|
2997
3413
|
p status_code # => 2xx
|
|
2998
3414
|
p headers # => { ... }
|
|
2999
|
-
p data # => <
|
|
3415
|
+
p data # => <SecPdufaDatesResponse>
|
|
3000
3416
|
rescue PharmaObservatory::ApiError => e
|
|
3001
|
-
puts "Error when calling CompaniesApi->
|
|
3417
|
+
puts "Error when calling CompaniesApi->companies_sec_pdufa_dates_with_http_info: #{e}"
|
|
3002
3418
|
end
|
|
3003
3419
|
```
|
|
3004
3420
|
|
|
@@ -3016,7 +3432,493 @@ end
|
|
|
3016
3432
|
|
|
3017
3433
|
### Return type
|
|
3018
3434
|
|
|
3019
|
-
[**
|
|
3435
|
+
[**SecPdufaDatesResponse**](SecPdufaDatesResponse.md)
|
|
3436
|
+
|
|
3437
|
+
### Authorization
|
|
3438
|
+
|
|
3439
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3440
|
+
|
|
3441
|
+
### HTTP request headers
|
|
3442
|
+
|
|
3443
|
+
- **Content-Type**: Not defined
|
|
3444
|
+
- **Accept**: application/json
|
|
3445
|
+
|
|
3446
|
+
|
|
3447
|
+
## companies_sponsor_delivery
|
|
3448
|
+
|
|
3449
|
+
> <SponsorDeliveryResponse> companies_sponsor_delivery(id, opts)
|
|
3450
|
+
|
|
3451
|
+
Sponsor delivery reliability
|
|
3452
|
+
|
|
3453
|
+
### Examples
|
|
3454
|
+
|
|
3455
|
+
```ruby
|
|
3456
|
+
require 'time'
|
|
3457
|
+
require 'pharmaobservatory'
|
|
3458
|
+
# setup authorization
|
|
3459
|
+
PharmaObservatory.configure do |config|
|
|
3460
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3461
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3462
|
+
end
|
|
3463
|
+
|
|
3464
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3465
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3466
|
+
opts = {
|
|
3467
|
+
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.
|
|
3468
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3469
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3470
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3471
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3472
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3473
|
+
}
|
|
3474
|
+
|
|
3475
|
+
begin
|
|
3476
|
+
# Sponsor delivery reliability
|
|
3477
|
+
result = api_instance.companies_sponsor_delivery(id, opts)
|
|
3478
|
+
p result
|
|
3479
|
+
rescue PharmaObservatory::ApiError => e
|
|
3480
|
+
puts "Error when calling CompaniesApi->companies_sponsor_delivery: #{e}"
|
|
3481
|
+
end
|
|
3482
|
+
```
|
|
3483
|
+
|
|
3484
|
+
#### Using the companies_sponsor_delivery_with_http_info variant
|
|
3485
|
+
|
|
3486
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3487
|
+
|
|
3488
|
+
> <Array(<SponsorDeliveryResponse>, Integer, Hash)> companies_sponsor_delivery_with_http_info(id, opts)
|
|
3489
|
+
|
|
3490
|
+
```ruby
|
|
3491
|
+
begin
|
|
3492
|
+
# Sponsor delivery reliability
|
|
3493
|
+
data, status_code, headers = api_instance.companies_sponsor_delivery_with_http_info(id, opts)
|
|
3494
|
+
p status_code # => 2xx
|
|
3495
|
+
p headers # => { ... }
|
|
3496
|
+
p data # => <SponsorDeliveryResponse>
|
|
3497
|
+
rescue PharmaObservatory::ApiError => e
|
|
3498
|
+
puts "Error when calling CompaniesApi->companies_sponsor_delivery_with_http_info: #{e}"
|
|
3499
|
+
end
|
|
3500
|
+
```
|
|
3501
|
+
|
|
3502
|
+
### Parameters
|
|
3503
|
+
|
|
3504
|
+
| Name | Type | Description | Notes |
|
|
3505
|
+
| ---- | ---- | ----------- | ----- |
|
|
3506
|
+
| **id** | **String** | | |
|
|
3507
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3508
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3509
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3510
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3511
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3512
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3513
|
+
|
|
3514
|
+
### Return type
|
|
3515
|
+
|
|
3516
|
+
[**SponsorDeliveryResponse**](SponsorDeliveryResponse.md)
|
|
3517
|
+
|
|
3518
|
+
### Authorization
|
|
3519
|
+
|
|
3520
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3521
|
+
|
|
3522
|
+
### HTTP request headers
|
|
3523
|
+
|
|
3524
|
+
- **Content-Type**: Not defined
|
|
3525
|
+
- **Accept**: application/json
|
|
3526
|
+
|
|
3527
|
+
|
|
3528
|
+
## companies_sponsor_patent_mentions
|
|
3529
|
+
|
|
3530
|
+
> <SponsorPatentMentionsResponse> companies_sponsor_patent_mentions(id, opts)
|
|
3531
|
+
|
|
3532
|
+
Sponsor patent mentions
|
|
3533
|
+
|
|
3534
|
+
### Examples
|
|
3535
|
+
|
|
3536
|
+
```ruby
|
|
3537
|
+
require 'time'
|
|
3538
|
+
require 'pharmaobservatory'
|
|
3539
|
+
# setup authorization
|
|
3540
|
+
PharmaObservatory.configure do |config|
|
|
3541
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3542
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3543
|
+
end
|
|
3544
|
+
|
|
3545
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3546
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3547
|
+
opts = {
|
|
3548
|
+
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.
|
|
3549
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3550
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3551
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3552
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3553
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
begin
|
|
3557
|
+
# Sponsor patent mentions
|
|
3558
|
+
result = api_instance.companies_sponsor_patent_mentions(id, opts)
|
|
3559
|
+
p result
|
|
3560
|
+
rescue PharmaObservatory::ApiError => e
|
|
3561
|
+
puts "Error when calling CompaniesApi->companies_sponsor_patent_mentions: #{e}"
|
|
3562
|
+
end
|
|
3563
|
+
```
|
|
3564
|
+
|
|
3565
|
+
#### Using the companies_sponsor_patent_mentions_with_http_info variant
|
|
3566
|
+
|
|
3567
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3568
|
+
|
|
3569
|
+
> <Array(<SponsorPatentMentionsResponse>, Integer, Hash)> companies_sponsor_patent_mentions_with_http_info(id, opts)
|
|
3570
|
+
|
|
3571
|
+
```ruby
|
|
3572
|
+
begin
|
|
3573
|
+
# Sponsor patent mentions
|
|
3574
|
+
data, status_code, headers = api_instance.companies_sponsor_patent_mentions_with_http_info(id, opts)
|
|
3575
|
+
p status_code # => 2xx
|
|
3576
|
+
p headers # => { ... }
|
|
3577
|
+
p data # => <SponsorPatentMentionsResponse>
|
|
3578
|
+
rescue PharmaObservatory::ApiError => e
|
|
3579
|
+
puts "Error when calling CompaniesApi->companies_sponsor_patent_mentions_with_http_info: #{e}"
|
|
3580
|
+
end
|
|
3581
|
+
```
|
|
3582
|
+
|
|
3583
|
+
### Parameters
|
|
3584
|
+
|
|
3585
|
+
| Name | Type | Description | Notes |
|
|
3586
|
+
| ---- | ---- | ----------- | ----- |
|
|
3587
|
+
| **id** | **String** | | |
|
|
3588
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3589
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3590
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3591
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3592
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3593
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3594
|
+
|
|
3595
|
+
### Return type
|
|
3596
|
+
|
|
3597
|
+
[**SponsorPatentMentionsResponse**](SponsorPatentMentionsResponse.md)
|
|
3598
|
+
|
|
3599
|
+
### Authorization
|
|
3600
|
+
|
|
3601
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3602
|
+
|
|
3603
|
+
### HTTP request headers
|
|
3604
|
+
|
|
3605
|
+
- **Content-Type**: Not defined
|
|
3606
|
+
- **Accept**: application/json
|
|
3607
|
+
|
|
3608
|
+
|
|
3609
|
+
## companies_sponsor_recruitment_by_phase
|
|
3610
|
+
|
|
3611
|
+
> <SponsorRecruitmentByPhaseResponse> companies_sponsor_recruitment_by_phase(id, opts)
|
|
3612
|
+
|
|
3613
|
+
Trial recruitment duration by sponsor and phase
|
|
3614
|
+
|
|
3615
|
+
### Examples
|
|
3616
|
+
|
|
3617
|
+
```ruby
|
|
3618
|
+
require 'time'
|
|
3619
|
+
require 'pharmaobservatory'
|
|
3620
|
+
# setup authorization
|
|
3621
|
+
PharmaObservatory.configure do |config|
|
|
3622
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3623
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3624
|
+
end
|
|
3625
|
+
|
|
3626
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3627
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3628
|
+
opts = {
|
|
3629
|
+
cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
3630
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3631
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3632
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3633
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3634
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3635
|
+
}
|
|
3636
|
+
|
|
3637
|
+
begin
|
|
3638
|
+
# Trial recruitment duration by sponsor and phase
|
|
3639
|
+
result = api_instance.companies_sponsor_recruitment_by_phase(id, opts)
|
|
3640
|
+
p result
|
|
3641
|
+
rescue PharmaObservatory::ApiError => e
|
|
3642
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_by_phase: #{e}"
|
|
3643
|
+
end
|
|
3644
|
+
```
|
|
3645
|
+
|
|
3646
|
+
#### Using the companies_sponsor_recruitment_by_phase_with_http_info variant
|
|
3647
|
+
|
|
3648
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3649
|
+
|
|
3650
|
+
> <Array(<SponsorRecruitmentByPhaseResponse>, Integer, Hash)> companies_sponsor_recruitment_by_phase_with_http_info(id, opts)
|
|
3651
|
+
|
|
3652
|
+
```ruby
|
|
3653
|
+
begin
|
|
3654
|
+
# Trial recruitment duration by sponsor and phase
|
|
3655
|
+
data, status_code, headers = api_instance.companies_sponsor_recruitment_by_phase_with_http_info(id, opts)
|
|
3656
|
+
p status_code # => 2xx
|
|
3657
|
+
p headers # => { ... }
|
|
3658
|
+
p data # => <SponsorRecruitmentByPhaseResponse>
|
|
3659
|
+
rescue PharmaObservatory::ApiError => e
|
|
3660
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_by_phase_with_http_info: #{e}"
|
|
3661
|
+
end
|
|
3662
|
+
```
|
|
3663
|
+
|
|
3664
|
+
### Parameters
|
|
3665
|
+
|
|
3666
|
+
| Name | Type | Description | Notes |
|
|
3667
|
+
| ---- | ---- | ----------- | ----- |
|
|
3668
|
+
| **id** | **String** | | |
|
|
3669
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3670
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3671
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3672
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3673
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3674
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3675
|
+
|
|
3676
|
+
### Return type
|
|
3677
|
+
|
|
3678
|
+
[**SponsorRecruitmentByPhaseResponse**](SponsorRecruitmentByPhaseResponse.md)
|
|
3679
|
+
|
|
3680
|
+
### Authorization
|
|
3681
|
+
|
|
3682
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3683
|
+
|
|
3684
|
+
### HTTP request headers
|
|
3685
|
+
|
|
3686
|
+
- **Content-Type**: Not defined
|
|
3687
|
+
- **Accept**: application/json
|
|
3688
|
+
|
|
3689
|
+
|
|
3690
|
+
## companies_sponsor_recruitment_duration
|
|
3691
|
+
|
|
3692
|
+
> <SponsorRecruitmentDurationResponse> companies_sponsor_recruitment_duration(id, opts)
|
|
3693
|
+
|
|
3694
|
+
Trial recruitment duration by sponsor
|
|
3695
|
+
|
|
3696
|
+
### Examples
|
|
3697
|
+
|
|
3698
|
+
```ruby
|
|
3699
|
+
require 'time'
|
|
3700
|
+
require 'pharmaobservatory'
|
|
3701
|
+
# setup authorization
|
|
3702
|
+
PharmaObservatory.configure do |config|
|
|
3703
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3704
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3705
|
+
end
|
|
3706
|
+
|
|
3707
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3708
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3709
|
+
opts = {
|
|
3710
|
+
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.
|
|
3711
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3712
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3713
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3714
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3715
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3716
|
+
}
|
|
3717
|
+
|
|
3718
|
+
begin
|
|
3719
|
+
# Trial recruitment duration by sponsor
|
|
3720
|
+
result = api_instance.companies_sponsor_recruitment_duration(id, opts)
|
|
3721
|
+
p result
|
|
3722
|
+
rescue PharmaObservatory::ApiError => e
|
|
3723
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_duration: #{e}"
|
|
3724
|
+
end
|
|
3725
|
+
```
|
|
3726
|
+
|
|
3727
|
+
#### Using the companies_sponsor_recruitment_duration_with_http_info variant
|
|
3728
|
+
|
|
3729
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3730
|
+
|
|
3731
|
+
> <Array(<SponsorRecruitmentDurationResponse>, Integer, Hash)> companies_sponsor_recruitment_duration_with_http_info(id, opts)
|
|
3732
|
+
|
|
3733
|
+
```ruby
|
|
3734
|
+
begin
|
|
3735
|
+
# Trial recruitment duration by sponsor
|
|
3736
|
+
data, status_code, headers = api_instance.companies_sponsor_recruitment_duration_with_http_info(id, opts)
|
|
3737
|
+
p status_code # => 2xx
|
|
3738
|
+
p headers # => { ... }
|
|
3739
|
+
p data # => <SponsorRecruitmentDurationResponse>
|
|
3740
|
+
rescue PharmaObservatory::ApiError => e
|
|
3741
|
+
puts "Error when calling CompaniesApi->companies_sponsor_recruitment_duration_with_http_info: #{e}"
|
|
3742
|
+
end
|
|
3743
|
+
```
|
|
3744
|
+
|
|
3745
|
+
### Parameters
|
|
3746
|
+
|
|
3747
|
+
| Name | Type | Description | Notes |
|
|
3748
|
+
| ---- | ---- | ----------- | ----- |
|
|
3749
|
+
| **id** | **String** | | |
|
|
3750
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3751
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3752
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3753
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3754
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3755
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3756
|
+
|
|
3757
|
+
### Return type
|
|
3758
|
+
|
|
3759
|
+
[**SponsorRecruitmentDurationResponse**](SponsorRecruitmentDurationResponse.md)
|
|
3760
|
+
|
|
3761
|
+
### Authorization
|
|
3762
|
+
|
|
3763
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3764
|
+
|
|
3765
|
+
### HTTP request headers
|
|
3766
|
+
|
|
3767
|
+
- **Content-Type**: Not defined
|
|
3768
|
+
- **Accept**: application/json
|
|
3769
|
+
|
|
3770
|
+
|
|
3771
|
+
## companies_sponsor_trial_conditions
|
|
3772
|
+
|
|
3773
|
+
> <SponsorTrialConditionsResponse> companies_sponsor_trial_conditions(id, opts)
|
|
3774
|
+
|
|
3775
|
+
Sponsor trial conditions
|
|
3776
|
+
|
|
3777
|
+
### Examples
|
|
3778
|
+
|
|
3779
|
+
```ruby
|
|
3780
|
+
require 'time'
|
|
3781
|
+
require 'pharmaobservatory'
|
|
3782
|
+
# setup authorization
|
|
3783
|
+
PharmaObservatory.configure do |config|
|
|
3784
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3785
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3786
|
+
end
|
|
3787
|
+
|
|
3788
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3789
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3790
|
+
opts = {
|
|
3791
|
+
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.
|
|
3792
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3793
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3794
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3795
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3796
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3797
|
+
}
|
|
3798
|
+
|
|
3799
|
+
begin
|
|
3800
|
+
# Sponsor trial conditions
|
|
3801
|
+
result = api_instance.companies_sponsor_trial_conditions(id, opts)
|
|
3802
|
+
p result
|
|
3803
|
+
rescue PharmaObservatory::ApiError => e
|
|
3804
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_conditions: #{e}"
|
|
3805
|
+
end
|
|
3806
|
+
```
|
|
3807
|
+
|
|
3808
|
+
#### Using the companies_sponsor_trial_conditions_with_http_info variant
|
|
3809
|
+
|
|
3810
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3811
|
+
|
|
3812
|
+
> <Array(<SponsorTrialConditionsResponse>, Integer, Hash)> companies_sponsor_trial_conditions_with_http_info(id, opts)
|
|
3813
|
+
|
|
3814
|
+
```ruby
|
|
3815
|
+
begin
|
|
3816
|
+
# Sponsor trial conditions
|
|
3817
|
+
data, status_code, headers = api_instance.companies_sponsor_trial_conditions_with_http_info(id, opts)
|
|
3818
|
+
p status_code # => 2xx
|
|
3819
|
+
p headers # => { ... }
|
|
3820
|
+
p data # => <SponsorTrialConditionsResponse>
|
|
3821
|
+
rescue PharmaObservatory::ApiError => e
|
|
3822
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_conditions_with_http_info: #{e}"
|
|
3823
|
+
end
|
|
3824
|
+
```
|
|
3825
|
+
|
|
3826
|
+
### Parameters
|
|
3827
|
+
|
|
3828
|
+
| Name | Type | Description | Notes |
|
|
3829
|
+
| ---- | ---- | ----------- | ----- |
|
|
3830
|
+
| **id** | **String** | | |
|
|
3831
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3832
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3833
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3834
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3835
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3836
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3837
|
+
|
|
3838
|
+
### Return type
|
|
3839
|
+
|
|
3840
|
+
[**SponsorTrialConditionsResponse**](SponsorTrialConditionsResponse.md)
|
|
3841
|
+
|
|
3842
|
+
### Authorization
|
|
3843
|
+
|
|
3844
|
+
[ApiBearerJwt](../README.md#ApiBearerJwt)
|
|
3845
|
+
|
|
3846
|
+
### HTTP request headers
|
|
3847
|
+
|
|
3848
|
+
- **Content-Type**: Not defined
|
|
3849
|
+
- **Accept**: application/json
|
|
3850
|
+
|
|
3851
|
+
|
|
3852
|
+
## companies_sponsor_trial_drugs
|
|
3853
|
+
|
|
3854
|
+
> <SponsorTrialDrugsResponse> companies_sponsor_trial_drugs(id, opts)
|
|
3855
|
+
|
|
3856
|
+
Sponsor trial drugs
|
|
3857
|
+
|
|
3858
|
+
### Examples
|
|
3859
|
+
|
|
3860
|
+
```ruby
|
|
3861
|
+
require 'time'
|
|
3862
|
+
require 'pharmaobservatory'
|
|
3863
|
+
# setup authorization
|
|
3864
|
+
PharmaObservatory.configure do |config|
|
|
3865
|
+
# Configure Bearer authorization (JWT): ApiBearerJwt
|
|
3866
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
3867
|
+
end
|
|
3868
|
+
|
|
3869
|
+
api_instance = PharmaObservatory::CompaniesApi.new
|
|
3870
|
+
id = 'company:c0185cf6c39a2536ad436cf6255494c0' # String |
|
|
3871
|
+
opts = {
|
|
3872
|
+
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.
|
|
3873
|
+
limit: 56, # Integer | Rows per page, up to 500 (default 50).
|
|
3874
|
+
sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
|
|
3875
|
+
group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
|
|
3876
|
+
measure: 'measure_example', # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
|
|
3877
|
+
scope: 'company' # String | company (this company only) or group (its corporate group).
|
|
3878
|
+
}
|
|
3879
|
+
|
|
3880
|
+
begin
|
|
3881
|
+
# Sponsor trial drugs
|
|
3882
|
+
result = api_instance.companies_sponsor_trial_drugs(id, opts)
|
|
3883
|
+
p result
|
|
3884
|
+
rescue PharmaObservatory::ApiError => e
|
|
3885
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_drugs: #{e}"
|
|
3886
|
+
end
|
|
3887
|
+
```
|
|
3888
|
+
|
|
3889
|
+
#### Using the companies_sponsor_trial_drugs_with_http_info variant
|
|
3890
|
+
|
|
3891
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3892
|
+
|
|
3893
|
+
> <Array(<SponsorTrialDrugsResponse>, Integer, Hash)> companies_sponsor_trial_drugs_with_http_info(id, opts)
|
|
3894
|
+
|
|
3895
|
+
```ruby
|
|
3896
|
+
begin
|
|
3897
|
+
# Sponsor trial drugs
|
|
3898
|
+
data, status_code, headers = api_instance.companies_sponsor_trial_drugs_with_http_info(id, opts)
|
|
3899
|
+
p status_code # => 2xx
|
|
3900
|
+
p headers # => { ... }
|
|
3901
|
+
p data # => <SponsorTrialDrugsResponse>
|
|
3902
|
+
rescue PharmaObservatory::ApiError => e
|
|
3903
|
+
puts "Error when calling CompaniesApi->companies_sponsor_trial_drugs_with_http_info: #{e}"
|
|
3904
|
+
end
|
|
3905
|
+
```
|
|
3906
|
+
|
|
3907
|
+
### Parameters
|
|
3908
|
+
|
|
3909
|
+
| Name | Type | Description | Notes |
|
|
3910
|
+
| ---- | ---- | ----------- | ----- |
|
|
3911
|
+
| **id** | **String** | | |
|
|
3912
|
+
| **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
|
|
3913
|
+
| **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
|
|
3914
|
+
| **sort** | **String** | Comma separated columns, a leading minus for descending: sort=a,-b. | [optional] |
|
|
3915
|
+
| **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
|
|
3916
|
+
| **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
|
|
3917
|
+
| **scope** | **String** | company (this company only) or group (its corporate group). | [optional] |
|
|
3918
|
+
|
|
3919
|
+
### Return type
|
|
3920
|
+
|
|
3921
|
+
[**SponsorTrialDrugsResponse**](SponsorTrialDrugsResponse.md)
|
|
3020
3922
|
|
|
3021
3923
|
### Authorization
|
|
3022
3924
|
|