CAPIF_Publish_Service_API

Default

apfIdServiceApisGet

Retrieve all published APIs.


/{apfId}/service-apis

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,application/problem+json" \
 "https://example.com/published-apis/v1/{apfId}/service-apis"
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 apfId = apfId_example; // String | 

        try {
            array[ServiceAPIDescription] result = apiInstance.apfIdServiceApisGet(apfId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apfIdServiceApisGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String apfId = new String(); // String | 

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

import org.openapitools.client.api.DefaultApi;

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

        try {
            array[ServiceAPIDescription] result = apiInstance.apfIdServiceApisGet(apfId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apfIdServiceApisGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *apfId = apfId_example; //  (default to null)

[apiInstance apfIdServiceApisGetWith:apfId
              completionHandler: ^(array[ServiceAPIDescription] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var CapifPublishServiceApi = require('capif_publish_service_api');

// Create an instance of the API class
var api = new CapifPublishServiceApi.DefaultApi()
var apfId = apfId_example; // {String} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var apfId = apfId_example;  // String |  (default to null)

            try {
                array[ServiceAPIDescription] result = apiInstance.apfIdServiceApisGet(apfId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.apfIdServiceApisGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

try {
    $result = $api_instance->apfIdServiceApisGet($apfId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apfIdServiceApisGet: ', $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 $apfId = apfId_example; # String | 

eval {
    my $result = $api_instance->apfIdServiceApisGet(apfId => $apfId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->apfIdServiceApisGet: $@\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()
apfId = apfId_example # String |  (default to null)

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

pub fn main() {
    let apfId = apfId_example; // String

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

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

Scopes

Parameters

Path parameters
Name Description
apfId*
String
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.


apfIdServiceApisPost

Publish a new API.


/{apfId}/service-apis

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,application/problem+json" \
 -H "Content-Type: application/json" \
 "https://example.com/published-apis/v1/{apfId}/service-apis" \
 -d '{
  "ccfId" : "ccfId",
  "serviceAPICategory" : "serviceAPICategory",
  "apiName" : "apiName",
  "shareableInfo" : {
    "capifProvDoms" : [ "capifProvDoms", "capifProvDoms" ],
    "isShareable" : true
  },
  "supportedFeatures" : "supportedFeatures",
  "description" : "description",
  "apiSuppFeats" : "apiSuppFeats",
  "aefProfiles" : [ {
    "securityMethods" : [ null, null ],
    "versions" : [ {
      "apiVersion" : "apiVersion",
      "custOperations" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      } ],
      "resources" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      } ],
      "expiry" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "apiVersion" : "apiVersion",
      "custOperations" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      } ],
      "resources" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      } ],
      "expiry" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "domainName" : "domainName",
    "aefLocation" : {
      "dcId" : "dcId",
      "geoArea" : {
        "point" : {
          "lon" : 36.988422590534526,
          "lat" : -75.5850925717018
        }
      },
      "civicAddr" : {
        "POBOX" : "POBOX",
        "usageRules" : "usageRules",
        "country" : "country",
        "PRD" : "PRD",
        "PLC" : "PLC",
        "HNO" : "HNO",
        "PRM" : "PRM",
        "HNS" : "HNS",
        "FLR" : "FLR",
        "A1" : "A1",
        "A2" : "A2",
        "A3" : "A3",
        "A4" : "A4",
        "STS" : "STS",
        "A5" : "A5",
        "A6" : "A6",
        "RDSEC" : "RDSEC",
        "providedBy" : "providedBy",
        "LOC" : "LOC",
        "SEAT" : "SEAT",
        "UNIT" : "UNIT",
        "POD" : "POD",
        "RDBR" : "RDBR",
        "method" : "method",
        "LMK" : "LMK",
        "POM" : "POM",
        "ADDCODE" : "ADDCODE",
        "RD" : "RD",
        "PC" : "PC",
        "PCN" : "PCN",
        "BLD" : "BLD",
        "NAM" : "NAM",
        "ROOM" : "ROOM",
        "RDSUBBR" : "RDSUBBR"
      }
    },
    "aefId" : "aefId",
    "interfaceDescriptions" : [ {
      "ipv6Addr" : "ipv6Addr",
      "securityMethods" : [ null, null ],
      "port" : 9606,
      "ipv4Addr" : "ipv4Addr"
    }, {
      "ipv6Addr" : "ipv6Addr",
      "securityMethods" : [ null, null ],
      "port" : 9606,
      "ipv4Addr" : "ipv4Addr"
    } ]
  }, {
    "securityMethods" : [ null, null ],
    "versions" : [ {
      "apiVersion" : "apiVersion",
      "custOperations" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      } ],
      "resources" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      } ],
      "expiry" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "apiVersion" : "apiVersion",
      "custOperations" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      } ],
      "resources" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      } ],
      "expiry" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "domainName" : "domainName",
    "aefLocation" : {
      "dcId" : "dcId",
      "geoArea" : {
        "point" : {
          "lon" : 36.988422590534526,
          "lat" : -75.5850925717018
        }
      },
      "civicAddr" : {
        "POBOX" : "POBOX",
        "usageRules" : "usageRules",
        "country" : "country",
        "PRD" : "PRD",
        "PLC" : "PLC",
        "HNO" : "HNO",
        "PRM" : "PRM",
        "HNS" : "HNS",
        "FLR" : "FLR",
        "A1" : "A1",
        "A2" : "A2",
        "A3" : "A3",
        "A4" : "A4",
        "STS" : "STS",
        "A5" : "A5",
        "A6" : "A6",
        "RDSEC" : "RDSEC",
        "providedBy" : "providedBy",
        "LOC" : "LOC",
        "SEAT" : "SEAT",
        "UNIT" : "UNIT",
        "POD" : "POD",
        "RDBR" : "RDBR",
        "method" : "method",
        "LMK" : "LMK",
        "POM" : "POM",
        "ADDCODE" : "ADDCODE",
        "RD" : "RD",
        "PC" : "PC",
        "PCN" : "PCN",
        "BLD" : "BLD",
        "NAM" : "NAM",
        "ROOM" : "ROOM",
        "RDSUBBR" : "RDSUBBR"
      }
    },
    "aefId" : "aefId",
    "interfaceDescriptions" : [ {
      "ipv6Addr" : "ipv6Addr",
      "securityMethods" : [ null, null ],
      "port" : 9606,
      "ipv4Addr" : "ipv4Addr"
    }, {
      "ipv6Addr" : "ipv6Addr",
      "securityMethods" : [ null, null ],
      "port" : 9606,
      "ipv4Addr" : "ipv4Addr"
    } ]
  } ],
  "apiId" : "apiId",
  "pubApiPath" : {
    "ccfIds" : [ "ccfIds", "ccfIds" ]
  }
}'
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 apfId = apfId_example; // String | 
        ServiceAPIDescription serviceAPIDescription = ; // ServiceAPIDescription | 

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

final api_instance = DefaultApi();

final String apfId = new String(); // String | 
final ServiceAPIDescription serviceAPIDescription = new ServiceAPIDescription(); // ServiceAPIDescription | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String apfId = apfId_example; // String | 
        ServiceAPIDescription serviceAPIDescription = ; // ServiceAPIDescription | 

        try {
            ServiceAPIDescription result = apiInstance.apfIdServiceApisPost(apfId, serviceAPIDescription);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apfIdServiceApisPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *apfId = apfId_example; //  (default to null)
ServiceAPIDescription *serviceAPIDescription = ; // 

[apiInstance apfIdServiceApisPostWith:apfId
    serviceAPIDescription:serviceAPIDescription
              completionHandler: ^(ServiceAPIDescription output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var CapifPublishServiceApi = require('capif_publish_service_api');

// Create an instance of the API class
var api = new CapifPublishServiceApi.DefaultApi()
var apfId = apfId_example; // {String} 
var serviceAPIDescription = ; // {ServiceAPIDescription} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var apfId = apfId_example;  // String |  (default to null)
            var serviceAPIDescription = new ServiceAPIDescription(); // ServiceAPIDescription | 

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$apfId = apfId_example; // String | 
$serviceAPIDescription = ; // ServiceAPIDescription | 

try {
    $result = $api_instance->apfIdServiceApisPost($apfId, $serviceAPIDescription);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apfIdServiceApisPost: ', $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 $apfId = apfId_example; # String | 
my $serviceAPIDescription = WWW::OPenAPIClient::Object::ServiceAPIDescription->new(); # ServiceAPIDescription | 

eval {
    my $result = $api_instance->apfIdServiceApisPost(apfId => $apfId, serviceAPIDescription => $serviceAPIDescription);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->apfIdServiceApisPost: $@\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()
apfId = apfId_example # String |  (default to null)
serviceAPIDescription =  # ServiceAPIDescription | 

try:
    api_response = api_instance.apf_id_service_apis_post(apfId, serviceAPIDescription)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apfIdServiceApisPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let apfId = apfId_example; // String
    let serviceAPIDescription = ; // ServiceAPIDescription

    let mut context = DefaultApi::Context::default();
    let result = client.apfIdServiceApisPost(apfId, serviceAPIDescription, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
apfId*
String
Required
Body parameters
Name Description
serviceAPIDescription *

Responses

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


apfIdServiceApisServiceApiIdDelete

Unpublish a published service API.


/{apfId}/service-apis/{serviceApiId}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: application/problem+json" \
 "https://example.com/published-apis/v1/{apfId}/service-apis/{serviceApiId}"
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 serviceApiId = serviceApiId_example; // String | 
        String apfId = apfId_example; // String | 

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

final api_instance = DefaultApi();

final String serviceApiId = new String(); // String | 
final String apfId = new String(); // String | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String serviceApiId = serviceApiId_example; // String | 
        String apfId = apfId_example; // String | 

        try {
            apiInstance.apfIdServiceApisServiceApiIdDelete(serviceApiId, apfId);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apfIdServiceApisServiceApiIdDelete");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *serviceApiId = serviceApiId_example; //  (default to null)
String *apfId = apfId_example; //  (default to null)

[apiInstance apfIdServiceApisServiceApiIdDeleteWith:serviceApiId
    apfId:apfId
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var CapifPublishServiceApi = require('capif_publish_service_api');

// Create an instance of the API class
var api = new CapifPublishServiceApi.DefaultApi()
var serviceApiId = serviceApiId_example; // {String} 
var apfId = apfId_example; // {String} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var serviceApiId = serviceApiId_example;  // String |  (default to null)
            var apfId = apfId_example;  // String |  (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$serviceApiId = serviceApiId_example; // String | 
$apfId = apfId_example; // String | 

try {
    $api_instance->apfIdServiceApisServiceApiIdDelete($serviceApiId, $apfId);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apfIdServiceApisServiceApiIdDelete: ', $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 $serviceApiId = serviceApiId_example; # String | 
my $apfId = apfId_example; # String | 

eval {
    $api_instance->apfIdServiceApisServiceApiIdDelete(serviceApiId => $serviceApiId, apfId => $apfId);
};
if ($@) {
    warn "Exception when calling DefaultApi->apfIdServiceApisServiceApiIdDelete: $@\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()
serviceApiId = serviceApiId_example # String |  (default to null)
apfId = apfId_example # String |  (default to null)

try:
    api_instance.apf_id_service_apis_service_api_id_delete(serviceApiId, apfId)
except ApiException as e:
    print("Exception when calling DefaultApi->apfIdServiceApisServiceApiIdDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let serviceApiId = serviceApiId_example; // String
    let apfId = apfId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.apfIdServiceApisServiceApiIdDelete(serviceApiId, apfId, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
serviceApiId*
String
Required
apfId*
String
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.


apfIdServiceApisServiceApiIdGet

Retrieve a published service API.


/{apfId}/service-apis/{serviceApiId}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,application/problem+json" \
 "https://example.com/published-apis/v1/{apfId}/service-apis/{serviceApiId}"
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 serviceApiId = serviceApiId_example; // String | 
        String apfId = apfId_example; // String | 

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

final api_instance = DefaultApi();

final String serviceApiId = new String(); // String | 
final String apfId = new String(); // String | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String serviceApiId = serviceApiId_example; // String | 
        String apfId = apfId_example; // String | 

        try {
            ServiceAPIDescription result = apiInstance.apfIdServiceApisServiceApiIdGet(serviceApiId, apfId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apfIdServiceApisServiceApiIdGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *serviceApiId = serviceApiId_example; //  (default to null)
String *apfId = apfId_example; //  (default to null)

[apiInstance apfIdServiceApisServiceApiIdGetWith:serviceApiId
    apfId:apfId
              completionHandler: ^(ServiceAPIDescription output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var CapifPublishServiceApi = require('capif_publish_service_api');

// Create an instance of the API class
var api = new CapifPublishServiceApi.DefaultApi()
var serviceApiId = serviceApiId_example; // {String} 
var apfId = apfId_example; // {String} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var serviceApiId = serviceApiId_example;  // String |  (default to null)
            var apfId = apfId_example;  // String |  (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$serviceApiId = serviceApiId_example; // String | 
$apfId = apfId_example; // String | 

try {
    $result = $api_instance->apfIdServiceApisServiceApiIdGet($serviceApiId, $apfId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apfIdServiceApisServiceApiIdGet: ', $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 $serviceApiId = serviceApiId_example; # String | 
my $apfId = apfId_example; # String | 

eval {
    my $result = $api_instance->apfIdServiceApisServiceApiIdGet(serviceApiId => $serviceApiId, apfId => $apfId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->apfIdServiceApisServiceApiIdGet: $@\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()
serviceApiId = serviceApiId_example # String |  (default to null)
apfId = apfId_example # String |  (default to null)

try:
    api_response = api_instance.apf_id_service_apis_service_api_id_get(serviceApiId, apfId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apfIdServiceApisServiceApiIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let serviceApiId = serviceApiId_example; // String
    let apfId = apfId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.apfIdServiceApisServiceApiIdGet(serviceApiId, apfId, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
serviceApiId*
String
Required
apfId*
String
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.


apfIdServiceApisServiceApiIdPut

Update a published service API.


/{apfId}/service-apis/{serviceApiId}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json,application/problem+json" \
 -H "Content-Type: application/json" \
 "https://example.com/published-apis/v1/{apfId}/service-apis/{serviceApiId}" \
 -d '{
  "ccfId" : "ccfId",
  "serviceAPICategory" : "serviceAPICategory",
  "apiName" : "apiName",
  "shareableInfo" : {
    "capifProvDoms" : [ "capifProvDoms", "capifProvDoms" ],
    "isShareable" : true
  },
  "supportedFeatures" : "supportedFeatures",
  "description" : "description",
  "apiSuppFeats" : "apiSuppFeats",
  "aefProfiles" : [ {
    "securityMethods" : [ null, null ],
    "versions" : [ {
      "apiVersion" : "apiVersion",
      "custOperations" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      } ],
      "resources" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      } ],
      "expiry" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "apiVersion" : "apiVersion",
      "custOperations" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      } ],
      "resources" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      } ],
      "expiry" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "domainName" : "domainName",
    "aefLocation" : {
      "dcId" : "dcId",
      "geoArea" : {
        "point" : {
          "lon" : 36.988422590534526,
          "lat" : -75.5850925717018
        }
      },
      "civicAddr" : {
        "POBOX" : "POBOX",
        "usageRules" : "usageRules",
        "country" : "country",
        "PRD" : "PRD",
        "PLC" : "PLC",
        "HNO" : "HNO",
        "PRM" : "PRM",
        "HNS" : "HNS",
        "FLR" : "FLR",
        "A1" : "A1",
        "A2" : "A2",
        "A3" : "A3",
        "A4" : "A4",
        "STS" : "STS",
        "A5" : "A5",
        "A6" : "A6",
        "RDSEC" : "RDSEC",
        "providedBy" : "providedBy",
        "LOC" : "LOC",
        "SEAT" : "SEAT",
        "UNIT" : "UNIT",
        "POD" : "POD",
        "RDBR" : "RDBR",
        "method" : "method",
        "LMK" : "LMK",
        "POM" : "POM",
        "ADDCODE" : "ADDCODE",
        "RD" : "RD",
        "PC" : "PC",
        "PCN" : "PCN",
        "BLD" : "BLD",
        "NAM" : "NAM",
        "ROOM" : "ROOM",
        "RDSUBBR" : "RDSUBBR"
      }
    },
    "aefId" : "aefId",
    "interfaceDescriptions" : [ {
      "ipv6Addr" : "ipv6Addr",
      "securityMethods" : [ null, null ],
      "port" : 9606,
      "ipv4Addr" : "ipv4Addr"
    }, {
      "ipv6Addr" : "ipv6Addr",
      "securityMethods" : [ null, null ],
      "port" : 9606,
      "ipv4Addr" : "ipv4Addr"
    } ]
  }, {
    "securityMethods" : [ null, null ],
    "versions" : [ {
      "apiVersion" : "apiVersion",
      "custOperations" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      } ],
      "resources" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      } ],
      "expiry" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "apiVersion" : "apiVersion",
      "custOperations" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName"
      } ],
      "resources" : [ {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      }, {
        "operations" : [ null, null ],
        "description" : "description",
        "custOpName" : "custOpName",
        "resourceName" : "resourceName",
        "uri" : "uri"
      } ],
      "expiry" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "domainName" : "domainName",
    "aefLocation" : {
      "dcId" : "dcId",
      "geoArea" : {
        "point" : {
          "lon" : 36.988422590534526,
          "lat" : -75.5850925717018
        }
      },
      "civicAddr" : {
        "POBOX" : "POBOX",
        "usageRules" : "usageRules",
        "country" : "country",
        "PRD" : "PRD",
        "PLC" : "PLC",
        "HNO" : "HNO",
        "PRM" : "PRM",
        "HNS" : "HNS",
        "FLR" : "FLR",
        "A1" : "A1",
        "A2" : "A2",
        "A3" : "A3",
        "A4" : "A4",
        "STS" : "STS",
        "A5" : "A5",
        "A6" : "A6",
        "RDSEC" : "RDSEC",
        "providedBy" : "providedBy",
        "LOC" : "LOC",
        "SEAT" : "SEAT",
        "UNIT" : "UNIT",
        "POD" : "POD",
        "RDBR" : "RDBR",
        "method" : "method",
        "LMK" : "LMK",
        "POM" : "POM",
        "ADDCODE" : "ADDCODE",
        "RD" : "RD",
        "PC" : "PC",
        "PCN" : "PCN",
        "BLD" : "BLD",
        "NAM" : "NAM",
        "ROOM" : "ROOM",
        "RDSUBBR" : "RDSUBBR"
      }
    },
    "aefId" : "aefId",
    "interfaceDescriptions" : [ {
      "ipv6Addr" : "ipv6Addr",
      "securityMethods" : [ null, null ],
      "port" : 9606,
      "ipv4Addr" : "ipv4Addr"
    }, {
      "ipv6Addr" : "ipv6Addr",
      "securityMethods" : [ null, null ],
      "port" : 9606,
      "ipv4Addr" : "ipv4Addr"
    } ]
  } ],
  "apiId" : "apiId",
  "pubApiPath" : {
    "ccfIds" : [ "ccfIds", "ccfIds" ]
  }
}'
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 serviceApiId = serviceApiId_example; // String | 
        String apfId = apfId_example; // String | 
        ServiceAPIDescription serviceAPIDescription = ; // ServiceAPIDescription | 

        try {
            ServiceAPIDescription result = apiInstance.apfIdServiceApisServiceApiIdPut(serviceApiId, apfId, serviceAPIDescription);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apfIdServiceApisServiceApiIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String serviceApiId = new String(); // String | 
final String apfId = new String(); // String | 
final ServiceAPIDescription serviceAPIDescription = new ServiceAPIDescription(); // ServiceAPIDescription | 

try {
    final result = await api_instance.apfIdServiceApisServiceApiIdPut(serviceApiId, apfId, serviceAPIDescription);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->apfIdServiceApisServiceApiIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String serviceApiId = serviceApiId_example; // String | 
        String apfId = apfId_example; // String | 
        ServiceAPIDescription serviceAPIDescription = ; // ServiceAPIDescription | 

        try {
            ServiceAPIDescription result = apiInstance.apfIdServiceApisServiceApiIdPut(serviceApiId, apfId, serviceAPIDescription);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#apfIdServiceApisServiceApiIdPut");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *serviceApiId = serviceApiId_example; //  (default to null)
String *apfId = apfId_example; //  (default to null)
ServiceAPIDescription *serviceAPIDescription = ; // 

[apiInstance apfIdServiceApisServiceApiIdPutWith:serviceApiId
    apfId:apfId
    serviceAPIDescription:serviceAPIDescription
              completionHandler: ^(ServiceAPIDescription output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var CapifPublishServiceApi = require('capif_publish_service_api');

// Create an instance of the API class
var api = new CapifPublishServiceApi.DefaultApi()
var serviceApiId = serviceApiId_example; // {String} 
var apfId = apfId_example; // {String} 
var serviceAPIDescription = ; // {ServiceAPIDescription} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var serviceApiId = serviceApiId_example;  // String |  (default to null)
            var apfId = apfId_example;  // String |  (default to null)
            var serviceAPIDescription = new ServiceAPIDescription(); // ServiceAPIDescription | 

            try {
                ServiceAPIDescription result = apiInstance.apfIdServiceApisServiceApiIdPut(serviceApiId, apfId, serviceAPIDescription);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.apfIdServiceApisServiceApiIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$serviceApiId = serviceApiId_example; // String | 
$apfId = apfId_example; // String | 
$serviceAPIDescription = ; // ServiceAPIDescription | 

try {
    $result = $api_instance->apfIdServiceApisServiceApiIdPut($serviceApiId, $apfId, $serviceAPIDescription);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->apfIdServiceApisServiceApiIdPut: ', $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 $serviceApiId = serviceApiId_example; # String | 
my $apfId = apfId_example; # String | 
my $serviceAPIDescription = WWW::OPenAPIClient::Object::ServiceAPIDescription->new(); # ServiceAPIDescription | 

eval {
    my $result = $api_instance->apfIdServiceApisServiceApiIdPut(serviceApiId => $serviceApiId, apfId => $apfId, serviceAPIDescription => $serviceAPIDescription);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->apfIdServiceApisServiceApiIdPut: $@\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()
serviceApiId = serviceApiId_example # String |  (default to null)
apfId = apfId_example # String |  (default to null)
serviceAPIDescription =  # ServiceAPIDescription | 

try:
    api_response = api_instance.apf_id_service_apis_service_api_id_put(serviceApiId, apfId, serviceAPIDescription)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->apfIdServiceApisServiceApiIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let serviceApiId = serviceApiId_example; // String
    let apfId = apfId_example; // String
    let serviceAPIDescription = ; // ServiceAPIDescription

    let mut context = DefaultApi::Context::default();
    let result = client.apfIdServiceApisServiceApiIdPut(serviceApiId, apfId, serviceAPIDescription, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
serviceApiId*
String
Required
apfId*
String
Required
Body parameters
Name Description
serviceAPIDescription *

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.


IndividualAPFPublishedAPI

modifyIndAPFPubAPI

Modify an existing published service API.


/{apfId}/service-apis/{serviceApiId}

Usage and SDK Samples

curl -X PATCH \
 -H "Accept: application/json,application/problem+json" \
 -H "Content-Type: application/merge-patch+json" \
 "https://example.com/published-apis/v1/{apfId}/service-apis/{serviceApiId}" \
 -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.IndividualAPFPublishedAPIApi;

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

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

        // Create an instance of the API class
        IndividualAPFPublishedAPIApi apiInstance = new IndividualAPFPublishedAPIApi();
        String serviceApiId = serviceApiId_example; // String | 
        String apfId = apfId_example; // String | 
        ServiceAPIDescriptionPatch serviceAPIDescriptionPatch = ; // ServiceAPIDescriptionPatch | 

        try {
            ServiceAPIDescription result = apiInstance.modifyIndAPFPubAPI(serviceApiId, apfId, serviceAPIDescriptionPatch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IndividualAPFPublishedAPIApi#modifyIndAPFPubAPI");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String serviceApiId = new String(); // String | 
final String apfId = new String(); // String | 
final ServiceAPIDescriptionPatch serviceAPIDescriptionPatch = new ServiceAPIDescriptionPatch(); // ServiceAPIDescriptionPatch | 

try {
    final result = await api_instance.modifyIndAPFPubAPI(serviceApiId, apfId, serviceAPIDescriptionPatch);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->modifyIndAPFPubAPI: $e\n');
}

import org.openapitools.client.api.IndividualAPFPublishedAPIApi;

public class IndividualAPFPublishedAPIApiExample {
    public static void main(String[] args) {
        IndividualAPFPublishedAPIApi apiInstance = new IndividualAPFPublishedAPIApi();
        String serviceApiId = serviceApiId_example; // String | 
        String apfId = apfId_example; // String | 
        ServiceAPIDescriptionPatch serviceAPIDescriptionPatch = ; // ServiceAPIDescriptionPatch | 

        try {
            ServiceAPIDescription result = apiInstance.modifyIndAPFPubAPI(serviceApiId, apfId, serviceAPIDescriptionPatch);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IndividualAPFPublishedAPIApi#modifyIndAPFPubAPI");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
IndividualAPFPublishedAPIApi *apiInstance = [[IndividualAPFPublishedAPIApi alloc] init];
String *serviceApiId = serviceApiId_example; //  (default to null)
String *apfId = apfId_example; //  (default to null)
ServiceAPIDescriptionPatch *serviceAPIDescriptionPatch = ; // 

[apiInstance modifyIndAPFPubAPIWith:serviceApiId
    apfId:apfId
    serviceAPIDescriptionPatch:serviceAPIDescriptionPatch
              completionHandler: ^(ServiceAPIDescription output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var CapifPublishServiceApi = require('capif_publish_service_api');

// Create an instance of the API class
var api = new CapifPublishServiceApi.IndividualAPFPublishedAPIApi()
var serviceApiId = serviceApiId_example; // {String} 
var apfId = apfId_example; // {String} 
var serviceAPIDescriptionPatch = ; // {ServiceAPIDescriptionPatch} 

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

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

            // Create an instance of the API class
            var apiInstance = new IndividualAPFPublishedAPIApi();
            var serviceApiId = serviceApiId_example;  // String |  (default to null)
            var apfId = apfId_example;  // String |  (default to null)
            var serviceAPIDescriptionPatch = new ServiceAPIDescriptionPatch(); // ServiceAPIDescriptionPatch | 

            try {
                ServiceAPIDescription result = apiInstance.modifyIndAPFPubAPI(serviceApiId, apfId, serviceAPIDescriptionPatch);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling IndividualAPFPublishedAPIApi.modifyIndAPFPubAPI: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\IndividualAPFPublishedAPIApi();
$serviceApiId = serviceApiId_example; // String | 
$apfId = apfId_example; // String | 
$serviceAPIDescriptionPatch = ; // ServiceAPIDescriptionPatch | 

try {
    $result = $api_instance->modifyIndAPFPubAPI($serviceApiId, $apfId, $serviceAPIDescriptionPatch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling IndividualAPFPublishedAPIApi->modifyIndAPFPubAPI: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::IndividualAPFPublishedAPIApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::IndividualAPFPublishedAPIApi->new();
my $serviceApiId = serviceApiId_example; # String | 
my $apfId = apfId_example; # String | 
my $serviceAPIDescriptionPatch = WWW::OPenAPIClient::Object::ServiceAPIDescriptionPatch->new(); # ServiceAPIDescriptionPatch | 

eval {
    my $result = $api_instance->modifyIndAPFPubAPI(serviceApiId => $serviceApiId, apfId => $apfId, serviceAPIDescriptionPatch => $serviceAPIDescriptionPatch);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IndividualAPFPublishedAPIApi->modifyIndAPFPubAPI: $@\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.IndividualAPFPublishedAPIApi()
serviceApiId = serviceApiId_example # String |  (default to null)
apfId = apfId_example # String |  (default to null)
serviceAPIDescriptionPatch =  # ServiceAPIDescriptionPatch | 

try:
    api_response = api_instance.modify_ind_apf_pub_api(serviceApiId, apfId, serviceAPIDescriptionPatch)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IndividualAPFPublishedAPIApi->modifyIndAPFPubAPI: %s\n" % e)
extern crate IndividualAPFPublishedAPIApi;

pub fn main() {
    let serviceApiId = serviceApiId_example; // String
    let apfId = apfId_example; // String
    let serviceAPIDescriptionPatch = ; // ServiceAPIDescriptionPatch

    let mut context = IndividualAPFPublishedAPIApi::Context::default();
    let result = client.modifyIndAPFPubAPI(serviceApiId, apfId, serviceAPIDescriptionPatch, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
serviceApiId*
String
Required
apfId*
String
Required
Body parameters
Name Description
serviceAPIDescriptionPatch *

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.