qwil_api 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +91 -0
- data/docs/AccountSerializer.md +18 -0
- data/docs/AccountsApi.md +243 -0
- data/docs/ApitokenauthApi.md +57 -0
- data/docs/CashoutCalculationSerializer.md +10 -0
- data/docs/CashoutSerializer.md +20 -0
- data/docs/CashoutSliceSerializer.md +11 -0
- data/docs/CashoutsApi.md +56 -0
- data/docs/CompanyInformationSerializer.md +18 -0
- data/docs/ContactInfoSerializer.md +10 -0
- data/docs/ContactInformationSerializer.md +16 -0
- data/docs/ContractorSerializer.md +20 -0
- data/docs/IncomeApi.md +98 -0
- data/docs/IncomeNestedSerializer.md +18 -0
- data/docs/IncomeSerializer.md +18 -0
- data/docs/IncomeSerializerFixedSource.md +18 -0
- data/docs/InvoiceSerializer.md +17 -0
- data/docs/InvoiceSerializerFixedSourceCreate.md +17 -0
- data/docs/InvoicesApi.md +98 -0
- data/docs/JSONWebTokenSerializer.md +7 -0
- data/docs/ManagerPlatformSerializer.md +22 -0
- data/docs/ManagerSerializer.md +10 -0
- data/docs/ManagersApi.md +172 -0
- data/docs/MembershipSerializer.md +9 -0
- data/docs/MembershipsApi.md +56 -0
- data/docs/PersonalInformationSerializer.md +16 -0
- data/docs/PlaidPublicTokenSerializer.md +8 -0
- data/docs/PlatformIncomeRequestSerializer.md +15 -0
- data/docs/PlatformMembershipRequestSerializer.md +11 -0
- data/docs/PlatformSerializer.md +30 -0
- data/docs/PlatformSummarySerializer.md +10 -0
- data/docs/PlatformsApi.md +1369 -0
- data/docs/RebateSerializer.md +15 -0
- data/docs/RebatesApi.md +98 -0
- data/docs/ReceivablesSerializer.md +9 -0
- data/docs/TaxSavingsSerializer.md +10 -0
- data/docs/UserAccountSerializer.md +17 -0
- data/docs/UserCashoutSerializer.md +20 -0
- data/docs/UserIncomeRequestSerializer.md +15 -0
- data/docs/UserPlatformMembershipRequestSerializer.md +13 -0
- data/docs/UserSerializer.md +40 -0
- data/docs/UsersApi.md +2173 -0
- data/docs/WriteAccountSerializer.md +16 -0
- data/docs/WriteCashoutCalculationSerializer.md +8 -0
- data/docs/WriteCashoutSerializer.md +16 -0
- data/docs/WriteCashoutSliceSerializer.md +11 -0
- data/docs/WriteCompanyInformationSerializer.md +17 -0
- data/docs/WriteContactInfoSerializer.md +10 -0
- data/docs/WriteContactInformationSerializer.md +15 -0
- data/docs/WriteContractorSerializer.md +14 -0
- data/docs/WriteIncomeNestedSerializer.md +12 -0
- data/docs/WriteIncomeSerializer.md +13 -0
- data/docs/WriteIncomeSerializerFixedSource.md +12 -0
- data/docs/WriteInvoiceSerializer.md +13 -0
- data/docs/WriteInvoiceSerializerFixedSourceCreate.md +9 -0
- data/docs/WriteJSONWebTokenSerializer.md +7 -0
- data/docs/WriteManagerPlatformSerializer.md +15 -0
- data/docs/WriteManagerSerializer.md +8 -0
- data/docs/WriteMembershipSerializer.md +8 -0
- data/docs/WritePersonalInformationSerializer.md +16 -0
- data/docs/WritePlaidPublicTokenSerializer.md +8 -0
- data/docs/WritePlatformIncomeRequestSerializer.md +10 -0
- data/docs/WritePlatformMembershipRequestSerializer.md +7 -0
- data/docs/WritePlatformSerializer.md +19 -0
- data/docs/WritePlatformSummarySerializer.md +8 -0
- data/docs/WriteRebateSerializer.md +9 -0
- data/docs/WriteReceivablesSerializer.md +8 -0
- data/docs/WriteTaxSavingsSerializer.md +8 -0
- data/docs/WriteUserAccountSerializer.md +14 -0
- data/docs/WriteUserCashoutSerializer.md +15 -0
- data/docs/WriteUserIncomeRequestSerializer.md +10 -0
- data/docs/WriteUserPlatformMembershipRequestSerializer.md +9 -0
- data/docs/WriteUserSerializer.md +21 -0
- data/generate-client.sh +6 -0
- data/lib/qwil_api/api/accounts_api.rb +320 -0
- data/lib/qwil_api/api/apitokenauth_api.rb +87 -0
- data/lib/qwil_api/api/cashouts_api.rb +89 -0
- data/lib/qwil_api/api/income_api.rb +142 -0
- data/lib/qwil_api/api/invoices_api.rb +142 -0
- data/lib/qwil_api/api/managers_api.rb +237 -0
- data/lib/qwil_api/api/memberships_api.rb +89 -0
- data/lib/qwil_api/api/platforms_api.rb +1674 -0
- data/lib/qwil_api/api/rebates_api.rb +142 -0
- data/lib/qwil_api/api/users_api.rb +2672 -0
- data/lib/qwil_api/api_client.rb +376 -0
- data/lib/qwil_api/api_error.rb +45 -0
- data/lib/qwil_api/configuration.rb +205 -0
- data/lib/qwil_api/models/account_serializer.rb +370 -0
- data/lib/qwil_api/models/cashout_calculation_serializer.rb +221 -0
- data/lib/qwil_api/models/cashout_serializer.rb +379 -0
- data/lib/qwil_api/models/cashout_slice_serializer.rb +232 -0
- data/lib/qwil_api/models/company_information_serializer.rb +299 -0
- data/lib/qwil_api/models/contact_info_serializer.rb +218 -0
- data/lib/qwil_api/models/contact_information_serializer.rb +280 -0
- data/lib/qwil_api/models/contractor_serializer.rb +361 -0
- data/lib/qwil_api/models/income_nested_serializer.rb +302 -0
- data/lib/qwil_api/models/income_serializer.rb +302 -0
- data/lib/qwil_api/models/income_serializer_fixed_source.rb +302 -0
- data/lib/qwil_api/models/invoice_serializer.rb +299 -0
- data/lib/qwil_api/models/invoice_serializer_fixed_source_create.rb +299 -0
- data/lib/qwil_api/models/json_web_token_serializer.rb +188 -0
- data/lib/qwil_api/models/manager_platform_serializer.rb +391 -0
- data/lib/qwil_api/models/manager_serializer.rb +218 -0
- data/lib/qwil_api/models/membership_serializer.rb +208 -0
- data/lib/qwil_api/models/personal_information_serializer.rb +279 -0
- data/lib/qwil_api/models/plaid_public_token_serializer.rb +199 -0
- data/lib/qwil_api/models/platform_income_request_serializer.rb +307 -0
- data/lib/qwil_api/models/platform_membership_request_serializer.rb +262 -0
- data/lib/qwil_api/models/platform_serializer.rb +480 -0
- data/lib/qwil_api/models/platform_summary_serializer.rb +218 -0
- data/lib/qwil_api/models/rebate_serializer.rb +276 -0
- data/lib/qwil_api/models/receivables_serializer.rb +208 -0
- data/lib/qwil_api/models/tax_savings_serializer.rb +219 -0
- data/lib/qwil_api/models/user_account_serializer.rb +359 -0
- data/lib/qwil_api/models/user_cashout_serializer.rb +379 -0
- data/lib/qwil_api/models/user_income_request_serializer.rb +307 -0
- data/lib/qwil_api/models/user_platform_membership_request_serializer.rb +283 -0
- data/lib/qwil_api/models/user_serializer.rb +592 -0
- data/lib/qwil_api/models/write_account_serializer.rb +331 -0
- data/lib/qwil_api/models/write_cashout_calculation_serializer.rb +198 -0
- data/lib/qwil_api/models/write_cashout_serializer.rb +316 -0
- data/lib/qwil_api/models/write_cashout_slice_serializer.rb +232 -0
- data/lib/qwil_api/models/write_company_information_serializer.rb +280 -0
- data/lib/qwil_api/models/write_contact_info_serializer.rb +218 -0
- data/lib/qwil_api/models/write_contact_information_serializer.rb +262 -0
- data/lib/qwil_api/models/write_contractor_serializer.rb +289 -0
- data/lib/qwil_api/models/write_income_nested_serializer.rb +236 -0
- data/lib/qwil_api/models/write_income_serializer.rb +247 -0
- data/lib/qwil_api/models/write_income_serializer_fixed_source.rb +236 -0
- data/lib/qwil_api/models/write_invoice_serializer.rb +252 -0
- data/lib/qwil_api/models/write_invoice_serializer_fixed_source_create.rb +210 -0
- data/lib/qwil_api/models/write_json_web_token_serializer.rb +188 -0
- data/lib/qwil_api/models/write_manager_platform_serializer.rb +314 -0
- data/lib/qwil_api/models/write_manager_serializer.rb +198 -0
- data/lib/qwil_api/models/write_membership_serializer.rb +198 -0
- data/lib/qwil_api/models/write_personal_information_serializer.rb +270 -0
- data/lib/qwil_api/models/write_plaid_public_token_serializer.rb +199 -0
- data/lib/qwil_api/models/write_platform_income_request_serializer.rb +220 -0
- data/lib/qwil_api/models/write_platform_membership_request_serializer.rb +188 -0
- data/lib/qwil_api/models/write_platform_serializer.rb +309 -0
- data/lib/qwil_api/models/write_platform_summary_serializer.rb +198 -0
- data/lib/qwil_api/models/write_rebate_serializer.rb +209 -0
- data/lib/qwil_api/models/write_receivables_serializer.rb +198 -0
- data/lib/qwil_api/models/write_tax_savings_serializer.rb +198 -0
- data/lib/qwil_api/models/write_user_account_serializer.rb +312 -0
- data/lib/qwil_api/models/write_user_cashout_serializer.rb +307 -0
- data/lib/qwil_api/models/write_user_income_request_serializer.rb +220 -0
- data/lib/qwil_api/models/write_user_platform_membership_request_serializer.rb +208 -0
- data/lib/qwil_api/models/write_user_serializer.rb +358 -0
- data/lib/qwil_api/version.rb +24 -0
- data/lib/qwil_api.rb +51 -0
- data/qwil_api.gemspec +53 -0
- data/spec/api/accounts_api_spec.rb +110 -0
- data/spec/api/apitokenauth_api_spec.rb +56 -0
- data/spec/api/cashouts_api_spec.rb +56 -0
- data/spec/api/income_api_spec.rb +67 -0
- data/spec/api/invoices_api_spec.rb +67 -0
- data/spec/api/managers_api_spec.rb +88 -0
- data/spec/api/memberships_api_spec.rb +56 -0
- data/spec/api/platforms_api_spec.rb +398 -0
- data/spec/api/rebates_api_spec.rb +67 -0
- data/spec/api/users_api_spec.rb +625 -0
- data/spec/api_client_spec.rb +235 -0
- data/spec/configuration_spec.rb +51 -0
- data/spec/models/account_serializer_spec.rb +111 -0
- data/spec/models/cashout_calculation_serializer_spec.rb +63 -0
- data/spec/models/cashout_serializer_spec.rb +135 -0
- data/spec/models/cashout_slice_serializer_spec.rb +69 -0
- data/spec/models/company_information_serializer_spec.rb +111 -0
- data/spec/models/contact_info_serializer_spec.rb +63 -0
- data/spec/models/contact_information_serializer_spec.rb +99 -0
- data/spec/models/contractor_serializer_spec.rb +127 -0
- data/spec/models/income_nested_serializer_spec.rb +111 -0
- data/spec/models/income_serializer_fixed_source_spec.rb +111 -0
- data/spec/models/income_serializer_spec.rb +111 -0
- data/spec/models/invoice_serializer_fixed_source_create_spec.rb +105 -0
- data/spec/models/invoice_serializer_spec.rb +105 -0
- data/spec/models/json_web_token_serializer_spec.rb +45 -0
- data/spec/models/manager_platform_serializer_spec.rb +143 -0
- data/spec/models/manager_serializer_spec.rb +63 -0
- data/spec/models/membership_serializer_spec.rb +57 -0
- data/spec/models/personal_information_serializer_spec.rb +99 -0
- data/spec/models/plaid_public_token_serializer_spec.rb +51 -0
- data/spec/models/platform_income_request_serializer_spec.rb +97 -0
- data/spec/models/platform_membership_request_serializer_spec.rb +73 -0
- data/spec/models/platform_serializer_spec.rb +191 -0
- data/spec/models/platform_summary_serializer_spec.rb +63 -0
- data/spec/models/rebate_serializer_spec.rb +93 -0
- data/spec/models/receivables_serializer_spec.rb +57 -0
- data/spec/models/tax_savings_serializer_spec.rb +63 -0
- data/spec/models/user_account_serializer_spec.rb +105 -0
- data/spec/models/user_cashout_serializer_spec.rb +135 -0
- data/spec/models/user_income_request_serializer_spec.rb +97 -0
- data/spec/models/user_platform_membership_request_serializer_spec.rb +85 -0
- data/spec/models/user_serializer_spec.rb +251 -0
- data/spec/models/write_account_serializer_spec.rb +99 -0
- data/spec/models/write_cashout_calculation_serializer_spec.rb +51 -0
- data/spec/models/write_cashout_serializer_spec.rb +107 -0
- data/spec/models/write_cashout_slice_serializer_spec.rb +69 -0
- data/spec/models/write_company_information_serializer_spec.rb +105 -0
- data/spec/models/write_contact_info_serializer_spec.rb +63 -0
- data/spec/models/write_contact_information_serializer_spec.rb +93 -0
- data/spec/models/write_contractor_serializer_spec.rb +91 -0
- data/spec/models/write_income_nested_serializer_spec.rb +75 -0
- data/spec/models/write_income_serializer_fixed_source_spec.rb +75 -0
- data/spec/models/write_income_serializer_spec.rb +81 -0
- data/spec/models/write_invoice_serializer_fixed_source_create_spec.rb +57 -0
- data/spec/models/write_invoice_serializer_spec.rb +81 -0
- data/spec/models/write_json_web_token_serializer_spec.rb +45 -0
- data/spec/models/write_manager_platform_serializer_spec.rb +101 -0
- data/spec/models/write_manager_serializer_spec.rb +51 -0
- data/spec/models/write_membership_serializer_spec.rb +51 -0
- data/spec/models/write_personal_information_serializer_spec.rb +99 -0
- data/spec/models/write_plaid_public_token_serializer_spec.rb +51 -0
- data/spec/models/write_platform_income_request_serializer_spec.rb +63 -0
- data/spec/models/write_platform_membership_request_serializer_spec.rb +45 -0
- data/spec/models/write_platform_serializer_spec.rb +117 -0
- data/spec/models/write_platform_summary_serializer_spec.rb +51 -0
- data/spec/models/write_rebate_serializer_spec.rb +57 -0
- data/spec/models/write_receivables_serializer_spec.rb +51 -0
- data/spec/models/write_tax_savings_serializer_spec.rb +51 -0
- data/spec/models/write_user_account_serializer_spec.rb +87 -0
- data/spec/models/write_user_cashout_serializer_spec.rb +101 -0
- data/spec/models/write_user_income_request_serializer_spec.rb +63 -0
- data/spec/models/write_user_platform_membership_request_serializer_spec.rb +57 -0
- data/spec/models/write_user_serializer_spec.rb +133 -0
- data/spec/spec_helper.rb +120 -0
- data/swagger-codegen-config.json +9 -0
- metadata +527 -0
@@ -0,0 +1,1369 @@
|
|
1
|
+
# QwilAPI::PlatformsApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:8000/*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**accept_income_request_get**](PlatformsApi.md#accept_income_request_get) | **GET** /platforms/{platform_pk}/income_requests/{pk}/accept/ | View to offer a
|
8
|
+
[**accept_income_request_post**](PlatformsApi.md#accept_income_request_post) | **POST** /platforms/{platform_pk}/income_requests/{pk}/accept/ | View to offer a
|
9
|
+
[**accept_platform_membership_request_get**](PlatformsApi.md#accept_platform_membership_request_get) | **GET** /platforms/{platform_pk}/membership_requests/{pk}/accept/ | View to offer a
|
10
|
+
[**accept_platform_membership_request_post**](PlatformsApi.md#accept_platform_membership_request_post) | **POST** /platforms/{platform_pk}/membership_requests/{pk}/accept/ | View to offer a
|
11
|
+
[**deny_income_request_get**](PlatformsApi.md#deny_income_request_get) | **GET** /platforms/{platform_pk}/income_requests/{pk}/deny/ | View to offer a
|
12
|
+
[**deny_income_request_post**](PlatformsApi.md#deny_income_request_post) | **POST** /platforms/{platform_pk}/income_requests/{pk}/deny/ | View to offer a
|
13
|
+
[**deny_platform_membership_request_get**](PlatformsApi.md#deny_platform_membership_request_get) | **GET** /platforms/{platform_pk}/membership_requests/{pk}/deny/ | View to offer a
|
14
|
+
[**deny_platform_membership_request_post**](PlatformsApi.md#deny_platform_membership_request_post) | **POST** /platforms/{platform_pk}/membership_requests/{pk}/deny/ | View to offer a
|
15
|
+
[**income_platform_create**](PlatformsApi.md#income_platform_create) | **POST** /platforms/{platform_pk}/income/ | The list of Income items for a specific User
|
16
|
+
[**income_platform_list**](PlatformsApi.md#income_platform_list) | **GET** /platforms/{platform_pk}/income/ | The list of Income items for a specific User
|
17
|
+
[**platform_contractor_create**](PlatformsApi.md#platform_contractor_create) | **POST** /platforms/{platform_pk}/contractors/ | The set of users on a specific Platform
|
18
|
+
[**platform_contractor_list**](PlatformsApi.md#platform_contractor_list) | **GET** /platforms/{platform_pk}/contractors/ | The set of users on a specific Platform
|
19
|
+
[**platform_contractor_partial_update**](PlatformsApi.md#platform_contractor_partial_update) | **PATCH** /platforms/{platform_pk}/contractors/{pk}/ | The set of users on a specific Platform
|
20
|
+
[**platform_contractor_retrieve**](PlatformsApi.md#platform_contractor_retrieve) | **GET** /platforms/{platform_pk}/contractors/{pk}/ | The set of users on a specific Platform
|
21
|
+
[**platform_contractor_update**](PlatformsApi.md#platform_contractor_update) | **PUT** /platforms/{platform_pk}/contractors/{pk}/ | The set of users on a specific Platform
|
22
|
+
[**platform_csv_upload_income_file_post**](PlatformsApi.md#platform_csv_upload_income_file_post) | **POST** /platforms/{platform_pk}/csv-upload/income | Viewset for uploading CSV files containing Income config
|
23
|
+
[**platform_csv_upload_user_file_post**](PlatformsApi.md#platform_csv_upload_user_file_post) | **POST** /platforms/{platform_pk}/csv-upload/user | Viewset for uploading CSV files containing User config
|
24
|
+
[**platform_income_request_list**](PlatformsApi.md#platform_income_request_list) | **GET** /platforms/{platform_pk}/income_requests/ |
|
25
|
+
[**platform_income_request_retrieve**](PlatformsApi.md#platform_income_request_retrieve) | **GET** /platforms/{platform_pk}/income_requests/{pk}/ |
|
26
|
+
[**platform_invoice_create_create**](PlatformsApi.md#platform_invoice_create_create) | **POST** /platforms/{platform_pk}/create_invoice/ |
|
27
|
+
[**platform_invoice_list**](PlatformsApi.md#platform_invoice_list) | **GET** /platforms/{platform_pk}/invoices/ |
|
28
|
+
[**platform_membership_create**](PlatformsApi.md#platform_membership_create) | **POST** /platforms/{platform_pk}/memberships/ |
|
29
|
+
[**platform_membership_list**](PlatformsApi.md#platform_membership_list) | **GET** /platforms/{platform_pk}/memberships/ | Temporary special-case logic to map old Platform memberships onto the new API
|
30
|
+
[**platform_membership_request_list**](PlatformsApi.md#platform_membership_request_list) | **GET** /platforms/{platform_pk}/membership_requests/ |
|
31
|
+
[**platform_membership_request_retrieve**](PlatformsApi.md#platform_membership_request_retrieve) | **GET** /platforms/{platform_pk}/membership_requests/{pk}/ |
|
32
|
+
[**platform_retrieve**](PlatformsApi.md#platform_retrieve) | **GET** /platforms/{pk}/ |
|
33
|
+
|
34
|
+
|
35
|
+
# **accept_income_request_get**
|
36
|
+
> Object accept_income_request_get(platform_pk, pk)
|
37
|
+
|
38
|
+
View to offer a
|
39
|
+
|
40
|
+
View to offer a ./accept endpoint for accepting a IncomeRequest.
|
41
|
+
|
42
|
+
### Example
|
43
|
+
```ruby
|
44
|
+
# load the gem
|
45
|
+
require 'qwil_api'
|
46
|
+
|
47
|
+
api_instance = QwilAPI::PlatformsApi.new
|
48
|
+
|
49
|
+
platform_pk = "platform_pk_example" # String |
|
50
|
+
|
51
|
+
pk = "pk_example" # String |
|
52
|
+
|
53
|
+
|
54
|
+
begin
|
55
|
+
#View to offer a
|
56
|
+
result = api_instance.accept_income_request_get(platform_pk, pk)
|
57
|
+
p result
|
58
|
+
rescue QwilAPI::ApiError => e
|
59
|
+
puts "Exception when calling PlatformsApi->accept_income_request_get: #{e}"
|
60
|
+
end
|
61
|
+
```
|
62
|
+
|
63
|
+
### Parameters
|
64
|
+
|
65
|
+
Name | Type | Description | Notes
|
66
|
+
------------- | ------------- | ------------- | -------------
|
67
|
+
**platform_pk** | **String**| |
|
68
|
+
**pk** | **String**| |
|
69
|
+
|
70
|
+
### Return type
|
71
|
+
|
72
|
+
**Object**
|
73
|
+
|
74
|
+
### Authorization
|
75
|
+
|
76
|
+
No authorization required
|
77
|
+
|
78
|
+
### HTTP request headers
|
79
|
+
|
80
|
+
- **Content-Type**: Not defined
|
81
|
+
- **Accept**: Not defined
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
# **accept_income_request_post**
|
86
|
+
> Object accept_income_request_post(platform_pk, pk)
|
87
|
+
|
88
|
+
View to offer a
|
89
|
+
|
90
|
+
View to offer a ./accept endpoint for accepting a IncomeRequest.
|
91
|
+
|
92
|
+
### Example
|
93
|
+
```ruby
|
94
|
+
# load the gem
|
95
|
+
require 'qwil_api'
|
96
|
+
|
97
|
+
api_instance = QwilAPI::PlatformsApi.new
|
98
|
+
|
99
|
+
platform_pk = "platform_pk_example" # String |
|
100
|
+
|
101
|
+
pk = "pk_example" # String |
|
102
|
+
|
103
|
+
|
104
|
+
begin
|
105
|
+
#View to offer a
|
106
|
+
result = api_instance.accept_income_request_post(platform_pk, pk)
|
107
|
+
p result
|
108
|
+
rescue QwilAPI::ApiError => e
|
109
|
+
puts "Exception when calling PlatformsApi->accept_income_request_post: #{e}"
|
110
|
+
end
|
111
|
+
```
|
112
|
+
|
113
|
+
### Parameters
|
114
|
+
|
115
|
+
Name | Type | Description | Notes
|
116
|
+
------------- | ------------- | ------------- | -------------
|
117
|
+
**platform_pk** | **String**| |
|
118
|
+
**pk** | **String**| |
|
119
|
+
|
120
|
+
### Return type
|
121
|
+
|
122
|
+
**Object**
|
123
|
+
|
124
|
+
### Authorization
|
125
|
+
|
126
|
+
No authorization required
|
127
|
+
|
128
|
+
### HTTP request headers
|
129
|
+
|
130
|
+
- **Content-Type**: Not defined
|
131
|
+
- **Accept**: Not defined
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
# **accept_platform_membership_request_get**
|
136
|
+
> Object accept_platform_membership_request_get(platform_pk, pk)
|
137
|
+
|
138
|
+
View to offer a
|
139
|
+
|
140
|
+
View to offer a ./accept endpoint for accepting a PlatformMembershipRequest.
|
141
|
+
|
142
|
+
### Example
|
143
|
+
```ruby
|
144
|
+
# load the gem
|
145
|
+
require 'qwil_api'
|
146
|
+
|
147
|
+
api_instance = QwilAPI::PlatformsApi.new
|
148
|
+
|
149
|
+
platform_pk = "platform_pk_example" # String |
|
150
|
+
|
151
|
+
pk = "pk_example" # String |
|
152
|
+
|
153
|
+
|
154
|
+
begin
|
155
|
+
#View to offer a
|
156
|
+
result = api_instance.accept_platform_membership_request_get(platform_pk, pk)
|
157
|
+
p result
|
158
|
+
rescue QwilAPI::ApiError => e
|
159
|
+
puts "Exception when calling PlatformsApi->accept_platform_membership_request_get: #{e}"
|
160
|
+
end
|
161
|
+
```
|
162
|
+
|
163
|
+
### Parameters
|
164
|
+
|
165
|
+
Name | Type | Description | Notes
|
166
|
+
------------- | ------------- | ------------- | -------------
|
167
|
+
**platform_pk** | **String**| |
|
168
|
+
**pk** | **String**| |
|
169
|
+
|
170
|
+
### Return type
|
171
|
+
|
172
|
+
**Object**
|
173
|
+
|
174
|
+
### Authorization
|
175
|
+
|
176
|
+
No authorization required
|
177
|
+
|
178
|
+
### HTTP request headers
|
179
|
+
|
180
|
+
- **Content-Type**: Not defined
|
181
|
+
- **Accept**: Not defined
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
# **accept_platform_membership_request_post**
|
186
|
+
> Object accept_platform_membership_request_post(platform_pk, pk)
|
187
|
+
|
188
|
+
View to offer a
|
189
|
+
|
190
|
+
View to offer a ./accept endpoint for accepting a PlatformMembershipRequest.
|
191
|
+
|
192
|
+
### Example
|
193
|
+
```ruby
|
194
|
+
# load the gem
|
195
|
+
require 'qwil_api'
|
196
|
+
|
197
|
+
api_instance = QwilAPI::PlatformsApi.new
|
198
|
+
|
199
|
+
platform_pk = "platform_pk_example" # String |
|
200
|
+
|
201
|
+
pk = "pk_example" # String |
|
202
|
+
|
203
|
+
|
204
|
+
begin
|
205
|
+
#View to offer a
|
206
|
+
result = api_instance.accept_platform_membership_request_post(platform_pk, pk)
|
207
|
+
p result
|
208
|
+
rescue QwilAPI::ApiError => e
|
209
|
+
puts "Exception when calling PlatformsApi->accept_platform_membership_request_post: #{e}"
|
210
|
+
end
|
211
|
+
```
|
212
|
+
|
213
|
+
### Parameters
|
214
|
+
|
215
|
+
Name | Type | Description | Notes
|
216
|
+
------------- | ------------- | ------------- | -------------
|
217
|
+
**platform_pk** | **String**| |
|
218
|
+
**pk** | **String**| |
|
219
|
+
|
220
|
+
### Return type
|
221
|
+
|
222
|
+
**Object**
|
223
|
+
|
224
|
+
### Authorization
|
225
|
+
|
226
|
+
No authorization required
|
227
|
+
|
228
|
+
### HTTP request headers
|
229
|
+
|
230
|
+
- **Content-Type**: Not defined
|
231
|
+
- **Accept**: Not defined
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
# **deny_income_request_get**
|
236
|
+
> Object deny_income_request_get(platform_pk, pk)
|
237
|
+
|
238
|
+
View to offer a
|
239
|
+
|
240
|
+
View to offer a ./deny endpoint for denying a IncomeRequest.
|
241
|
+
|
242
|
+
### Example
|
243
|
+
```ruby
|
244
|
+
# load the gem
|
245
|
+
require 'qwil_api'
|
246
|
+
|
247
|
+
api_instance = QwilAPI::PlatformsApi.new
|
248
|
+
|
249
|
+
platform_pk = "platform_pk_example" # String |
|
250
|
+
|
251
|
+
pk = "pk_example" # String |
|
252
|
+
|
253
|
+
|
254
|
+
begin
|
255
|
+
#View to offer a
|
256
|
+
result = api_instance.deny_income_request_get(platform_pk, pk)
|
257
|
+
p result
|
258
|
+
rescue QwilAPI::ApiError => e
|
259
|
+
puts "Exception when calling PlatformsApi->deny_income_request_get: #{e}"
|
260
|
+
end
|
261
|
+
```
|
262
|
+
|
263
|
+
### Parameters
|
264
|
+
|
265
|
+
Name | Type | Description | Notes
|
266
|
+
------------- | ------------- | ------------- | -------------
|
267
|
+
**platform_pk** | **String**| |
|
268
|
+
**pk** | **String**| |
|
269
|
+
|
270
|
+
### Return type
|
271
|
+
|
272
|
+
**Object**
|
273
|
+
|
274
|
+
### Authorization
|
275
|
+
|
276
|
+
No authorization required
|
277
|
+
|
278
|
+
### HTTP request headers
|
279
|
+
|
280
|
+
- **Content-Type**: Not defined
|
281
|
+
- **Accept**: Not defined
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
# **deny_income_request_post**
|
286
|
+
> Object deny_income_request_post(platform_pk, pk)
|
287
|
+
|
288
|
+
View to offer a
|
289
|
+
|
290
|
+
View to offer a ./deny endpoint for denying a IncomeRequest.
|
291
|
+
|
292
|
+
### Example
|
293
|
+
```ruby
|
294
|
+
# load the gem
|
295
|
+
require 'qwil_api'
|
296
|
+
|
297
|
+
api_instance = QwilAPI::PlatformsApi.new
|
298
|
+
|
299
|
+
platform_pk = "platform_pk_example" # String |
|
300
|
+
|
301
|
+
pk = "pk_example" # String |
|
302
|
+
|
303
|
+
|
304
|
+
begin
|
305
|
+
#View to offer a
|
306
|
+
result = api_instance.deny_income_request_post(platform_pk, pk)
|
307
|
+
p result
|
308
|
+
rescue QwilAPI::ApiError => e
|
309
|
+
puts "Exception when calling PlatformsApi->deny_income_request_post: #{e}"
|
310
|
+
end
|
311
|
+
```
|
312
|
+
|
313
|
+
### Parameters
|
314
|
+
|
315
|
+
Name | Type | Description | Notes
|
316
|
+
------------- | ------------- | ------------- | -------------
|
317
|
+
**platform_pk** | **String**| |
|
318
|
+
**pk** | **String**| |
|
319
|
+
|
320
|
+
### Return type
|
321
|
+
|
322
|
+
**Object**
|
323
|
+
|
324
|
+
### Authorization
|
325
|
+
|
326
|
+
No authorization required
|
327
|
+
|
328
|
+
### HTTP request headers
|
329
|
+
|
330
|
+
- **Content-Type**: Not defined
|
331
|
+
- **Accept**: Not defined
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
# **deny_platform_membership_request_get**
|
336
|
+
> Object deny_platform_membership_request_get(platform_pk, pk)
|
337
|
+
|
338
|
+
View to offer a
|
339
|
+
|
340
|
+
View to offer a ./accept endpoint for accepting a PlatformMembershipRequest.
|
341
|
+
|
342
|
+
### Example
|
343
|
+
```ruby
|
344
|
+
# load the gem
|
345
|
+
require 'qwil_api'
|
346
|
+
|
347
|
+
api_instance = QwilAPI::PlatformsApi.new
|
348
|
+
|
349
|
+
platform_pk = "platform_pk_example" # String |
|
350
|
+
|
351
|
+
pk = "pk_example" # String |
|
352
|
+
|
353
|
+
|
354
|
+
begin
|
355
|
+
#View to offer a
|
356
|
+
result = api_instance.deny_platform_membership_request_get(platform_pk, pk)
|
357
|
+
p result
|
358
|
+
rescue QwilAPI::ApiError => e
|
359
|
+
puts "Exception when calling PlatformsApi->deny_platform_membership_request_get: #{e}"
|
360
|
+
end
|
361
|
+
```
|
362
|
+
|
363
|
+
### Parameters
|
364
|
+
|
365
|
+
Name | Type | Description | Notes
|
366
|
+
------------- | ------------- | ------------- | -------------
|
367
|
+
**platform_pk** | **String**| |
|
368
|
+
**pk** | **String**| |
|
369
|
+
|
370
|
+
### Return type
|
371
|
+
|
372
|
+
**Object**
|
373
|
+
|
374
|
+
### Authorization
|
375
|
+
|
376
|
+
No authorization required
|
377
|
+
|
378
|
+
### HTTP request headers
|
379
|
+
|
380
|
+
- **Content-Type**: Not defined
|
381
|
+
- **Accept**: Not defined
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
# **deny_platform_membership_request_post**
|
386
|
+
> Object deny_platform_membership_request_post(platform_pk, pk)
|
387
|
+
|
388
|
+
View to offer a
|
389
|
+
|
390
|
+
View to offer a ./accept endpoint for accepting a PlatformMembershipRequest.
|
391
|
+
|
392
|
+
### Example
|
393
|
+
```ruby
|
394
|
+
# load the gem
|
395
|
+
require 'qwil_api'
|
396
|
+
|
397
|
+
api_instance = QwilAPI::PlatformsApi.new
|
398
|
+
|
399
|
+
platform_pk = "platform_pk_example" # String |
|
400
|
+
|
401
|
+
pk = "pk_example" # String |
|
402
|
+
|
403
|
+
|
404
|
+
begin
|
405
|
+
#View to offer a
|
406
|
+
result = api_instance.deny_platform_membership_request_post(platform_pk, pk)
|
407
|
+
p result
|
408
|
+
rescue QwilAPI::ApiError => e
|
409
|
+
puts "Exception when calling PlatformsApi->deny_platform_membership_request_post: #{e}"
|
410
|
+
end
|
411
|
+
```
|
412
|
+
|
413
|
+
### Parameters
|
414
|
+
|
415
|
+
Name | Type | Description | Notes
|
416
|
+
------------- | ------------- | ------------- | -------------
|
417
|
+
**platform_pk** | **String**| |
|
418
|
+
**pk** | **String**| |
|
419
|
+
|
420
|
+
### Return type
|
421
|
+
|
422
|
+
**Object**
|
423
|
+
|
424
|
+
### Authorization
|
425
|
+
|
426
|
+
No authorization required
|
427
|
+
|
428
|
+
### HTTP request headers
|
429
|
+
|
430
|
+
- **Content-Type**: Not defined
|
431
|
+
- **Accept**: Not defined
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
# **income_platform_create**
|
436
|
+
> IncomeSerializerFixedSource income_platform_create(platform_pk, user, amount, opts)
|
437
|
+
|
438
|
+
The list of Income items for a specific User
|
439
|
+
|
440
|
+
The list of Income items for a specific User.<br/>This can be filtered by date using the start_date and end_date query parameters.
|
441
|
+
|
442
|
+
### Example
|
443
|
+
```ruby
|
444
|
+
# load the gem
|
445
|
+
require 'qwil_api'
|
446
|
+
|
447
|
+
api_instance = QwilAPI::PlatformsApi.new
|
448
|
+
|
449
|
+
platform_pk = "platform_pk_example" # String |
|
450
|
+
|
451
|
+
user = "user_example" # String |
|
452
|
+
|
453
|
+
amount = "amount_example" # String |
|
454
|
+
|
455
|
+
opts = {
|
456
|
+
external_id: "external_id_example", # String | Optional unique ID to correlate this Income to a record in another system. If specified, this will prevent duplicate Incomes being created with the same external_id. This field is unique per Platform. If this field is omitted, no uniqueness check is performed.
|
457
|
+
payment_time: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime |
|
458
|
+
notes: "notes_example" # String |
|
459
|
+
}
|
460
|
+
|
461
|
+
begin
|
462
|
+
#The list of Income items for a specific User
|
463
|
+
result = api_instance.income_platform_create(platform_pk, user, amount, opts)
|
464
|
+
p result
|
465
|
+
rescue QwilAPI::ApiError => e
|
466
|
+
puts "Exception when calling PlatformsApi->income_platform_create: #{e}"
|
467
|
+
end
|
468
|
+
```
|
469
|
+
|
470
|
+
### Parameters
|
471
|
+
|
472
|
+
Name | Type | Description | Notes
|
473
|
+
------------- | ------------- | ------------- | -------------
|
474
|
+
**platform_pk** | **String**| |
|
475
|
+
**user** | **String**| |
|
476
|
+
**amount** | **String**| |
|
477
|
+
**external_id** | **String**| Optional unique ID to correlate this Income to a record in another system. If specified, this will prevent duplicate Incomes being created with the same external_id. This field is unique per Platform. If this field is omitted, no uniqueness check is performed. | [optional]
|
478
|
+
**payment_time** | **DateTime**| | [optional]
|
479
|
+
**notes** | **String**| | [optional]
|
480
|
+
|
481
|
+
### Return type
|
482
|
+
|
483
|
+
[**IncomeSerializerFixedSource**](IncomeSerializerFixedSource.md)
|
484
|
+
|
485
|
+
### Authorization
|
486
|
+
|
487
|
+
No authorization required
|
488
|
+
|
489
|
+
### HTTP request headers
|
490
|
+
|
491
|
+
- **Content-Type**: Not defined
|
492
|
+
- **Accept**: Not defined
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
# **income_platform_list**
|
497
|
+
> Array<IncomeSerializerFixedSource> income_platform_list(platform_pk)
|
498
|
+
|
499
|
+
The list of Income items for a specific User
|
500
|
+
|
501
|
+
The list of Income items for a specific User.<br/>This can be filtered by date using the start_date and end_date query parameters.
|
502
|
+
|
503
|
+
### Example
|
504
|
+
```ruby
|
505
|
+
# load the gem
|
506
|
+
require 'qwil_api'
|
507
|
+
|
508
|
+
api_instance = QwilAPI::PlatformsApi.new
|
509
|
+
|
510
|
+
platform_pk = "platform_pk_example" # String |
|
511
|
+
|
512
|
+
|
513
|
+
begin
|
514
|
+
#The list of Income items for a specific User
|
515
|
+
result = api_instance.income_platform_list(platform_pk)
|
516
|
+
p result
|
517
|
+
rescue QwilAPI::ApiError => e
|
518
|
+
puts "Exception when calling PlatformsApi->income_platform_list: #{e}"
|
519
|
+
end
|
520
|
+
```
|
521
|
+
|
522
|
+
### Parameters
|
523
|
+
|
524
|
+
Name | Type | Description | Notes
|
525
|
+
------------- | ------------- | ------------- | -------------
|
526
|
+
**platform_pk** | **String**| |
|
527
|
+
|
528
|
+
### Return type
|
529
|
+
|
530
|
+
[**Array<IncomeSerializerFixedSource>**](IncomeSerializerFixedSource.md)
|
531
|
+
|
532
|
+
### Authorization
|
533
|
+
|
534
|
+
No authorization required
|
535
|
+
|
536
|
+
### HTTP request headers
|
537
|
+
|
538
|
+
- **Content-Type**: Not defined
|
539
|
+
- **Accept**: Not defined
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
# **platform_contractor_create**
|
544
|
+
> ContractorSerializer platform_contractor_create(platform_pk, email, opts)
|
545
|
+
|
546
|
+
The set of users on a specific Platform
|
547
|
+
|
548
|
+
The set of users on a specific Platform.<br/>Any users created through this ViewSet will have a profile created with the Platform set to the resource specified in the URL, e.g. POST /platforms/3/contractors/ will create a user with User.Profile.platform = '/platforms/3/'.
|
549
|
+
|
550
|
+
### Example
|
551
|
+
```ruby
|
552
|
+
# load the gem
|
553
|
+
require 'qwil_api'
|
554
|
+
|
555
|
+
api_instance = QwilAPI::PlatformsApi.new
|
556
|
+
|
557
|
+
platform_pk = "platform_pk_example" # String |
|
558
|
+
|
559
|
+
email = "email_example" # String |
|
560
|
+
|
561
|
+
opts = {
|
562
|
+
first_name: "first_name_example", # String | First name, if the user is an individual. Leave blank if this user is a company.
|
563
|
+
last_name: "last_name_example", # String | Last name, if the user is an individual. Leave blank if this user is a company.
|
564
|
+
business_name: "business_name_example", # String | Business name. Only use this field if this user is a business entity.
|
565
|
+
contractor_type: "INDIVIDUAL", # String |
|
566
|
+
personal_information: "personal_information_example", # String |
|
567
|
+
default_account: "default_account_example" # String | Default account to use for payment of unpaid income.
|
568
|
+
}
|
569
|
+
|
570
|
+
begin
|
571
|
+
#The set of users on a specific Platform
|
572
|
+
result = api_instance.platform_contractor_create(platform_pk, email, opts)
|
573
|
+
p result
|
574
|
+
rescue QwilAPI::ApiError => e
|
575
|
+
puts "Exception when calling PlatformsApi->platform_contractor_create: #{e}"
|
576
|
+
end
|
577
|
+
```
|
578
|
+
|
579
|
+
### Parameters
|
580
|
+
|
581
|
+
Name | Type | Description | Notes
|
582
|
+
------------- | ------------- | ------------- | -------------
|
583
|
+
**platform_pk** | **String**| |
|
584
|
+
**email** | **String**| |
|
585
|
+
**first_name** | **String**| First name, if the user is an individual. Leave blank if this user is a company. | [optional]
|
586
|
+
**last_name** | **String**| Last name, if the user is an individual. Leave blank if this user is a company. | [optional]
|
587
|
+
**business_name** | **String**| Business name. Only use this field if this user is a business entity. | [optional]
|
588
|
+
**contractor_type** | **String**| | [optional] [default to INDIVIDUAL]
|
589
|
+
**personal_information** | **String**| | [optional]
|
590
|
+
**default_account** | **String**| Default account to use for payment of unpaid income. | [optional]
|
591
|
+
|
592
|
+
### Return type
|
593
|
+
|
594
|
+
[**ContractorSerializer**](ContractorSerializer.md)
|
595
|
+
|
596
|
+
### Authorization
|
597
|
+
|
598
|
+
No authorization required
|
599
|
+
|
600
|
+
### HTTP request headers
|
601
|
+
|
602
|
+
- **Content-Type**: Not defined
|
603
|
+
- **Accept**: Not defined
|
604
|
+
|
605
|
+
|
606
|
+
|
607
|
+
# **platform_contractor_list**
|
608
|
+
> Array<ContractorSerializer> platform_contractor_list(platform_pk)
|
609
|
+
|
610
|
+
The set of users on a specific Platform
|
611
|
+
|
612
|
+
The set of users on a specific Platform.<br/>Any users created through this ViewSet will have a profile created with the Platform set to the resource specified in the URL, e.g. POST /platforms/3/contractors/ will create a user with User.Profile.platform = '/platforms/3/'.
|
613
|
+
|
614
|
+
### Example
|
615
|
+
```ruby
|
616
|
+
# load the gem
|
617
|
+
require 'qwil_api'
|
618
|
+
|
619
|
+
api_instance = QwilAPI::PlatformsApi.new
|
620
|
+
|
621
|
+
platform_pk = "platform_pk_example" # String |
|
622
|
+
|
623
|
+
|
624
|
+
begin
|
625
|
+
#The set of users on a specific Platform
|
626
|
+
result = api_instance.platform_contractor_list(platform_pk)
|
627
|
+
p result
|
628
|
+
rescue QwilAPI::ApiError => e
|
629
|
+
puts "Exception when calling PlatformsApi->platform_contractor_list: #{e}"
|
630
|
+
end
|
631
|
+
```
|
632
|
+
|
633
|
+
### Parameters
|
634
|
+
|
635
|
+
Name | Type | Description | Notes
|
636
|
+
------------- | ------------- | ------------- | -------------
|
637
|
+
**platform_pk** | **String**| |
|
638
|
+
|
639
|
+
### Return type
|
640
|
+
|
641
|
+
[**Array<ContractorSerializer>**](ContractorSerializer.md)
|
642
|
+
|
643
|
+
### Authorization
|
644
|
+
|
645
|
+
No authorization required
|
646
|
+
|
647
|
+
### HTTP request headers
|
648
|
+
|
649
|
+
- **Content-Type**: Not defined
|
650
|
+
- **Accept**: Not defined
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
# **platform_contractor_partial_update**
|
655
|
+
> ContractorSerializer platform_contractor_partial_update(platform_pk, pk, opts)
|
656
|
+
|
657
|
+
The set of users on a specific Platform
|
658
|
+
|
659
|
+
The set of users on a specific Platform.<br/>Any users created through this ViewSet will have a profile created with the Platform set to the resource specified in the URL, e.g. POST /platforms/3/contractors/ will create a user with User.Profile.platform = '/platforms/3/'.
|
660
|
+
|
661
|
+
### Example
|
662
|
+
```ruby
|
663
|
+
# load the gem
|
664
|
+
require 'qwil_api'
|
665
|
+
|
666
|
+
api_instance = QwilAPI::PlatformsApi.new
|
667
|
+
|
668
|
+
platform_pk = "platform_pk_example" # String |
|
669
|
+
|
670
|
+
pk = "pk_example" # String |
|
671
|
+
|
672
|
+
opts = {
|
673
|
+
email: "email_example", # String |
|
674
|
+
first_name: "first_name_example", # String | First name, if the user is an individual. Leave blank if this user is a company.
|
675
|
+
last_name: "last_name_example", # String | Last name, if the user is an individual. Leave blank if this user is a company.
|
676
|
+
business_name: "business_name_example", # String | Business name. Only use this field if this user is a business entity.
|
677
|
+
contractor_type: "INDIVIDUAL", # String |
|
678
|
+
personal_information: "personal_information_example", # String |
|
679
|
+
default_account: "default_account_example" # String | Default account to use for payment of unpaid income.
|
680
|
+
}
|
681
|
+
|
682
|
+
begin
|
683
|
+
#The set of users on a specific Platform
|
684
|
+
result = api_instance.platform_contractor_partial_update(platform_pk, pk, opts)
|
685
|
+
p result
|
686
|
+
rescue QwilAPI::ApiError => e
|
687
|
+
puts "Exception when calling PlatformsApi->platform_contractor_partial_update: #{e}"
|
688
|
+
end
|
689
|
+
```
|
690
|
+
|
691
|
+
### Parameters
|
692
|
+
|
693
|
+
Name | Type | Description | Notes
|
694
|
+
------------- | ------------- | ------------- | -------------
|
695
|
+
**platform_pk** | **String**| |
|
696
|
+
**pk** | **String**| |
|
697
|
+
**email** | **String**| | [optional]
|
698
|
+
**first_name** | **String**| First name, if the user is an individual. Leave blank if this user is a company. | [optional]
|
699
|
+
**last_name** | **String**| Last name, if the user is an individual. Leave blank if this user is a company. | [optional]
|
700
|
+
**business_name** | **String**| Business name. Only use this field if this user is a business entity. | [optional]
|
701
|
+
**contractor_type** | **String**| | [optional] [default to INDIVIDUAL]
|
702
|
+
**personal_information** | **String**| | [optional]
|
703
|
+
**default_account** | **String**| Default account to use for payment of unpaid income. | [optional]
|
704
|
+
|
705
|
+
### Return type
|
706
|
+
|
707
|
+
[**ContractorSerializer**](ContractorSerializer.md)
|
708
|
+
|
709
|
+
### Authorization
|
710
|
+
|
711
|
+
No authorization required
|
712
|
+
|
713
|
+
### HTTP request headers
|
714
|
+
|
715
|
+
- **Content-Type**: Not defined
|
716
|
+
- **Accept**: Not defined
|
717
|
+
|
718
|
+
|
719
|
+
|
720
|
+
# **platform_contractor_retrieve**
|
721
|
+
> ContractorSerializer platform_contractor_retrieve(platform_pk, pk)
|
722
|
+
|
723
|
+
The set of users on a specific Platform
|
724
|
+
|
725
|
+
The set of users on a specific Platform.<br/>Any users created through this ViewSet will have a profile created with the Platform set to the resource specified in the URL, e.g. POST /platforms/3/contractors/ will create a user with User.Profile.platform = '/platforms/3/'.
|
726
|
+
|
727
|
+
### Example
|
728
|
+
```ruby
|
729
|
+
# load the gem
|
730
|
+
require 'qwil_api'
|
731
|
+
|
732
|
+
api_instance = QwilAPI::PlatformsApi.new
|
733
|
+
|
734
|
+
platform_pk = "platform_pk_example" # String |
|
735
|
+
|
736
|
+
pk = "pk_example" # String |
|
737
|
+
|
738
|
+
|
739
|
+
begin
|
740
|
+
#The set of users on a specific Platform
|
741
|
+
result = api_instance.platform_contractor_retrieve(platform_pk, pk)
|
742
|
+
p result
|
743
|
+
rescue QwilAPI::ApiError => e
|
744
|
+
puts "Exception when calling PlatformsApi->platform_contractor_retrieve: #{e}"
|
745
|
+
end
|
746
|
+
```
|
747
|
+
|
748
|
+
### Parameters
|
749
|
+
|
750
|
+
Name | Type | Description | Notes
|
751
|
+
------------- | ------------- | ------------- | -------------
|
752
|
+
**platform_pk** | **String**| |
|
753
|
+
**pk** | **String**| |
|
754
|
+
|
755
|
+
### Return type
|
756
|
+
|
757
|
+
[**ContractorSerializer**](ContractorSerializer.md)
|
758
|
+
|
759
|
+
### Authorization
|
760
|
+
|
761
|
+
No authorization required
|
762
|
+
|
763
|
+
### HTTP request headers
|
764
|
+
|
765
|
+
- **Content-Type**: Not defined
|
766
|
+
- **Accept**: Not defined
|
767
|
+
|
768
|
+
|
769
|
+
|
770
|
+
# **platform_contractor_update**
|
771
|
+
> ContractorSerializer platform_contractor_update(platform_pk, pk, email, opts)
|
772
|
+
|
773
|
+
The set of users on a specific Platform
|
774
|
+
|
775
|
+
The set of users on a specific Platform.<br/>Any users created through this ViewSet will have a profile created with the Platform set to the resource specified in the URL, e.g. POST /platforms/3/contractors/ will create a user with User.Profile.platform = '/platforms/3/'.
|
776
|
+
|
777
|
+
### Example
|
778
|
+
```ruby
|
779
|
+
# load the gem
|
780
|
+
require 'qwil_api'
|
781
|
+
|
782
|
+
api_instance = QwilAPI::PlatformsApi.new
|
783
|
+
|
784
|
+
platform_pk = "platform_pk_example" # String |
|
785
|
+
|
786
|
+
pk = "pk_example" # String |
|
787
|
+
|
788
|
+
email = "email_example" # String |
|
789
|
+
|
790
|
+
opts = {
|
791
|
+
first_name: "first_name_example", # String | First name, if the user is an individual. Leave blank if this user is a company.
|
792
|
+
last_name: "last_name_example", # String | Last name, if the user is an individual. Leave blank if this user is a company.
|
793
|
+
business_name: "business_name_example", # String | Business name. Only use this field if this user is a business entity.
|
794
|
+
contractor_type: "INDIVIDUAL", # String |
|
795
|
+
personal_information: "personal_information_example", # String |
|
796
|
+
default_account: "default_account_example" # String | Default account to use for payment of unpaid income.
|
797
|
+
}
|
798
|
+
|
799
|
+
begin
|
800
|
+
#The set of users on a specific Platform
|
801
|
+
result = api_instance.platform_contractor_update(platform_pk, pk, email, opts)
|
802
|
+
p result
|
803
|
+
rescue QwilAPI::ApiError => e
|
804
|
+
puts "Exception when calling PlatformsApi->platform_contractor_update: #{e}"
|
805
|
+
end
|
806
|
+
```
|
807
|
+
|
808
|
+
### Parameters
|
809
|
+
|
810
|
+
Name | Type | Description | Notes
|
811
|
+
------------- | ------------- | ------------- | -------------
|
812
|
+
**platform_pk** | **String**| |
|
813
|
+
**pk** | **String**| |
|
814
|
+
**email** | **String**| |
|
815
|
+
**first_name** | **String**| First name, if the user is an individual. Leave blank if this user is a company. | [optional]
|
816
|
+
**last_name** | **String**| Last name, if the user is an individual. Leave blank if this user is a company. | [optional]
|
817
|
+
**business_name** | **String**| Business name. Only use this field if this user is a business entity. | [optional]
|
818
|
+
**contractor_type** | **String**| | [optional] [default to INDIVIDUAL]
|
819
|
+
**personal_information** | **String**| | [optional]
|
820
|
+
**default_account** | **String**| Default account to use for payment of unpaid income. | [optional]
|
821
|
+
|
822
|
+
### Return type
|
823
|
+
|
824
|
+
[**ContractorSerializer**](ContractorSerializer.md)
|
825
|
+
|
826
|
+
### Authorization
|
827
|
+
|
828
|
+
No authorization required
|
829
|
+
|
830
|
+
### HTTP request headers
|
831
|
+
|
832
|
+
- **Content-Type**: Not defined
|
833
|
+
- **Accept**: Not defined
|
834
|
+
|
835
|
+
|
836
|
+
|
837
|
+
# **platform_csv_upload_income_file_post**
|
838
|
+
> Object platform_csv_upload_income_file_post(platform_pk)
|
839
|
+
|
840
|
+
Viewset for uploading CSV files containing Income config
|
841
|
+
|
842
|
+
Viewset for uploading CSV files containing Income config.<br/>The POST must use Content-Type: multipart/form-data<br/>The field name for the form-data must be \"income-data\".<br/>The first line specifies the field names, and each subsequent line will specify an Income object.
|
843
|
+
|
844
|
+
### Example
|
845
|
+
```ruby
|
846
|
+
# load the gem
|
847
|
+
require 'qwil_api'
|
848
|
+
|
849
|
+
api_instance = QwilAPI::PlatformsApi.new
|
850
|
+
|
851
|
+
platform_pk = "platform_pk_example" # String |
|
852
|
+
|
853
|
+
|
854
|
+
begin
|
855
|
+
#Viewset for uploading CSV files containing Income config
|
856
|
+
result = api_instance.platform_csv_upload_income_file_post(platform_pk)
|
857
|
+
p result
|
858
|
+
rescue QwilAPI::ApiError => e
|
859
|
+
puts "Exception when calling PlatformsApi->platform_csv_upload_income_file_post: #{e}"
|
860
|
+
end
|
861
|
+
```
|
862
|
+
|
863
|
+
### Parameters
|
864
|
+
|
865
|
+
Name | Type | Description | Notes
|
866
|
+
------------- | ------------- | ------------- | -------------
|
867
|
+
**platform_pk** | **String**| |
|
868
|
+
|
869
|
+
### Return type
|
870
|
+
|
871
|
+
**Object**
|
872
|
+
|
873
|
+
### Authorization
|
874
|
+
|
875
|
+
No authorization required
|
876
|
+
|
877
|
+
### HTTP request headers
|
878
|
+
|
879
|
+
- **Content-Type**: Not defined
|
880
|
+
- **Accept**: Not defined
|
881
|
+
|
882
|
+
|
883
|
+
|
884
|
+
# **platform_csv_upload_user_file_post**
|
885
|
+
> Object platform_csv_upload_user_file_post(platform_pk)
|
886
|
+
|
887
|
+
Viewset for uploading CSV files containing User config
|
888
|
+
|
889
|
+
Viewset for uploading CSV files containing User config.<br/>The POST must use Content-Type: multipart/form-data<br/>The field name for the form-data must be \"user-data\".<br/>The first line specifies the field names, and each subsequent line will specify a User object.<br/>Note that the fields in User.PersonalInformation can also be specified,<br/>e.g. first_name,last_name,email,tax_id_number
|
890
|
+
|
891
|
+
### Example
|
892
|
+
```ruby
|
893
|
+
# load the gem
|
894
|
+
require 'qwil_api'
|
895
|
+
|
896
|
+
api_instance = QwilAPI::PlatformsApi.new
|
897
|
+
|
898
|
+
platform_pk = "platform_pk_example" # String |
|
899
|
+
|
900
|
+
|
901
|
+
begin
|
902
|
+
#Viewset for uploading CSV files containing User config
|
903
|
+
result = api_instance.platform_csv_upload_user_file_post(platform_pk)
|
904
|
+
p result
|
905
|
+
rescue QwilAPI::ApiError => e
|
906
|
+
puts "Exception when calling PlatformsApi->platform_csv_upload_user_file_post: #{e}"
|
907
|
+
end
|
908
|
+
```
|
909
|
+
|
910
|
+
### Parameters
|
911
|
+
|
912
|
+
Name | Type | Description | Notes
|
913
|
+
------------- | ------------- | ------------- | -------------
|
914
|
+
**platform_pk** | **String**| |
|
915
|
+
|
916
|
+
### Return type
|
917
|
+
|
918
|
+
**Object**
|
919
|
+
|
920
|
+
### Authorization
|
921
|
+
|
922
|
+
No authorization required
|
923
|
+
|
924
|
+
### HTTP request headers
|
925
|
+
|
926
|
+
- **Content-Type**: Not defined
|
927
|
+
- **Accept**: Not defined
|
928
|
+
|
929
|
+
|
930
|
+
|
931
|
+
# **platform_income_request_list**
|
932
|
+
> Array<PlatformIncomeRequestSerializer> platform_income_request_list(platform_pk)
|
933
|
+
|
934
|
+
|
935
|
+
|
936
|
+
|
937
|
+
|
938
|
+
### Example
|
939
|
+
```ruby
|
940
|
+
# load the gem
|
941
|
+
require 'qwil_api'
|
942
|
+
|
943
|
+
api_instance = QwilAPI::PlatformsApi.new
|
944
|
+
|
945
|
+
platform_pk = "platform_pk_example" # String |
|
946
|
+
|
947
|
+
|
948
|
+
begin
|
949
|
+
#
|
950
|
+
result = api_instance.platform_income_request_list(platform_pk)
|
951
|
+
p result
|
952
|
+
rescue QwilAPI::ApiError => e
|
953
|
+
puts "Exception when calling PlatformsApi->platform_income_request_list: #{e}"
|
954
|
+
end
|
955
|
+
```
|
956
|
+
|
957
|
+
### Parameters
|
958
|
+
|
959
|
+
Name | Type | Description | Notes
|
960
|
+
------------- | ------------- | ------------- | -------------
|
961
|
+
**platform_pk** | **String**| |
|
962
|
+
|
963
|
+
### Return type
|
964
|
+
|
965
|
+
[**Array<PlatformIncomeRequestSerializer>**](PlatformIncomeRequestSerializer.md)
|
966
|
+
|
967
|
+
### Authorization
|
968
|
+
|
969
|
+
No authorization required
|
970
|
+
|
971
|
+
### HTTP request headers
|
972
|
+
|
973
|
+
- **Content-Type**: Not defined
|
974
|
+
- **Accept**: Not defined
|
975
|
+
|
976
|
+
|
977
|
+
|
978
|
+
# **platform_income_request_retrieve**
|
979
|
+
> PlatformIncomeRequestSerializer platform_income_request_retrieve(platform_pk, pk)
|
980
|
+
|
981
|
+
|
982
|
+
|
983
|
+
|
984
|
+
|
985
|
+
### Example
|
986
|
+
```ruby
|
987
|
+
# load the gem
|
988
|
+
require 'qwil_api'
|
989
|
+
|
990
|
+
api_instance = QwilAPI::PlatformsApi.new
|
991
|
+
|
992
|
+
platform_pk = "platform_pk_example" # String |
|
993
|
+
|
994
|
+
pk = "pk_example" # String |
|
995
|
+
|
996
|
+
|
997
|
+
begin
|
998
|
+
#
|
999
|
+
result = api_instance.platform_income_request_retrieve(platform_pk, pk)
|
1000
|
+
p result
|
1001
|
+
rescue QwilAPI::ApiError => e
|
1002
|
+
puts "Exception when calling PlatformsApi->platform_income_request_retrieve: #{e}"
|
1003
|
+
end
|
1004
|
+
```
|
1005
|
+
|
1006
|
+
### Parameters
|
1007
|
+
|
1008
|
+
Name | Type | Description | Notes
|
1009
|
+
------------- | ------------- | ------------- | -------------
|
1010
|
+
**platform_pk** | **String**| |
|
1011
|
+
**pk** | **String**| |
|
1012
|
+
|
1013
|
+
### Return type
|
1014
|
+
|
1015
|
+
[**PlatformIncomeRequestSerializer**](PlatformIncomeRequestSerializer.md)
|
1016
|
+
|
1017
|
+
### Authorization
|
1018
|
+
|
1019
|
+
No authorization required
|
1020
|
+
|
1021
|
+
### HTTP request headers
|
1022
|
+
|
1023
|
+
- **Content-Type**: Not defined
|
1024
|
+
- **Accept**: Not defined
|
1025
|
+
|
1026
|
+
|
1027
|
+
|
1028
|
+
# **platform_invoice_create_create**
|
1029
|
+
> InvoiceSerializerFixedSourceCreate platform_invoice_create_create(platform_pk, income, opts)
|
1030
|
+
|
1031
|
+
|
1032
|
+
|
1033
|
+
|
1034
|
+
|
1035
|
+
### Example
|
1036
|
+
```ruby
|
1037
|
+
# load the gem
|
1038
|
+
require 'qwil_api'
|
1039
|
+
|
1040
|
+
api_instance = QwilAPI::PlatformsApi.new
|
1041
|
+
|
1042
|
+
platform_pk = "platform_pk_example" # String |
|
1043
|
+
|
1044
|
+
income = "income_example" # String |
|
1045
|
+
|
1046
|
+
opts = {
|
1047
|
+
external_id: "external_id_example" # String | Optional unique ID to correlate this Invoice to a record in another system. If specified, this will prevent duplicate Invoices being created with the same external_id. This field is unique per Platform. If this field is omitted, no uniqueness check is performed.
|
1048
|
+
}
|
1049
|
+
|
1050
|
+
begin
|
1051
|
+
#
|
1052
|
+
result = api_instance.platform_invoice_create_create(platform_pk, income, opts)
|
1053
|
+
p result
|
1054
|
+
rescue QwilAPI::ApiError => e
|
1055
|
+
puts "Exception when calling PlatformsApi->platform_invoice_create_create: #{e}"
|
1056
|
+
end
|
1057
|
+
```
|
1058
|
+
|
1059
|
+
### Parameters
|
1060
|
+
|
1061
|
+
Name | Type | Description | Notes
|
1062
|
+
------------- | ------------- | ------------- | -------------
|
1063
|
+
**platform_pk** | **String**| |
|
1064
|
+
**income** | **String**| |
|
1065
|
+
**external_id** | **String**| Optional unique ID to correlate this Invoice to a record in another system. If specified, this will prevent duplicate Invoices being created with the same external_id. This field is unique per Platform. If this field is omitted, no uniqueness check is performed. | [optional]
|
1066
|
+
|
1067
|
+
### Return type
|
1068
|
+
|
1069
|
+
[**InvoiceSerializerFixedSourceCreate**](InvoiceSerializerFixedSourceCreate.md)
|
1070
|
+
|
1071
|
+
### Authorization
|
1072
|
+
|
1073
|
+
No authorization required
|
1074
|
+
|
1075
|
+
### HTTP request headers
|
1076
|
+
|
1077
|
+
- **Content-Type**: Not defined
|
1078
|
+
- **Accept**: Not defined
|
1079
|
+
|
1080
|
+
|
1081
|
+
|
1082
|
+
# **platform_invoice_list**
|
1083
|
+
> Array<InvoiceSerializer> platform_invoice_list(platform_pk)
|
1084
|
+
|
1085
|
+
|
1086
|
+
|
1087
|
+
|
1088
|
+
|
1089
|
+
### Example
|
1090
|
+
```ruby
|
1091
|
+
# load the gem
|
1092
|
+
require 'qwil_api'
|
1093
|
+
|
1094
|
+
api_instance = QwilAPI::PlatformsApi.new
|
1095
|
+
|
1096
|
+
platform_pk = "platform_pk_example" # String |
|
1097
|
+
|
1098
|
+
|
1099
|
+
begin
|
1100
|
+
#
|
1101
|
+
result = api_instance.platform_invoice_list(platform_pk)
|
1102
|
+
p result
|
1103
|
+
rescue QwilAPI::ApiError => e
|
1104
|
+
puts "Exception when calling PlatformsApi->platform_invoice_list: #{e}"
|
1105
|
+
end
|
1106
|
+
```
|
1107
|
+
|
1108
|
+
### Parameters
|
1109
|
+
|
1110
|
+
Name | Type | Description | Notes
|
1111
|
+
------------- | ------------- | ------------- | -------------
|
1112
|
+
**platform_pk** | **String**| |
|
1113
|
+
|
1114
|
+
### Return type
|
1115
|
+
|
1116
|
+
[**Array<InvoiceSerializer>**](InvoiceSerializer.md)
|
1117
|
+
|
1118
|
+
### Authorization
|
1119
|
+
|
1120
|
+
No authorization required
|
1121
|
+
|
1122
|
+
### HTTP request headers
|
1123
|
+
|
1124
|
+
- **Content-Type**: Not defined
|
1125
|
+
- **Accept**: Not defined
|
1126
|
+
|
1127
|
+
|
1128
|
+
|
1129
|
+
# **platform_membership_create**
|
1130
|
+
> MembershipSerializer platform_membership_create(platform_pk, user)
|
1131
|
+
|
1132
|
+
|
1133
|
+
|
1134
|
+
|
1135
|
+
|
1136
|
+
### Example
|
1137
|
+
```ruby
|
1138
|
+
# load the gem
|
1139
|
+
require 'qwil_api'
|
1140
|
+
|
1141
|
+
api_instance = QwilAPI::PlatformsApi.new
|
1142
|
+
|
1143
|
+
platform_pk = "platform_pk_example" # String |
|
1144
|
+
|
1145
|
+
user = "user_example" # String |
|
1146
|
+
|
1147
|
+
|
1148
|
+
begin
|
1149
|
+
#
|
1150
|
+
result = api_instance.platform_membership_create(platform_pk, user)
|
1151
|
+
p result
|
1152
|
+
rescue QwilAPI::ApiError => e
|
1153
|
+
puts "Exception when calling PlatformsApi->platform_membership_create: #{e}"
|
1154
|
+
end
|
1155
|
+
```
|
1156
|
+
|
1157
|
+
### Parameters
|
1158
|
+
|
1159
|
+
Name | Type | Description | Notes
|
1160
|
+
------------- | ------------- | ------------- | -------------
|
1161
|
+
**platform_pk** | **String**| |
|
1162
|
+
**user** | **String**| |
|
1163
|
+
|
1164
|
+
### Return type
|
1165
|
+
|
1166
|
+
[**MembershipSerializer**](MembershipSerializer.md)
|
1167
|
+
|
1168
|
+
### Authorization
|
1169
|
+
|
1170
|
+
No authorization required
|
1171
|
+
|
1172
|
+
### HTTP request headers
|
1173
|
+
|
1174
|
+
- **Content-Type**: Not defined
|
1175
|
+
- **Accept**: Not defined
|
1176
|
+
|
1177
|
+
|
1178
|
+
|
1179
|
+
# **platform_membership_list**
|
1180
|
+
> Array<MembershipSerializer> platform_membership_list(platform_pk)
|
1181
|
+
|
1182
|
+
Temporary special-case logic to map old Platform memberships onto the new API
|
1183
|
+
|
1184
|
+
Temporary special-case logic to map old Platform memberships onto the new API.<br/>Generate a faux Membership for each User.profile.platform FKey ref.
|
1185
|
+
|
1186
|
+
### Example
|
1187
|
+
```ruby
|
1188
|
+
# load the gem
|
1189
|
+
require 'qwil_api'
|
1190
|
+
|
1191
|
+
api_instance = QwilAPI::PlatformsApi.new
|
1192
|
+
|
1193
|
+
platform_pk = "platform_pk_example" # String |
|
1194
|
+
|
1195
|
+
|
1196
|
+
begin
|
1197
|
+
#Temporary special-case logic to map old Platform memberships onto the new API
|
1198
|
+
result = api_instance.platform_membership_list(platform_pk)
|
1199
|
+
p result
|
1200
|
+
rescue QwilAPI::ApiError => e
|
1201
|
+
puts "Exception when calling PlatformsApi->platform_membership_list: #{e}"
|
1202
|
+
end
|
1203
|
+
```
|
1204
|
+
|
1205
|
+
### Parameters
|
1206
|
+
|
1207
|
+
Name | Type | Description | Notes
|
1208
|
+
------------- | ------------- | ------------- | -------------
|
1209
|
+
**platform_pk** | **String**| |
|
1210
|
+
|
1211
|
+
### Return type
|
1212
|
+
|
1213
|
+
[**Array<MembershipSerializer>**](MembershipSerializer.md)
|
1214
|
+
|
1215
|
+
### Authorization
|
1216
|
+
|
1217
|
+
No authorization required
|
1218
|
+
|
1219
|
+
### HTTP request headers
|
1220
|
+
|
1221
|
+
- **Content-Type**: Not defined
|
1222
|
+
- **Accept**: Not defined
|
1223
|
+
|
1224
|
+
|
1225
|
+
|
1226
|
+
# **platform_membership_request_list**
|
1227
|
+
> Array<PlatformMembershipRequestSerializer> platform_membership_request_list(platform_pk)
|
1228
|
+
|
1229
|
+
|
1230
|
+
|
1231
|
+
|
1232
|
+
|
1233
|
+
### Example
|
1234
|
+
```ruby
|
1235
|
+
# load the gem
|
1236
|
+
require 'qwil_api'
|
1237
|
+
|
1238
|
+
api_instance = QwilAPI::PlatformsApi.new
|
1239
|
+
|
1240
|
+
platform_pk = "platform_pk_example" # String |
|
1241
|
+
|
1242
|
+
|
1243
|
+
begin
|
1244
|
+
#
|
1245
|
+
result = api_instance.platform_membership_request_list(platform_pk)
|
1246
|
+
p result
|
1247
|
+
rescue QwilAPI::ApiError => e
|
1248
|
+
puts "Exception when calling PlatformsApi->platform_membership_request_list: #{e}"
|
1249
|
+
end
|
1250
|
+
```
|
1251
|
+
|
1252
|
+
### Parameters
|
1253
|
+
|
1254
|
+
Name | Type | Description | Notes
|
1255
|
+
------------- | ------------- | ------------- | -------------
|
1256
|
+
**platform_pk** | **String**| |
|
1257
|
+
|
1258
|
+
### Return type
|
1259
|
+
|
1260
|
+
[**Array<PlatformMembershipRequestSerializer>**](PlatformMembershipRequestSerializer.md)
|
1261
|
+
|
1262
|
+
### Authorization
|
1263
|
+
|
1264
|
+
No authorization required
|
1265
|
+
|
1266
|
+
### HTTP request headers
|
1267
|
+
|
1268
|
+
- **Content-Type**: Not defined
|
1269
|
+
- **Accept**: Not defined
|
1270
|
+
|
1271
|
+
|
1272
|
+
|
1273
|
+
# **platform_membership_request_retrieve**
|
1274
|
+
> PlatformMembershipRequestSerializer platform_membership_request_retrieve(platform_pk, pk)
|
1275
|
+
|
1276
|
+
|
1277
|
+
|
1278
|
+
|
1279
|
+
|
1280
|
+
### Example
|
1281
|
+
```ruby
|
1282
|
+
# load the gem
|
1283
|
+
require 'qwil_api'
|
1284
|
+
|
1285
|
+
api_instance = QwilAPI::PlatformsApi.new
|
1286
|
+
|
1287
|
+
platform_pk = "platform_pk_example" # String |
|
1288
|
+
|
1289
|
+
pk = "pk_example" # String |
|
1290
|
+
|
1291
|
+
|
1292
|
+
begin
|
1293
|
+
#
|
1294
|
+
result = api_instance.platform_membership_request_retrieve(platform_pk, pk)
|
1295
|
+
p result
|
1296
|
+
rescue QwilAPI::ApiError => e
|
1297
|
+
puts "Exception when calling PlatformsApi->platform_membership_request_retrieve: #{e}"
|
1298
|
+
end
|
1299
|
+
```
|
1300
|
+
|
1301
|
+
### Parameters
|
1302
|
+
|
1303
|
+
Name | Type | Description | Notes
|
1304
|
+
------------- | ------------- | ------------- | -------------
|
1305
|
+
**platform_pk** | **String**| |
|
1306
|
+
**pk** | **String**| |
|
1307
|
+
|
1308
|
+
### Return type
|
1309
|
+
|
1310
|
+
[**PlatformMembershipRequestSerializer**](PlatformMembershipRequestSerializer.md)
|
1311
|
+
|
1312
|
+
### Authorization
|
1313
|
+
|
1314
|
+
No authorization required
|
1315
|
+
|
1316
|
+
### HTTP request headers
|
1317
|
+
|
1318
|
+
- **Content-Type**: Not defined
|
1319
|
+
- **Accept**: Not defined
|
1320
|
+
|
1321
|
+
|
1322
|
+
|
1323
|
+
# **platform_retrieve**
|
1324
|
+
> PlatformSerializer platform_retrieve(pk)
|
1325
|
+
|
1326
|
+
|
1327
|
+
|
1328
|
+
|
1329
|
+
|
1330
|
+
### Example
|
1331
|
+
```ruby
|
1332
|
+
# load the gem
|
1333
|
+
require 'qwil_api'
|
1334
|
+
|
1335
|
+
api_instance = QwilAPI::PlatformsApi.new
|
1336
|
+
|
1337
|
+
pk = "pk_example" # String |
|
1338
|
+
|
1339
|
+
|
1340
|
+
begin
|
1341
|
+
#
|
1342
|
+
result = api_instance.platform_retrieve(pk)
|
1343
|
+
p result
|
1344
|
+
rescue QwilAPI::ApiError => e
|
1345
|
+
puts "Exception when calling PlatformsApi->platform_retrieve: #{e}"
|
1346
|
+
end
|
1347
|
+
```
|
1348
|
+
|
1349
|
+
### Parameters
|
1350
|
+
|
1351
|
+
Name | Type | Description | Notes
|
1352
|
+
------------- | ------------- | ------------- | -------------
|
1353
|
+
**pk** | **String**| |
|
1354
|
+
|
1355
|
+
### Return type
|
1356
|
+
|
1357
|
+
[**PlatformSerializer**](PlatformSerializer.md)
|
1358
|
+
|
1359
|
+
### Authorization
|
1360
|
+
|
1361
|
+
No authorization required
|
1362
|
+
|
1363
|
+
### HTTP request headers
|
1364
|
+
|
1365
|
+
- **Content-Type**: Not defined
|
1366
|
+
- **Accept**: Not defined
|
1367
|
+
|
1368
|
+
|
1369
|
+
|