All URIs are relative to https://api.mydatamyconsent.com
| Method | HTTP request | Description |
|---|---|---|
| v1DataAgreementsGet | GET /v1/data-agreements | Get paginated data processing agreements. |
| v1DataAgreementsIdDelete | DELETE /v1/data-agreements/{id} | Delete a data processing agreement this will not delete a published or a agreement in use with consents. |
| v1DataAgreementsIdGet | GET /v1/data-agreements/{id} | Get data processing agreement by id. |
| v1DataAgreementsIdTerminatePut | PUT /v1/data-agreements/{id}/terminate | Terminate a data processing agreement by id. |
open class func v1DataAgreementsGet(pageNo: Int? = nil, pageSize: Int? = nil, completion: @escaping (_ data: PaginatedListOfDataProcessingAgreements?, _ error: Error?) -> Void)Get paginated data processing agreements.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let pageNo = 987 // Int | (optional)
let pageSize = 987 // Int | (optional)
// Get paginated data processing agreements.
DataProcessingAgreementsAPI.v1DataAgreementsGet(pageNo: pageNo, pageSize: pageSize) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| pageNo | Int | [optional] | |
| pageSize | Int | [optional] |
PaginatedListOfDataProcessingAgreements
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func v1DataAgreementsIdDelete(id: String, completion: @escaping (_ data: Bool?, _ error: Error?) -> Void)Delete a data processing agreement this will not delete a published or a agreement in use with consents.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let id = "id_example" // String |
// Delete a data processing agreement this will not delete a published or a agreement in use with consents.
DataProcessingAgreementsAPI.v1DataAgreementsIdDelete(id: id) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
Bool
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func v1DataAgreementsIdGet(id: String, completion: @escaping (_ data: DataProcessingAgreement?, _ error: Error?) -> Void)Get data processing agreement by id.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let id = "id_example" // String |
// Get data processing agreement by id.
DataProcessingAgreementsAPI.v1DataAgreementsIdGet(id: id) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func v1DataAgreementsIdTerminatePut(id: String, completion: @escaping (_ data: Bool?, _ error: Error?) -> Void)Terminate a data processing agreement by id.
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import MyDataMyConsent
let id = "id_example" // String |
// Terminate a data processing agreement by id.
DataProcessingAgreementsAPI.v1DataAgreementsIdTerminatePut(id: id) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
Bool
- Content-Type: Not defined
- Accept: application/json; charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]