CAPIF_API_Provider_Management_API

Default

registrationsPost

Registers a new API Provider domain with API provider domain functions profiles.


/registrations

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,application/problem+json" \
 -H "Content-Type: application/json" \
 "https://example.com/api-provider-management/v1/registrations" \
 -d '{
  "apiProvFuncs" : [ {
    "apiProvFuncId" : "apiProvFuncId",
    "apiProvFuncInfo" : "apiProvFuncInfo",
    "regInfo" : {
      "apiProvCert" : "apiProvCert",
      "apiProvPubKey" : "apiProvPubKey"
    }
  }, {
    "apiProvFuncId" : "apiProvFuncId",
    "apiProvFuncInfo" : "apiProvFuncInfo",
    "regInfo" : {
      "apiProvCert" : "apiProvCert",
      "apiProvPubKey" : "apiProvPubKey"
    }
  } ],
  "failReason" : "failReason",
  "regSec" : "regSec",
  "apiProvDomId" : "apiProvDomId",
  "apiProvDomInfo" : "apiProvDomInfo",
  "suppFeat" : "suppFeat"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        APIProviderEnrolmentDetails aPIProviderEnrolmentDetails = ; // APIProviderEnrolmentDetails | 

        try {
            APIProviderEnrolmentDetails result = apiInstance.registrationsPost(aPIProviderEnrolmentDetails);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#registrationsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final APIProviderEnrolmentDetails aPIProviderEnrolmentDetails = new APIProviderEnrolmentDetails(); // APIProviderEnrolmentDetails | 

try {
    final result = await api_instance.registrationsPost(aPIProviderEnrolmentDetails);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->registrationsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        APIProviderEnrolmentDetails aPIProviderEnrolmentDetails = ; // APIProviderEnrolmentDetails | 

        try {
            APIProviderEnrolmentDetails result = apiInstance.registrationsPost(aPIProviderEnrolmentDetails);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#registrationsPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
APIProviderEnrolmentDetails *aPIProviderEnrolmentDetails = ; // 

[apiInstance registrationsPostWith:aPIProviderEnrolmentDetails
              completionHandler: ^(APIProviderEnrolmentDetails output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var CapifApiProviderManagementApi = require('capif_api_provider_management_api');

// Create an instance of the API class
var api = new CapifApiProviderManagementApi.DefaultApi()
var aPIProviderEnrolmentDetails = ; // {APIProviderEnrolmentDetails} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.registrationsPost(aPIProviderEnrolmentDetails, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class registrationsPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var aPIProviderEnrolmentDetails = new APIProviderEnrolmentDetails(); // APIProviderEnrolmentDetails | 

            try {
                APIProviderEnrolmentDetails result = apiInstance.registrationsPost(aPIProviderEnrolmentDetails);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.registrationsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$aPIProviderEnrolmentDetails = ; // APIProviderEnrolmentDetails | 

try {
    $result = $api_instance->registrationsPost($aPIProviderEnrolmentDetails);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->registrationsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $aPIProviderEnrolmentDetails = WWW::OPenAPIClient::Object::APIProviderEnrolmentDetails->new(); # APIProviderEnrolmentDetails | 

eval {
    my $result = $api_instance->registrationsPost(aPIProviderEnrolmentDetails => $aPIProviderEnrolmentDetails);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->registrationsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
aPIProviderEnrolmentDetails =  # APIProviderEnrolmentDetails | 

try:
    api_response = api_instance.registrations_post(aPIProviderEnrolmentDetails)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->registrationsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let aPIProviderEnrolmentDetails = ; // APIProviderEnrolmentDetails

    let mut context = DefaultApi::Context::default();
    let result = client.registrationsPost(aPIProviderEnrolmentDetails, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
aPIProviderEnrolmentDetails *

Responses

Name Type Format Description
Location String An alternative URI of the resource.


registrationsRegistrationIdDelete

Deregisters API provider domain by deleting API provider domain and functions.


/registrations/{registrationId}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: application/problem+json" \
 "https://example.com/api-provider-management/v1/registrations/{registrationId}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String registrationId = registrationId_example; // String | String identifying an registered API provider domain resource.

        try {
            apiInstance.registrationsRegistrationIdDelete(registrationId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#registrationsRegistrationIdDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String registrationId = new String(); // String | String identifying an registered API provider domain resource.

try {
    final result = await api_instance.registrationsRegistrationIdDelete(registrationId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->registrationsRegistrationIdDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String registrationId = registrationId_example; // String | String identifying an registered API provider domain resource.

        try {
            apiInstance.registrationsRegistrationIdDelete(registrationId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#registrationsRegistrationIdDelete");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *registrationId = registrationId_example; // String identifying an registered API provider domain resource. (default to null)

[apiInstance registrationsRegistrationIdDeleteWith:registrationId
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var CapifApiProviderManagementApi = require('capif_api_provider_management_api');

// Create an instance of the API class
var api = new CapifApiProviderManagementApi.DefaultApi()
var registrationId = registrationId_example; // {String} String identifying an registered API provider domain resource.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.registrationsRegistrationIdDelete(registrationId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class registrationsRegistrationIdDeleteExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var registrationId = registrationId_example;  // String | String identifying an registered API provider domain resource. (default to null)

            try {
                apiInstance.registrationsRegistrationIdDelete(registrationId);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.registrationsRegistrationIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$registrationId = registrationId_example; // String | String identifying an registered API provider domain resource.

try {
    $api_instance->registrationsRegistrationIdDelete($registrationId);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->registrationsRegistrationIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $registrationId = registrationId_example; # String | String identifying an registered API provider domain resource.

eval {
    $api_instance->registrationsRegistrationIdDelete(registrationId => $registrationId);
};
if ($@) {
    warn "Exception when calling DefaultApi->registrationsRegistrationIdDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
registrationId = registrationId_example # String | String identifying an registered API provider domain resource. (default to null)

try:
    api_instance.registrations_registration_id_delete(registrationId)
except ApiException as e:
    print("Exception when calling DefaultApi->registrationsRegistrationIdDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let registrationId = registrationId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.registrationsRegistrationIdDelete(registrationId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
registrationId*
String
String identifying an registered API provider domain resource.
Required

Responses

Name Type Format Description
Location String An alternative URI of the resource.

Name Type Format Description
Location String An alternative URI of the resource.


registrationsRegistrationIdPut

Updates an API provider domain's registration details.


/registrations/{registrationId}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json,application/problem+json" \
 -H "Content-Type: application/json" \
 "https://example.com/api-provider-management/v1/registrations/{registrationId}" \
 -d '{
  "apiProvFuncs" : [ {
    "apiProvFuncId" : "apiProvFuncId",
    "apiProvFuncInfo" : "apiProvFuncInfo",
    "regInfo" : {
      "apiProvCert" : "apiProvCert",
      "apiProvPubKey" : "apiProvPubKey"
    }
  }, {
    "apiProvFuncId" : "apiProvFuncId",
    "apiProvFuncInfo" : "apiProvFuncInfo",
    "regInfo" : {
      "apiProvCert" : "apiProvCert",
      "apiProvPubKey" : "apiProvPubKey"
    }
  } ],
  "failReason" : "failReason",
  "regSec" : "regSec",
  "apiProvDomId" : "apiProvDomId",
  "apiProvDomInfo" : "apiProvDomInfo",
  "suppFeat" : "suppFeat"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String registrationId = registrationId_example; // String | String identifying an registered API provider domain resource.
        APIProviderEnrolmentDetails aPIProviderEnrolmentDetails = ; // APIProviderEnrolmentDetails | 

        try {
            APIProviderEnrolmentDetails result = apiInstance.registrationsRegistrationIdPut(registrationId, aPIProviderEnrolmentDetails);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#registrationsRegistrationIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String registrationId = new String(); // String | String identifying an registered API provider domain resource.
final APIProviderEnrolmentDetails aPIProviderEnrolmentDetails = new APIProviderEnrolmentDetails(); // APIProviderEnrolmentDetails | 

try {
    final result = await api_instance.registrationsRegistrationIdPut(registrationId, aPIProviderEnrolmentDetails);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->registrationsRegistrationIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String registrationId = registrationId_example; // String | String identifying an registered API provider domain resource.
        APIProviderEnrolmentDetails aPIProviderEnrolmentDetails = ; // APIProviderEnrolmentDetails | 

        try {
            APIProviderEnrolmentDetails result = apiInstance.registrationsRegistrationIdPut(registrationId, aPIProviderEnrolmentDetails);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#registrationsRegistrationIdPut");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *registrationId = registrationId_example; // String identifying an registered API provider domain resource. (default to null)
APIProviderEnrolmentDetails *aPIProviderEnrolmentDetails = ; // 

[apiInstance registrationsRegistrationIdPutWith:registrationId
    aPIProviderEnrolmentDetails:aPIProviderEnrolmentDetails
              completionHandler: ^(APIProviderEnrolmentDetails output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var CapifApiProviderManagementApi = require('capif_api_provider_management_api');

// Create an instance of the API class
var api = new CapifApiProviderManagementApi.DefaultApi()
var registrationId = registrationId_example; // {String} String identifying an registered API provider domain resource.
var aPIProviderEnrolmentDetails = ; // {APIProviderEnrolmentDetails} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.registrationsRegistrationIdPut(registrationId, aPIProviderEnrolmentDetails, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class registrationsRegistrationIdPutExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var registrationId = registrationId_example;  // String | String identifying an registered API provider domain resource. (default to null)
            var aPIProviderEnrolmentDetails = new APIProviderEnrolmentDetails(); // APIProviderEnrolmentDetails | 

            try {
                APIProviderEnrolmentDetails result = apiInstance.registrationsRegistrationIdPut(registrationId, aPIProviderEnrolmentDetails);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.registrationsRegistrationIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$registrationId = registrationId_example; // String | String identifying an registered API provider domain resource.
$aPIProviderEnrolmentDetails = ; // APIProviderEnrolmentDetails | 

try {
    $result = $api_instance->registrationsRegistrationIdPut($registrationId, $aPIProviderEnrolmentDetails);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->registrationsRegistrationIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $registrationId = registrationId_example; # String | String identifying an registered API provider domain resource.
my $aPIProviderEnrolmentDetails = WWW::OPenAPIClient::Object::APIProviderEnrolmentDetails->new(); # APIProviderEnrolmentDetails | 

eval {
    my $result = $api_instance->registrationsRegistrationIdPut(registrationId => $registrationId, aPIProviderEnrolmentDetails => $aPIProviderEnrolmentDetails);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->registrationsRegistrationIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
registrationId = registrationId_example # String | String identifying an registered API provider domain resource. (default to null)
aPIProviderEnrolmentDetails =  # APIProviderEnrolmentDetails | 

try:
    api_response = api_instance.registrations_registration_id_put(registrationId, aPIProviderEnrolmentDetails)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->registrationsRegistrationIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let registrationId = registrationId_example; // String
    let aPIProviderEnrolmentDetails = ; // APIProviderEnrolmentDetails

    let mut context = DefaultApi::Context::default();
    let result = client.registrationsRegistrationIdPut(registrationId, aPIProviderEnrolmentDetails, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
registrationId*
String
String identifying an registered API provider domain resource.
Required
Body parameters
Name Description
aPIProviderEnrolmentDetails *

Representation of the API provider domain registration details to be updated in CAPIF core function.

Responses

Name Type Format Description
Location String An alternative URI of the resource.

Name Type Format Description
Location String An alternative URI of the resource.


IndividualAPIProviderEnrolmentDetails

modifyIndApiProviderEnrolment

Modify an individual API provider details.


/registrations/{registrationId}

Usage and SDK Samples

curl -X PATCH \
 -H "Accept: application/json,application/problem+json" \
 -H "Content-Type: application/merge-patch+json" \
 "https://example.com/api-provider-management/v1/registrations/{registrationId}" \
 -d 'Custom MIME type example not yet supported: application/merge-patch+json'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.IndividualAPIProviderEnrolmentDetailsApi;

import java.io.File;
import java.util.*;

public class IndividualAPIProviderEnrolmentDetailsApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        IndividualAPIProviderEnrolmentDetailsApi apiInstance = new IndividualAPIProviderEnrolmentDetailsApi();
        String registrationId = registrationId_example; // String | 
        APIProviderEnrolmentDetailsPatch aPIProviderEnrolmentDetailsPatch = ; // APIProviderEnrolmentDetailsPatch | 

        try {
            APIProviderEnrolmentDetails result = apiInstance.modifyIndApiProviderEnrolment(registrationId, aPIProviderEnrolmentDetailsPatch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IndividualAPIProviderEnrolmentDetailsApi#modifyIndApiProviderEnrolment");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String registrationId = new String(); // String | 
final APIProviderEnrolmentDetailsPatch aPIProviderEnrolmentDetailsPatch = new APIProviderEnrolmentDetailsPatch(); // APIProviderEnrolmentDetailsPatch | 

try {
    final result = await api_instance.modifyIndApiProviderEnrolment(registrationId, aPIProviderEnrolmentDetailsPatch);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->modifyIndApiProviderEnrolment: $e\n');
}

import org.openapitools.client.api.IndividualAPIProviderEnrolmentDetailsApi;

public class IndividualAPIProviderEnrolmentDetailsApiExample {
    public static void main(String[] args) {
        IndividualAPIProviderEnrolmentDetailsApi apiInstance = new IndividualAPIProviderEnrolmentDetailsApi();
        String registrationId = registrationId_example; // String | 
        APIProviderEnrolmentDetailsPatch aPIProviderEnrolmentDetailsPatch = ; // APIProviderEnrolmentDetailsPatch | 

        try {
            APIProviderEnrolmentDetails result = apiInstance.modifyIndApiProviderEnrolment(registrationId, aPIProviderEnrolmentDetailsPatch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IndividualAPIProviderEnrolmentDetailsApi#modifyIndApiProviderEnrolment");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
IndividualAPIProviderEnrolmentDetailsApi *apiInstance = [[IndividualAPIProviderEnrolmentDetailsApi alloc] init];
String *registrationId = registrationId_example; //  (default to null)
APIProviderEnrolmentDetailsPatch *aPIProviderEnrolmentDetailsPatch = ; // 

[apiInstance modifyIndApiProviderEnrolmentWith:registrationId
    aPIProviderEnrolmentDetailsPatch:aPIProviderEnrolmentDetailsPatch
              completionHandler: ^(APIProviderEnrolmentDetails output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var CapifApiProviderManagementApi = require('capif_api_provider_management_api');

// Create an instance of the API class
var api = new CapifApiProviderManagementApi.IndividualAPIProviderEnrolmentDetailsApi()
var registrationId = registrationId_example; // {String} 
var aPIProviderEnrolmentDetailsPatch = ; // {APIProviderEnrolmentDetailsPatch} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.modifyIndApiProviderEnrolment(registrationId, aPIProviderEnrolmentDetailsPatch, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class modifyIndApiProviderEnrolmentExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new IndividualAPIProviderEnrolmentDetailsApi();
            var registrationId = registrationId_example;  // String |  (default to null)
            var aPIProviderEnrolmentDetailsPatch = new APIProviderEnrolmentDetailsPatch(); // APIProviderEnrolmentDetailsPatch | 

            try {
                APIProviderEnrolmentDetails result = apiInstance.modifyIndApiProviderEnrolment(registrationId, aPIProviderEnrolmentDetailsPatch);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling IndividualAPIProviderEnrolmentDetailsApi.modifyIndApiProviderEnrolment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\IndividualAPIProviderEnrolmentDetailsApi();
$registrationId = registrationId_example; // String | 
$aPIProviderEnrolmentDetailsPatch = ; // APIProviderEnrolmentDetailsPatch | 

try {
    $result = $api_instance->modifyIndApiProviderEnrolment($registrationId, $aPIProviderEnrolmentDetailsPatch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling IndividualAPIProviderEnrolmentDetailsApi->modifyIndApiProviderEnrolment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::IndividualAPIProviderEnrolmentDetailsApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::IndividualAPIProviderEnrolmentDetailsApi->new();
my $registrationId = registrationId_example; # String | 
my $aPIProviderEnrolmentDetailsPatch = WWW::OPenAPIClient::Object::APIProviderEnrolmentDetailsPatch->new(); # APIProviderEnrolmentDetailsPatch | 

eval {
    my $result = $api_instance->modifyIndApiProviderEnrolment(registrationId => $registrationId, aPIProviderEnrolmentDetailsPatch => $aPIProviderEnrolmentDetailsPatch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IndividualAPIProviderEnrolmentDetailsApi->modifyIndApiProviderEnrolment: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.IndividualAPIProviderEnrolmentDetailsApi()
registrationId = registrationId_example # String |  (default to null)
aPIProviderEnrolmentDetailsPatch =  # APIProviderEnrolmentDetailsPatch | 

try:
    api_response = api_instance.modify_ind_api_provider_enrolment(registrationId, aPIProviderEnrolmentDetailsPatch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IndividualAPIProviderEnrolmentDetailsApi->modifyIndApiProviderEnrolment: %s\n" % e)
extern crate IndividualAPIProviderEnrolmentDetailsApi;

pub fn main() {
    let registrationId = registrationId_example; // String
    let aPIProviderEnrolmentDetailsPatch = ; // APIProviderEnrolmentDetailsPatch

    let mut context = IndividualAPIProviderEnrolmentDetailsApi::Context::default();
    let result = client.modifyIndApiProviderEnrolment(registrationId, aPIProviderEnrolmentDetailsPatch, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
registrationId*
String
Required
Body parameters
Name Description
aPIProviderEnrolmentDetailsPatch *

Responses

Name Type Format Description
Location String An alternative URI of the resource.

Name Type Format Description
Location String An alternative URI of the resource.