# DataConsentsAPI
All URIs are relative to https://api.mydatamyconsent.com
Method | HTTP request | Description |
---|---|---|
downloadConsentedDocumentAnalysis | GET /v1/consents/{consentId}/documents/{documentId}/analysis | Get analysis of a consented document. |
downloadIndividualConsentedDocumentById | GET /v1/consents/individuals/{consentId}/documents/{documentId}/download | Download individual consented document by document id. |
downloadOrganizationConsentedDocumentById | GET /v1/consents/organizations/{consentId}/documents/{documentId}/download | Download organization consent document based on document id. |
getAllConsentedFinancialAccounts | GET /v1/consents/individuals/{consentId}/financial-accounts | Get all individual consented financial accounts. |
getConsentFinancialAccounts | GET /v1/consents/organizations/{consentId}/financial-accounts | Get all organizational consented financial accounts. |
getConsentedAccountById | GET /v1/consents/individuals/{consentId}/financial-accounts/{accountId} | Get individual consented financial account details based on account id. |
getConsentedDocumentById | GET /v1/consents/individuals/{consentId}/documents/{documentId} | Get individual consented document by document id. |
getConsentedFinancialAccount | GET /v1/consents/organizations/{consentId}/financial-accounts/{accountId} | Get organization consented financial account details based on account id. |
getConsentedFinancialAccountInsights | GET /v1/consents/{consentId}/financial-accounts/{accountId}/insights | Get consented financial account insights. |
getConsentedFinancialAccountTransactions | GET /v1/consents/individuals/{consentId}/financial-accounts/{accountId}/transactions | Get individual consented financial account transactions of an individual based on accountId. |
getConsents | GET /v1/consents/individuals | Get the paginated list of individual data consents. |
getIndividualConsentedDocuments | GET /v1/consents/individuals/{consentId}/documents | Get individual consented documents by consent id. |
getIndividualDataConsentById | GET /v1/consents/individuals/{consentId} | Get individuals data consent details by consent id. |
getOrgConsentedAccountTransactions | GET /v1/consents/organizations/{consentId}/financial-accounts/{accountId}/transactions | Get organization consented financial account transactions of an individual based on accountId. |
getOrganizationConsentedDocumentById | GET /v1/consents/organizations/{consentId}/documents/{documentId} | Get organization consent document based on document id. |
getOrganizationConsentedDocuments | GET /v1/consents/organizations/{consentId}/documents | Get organization consented documents by consent id. |
getOrganizationDataConsentById | GET /v1/consents/organizations/{consentId} | Get organizations data consent details by consent id. |
getOrganizationDataConsents | GET /v1/consents/organizations | Get the paginated list of organization data consents. |
# downloadConsentedDocumentAnalysis
open class func downloadConsentedDocumentAnalysis(consentId: String, documentId: String, completion: @escaping (_ data: Void?, _ error: Error?) -> Void)
Get analysis of a consented document.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = "consentId_example" // String | Data consent id.
let documentId = "documentId_example" // String | Consented document Id.
// Get analysis of a consented document.
DataConsentsAPI.downloadConsentedDocumentAnalysis(consentId: consentId, documentId: documentId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | String | Data consent id. | |
documentId | String | Consented document Id. |
# Return type
Void (empty response body)
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# downloadIndividualConsentedDocumentById
open class func downloadIndividualConsentedDocumentById(consentId: UUID, documentId: String, completion: @escaping (_ data: Void?, _ error: Error?) -> Void)
Download individual consented document by document id.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Individual data consent id.
let documentId = "documentId_example" // String | Consented document id.
// Download individual consented document by document id.
DataConsentsAPI.downloadIndividualConsentedDocumentById(consentId: consentId, documentId: documentId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Individual data consent id. | |
documentId | String | Consented document id. |
# Return type
Void (empty response body)
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# downloadOrganizationConsentedDocumentById
open class func downloadOrganizationConsentedDocumentById(consentId: UUID, documentId: String, completion: @escaping (_ data: Void?, _ error: Error?) -> Void)
Download organization consent document based on document id.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Organization data consent id.
let documentId = "documentId_example" // String | Organization consented document Id.
// Download organization consent document based on document id.
DataConsentsAPI.downloadOrganizationConsentedDocumentById(consentId: consentId, documentId: documentId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Organization data consent id. | |
documentId | String | Organization consented document Id. |
# Return type
Void (empty response body)
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getAllConsentedFinancialAccounts
open class func getAllConsentedFinancialAccounts(consentId: UUID, completion: @escaping (_ data: DataConsentFinancialsDto?, _ error: Error?) -> Void)
Get all individual consented financial accounts.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Consent id.
// Get all individual consented financial accounts.
DataConsentsAPI.getAllConsentedFinancialAccounts(consentId: consentId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Consent id. |
# Return type
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getConsentFinancialAccounts
open class func getConsentFinancialAccounts(consentId: UUID, completion: @escaping (_ data: DataConsentFinancialsDto?, _ error: Error?) -> Void)
Get all organizational consented financial accounts.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Consent id.
// Get all organizational consented financial accounts.
DataConsentsAPI.getConsentFinancialAccounts(consentId: consentId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Consent id. |
# Return type
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getConsentedAccountById
open class func getConsentedAccountById(consentId: UUID, accountId: UUID, completion: @escaping (_ data: FinancialAccount?, _ error: Error?) -> Void)
Get individual consented financial account details based on account id.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Consent id.
let accountId = 987 // UUID | Account id.
// Get individual consented financial account details based on account id.
DataConsentsAPI.getConsentedAccountById(consentId: consentId, accountId: accountId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Consent id. | |
accountId | UUID | Account id. |
# Return type
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getConsentedDocumentById
open class func getConsentedDocumentById(consentId: UUID, documentId: String, completion: @escaping (_ data: DataConsentDocument?, _ error: Error?) -> Void)
Get individual consented document by document id.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Individual data consent id.
let documentId = "documentId_example" // String | Consented document id.
// Get individual consented document by document id.
DataConsentsAPI.getConsentedDocumentById(consentId: consentId, documentId: documentId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Individual data consent id. | |
documentId | String | Consented document id. |
# Return type
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getConsentedFinancialAccount
open class func getConsentedFinancialAccount(consentId: UUID, accountId: UUID, completion: @escaping (_ data: OrganizationFinancialAccountDto?, _ error: Error?) -> Void)
Get organization consented financial account details based on account id.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Consent id.
let accountId = 987 // UUID | Account id.
// Get organization consented financial account details based on account id.
DataConsentsAPI.getConsentedFinancialAccount(consentId: consentId, accountId: accountId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Consent id. | |
accountId | UUID | Account id. |
# Return type
OrganizationFinancialAccountDto
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getConsentedFinancialAccountInsights
open class func getConsentedFinancialAccountInsights(consentId: String, accountId: String, completion: @escaping (_ data: Void?, _ error: Error?) -> Void)
Get consented financial account insights.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = "consentId_example" // String |
let accountId = "accountId_example" // String |
// Get consented financial account insights.
DataConsentsAPI.getConsentedFinancialAccountInsights(consentId: consentId, accountId: accountId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | String | ||
accountId | String |
# Return type
Void (empty response body)
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getConsentedFinancialAccountTransactions
open class func getConsentedFinancialAccountTransactions(consentId: UUID, accountId: UUID, filters: String? = nil, fromDateTimeUtc: Date? = nil, toDateTimeUtc: Date? = nil, pageNo: Int? = nil, pageSize: Int? = nil, completion: @escaping (_ data: UserAccountFinancialTransactionsDtoPaginatedList?, _ error: Error?) -> Void)
Get individual consented financial account transactions of an individual based on accountId.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Consent id.
let accountId = 987 // UUID | Account id.
let filters = "filters_example" // String | Filters. (optional)
let fromDateTimeUtc = Date() // Date | From date time in utc timezone. (optional)
let toDateTimeUtc = Date() // Date | Til date time in utc timezone. (optional)
let pageNo = 987 // Int | Page number. (optional) (default to 10)
let pageSize = 987 // Int | Number of items to return. (optional) (default to 25)
// Get individual consented financial account transactions of an individual based on accountId.
DataConsentsAPI.getConsentedFinancialAccountTransactions(consentId: consentId, accountId: accountId, filters: filters, fromDateTimeUtc: fromDateTimeUtc, toDateTimeUtc: toDateTimeUtc, pageNo: pageNo, pageSize: pageSize) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Consent id. | |
accountId | UUID | Account id. | |
filters | String | Filters. | [optional] |
fromDateTimeUtc | Date | From date time in utc timezone. | [optional] |
toDateTimeUtc | Date | Til date time in utc timezone. | [optional] |
pageNo | Int | Page number. | [optional] [default to 10] |
pageSize | Int | Number of items to return. | [optional] [default to 25] |
# Return type
UserAccountFinancialTransactionsDtoPaginatedList
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getConsents
open class func getConsents(status: DataConsentStatus? = nil, fromDateTime: Date? = nil, toDateTime: Date? = nil, pageNo: Int? = nil, pageSize: Int? = nil, completion: @escaping (_ data: DataConsentDetailsPaginatedList?, _ error: Error?) -> Void)
Get the paginated list of individual data consents.
GetIndividualDataConsents
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let status = DataConsentStatus() // DataConsentStatus | Data consent status. (optional)
let fromDateTime = Date() // Date | From datetime in UTC timezone. (optional)
let toDateTime = Date() // Date | To datetime in UTC timezone. (optional)
let pageNo = 987 // Int | Page number. (optional) (default to 1)
let pageSize = 987 // Int | Number of items to return. (optional) (default to 25)
// Get the paginated list of individual data consents.
DataConsentsAPI.getConsents(status: status, fromDateTime: fromDateTime, toDateTime: toDateTime, pageNo: pageNo, pageSize: pageSize) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
status | DataConsentStatus | Data consent status. | [optional] |
fromDateTime | Date | From datetime in UTC timezone. | [optional] |
toDateTime | Date | To datetime in UTC timezone. | [optional] |
pageNo | Int | Page number. | [optional] [default to 1] |
pageSize | Int | Number of items to return. | [optional] [default to 25] |
# Return type
DataConsentDetailsPaginatedList
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getIndividualConsentedDocuments
open class func getIndividualConsentedDocuments(consentId: UUID, completion: @escaping (_ data: [DataConsentDocument]?, _ error: Error?) -> Void)
Get individual consented documents by consent id.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Individual data consent id.
// Get individual consented documents by consent id.
DataConsentsAPI.getIndividualConsentedDocuments(consentId: consentId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Individual data consent id. |
# Return type
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getIndividualDataConsentById
open class func getIndividualDataConsentById(consentId: UUID, completion: @escaping (_ data: DataConsent?, _ error: Error?) -> Void)
Get individuals data consent details by consent id.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Individual data consent id.
// Get individuals data consent details by consent id.
DataConsentsAPI.getIndividualDataConsentById(consentId: consentId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Individual data consent id. |
# Return type
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getOrgConsentedAccountTransactions
open class func getOrgConsentedAccountTransactions(consentId: UUID, accountId: UUID, filters: String? = nil, fromDateTimeUtc: Date? = nil, toDateTimeUtc: Date? = nil, pageNo: Int? = nil, pageSize: Int? = nil, completion: @escaping (_ data: OrganizationFinancialTransactionsDtoPaginatedList?, _ error: Error?) -> Void)
Get organization consented financial account transactions of an individual based on accountId.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Consent id.
let accountId = 987 // UUID | Account id.
let filters = "filters_example" // String | Filters. (optional)
let fromDateTimeUtc = Date() // Date | From date time in utc timezone. (optional)
let toDateTimeUtc = Date() // Date | Til date time in utc timezone. (optional)
let pageNo = 987 // Int | Page number. (optional) (default to 1)
let pageSize = 987 // Int | Number of items to return. (optional) (default to 25)
// Get organization consented financial account transactions of an individual based on accountId.
DataConsentsAPI.getOrgConsentedAccountTransactions(consentId: consentId, accountId: accountId, filters: filters, fromDateTimeUtc: fromDateTimeUtc, toDateTimeUtc: toDateTimeUtc, pageNo: pageNo, pageSize: pageSize) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Consent id. | |
accountId | UUID | Account id. | |
filters | String | Filters. | [optional] |
fromDateTimeUtc | Date | From date time in utc timezone. | [optional] |
toDateTimeUtc | Date | Til date time in utc timezone. | [optional] |
pageNo | Int | Page number. | [optional] [default to 1] |
pageSize | Int | Number of items to return. | [optional] [default to 25] |
# Return type
OrganizationFinancialTransactionsDtoPaginatedList
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getOrganizationConsentedDocumentById
open class func getOrganizationConsentedDocumentById(consentId: UUID, documentId: String, completion: @escaping (_ data: DataConsentDocument?, _ error: Error?) -> Void)
Get organization consent document based on document id.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Organization data consent id.
let documentId = "documentId_example" // String | Organization consented document Id.
// Get organization consent document based on document id.
DataConsentsAPI.getOrganizationConsentedDocumentById(consentId: consentId, documentId: documentId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Organization data consent id. | |
documentId | String | Organization consented document Id. |
# Return type
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getOrganizationConsentedDocuments
open class func getOrganizationConsentedDocuments(consentId: UUID, completion: @escaping (_ data: [DataConsentDocument]?, _ error: Error?) -> Void)
Get organization consented documents by consent id.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Organization data consent id.
// Get organization consented documents by consent id.
DataConsentsAPI.getOrganizationConsentedDocuments(consentId: consentId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Organization data consent id. |
# Return type
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getOrganizationDataConsentById
open class func getOrganizationDataConsentById(consentId: UUID, completion: @escaping (_ data: DataConsent?, _ error: Error?) -> Void)
Get organizations data consent details by consent id.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let consentId = 987 // UUID | Organization data consent id.
// Get organizations data consent details by consent id.
DataConsentsAPI.getOrganizationDataConsentById(consentId: consentId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
consentId | UUID | Organization data consent id. |
# Return type
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
# getOrganizationDataConsents
open class func getOrganizationDataConsents(status: DataConsentStatus? = nil, fromDateTime: Date? = nil, toDateTime: Date? = nil, pageNo: Int? = nil, pageSize: Int? = nil, completion: @escaping (_ data: DataConsentDetailsPaginatedList?, _ error: Error?) -> Void)
Get the paginated list of organization data consents.
# Example
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let status = DataConsentStatus() // DataConsentStatus | Data consent status. (optional)
let fromDateTime = Date() // Date | From datetime in UTC timezone. (optional)
let toDateTime = Date() // Date | To datetime in UTC timezone. (optional)
let pageNo = 987 // Int | Page number. (optional) (default to 1)
let pageSize = 987 // Int | Number of items to return. (optional) (default to 25)
// Get the paginated list of organization data consents.
DataConsentsAPI.getOrganizationDataConsents(status: status, fromDateTime: fromDateTime, toDateTime: toDateTime, pageNo: pageNo, pageSize: pageSize) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Parameters
Name | Type | Description | Notes |
---|---|---|---|
status | DataConsentStatus | Data consent status. | [optional] |
fromDateTime | Date | From datetime in UTC timezone. | [optional] |
toDateTime | Date | To datetime in UTC timezone. | [optional] |
pageNo | Int | Page number. | [optional] [default to 1] |
pageSize | Int | Number of items to return. | [optional] [default to 25] |
# Return type
DataConsentDetailsPaginatedList
# Authorization
No authorization required
# HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]