Party Management TMF Webservices API

PartyManagement

createIndividual

Creates a Individual

This operation creates a Individual entity.


/individual

Usage and SDK Samples

curl -X POST\
\
\
-H "Accept: application/json;charset=utf-8,application/xml,application/json"\
-H "Content-Type: application/json"\
"http://localhost:9001/partytmfwebservices/v2/individual"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PartyManagementApi;

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

public class PartyManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: oauth2_Password
        OAuth oauth2_Password = (OAuth) defaultClient.getAuthentication("oauth2_Password");
        oauth2_Password.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: oauth2_client_credentials
        OAuth oauth2_client_credentials = (OAuth) defaultClient.getAuthentication("oauth2_client_credentials");
        oauth2_client_credentials.setAccessToken("YOUR ACCESS TOKEN");

        PartyManagementApi apiInstance = new PartyManagementApi();
        Individual body = ; // Individual | 
        try {
            Individual result = apiInstance.createIndividual(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#createIndividual");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PartyManagementApi;

public class PartyManagementApiExample {

    public static void main(String[] args) {
        PartyManagementApi apiInstance = new PartyManagementApi();
        Individual body = ; // Individual | 
        try {
            Individual result = apiInstance.createIndividual(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#createIndividual");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_Password)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_client_credentials)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
Individual *body = ; // 

PartyManagementApi *apiInstance = [[PartyManagementApi alloc] init];

// Creates a Individual
[apiInstance createIndividualWith:body
              completionHandler: ^(Individual output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PartyManagementTmfWebservicesApi = require('party_management_tmf_webservices__api');
var defaultClient = PartyManagementTmfWebservicesApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2_Password
var oauth2_Password = defaultClient.authentications['oauth2_Password'];
oauth2_Password.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: oauth2_client_credentials
var oauth2_client_credentials = defaultClient.authentications['oauth2_client_credentials'];
oauth2_client_credentials.accessToken = "YOUR ACCESS TOKEN"

var api = new PartyManagementTmfWebservicesApi.PartyManagementApi()
var body = ; // {{Individual}} 

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

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

            // Configure OAuth2 access token for authorization: oauth2_Password
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: oauth2_client_credentials
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PartyManagementApi();
            var body = new Individual(); // Individual | 

            try
            {
                // Creates a Individual
                Individual result = apiInstance.createIndividual(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PartyManagementApi.createIndividual: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oauth2_Password
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2_client_credentials
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\ApiPartyManagementApi();
$body = ; // Individual | 

try {
    $result = $api_instance->createIndividual($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PartyManagementApi->createIndividual: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PartyManagementApi;

# Configure OAuth2 access token for authorization: oauth2_Password
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: oauth2_client_credentials
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PartyManagementApi->new();
my $body = WWW::SwaggerClient::Object::Individual->new(); # Individual | 

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

# Configure OAuth2 access token for authorization: oauth2_Password
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: oauth2_client_credentials
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PartyManagementApi()
body =  # Individual | 

try: 
    # Creates a Individual
    api_response = api_instance.create_individual(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PartyManagementApi->createIndividual: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 201 - Created

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found

Status: 405 - Method Not allowed

Status: 409 - Conflict

Status: 500 - Internal Server Error


createOrganization

Creates a Organization

This operation creates a Organization entity.


/organization

Usage and SDK Samples

curl -X POST\
\
\
-H "Accept: application/json;charset=utf-8,application/xml,application/json"\
-H "Content-Type: application/json;charset=utf-8"\
"http://localhost:9001/partytmfwebservices/v2/organization"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PartyManagementApi;

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

public class PartyManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: oauth2_Password
        OAuth oauth2_Password = (OAuth) defaultClient.getAuthentication("oauth2_Password");
        oauth2_Password.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: oauth2_client_credentials
        OAuth oauth2_client_credentials = (OAuth) defaultClient.getAuthentication("oauth2_client_credentials");
        oauth2_client_credentials.setAccessToken("YOUR ACCESS TOKEN");

        PartyManagementApi apiInstance = new PartyManagementApi();
        Organization body = ; // Organization | 
        try {
            Organization result = apiInstance.createOrganization(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#createOrganization");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PartyManagementApi;

public class PartyManagementApiExample {

    public static void main(String[] args) {
        PartyManagementApi apiInstance = new PartyManagementApi();
        Organization body = ; // Organization | 
        try {
            Organization result = apiInstance.createOrganization(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#createOrganization");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_Password)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_client_credentials)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
Organization *body = ; // 

PartyManagementApi *apiInstance = [[PartyManagementApi alloc] init];

// Creates a Organization
[apiInstance createOrganizationWith:body
              completionHandler: ^(Organization output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PartyManagementTmfWebservicesApi = require('party_management_tmf_webservices__api');
var defaultClient = PartyManagementTmfWebservicesApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2_Password
var oauth2_Password = defaultClient.authentications['oauth2_Password'];
oauth2_Password.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: oauth2_client_credentials
var oauth2_client_credentials = defaultClient.authentications['oauth2_client_credentials'];
oauth2_client_credentials.accessToken = "YOUR ACCESS TOKEN"

var api = new PartyManagementTmfWebservicesApi.PartyManagementApi()
var body = ; // {{Organization}} 

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

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

            // Configure OAuth2 access token for authorization: oauth2_Password
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: oauth2_client_credentials
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PartyManagementApi();
            var body = new Organization(); // Organization | 

            try
            {
                // Creates a Organization
                Organization result = apiInstance.createOrganization(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PartyManagementApi.createOrganization: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oauth2_Password
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2_client_credentials
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\ApiPartyManagementApi();
$body = ; // Organization | 

try {
    $result = $api_instance->createOrganization($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PartyManagementApi->createOrganization: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PartyManagementApi;

# Configure OAuth2 access token for authorization: oauth2_Password
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: oauth2_client_credentials
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PartyManagementApi->new();
my $body = WWW::SwaggerClient::Object::Organization->new(); # Organization | 

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

# Configure OAuth2 access token for authorization: oauth2_Password
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: oauth2_client_credentials
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PartyManagementApi()
body =  # Organization | 

try: 
    # Creates a Organization
    api_response = api_instance.create_organization(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PartyManagementApi->createOrganization: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 201 - Created

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found

Status: 405 - Method Not allowed

Status: 409 - Conflict

Status: 500 - Internal Server Error


deleteIndividual

Deletes a Individual

This operation deletes a Individual entity.


/individual/{id}

Usage and SDK Samples

curl -X DELETE\
\
\
-H "Accept: application/json;charset=utf-8"\
"http://localhost:9001/partytmfwebservices/v2/individual/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PartyManagementApi;

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

public class PartyManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: oauth2_Password
        OAuth oauth2_Password = (OAuth) defaultClient.getAuthentication("oauth2_Password");
        oauth2_Password.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: oauth2_client_credentials
        OAuth oauth2_client_credentials = (OAuth) defaultClient.getAuthentication("oauth2_client_credentials");
        oauth2_client_credentials.setAccessToken("YOUR ACCESS TOKEN");

        PartyManagementApi apiInstance = new PartyManagementApi();
        String id = id_example; // String | Identifier of the Individual
        try {
            apiInstance.deleteIndividual(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#deleteIndividual");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PartyManagementApi;

public class PartyManagementApiExample {

    public static void main(String[] args) {
        PartyManagementApi apiInstance = new PartyManagementApi();
        String id = id_example; // String | Identifier of the Individual
        try {
            apiInstance.deleteIndividual(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#deleteIndividual");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_Password)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_client_credentials)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
String *id = id_example; // Identifier of the Individual

PartyManagementApi *apiInstance = [[PartyManagementApi alloc] init];

// Deletes a Individual
[apiInstance deleteIndividualWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PartyManagementTmfWebservicesApi = require('party_management_tmf_webservices__api');
var defaultClient = PartyManagementTmfWebservicesApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2_Password
var oauth2_Password = defaultClient.authentications['oauth2_Password'];
oauth2_Password.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: oauth2_client_credentials
var oauth2_client_credentials = defaultClient.authentications['oauth2_client_credentials'];
oauth2_client_credentials.accessToken = "YOUR ACCESS TOKEN"

var api = new PartyManagementTmfWebservicesApi.PartyManagementApi()
var id = id_example; // {{String}} Identifier of the Individual

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteIndividual(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            // Configure OAuth2 access token for authorization: oauth2_Password
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: oauth2_client_credentials
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PartyManagementApi();
            var id = id_example;  // String | Identifier of the Individual

            try
            {
                // Deletes a Individual
                apiInstance.deleteIndividual(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PartyManagementApi.deleteIndividual: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oauth2_Password
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2_client_credentials
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\ApiPartyManagementApi();
$id = id_example; // String | Identifier of the Individual

try {
    $api_instance->deleteIndividual($id);
} catch (Exception $e) {
    echo 'Exception when calling PartyManagementApi->deleteIndividual: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PartyManagementApi;

# Configure OAuth2 access token for authorization: oauth2_Password
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: oauth2_client_credentials
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PartyManagementApi->new();
my $id = id_example; # String | Identifier of the Individual

eval { 
    $api_instance->deleteIndividual(id => $id);
};
if ($@) {
    warn "Exception when calling PartyManagementApi->deleteIndividual: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: oauth2_Password
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: oauth2_client_credentials
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PartyManagementApi()
id = id_example # String | Identifier of the Individual

try: 
    # Deletes a Individual
    api_instance.delete_individual(id)
except ApiException as e:
    print("Exception when calling PartyManagementApi->deleteIndividual: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the Individual
Required

Responses

Status: 204 - Deleted

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found

Status: 405 - Method Not allowed

Status: 409 - Conflict

Status: 500 - Internal Server Error


deleteOrganization

Deletes a Organization

This operation deletes a Organization entity.


/organization/{id}

Usage and SDK Samples

curl -X DELETE\
\
\
-H "Accept: application/json;charset=utf-8"\
"http://localhost:9001/partytmfwebservices/v2/organization/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PartyManagementApi;

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

public class PartyManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: oauth2_Password
        OAuth oauth2_Password = (OAuth) defaultClient.getAuthentication("oauth2_Password");
        oauth2_Password.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: oauth2_client_credentials
        OAuth oauth2_client_credentials = (OAuth) defaultClient.getAuthentication("oauth2_client_credentials");
        oauth2_client_credentials.setAccessToken("YOUR ACCESS TOKEN");

        PartyManagementApi apiInstance = new PartyManagementApi();
        String id = id_example; // String | Identifier of the Organization
        try {
            apiInstance.deleteOrganization(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#deleteOrganization");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PartyManagementApi;

public class PartyManagementApiExample {

    public static void main(String[] args) {
        PartyManagementApi apiInstance = new PartyManagementApi();
        String id = id_example; // String | Identifier of the Organization
        try {
            apiInstance.deleteOrganization(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#deleteOrganization");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_Password)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_client_credentials)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
String *id = id_example; // Identifier of the Organization

PartyManagementApi *apiInstance = [[PartyManagementApi alloc] init];

// Deletes a Organization
[apiInstance deleteOrganizationWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PartyManagementTmfWebservicesApi = require('party_management_tmf_webservices__api');
var defaultClient = PartyManagementTmfWebservicesApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2_Password
var oauth2_Password = defaultClient.authentications['oauth2_Password'];
oauth2_Password.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: oauth2_client_credentials
var oauth2_client_credentials = defaultClient.authentications['oauth2_client_credentials'];
oauth2_client_credentials.accessToken = "YOUR ACCESS TOKEN"

var api = new PartyManagementTmfWebservicesApi.PartyManagementApi()
var id = id_example; // {{String}} Identifier of the Organization

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteOrganization(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            // Configure OAuth2 access token for authorization: oauth2_Password
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: oauth2_client_credentials
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PartyManagementApi();
            var id = id_example;  // String | Identifier of the Organization

            try
            {
                // Deletes a Organization
                apiInstance.deleteOrganization(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PartyManagementApi.deleteOrganization: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oauth2_Password
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2_client_credentials
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\ApiPartyManagementApi();
$id = id_example; // String | Identifier of the Organization

try {
    $api_instance->deleteOrganization($id);
} catch (Exception $e) {
    echo 'Exception when calling PartyManagementApi->deleteOrganization: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PartyManagementApi;

# Configure OAuth2 access token for authorization: oauth2_Password
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: oauth2_client_credentials
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PartyManagementApi->new();
my $id = id_example; # String | Identifier of the Organization

eval { 
    $api_instance->deleteOrganization(id => $id);
};
if ($@) {
    warn "Exception when calling PartyManagementApi->deleteOrganization: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: oauth2_Password
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: oauth2_client_credentials
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PartyManagementApi()
id = id_example # String | Identifier of the Organization

try: 
    # Deletes a Organization
    api_instance.delete_organization(id)
except ApiException as e:
    print("Exception when calling PartyManagementApi->deleteOrganization: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the Organization
Required

Responses

Status: 204 - Deleted

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found

Status: 405 - Method Not allowed

Status: 409 - Conflict

Status: 500 - Internal Server Error


listIndividual

List or find Individual objects

This operation list or find Individual entities


/individual

Usage and SDK Samples

curl -X GET\
\
\
-H "Accept: application/json;charset=utf-8"\
"http://localhost:9001/partytmfwebservices/v2/individual?familyName=&fields=&givenName=&limit=&offset="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PartyManagementApi;

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

public class PartyManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: oauth2_Password
        OAuth oauth2_Password = (OAuth) defaultClient.getAuthentication("oauth2_Password");
        oauth2_Password.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: oauth2_client_credentials
        OAuth oauth2_client_credentials = (OAuth) defaultClient.getAuthentication("oauth2_client_credentials");
        oauth2_client_credentials.setAccessToken("YOUR ACCESS TOKEN");

        PartyManagementApi apiInstance = new PartyManagementApi();
        String familyName = familyName_example; // String | Requested family name for filtering
        String fields = fields_example; // String | Comma-separated properties to be provided in response
        String givenName = givenName_example; // String | Requested given name for filtering
        Integer limit = 56; // Integer | Requested number of resources to be provided in response
        Integer offset = 56; // Integer | Requested index for start of resources to be provided in response
        try {
            array[Individual] result = apiInstance.listIndividual(familyName, fields, givenName, limit, offset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#listIndividual");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PartyManagementApi;

public class PartyManagementApiExample {

    public static void main(String[] args) {
        PartyManagementApi apiInstance = new PartyManagementApi();
        String familyName = familyName_example; // String | Requested family name for filtering
        String fields = fields_example; // String | Comma-separated properties to be provided in response
        String givenName = givenName_example; // String | Requested given name for filtering
        Integer limit = 56; // Integer | Requested number of resources to be provided in response
        Integer offset = 56; // Integer | Requested index for start of resources to be provided in response
        try {
            array[Individual] result = apiInstance.listIndividual(familyName, fields, givenName, limit, offset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#listIndividual");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_Password)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_client_credentials)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
String *familyName = familyName_example; // Requested family name for filtering (optional)
String *fields = fields_example; // Comma-separated properties to be provided in response (optional)
String *givenName = givenName_example; // Requested given name for filtering (optional)
Integer *limit = 56; // Requested number of resources to be provided in response (optional)
Integer *offset = 56; // Requested index for start of resources to be provided in response (optional)

PartyManagementApi *apiInstance = [[PartyManagementApi alloc] init];

// List or find Individual objects
[apiInstance listIndividualWith:familyName
    fields:fields
    givenName:givenName
    limit:limit
    offset:offset
              completionHandler: ^(array[Individual] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PartyManagementTmfWebservicesApi = require('party_management_tmf_webservices__api');
var defaultClient = PartyManagementTmfWebservicesApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2_Password
var oauth2_Password = defaultClient.authentications['oauth2_Password'];
oauth2_Password.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: oauth2_client_credentials
var oauth2_client_credentials = defaultClient.authentications['oauth2_client_credentials'];
oauth2_client_credentials.accessToken = "YOUR ACCESS TOKEN"

var api = new PartyManagementTmfWebservicesApi.PartyManagementApi()
var opts = { 
  'familyName': familyName_example, // {{String}} Requested family name for filtering
  'fields': fields_example, // {{String}} Comma-separated properties to be provided in response
  'givenName': givenName_example, // {{String}} Requested given name for filtering
  'limit': 56, // {{Integer}} Requested number of resources to be provided in response
  'offset': 56 // {{Integer}} Requested index for start of resources to be provided in response
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listIndividual(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            // Configure OAuth2 access token for authorization: oauth2_Password
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: oauth2_client_credentials
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PartyManagementApi();
            var familyName = familyName_example;  // String | Requested family name for filtering (optional) 
            var fields = fields_example;  // String | Comma-separated properties to be provided in response (optional) 
            var givenName = givenName_example;  // String | Requested given name for filtering (optional) 
            var limit = 56;  // Integer | Requested number of resources to be provided in response (optional) 
            var offset = 56;  // Integer | Requested index for start of resources to be provided in response (optional) 

            try
            {
                // List or find Individual objects
                array[Individual] result = apiInstance.listIndividual(familyName, fields, givenName, limit, offset);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PartyManagementApi.listIndividual: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oauth2_Password
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2_client_credentials
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\ApiPartyManagementApi();
$familyName = familyName_example; // String | Requested family name for filtering
$fields = fields_example; // String | Comma-separated properties to be provided in response
$givenName = givenName_example; // String | Requested given name for filtering
$limit = 56; // Integer | Requested number of resources to be provided in response
$offset = 56; // Integer | Requested index for start of resources to be provided in response

try {
    $result = $api_instance->listIndividual($familyName, $fields, $givenName, $limit, $offset);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PartyManagementApi->listIndividual: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PartyManagementApi;

# Configure OAuth2 access token for authorization: oauth2_Password
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: oauth2_client_credentials
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PartyManagementApi->new();
my $familyName = familyName_example; # String | Requested family name for filtering
my $fields = fields_example; # String | Comma-separated properties to be provided in response
my $givenName = givenName_example; # String | Requested given name for filtering
my $limit = 56; # Integer | Requested number of resources to be provided in response
my $offset = 56; # Integer | Requested index for start of resources to be provided in response

eval { 
    my $result = $api_instance->listIndividual(familyName => $familyName, fields => $fields, givenName => $givenName, limit => $limit, offset => $offset);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PartyManagementApi->listIndividual: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: oauth2_Password
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: oauth2_client_credentials
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PartyManagementApi()
familyName = familyName_example # String | Requested family name for filtering (optional)
fields = fields_example # String | Comma-separated properties to be provided in response (optional)
givenName = givenName_example # String | Requested given name for filtering (optional)
limit = 56 # Integer | Requested number of resources to be provided in response (optional)
offset = 56 # Integer | Requested index for start of resources to be provided in response (optional)

try: 
    # List or find Individual objects
    api_response = api_instance.list_individual(familyName=familyName, fields=fields, givenName=givenName, limit=limit, offset=offset)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PartyManagementApi->listIndividual: %s\n" % e)

Parameters

Query parameters
Name Description
familyName
String
Requested family name for filtering
fields
String
Comma-separated properties to be provided in response
givenName
String
Requested given name for filtering
limit
Integer (int32)
Requested number of resources to be provided in response
offset
Integer (int32)
Requested index for start of resources to be provided in response

Responses

Status: 200 - Success

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found

Status: 405 - Method Not allowed

Status: 409 - Conflict

Status: 500 - Internal Server Error


listOrganization

List or find Organization objects

This operation list or find Organization entities


/organization

Usage and SDK Samples

curl -X GET\
\
\
-H "Accept: application/json;charset=utf-8"\
"http://localhost:9001/partytmfwebservices/v2/organization?fields=&limit=&offset=&tradingName="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PartyManagementApi;

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

public class PartyManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: oauth2_Password
        OAuth oauth2_Password = (OAuth) defaultClient.getAuthentication("oauth2_Password");
        oauth2_Password.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: oauth2_client_credentials
        OAuth oauth2_client_credentials = (OAuth) defaultClient.getAuthentication("oauth2_client_credentials");
        oauth2_client_credentials.setAccessToken("YOUR ACCESS TOKEN");

        PartyManagementApi apiInstance = new PartyManagementApi();
        String fields = fields_example; // String | Comma-separated properties to be provided in response
        Integer limit = 56; // Integer | Requested number of resources to be provided in response
        Integer offset = 56; // Integer | Requested index for start of resources to be provided in response
        String tradingName = tradingName_example; // String | For filtering: Trading name
        try {
            array[Organization] result = apiInstance.listOrganization(fields, limit, offset, tradingName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#listOrganization");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PartyManagementApi;

public class PartyManagementApiExample {

    public static void main(String[] args) {
        PartyManagementApi apiInstance = new PartyManagementApi();
        String fields = fields_example; // String | Comma-separated properties to be provided in response
        Integer limit = 56; // Integer | Requested number of resources to be provided in response
        Integer offset = 56; // Integer | Requested index for start of resources to be provided in response
        String tradingName = tradingName_example; // String | For filtering: Trading name
        try {
            array[Organization] result = apiInstance.listOrganization(fields, limit, offset, tradingName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#listOrganization");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_Password)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_client_credentials)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
String *fields = fields_example; // Comma-separated properties to be provided in response (optional)
Integer *limit = 56; // Requested number of resources to be provided in response (optional)
Integer *offset = 56; // Requested index for start of resources to be provided in response (optional)
String *tradingName = tradingName_example; // For filtering: Trading name (optional)

PartyManagementApi *apiInstance = [[PartyManagementApi alloc] init];

// List or find Organization objects
[apiInstance listOrganizationWith:fields
    limit:limit
    offset:offset
    tradingName:tradingName
              completionHandler: ^(array[Organization] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PartyManagementTmfWebservicesApi = require('party_management_tmf_webservices__api');
var defaultClient = PartyManagementTmfWebservicesApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2_Password
var oauth2_Password = defaultClient.authentications['oauth2_Password'];
oauth2_Password.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: oauth2_client_credentials
var oauth2_client_credentials = defaultClient.authentications['oauth2_client_credentials'];
oauth2_client_credentials.accessToken = "YOUR ACCESS TOKEN"

var api = new PartyManagementTmfWebservicesApi.PartyManagementApi()
var opts = { 
  'fields': fields_example, // {{String}} Comma-separated properties to be provided in response
  'limit': 56, // {{Integer}} Requested number of resources to be provided in response
  'offset': 56, // {{Integer}} Requested index for start of resources to be provided in response
  'tradingName': tradingName_example // {{String}} For filtering: Trading name
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listOrganization(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            // Configure OAuth2 access token for authorization: oauth2_Password
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: oauth2_client_credentials
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PartyManagementApi();
            var fields = fields_example;  // String | Comma-separated properties to be provided in response (optional) 
            var limit = 56;  // Integer | Requested number of resources to be provided in response (optional) 
            var offset = 56;  // Integer | Requested index for start of resources to be provided in response (optional) 
            var tradingName = tradingName_example;  // String | For filtering: Trading name (optional) 

            try
            {
                // List or find Organization objects
                array[Organization] result = apiInstance.listOrganization(fields, limit, offset, tradingName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PartyManagementApi.listOrganization: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oauth2_Password
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2_client_credentials
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\ApiPartyManagementApi();
$fields = fields_example; // String | Comma-separated properties to be provided in response
$limit = 56; // Integer | Requested number of resources to be provided in response
$offset = 56; // Integer | Requested index for start of resources to be provided in response
$tradingName = tradingName_example; // String | For filtering: Trading name

try {
    $result = $api_instance->listOrganization($fields, $limit, $offset, $tradingName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PartyManagementApi->listOrganization: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PartyManagementApi;

# Configure OAuth2 access token for authorization: oauth2_Password
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: oauth2_client_credentials
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PartyManagementApi->new();
my $fields = fields_example; # String | Comma-separated properties to be provided in response
my $limit = 56; # Integer | Requested number of resources to be provided in response
my $offset = 56; # Integer | Requested index for start of resources to be provided in response
my $tradingName = tradingName_example; # String | For filtering: Trading name

eval { 
    my $result = $api_instance->listOrganization(fields => $fields, limit => $limit, offset => $offset, tradingName => $tradingName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PartyManagementApi->listOrganization: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: oauth2_Password
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: oauth2_client_credentials
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PartyManagementApi()
fields = fields_example # String | Comma-separated properties to be provided in response (optional)
limit = 56 # Integer | Requested number of resources to be provided in response (optional)
offset = 56 # Integer | Requested index for start of resources to be provided in response (optional)
tradingName = tradingName_example # String | For filtering: Trading name (optional)

try: 
    # List or find Organization objects
    api_response = api_instance.list_organization(fields=fields, limit=limit, offset=offset, tradingName=tradingName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PartyManagementApi->listOrganization: %s\n" % e)

Parameters

Query parameters
Name Description
fields
String
Comma-separated properties to be provided in response
limit
Integer (int32)
Requested number of resources to be provided in response
offset
Integer (int32)
Requested index for start of resources to be provided in response
tradingName
String
For filtering: Trading name

Responses

Status: 200 - Success

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found

Status: 405 - Method Not allowed

Status: 409 - Conflict

Status: 500 - Internal Server Error


retrieveIndividual

Retrieves a Individual by ID

This operation retrieves a Individual entity. Attribute selection is enabled for all first level attributes.


/individual/{id}

Usage and SDK Samples

curl -X GET\
\
\
-H "Accept: application/json;charset=utf-8"\
"http://localhost:9001/partytmfwebservices/v2/individual/{id}?fields="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PartyManagementApi;

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

public class PartyManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: oauth2_Password
        OAuth oauth2_Password = (OAuth) defaultClient.getAuthentication("oauth2_Password");
        oauth2_Password.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: oauth2_client_credentials
        OAuth oauth2_client_credentials = (OAuth) defaultClient.getAuthentication("oauth2_client_credentials");
        oauth2_client_credentials.setAccessToken("YOUR ACCESS TOKEN");

        PartyManagementApi apiInstance = new PartyManagementApi();
        String id = id_example; // String | Identifier of the Individual
        String fields = fields_example; // String | Comma-separated properties to provide in response
        try {
            Individual result = apiInstance.retrieveIndividual(id, fields);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#retrieveIndividual");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PartyManagementApi;

public class PartyManagementApiExample {

    public static void main(String[] args) {
        PartyManagementApi apiInstance = new PartyManagementApi();
        String id = id_example; // String | Identifier of the Individual
        String fields = fields_example; // String | Comma-separated properties to provide in response
        try {
            Individual result = apiInstance.retrieveIndividual(id, fields);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#retrieveIndividual");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_Password)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_client_credentials)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
String *id = id_example; // Identifier of the Individual
String *fields = fields_example; // Comma-separated properties to provide in response (optional)

PartyManagementApi *apiInstance = [[PartyManagementApi alloc] init];

// Retrieves a Individual by ID
[apiInstance retrieveIndividualWith:id
    fields:fields
              completionHandler: ^(Individual output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PartyManagementTmfWebservicesApi = require('party_management_tmf_webservices__api');
var defaultClient = PartyManagementTmfWebservicesApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2_Password
var oauth2_Password = defaultClient.authentications['oauth2_Password'];
oauth2_Password.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: oauth2_client_credentials
var oauth2_client_credentials = defaultClient.authentications['oauth2_client_credentials'];
oauth2_client_credentials.accessToken = "YOUR ACCESS TOKEN"

var api = new PartyManagementTmfWebservicesApi.PartyManagementApi()
var id = id_example; // {{String}} Identifier of the Individual
var opts = { 
  'fields': fields_example // {{String}} Comma-separated properties to provide in response
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrieveIndividual(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            // Configure OAuth2 access token for authorization: oauth2_Password
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: oauth2_client_credentials
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PartyManagementApi();
            var id = id_example;  // String | Identifier of the Individual
            var fields = fields_example;  // String | Comma-separated properties to provide in response (optional) 

            try
            {
                // Retrieves a Individual by ID
                Individual result = apiInstance.retrieveIndividual(id, fields);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PartyManagementApi.retrieveIndividual: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oauth2_Password
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2_client_credentials
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\ApiPartyManagementApi();
$id = id_example; // String | Identifier of the Individual
$fields = fields_example; // String | Comma-separated properties to provide in response

try {
    $result = $api_instance->retrieveIndividual($id, $fields);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PartyManagementApi->retrieveIndividual: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PartyManagementApi;

# Configure OAuth2 access token for authorization: oauth2_Password
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: oauth2_client_credentials
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PartyManagementApi->new();
my $id = id_example; # String | Identifier of the Individual
my $fields = fields_example; # String | Comma-separated properties to provide in response

eval { 
    my $result = $api_instance->retrieveIndividual(id => $id, fields => $fields);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PartyManagementApi->retrieveIndividual: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: oauth2_Password
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: oauth2_client_credentials
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PartyManagementApi()
id = id_example # String | Identifier of the Individual
fields = fields_example # String | Comma-separated properties to provide in response (optional)

try: 
    # Retrieves a Individual by ID
    api_response = api_instance.retrieve_individual(id, fields=fields)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PartyManagementApi->retrieveIndividual: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the Individual
Required
Query parameters
Name Description
fields
String
Comma-separated properties to provide in response

Responses

Status: 200 - Success

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found

Status: 405 - Method Not allowed

Status: 409 - Conflict

Status: 500 - Internal Server Error


retrieveOrganization

Retrieves a Organization by ID

This operation retrieves a Organization entity. Attribute selection is enabled for all first level attributes.


/organization/{id}

Usage and SDK Samples

curl -X GET\
\
\
-H "Accept: application/json;charset=utf-8"\
"http://localhost:9001/partytmfwebservices/v2/organization/{id}?fields="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PartyManagementApi;

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

public class PartyManagementApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: oauth2_Password
        OAuth oauth2_Password = (OAuth) defaultClient.getAuthentication("oauth2_Password");
        oauth2_Password.setAccessToken("YOUR ACCESS TOKEN");

        // Configure OAuth2 access token for authorization: oauth2_client_credentials
        OAuth oauth2_client_credentials = (OAuth) defaultClient.getAuthentication("oauth2_client_credentials");
        oauth2_client_credentials.setAccessToken("YOUR ACCESS TOKEN");

        PartyManagementApi apiInstance = new PartyManagementApi();
        String id = id_example; // String | Identifier of the Organization
        String fields = fields_example; // String | Comma-separated properties to provide in response
        try {
            Organization result = apiInstance.retrieveOrganization(id, fields);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#retrieveOrganization");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PartyManagementApi;

public class PartyManagementApiExample {

    public static void main(String[] args) {
        PartyManagementApi apiInstance = new PartyManagementApi();
        String id = id_example; // String | Identifier of the Organization
        String fields = fields_example; // String | Comma-separated properties to provide in response
        try {
            Organization result = apiInstance.retrieveOrganization(id, fields);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartyManagementApi#retrieveOrganization");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_Password)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
// Configure OAuth2 access token for authorization: (authentication scheme: oauth2_client_credentials)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
String *id = id_example; // Identifier of the Organization
String *fields = fields_example; // Comma-separated properties to provide in response (optional)

PartyManagementApi *apiInstance = [[PartyManagementApi alloc] init];

// Retrieves a Organization by ID
[apiInstance retrieveOrganizationWith:id
    fields:fields
              completionHandler: ^(Organization output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PartyManagementTmfWebservicesApi = require('party_management_tmf_webservices__api');
var defaultClient = PartyManagementTmfWebservicesApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2_Password
var oauth2_Password = defaultClient.authentications['oauth2_Password'];
oauth2_Password.accessToken = "YOUR ACCESS TOKEN"

// Configure OAuth2 access token for authorization: oauth2_client_credentials
var oauth2_client_credentials = defaultClient.authentications['oauth2_client_credentials'];
oauth2_client_credentials.accessToken = "YOUR ACCESS TOKEN"

var api = new PartyManagementTmfWebservicesApi.PartyManagementApi()
var id = id_example; // {{String}} Identifier of the Organization
var opts = { 
  'fields': fields_example // {{String}} Comma-separated properties to provide in response
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrieveOrganization(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            // Configure OAuth2 access token for authorization: oauth2_Password
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
            // Configure OAuth2 access token for authorization: oauth2_client_credentials
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PartyManagementApi();
            var id = id_example;  // String | Identifier of the Organization
            var fields = fields_example;  // String | Comma-separated properties to provide in response (optional) 

            try
            {
                // Retrieves a Organization by ID
                Organization result = apiInstance.retrieveOrganization(id, fields);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PartyManagementApi.retrieveOrganization: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: oauth2_Password
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
// Configure OAuth2 access token for authorization: oauth2_client_credentials
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Client\ApiPartyManagementApi();
$id = id_example; // String | Identifier of the Organization
$fields = fields_example; // String | Comma-separated properties to provide in response

try {
    $result = $api_instance->retrieveOrganization($id, $fields);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PartyManagementApi->retrieveOrganization: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PartyManagementApi;

# Configure OAuth2 access token for authorization: oauth2_Password
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
# Configure OAuth2 access token for authorization: oauth2_client_credentials
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

my $api_instance = WWW::SwaggerClient::PartyManagementApi->new();
my $id = id_example; # String | Identifier of the Organization
my $fields = fields_example; # String | Comma-separated properties to provide in response

eval { 
    my $result = $api_instance->retrieveOrganization(id => $id, fields => $fields);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PartyManagementApi->retrieveOrganization: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: oauth2_Password
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: oauth2_client_credentials
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = swagger_client.PartyManagementApi()
id = id_example # String | Identifier of the Organization
fields = fields_example # String | Comma-separated properties to provide in response (optional)

try: 
    # Retrieves a Organization by ID
    api_response = api_instance.retrieve_organization(id, fields=fields)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PartyManagementApi->retrieveOrganization: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the Organization
Required
Query parameters
Name Description
fields
String
Comma-separated properties to provide in response

Responses

Status: 200 - Success

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 404 - Not Found

Status: 405 - Method Not allowed

Status: 409 - Conflict

Status: 500 - Internal Server Error