All URIs are relative to https://api.mydatamyconsent.com
Method | HTTP request | Description |
---|---|---|
download_consented_document_analysis | GET /v1/consents/{consentId}/documents/{documentId}/analysis | Get analysis of a consented document. |
download_individual_consented_document_by_id | GET /v1/consents/individuals/{consentId}/documents/{documentId}/download | Download individual consented document by document id. |
download_organization_consented_document_by_id | GET /v1/consents/organizations/{consentId}/documents/{documentId}/download | Download organization consent document based on document id. |
get_all_consented_financial_accounts | GET /v1/consents/individuals/{consentId}/financial-accounts | Get all individual consented financial accounts. |
get_consent_financial_accounts | GET /v1/consents/organizations/{consentId}/financial-accounts | Get all organizational consented financial accounts. |
get_consented_account_by_id | GET /v1/consents/individuals/{consentId}/financial-accounts/{accountId} | Get individual consented financial account details based on account id. |
get_consented_document_by_id | GET /v1/consents/individuals/{consentId}/documents/{documentId} | Get individual consented document by document id. |
get_consented_financial_account | GET /v1/consents/organizations/{consentId}/financial-accounts/{accountId} | Get organization consented financial account details based on account id. |
get_consented_financial_account_insights | GET /v1/consents/{consentId}/financial-accounts/{accountId}/insights | Get consented financial account insights. |
get_consented_financial_account_transactions | GET /v1/consents/individuals/{consentId}/financial-accounts/{accountId}/transactions | Get individual consented financial account transactions of an individual based on accountId. |
get_consents | GET /v1/consents/individuals | Get the paginated list of individual data consents. |
get_individual_consented_documents | GET /v1/consents/individuals/{consentId}/documents | Get individual consented documents by consent id. |
get_individual_data_consent_by_id | GET /v1/consents/individuals/{consentId} | Get individuals data consent details by consent id. |
get_org_consented_account_transactions | GET /v1/consents/organizations/{consentId}/financial-accounts/{accountId}/transactions | Get organization consented financial account transactions of an individual based on accountId. |
get_organization_consented_document_by_id | GET /v1/consents/organizations/{consentId}/documents/{documentId} | Get organization consent document based on document id. |
get_organization_consented_documents | GET /v1/consents/organizations/{consentId}/documents | Get organization consented documents by consent id. |
get_organization_data_consent_by_id | GET /v1/consents/organizations/{consentId} | Get organizations data consent details by consent id. |
get_organization_data_consents | GET /v1/consents/organizations | Get the paginated list of organization data consents. |
download_consented_document_analysis(consent_id, document_id)
Get analysis of a consented document.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Data consent id.
document_id = "documentId_example" # str | Consented document Id.
# example passing only required values which don't have defaults set
try:
# Get analysis of a consented document.
api_instance.download_consented_document_analysis(consent_id, document_id)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->download_consented_document_analysis: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Data consent id. | |
document_id | str | Consented document Id. |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
download_individual_consented_document_by_id(consent_id, document_id)
Download individual consented document by document id.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Individual data consent id.
document_id = "documentId_example" # str | Consented document id.
# example passing only required values which don't have defaults set
try:
# Download individual consented document by document id.
api_instance.download_individual_consented_document_by_id(consent_id, document_id)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->download_individual_consented_document_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Individual data consent id. | |
document_id | str | Consented document id. |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
download_organization_consented_document_by_id(consent_id, document_id)
Download organization consent document based on document id.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Organization data consent id.
document_id = "documentId_example" # str | Organization consented document Id.
# example passing only required values which don't have defaults set
try:
# Download organization consent document based on document id.
api_instance.download_organization_consented_document_by_id(consent_id, document_id)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->download_organization_consented_document_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Organization data consent id. | |
document_id | str | Organization consented document Id. |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DataConsentFinancialsDto get_all_consented_financial_accounts(consent_id)
Get all individual consented financial accounts.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.data_consent_financials_dto import DataConsentFinancialsDto
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Consent id.
# example passing only required values which don't have defaults set
try:
# Get all individual consented financial accounts.
api_response = api_instance.get_all_consented_financial_accounts(consent_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_all_consented_financial_accounts: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Consent id. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DataConsentFinancialsDto get_consent_financial_accounts(consent_id)
Get all organizational consented financial accounts.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.data_consent_financials_dto import DataConsentFinancialsDto
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Consent id.
# example passing only required values which don't have defaults set
try:
# Get all organizational consented financial accounts.
api_response = api_instance.get_consent_financial_accounts(consent_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_consent_financial_accounts: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Consent id. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FinancialAccount get_consented_account_by_id(consent_id, account_id)
Get individual consented financial account details based on account id.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.financial_account import FinancialAccount
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Consent id.
account_id = "accountId_example" # str | Account id.
# example passing only required values which don't have defaults set
try:
# Get individual consented financial account details based on account id.
api_response = api_instance.get_consented_account_by_id(consent_id, account_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_consented_account_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Consent id. | |
account_id | str | Account id. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DataConsentDocument get_consented_document_by_id(consent_id, document_id)
Get individual consented document by document id.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.data_consent_document import DataConsentDocument
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Individual data consent id.
document_id = "documentId_example" # str | Consented document id.
# example passing only required values which don't have defaults set
try:
# Get individual consented document by document id.
api_response = api_instance.get_consented_document_by_id(consent_id, document_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_consented_document_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Individual data consent id. | |
document_id | str | Consented document id. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrganizationFinancialAccountDto get_consented_financial_account(consent_id, account_id)
Get organization consented financial account details based on account id.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.organization_financial_account_dto import OrganizationFinancialAccountDto
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Consent id.
account_id = "accountId_example" # str | Account id.
# example passing only required values which don't have defaults set
try:
# Get organization consented financial account details based on account id.
api_response = api_instance.get_consented_financial_account(consent_id, account_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_consented_financial_account: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Consent id. | |
account_id | str | Account id. |
OrganizationFinancialAccountDto
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_consented_financial_account_insights(consent_id, account_id)
Get consented financial account insights.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str |
account_id = "accountId_example" # str |
# example passing only required values which don't have defaults set
try:
# Get consented financial account insights.
api_instance.get_consented_financial_account_insights(consent_id, account_id)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_consented_financial_account_insights: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | ||
account_id | str |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserAccountFinancialTransactionsDtoPaginatedList get_consented_financial_account_transactions(consent_id, account_id)
Get individual consented financial account transactions of an individual based on accountId.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.user_account_financial_transactions_dto_paginated_list import UserAccountFinancialTransactionsDtoPaginatedList
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Consent id.
account_id = "accountId_example" # str | Account id.
filters = "filters_example" # str | Filters. (optional)
from_date_time_utc = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | From date time in utc timezone. (optional)
to_date_time_utc = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | Til date time in utc timezone. (optional)
page_no = 10 # int | Page number. (optional) if omitted the server will use the default value of 10
page_size = 25 # int | Number of items to return. (optional) if omitted the server will use the default value of 25
# example passing only required values which don't have defaults set
try:
# Get individual consented financial account transactions of an individual based on accountId.
api_response = api_instance.get_consented_financial_account_transactions(consent_id, account_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_consented_financial_account_transactions: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Get individual consented financial account transactions of an individual based on accountId.
api_response = api_instance.get_consented_financial_account_transactions(consent_id, account_id, filters=filters, from_date_time_utc=from_date_time_utc, to_date_time_utc=to_date_time_utc, page_no=page_no, page_size=page_size)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_consented_financial_account_transactions: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Consent id. | |
account_id | str | Account id. | |
filters | str | Filters. | [optional] |
from_date_time_utc | datetime | From date time in utc timezone. | [optional] |
to_date_time_utc | datetime | Til date time in utc timezone. | [optional] |
page_no | int | Page number. | [optional] if omitted the server will use the default value of 10 |
page_size | int | Number of items to return. | [optional] if omitted the server will use the default value of 25 |
UserAccountFinancialTransactionsDtoPaginatedList
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DataConsentDetailsPaginatedList get_consents()
Get the paginated list of individual data consents.
GetIndividualDataConsents
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.data_consent_details_paginated_list import DataConsentDetailsPaginatedList
from mydatamyconsent.model.data_consent_status import DataConsentStatus
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
status = DataConsentStatus("Pending") # DataConsentStatus | Data consent status. (optional)
from_date_time = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | From datetime in UTC timezone. (optional)
to_date_time = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | To datetime in UTC timezone. (optional)
page_no = 1 # int | Page number. (optional) if omitted the server will use the default value of 1
page_size = 25 # int | Number of items to return. (optional) if omitted the server will use the default value of 25
# example passing only required values which don't have defaults set
# and optional values
try:
# Get the paginated list of individual data consents.
api_response = api_instance.get_consents(status=status, from_date_time=from_date_time, to_date_time=to_date_time, page_no=page_no, page_size=page_size)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_consents: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
status | DataConsentStatus | Data consent status. | [optional] |
from_date_time | datetime | From datetime in UTC timezone. | [optional] |
to_date_time | datetime | To datetime in UTC timezone. | [optional] |
page_no | int | Page number. | [optional] if omitted the server will use the default value of 1 |
page_size | int | Number of items to return. | [optional] if omitted the server will use the default value of 25 |
DataConsentDetailsPaginatedList
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[DataConsentDocument] get_individual_consented_documents(consent_id)
Get individual consented documents by consent id.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.data_consent_document import DataConsentDocument
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Individual data consent id.
# example passing only required values which don't have defaults set
try:
# Get individual consented documents by consent id.
api_response = api_instance.get_individual_consented_documents(consent_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_individual_consented_documents: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Individual data consent id. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DataConsent get_individual_data_consent_by_id(consent_id)
Get individuals data consent details by consent id.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.data_consent import DataConsent
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Individual data consent id.
# example passing only required values which don't have defaults set
try:
# Get individuals data consent details by consent id.
api_response = api_instance.get_individual_data_consent_by_id(consent_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_individual_data_consent_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Individual data consent id. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrganizationFinancialTransactionsDtoPaginatedList get_org_consented_account_transactions(consent_id, account_id)
Get organization consented financial account transactions of an individual based on accountId.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.organization_financial_transactions_dto_paginated_list import OrganizationFinancialTransactionsDtoPaginatedList
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Consent id.
account_id = "accountId_example" # str | Account id.
filters = "filters_example" # str | Filters. (optional)
from_date_time_utc = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | From date time in utc timezone. (optional)
to_date_time_utc = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | Til date time in utc timezone. (optional)
page_no = 1 # int | Page number. (optional) if omitted the server will use the default value of 1
page_size = 25 # int | Number of items to return. (optional) if omitted the server will use the default value of 25
# example passing only required values which don't have defaults set
try:
# Get organization consented financial account transactions of an individual based on accountId.
api_response = api_instance.get_org_consented_account_transactions(consent_id, account_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_org_consented_account_transactions: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
# Get organization consented financial account transactions of an individual based on accountId.
api_response = api_instance.get_org_consented_account_transactions(consent_id, account_id, filters=filters, from_date_time_utc=from_date_time_utc, to_date_time_utc=to_date_time_utc, page_no=page_no, page_size=page_size)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_org_consented_account_transactions: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Consent id. | |
account_id | str | Account id. | |
filters | str | Filters. | [optional] |
from_date_time_utc | datetime | From date time in utc timezone. | [optional] |
to_date_time_utc | datetime | Til date time in utc timezone. | [optional] |
page_no | int | Page number. | [optional] if omitted the server will use the default value of 1 |
page_size | int | Number of items to return. | [optional] if omitted the server will use the default value of 25 |
OrganizationFinancialTransactionsDtoPaginatedList
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DataConsentDocument get_organization_consented_document_by_id(consent_id, document_id)
Get organization consent document based on document id.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.data_consent_document import DataConsentDocument
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Organization data consent id.
document_id = "documentId_example" # str | Organization consented document Id.
# example passing only required values which don't have defaults set
try:
# Get organization consent document based on document id.
api_response = api_instance.get_organization_consented_document_by_id(consent_id, document_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_organization_consented_document_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Organization data consent id. | |
document_id | str | Organization consented document Id. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[DataConsentDocument] get_organization_consented_documents(consent_id)
Get organization consented documents by consent id.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.data_consent_document import DataConsentDocument
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Organization data consent id.
# example passing only required values which don't have defaults set
try:
# Get organization consented documents by consent id.
api_response = api_instance.get_organization_consented_documents(consent_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_organization_consented_documents: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Organization data consent id. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DataConsent get_organization_data_consent_by_id(consent_id)
Get organizations data consent details by consent id.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.data_consent import DataConsent
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
consent_id = "consentId_example" # str | Organization data consent id.
# example passing only required values which don't have defaults set
try:
# Get organizations data consent details by consent id.
api_response = api_instance.get_organization_data_consent_by_id(consent_id)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_organization_data_consent_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
consent_id | str | Organization data consent id. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DataConsentDetailsPaginatedList get_organization_data_consents()
Get the paginated list of organization data consents.
import time
import mydatamyconsent
from mydatamyconsent.api import data_consents_api
from mydatamyconsent.model.data_consent_details_paginated_list import DataConsentDetailsPaginatedList
from mydatamyconsent.model.data_consent_status import DataConsentStatus
from mydatamyconsent.model.error import Error
from pprint import pprint
# Defining the host is optional and defaults to https://api.mydatamyconsent.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mydatamyconsent.Configuration(
host = "https://api.mydatamyconsent.com"
)
# Enter a context with an instance of the API client
with mydatamyconsent.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_consents_api.DataConsentsApi(api_client)
status = DataConsentStatus("Pending") # DataConsentStatus | Data consent status. (optional)
from_date_time = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | From datetime in UTC timezone. (optional)
to_date_time = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | To datetime in UTC timezone. (optional)
page_no = 1 # int | Page number. (optional) if omitted the server will use the default value of 1
page_size = 25 # int | Number of items to return. (optional) if omitted the server will use the default value of 25
# example passing only required values which don't have defaults set
# and optional values
try:
# Get the paginated list of organization data consents.
api_response = api_instance.get_organization_data_consents(status=status, from_date_time=from_date_time, to_date_time=to_date_time, page_no=page_no, page_size=page_size)
pprint(api_response)
except mydatamyconsent.ApiException as e:
print("Exception when calling DataConsentsApi->get_organization_data_consents: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
status | DataConsentStatus | Data consent status. | [optional] |
from_date_time | datetime | From datetime in UTC timezone. | [optional] |
to_date_time | datetime | To datetime in UTC timezone. | [optional] |
page_no | int | Page number. | [optional] if omitted the server will use the default value of 1 |
page_size | int | Number of items to return. | [optional] if omitted the server will use the default value of 25 |
DataConsentDetailsPaginatedList
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
400 | Bad Request | - |
500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]