billingaccounttmfwebservices API

BillFormatManagement

createBillFormat

Creates a BillFormat

This operation creates a BillFormat entity.


/billFormat

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/billingaccounttmfwebservices/v2/billFormat"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillFormatManagementApi;

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

public class BillFormatManagementApiExample {

    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");

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

public class BillFormatManagementApiExample {

    public static void main(String[] args) {
        BillFormatManagementApi apiInstance = new BillFormatManagementApi();
        BillFormat body = ; // BillFormat | 
        try {
            BillFormat result = apiInstance.createBillFormat(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillFormatManagementApi#createBillFormat");
            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"];
BillFormat *body = ; // 

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

// Creates a BillFormat
[apiInstance createBillFormatWith:body
              completionHandler: ^(BillFormat output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillFormatManagementApi()
var body = ; // {{BillFormat}} 

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

namespace Example
{
    public class createBillFormatExample
    {
        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 BillFormatManagementApi();
            var body = new BillFormat(); // BillFormat | 

            try
            {
                // Creates a BillFormat
                BillFormat result = apiInstance.createBillFormat(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillFormatManagementApi.createBillFormat: " + 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\ApiBillFormatManagementApi();
$body = ; // BillFormat | 

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

# 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::BillFormatManagementApi->new();
my $body = WWW::SwaggerClient::Object::BillFormat->new(); # BillFormat | 

eval { 
    my $result = $api_instance->createBillFormat(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillFormatManagementApi->createBillFormat: $@\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.BillFormatManagementApi()
body =  # BillFormat | 

try: 
    # Creates a BillFormat
    api_response = api_instance.create_bill_format(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillFormatManagementApi->createBillFormat: %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


deleteBillFormat

Deletes a BillFormat

This operation deletes a BillFormat entity.


/billFormat/{id}

Usage and SDK Samples

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

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

public class BillFormatManagementApiExample {

    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");

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

public class BillFormatManagementApiExample {

    public static void main(String[] args) {
        BillFormatManagementApi apiInstance = new BillFormatManagementApi();
        String id = id_example; // String | Identifier of the BillFormat
        try {
            apiInstance.deleteBillFormat(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillFormatManagementApi#deleteBillFormat");
            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 BillFormat

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

// Deletes a BillFormat
[apiInstance deleteBillFormatWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillFormatManagementApi()
var id = id_example; // {{String}} Identifier of the BillFormat

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

namespace Example
{
    public class deleteBillFormatExample
    {
        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 BillFormatManagementApi();
            var id = id_example;  // String | Identifier of the BillFormat

            try
            {
                // Deletes a BillFormat
                apiInstance.deleteBillFormat(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillFormatManagementApi.deleteBillFormat: " + 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\ApiBillFormatManagementApi();
$id = id_example; // String | Identifier of the BillFormat

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

# 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::BillFormatManagementApi->new();
my $id = id_example; # String | Identifier of the BillFormat

eval { 
    $api_instance->deleteBillFormat(id => $id);
};
if ($@) {
    warn "Exception when calling BillFormatManagementApi->deleteBillFormat: $@\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.BillFormatManagementApi()
id = id_example # String | Identifier of the BillFormat

try: 
    # Deletes a BillFormat
    api_instance.delete_bill_format(id)
except ApiException as e:
    print("Exception when calling BillFormatManagementApi->deleteBillFormat: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillFormat
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


listBillFormat

List or find bill format objects

This operation list or find BillFormat entities


/billFormat

Usage and SDK Samples

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

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

public class BillFormatManagementApiExample {

    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");

        BillFormatManagementApi apiInstance = new BillFormatManagementApi();
        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
        try {
            array[BillFormat] result = apiInstance.listBillFormat(fields, limit, offset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillFormatManagementApi#listBillFormat");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillFormatManagementApi;

public class BillFormatManagementApiExample {

    public static void main(String[] args) {
        BillFormatManagementApi apiInstance = new BillFormatManagementApi();
        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
        try {
            array[BillFormat] result = apiInstance.listBillFormat(fields, limit, offset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillFormatManagementApi#listBillFormat");
            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)

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

// List or find bill format objects
[apiInstance listBillFormatWith:fields
    limit:limit
    offset:offset
              completionHandler: ^(array[BillFormat] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillFormatManagementApi()
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
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listBillFormat(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class listBillFormatExample
    {
        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 BillFormatManagementApi();
            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) 

            try
            {
                // List or find bill format objects
                array[BillFormat] result = apiInstance.listBillFormat(fields, limit, offset);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillFormatManagementApi.listBillFormat: " + 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\ApiBillFormatManagementApi();
$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

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

# 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::BillFormatManagementApi->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

eval { 
    my $result = $api_instance->listBillFormat(fields => $fields, limit => $limit, offset => $offset);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillFormatManagementApi->listBillFormat: $@\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.BillFormatManagementApi()
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)

try: 
    # List or find bill format objects
    api_response = api_instance.list_bill_format(fields=fields, limit=limit, offset=offset)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillFormatManagementApi->listBillFormat: %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

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


patchBillFormat

Updates partially a BillFormat

This operation updates partially a BillFormat entity.


/billFormat/{id}

Usage and SDK Samples

curl -X PATCH\
\
\
-H "Accept: application/json;charset=utf-8"\
-H "Content-Type: application/json;charset=utf-8"\
"http://localhost:9001/billingaccounttmfwebservices/v2/billFormat/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillFormatManagementApi;

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

public class BillFormatManagementApiExample {

    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");

        BillFormatManagementApi apiInstance = new BillFormatManagementApi();
        BillFormat body = ; // BillFormat | 
        String id = id_example; // String | Identifier of the BillFormat
        try {
            BillFormat result = apiInstance.patchBillFormat(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillFormatManagementApi#patchBillFormat");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillFormatManagementApi;

public class BillFormatManagementApiExample {

    public static void main(String[] args) {
        BillFormatManagementApi apiInstance = new BillFormatManagementApi();
        BillFormat body = ; // BillFormat | 
        String id = id_example; // String | Identifier of the BillFormat
        try {
            BillFormat result = apiInstance.patchBillFormat(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillFormatManagementApi#patchBillFormat");
            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"];
BillFormat *body = ; // 
String *id = id_example; // Identifier of the BillFormat

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

// Updates partially a BillFormat
[apiInstance patchBillFormatWith:body
    id:id
              completionHandler: ^(BillFormat output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillFormatManagementApi()
var body = ; // {{BillFormat}} 
var id = id_example; // {{String}} Identifier of the BillFormat

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

namespace Example
{
    public class patchBillFormatExample
    {
        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 BillFormatManagementApi();
            var body = new BillFormat(); // BillFormat | 
            var id = id_example;  // String | Identifier of the BillFormat

            try
            {
                // Updates partially a BillFormat
                BillFormat result = apiInstance.patchBillFormat(body, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillFormatManagementApi.patchBillFormat: " + 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\ApiBillFormatManagementApi();
$body = ; // BillFormat | 
$id = id_example; // String | Identifier of the BillFormat

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

# 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::BillFormatManagementApi->new();
my $body = WWW::SwaggerClient::Object::BillFormat->new(); # BillFormat | 
my $id = id_example; # String | Identifier of the BillFormat

eval { 
    my $result = $api_instance->patchBillFormat(body => $body, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillFormatManagementApi->patchBillFormat: $@\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.BillFormatManagementApi()
body =  # BillFormat | 
id = id_example # String | Identifier of the BillFormat

try: 
    # Updates partially a BillFormat
    api_response = api_instance.patch_bill_format(body, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillFormatManagementApi->patchBillFormat: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillFormat
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Updated

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


retrieveBillFormat

Retrieves a BillFormat by ID

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


/billFormat/{id}

Usage and SDK Samples

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

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

public class BillFormatManagementApiExample {

    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");

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

public class BillFormatManagementApiExample {

    public static void main(String[] args) {
        BillFormatManagementApi apiInstance = new BillFormatManagementApi();
        String id = id_example; // String | Identifier of the BillFormat
        String fields = fields_example; // String | Comma-separated properties to provide in response
        try {
            BillFormat result = apiInstance.retrieveBillFormat(id, fields);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillFormatManagementApi#retrieveBillFormat");
            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 BillFormat
String *fields = fields_example; // Comma-separated properties to provide in response (optional)

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

// Retrieves a BillFormat by ID
[apiInstance retrieveBillFormatWith:id
    fields:fields
              completionHandler: ^(BillFormat output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillFormatManagementApi()
var id = id_example; // {{String}} Identifier of the BillFormat
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.retrieveBillFormat(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class retrieveBillFormatExample
    {
        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 BillFormatManagementApi();
            var id = id_example;  // String | Identifier of the BillFormat
            var fields = fields_example;  // String | Comma-separated properties to provide in response (optional) 

            try
            {
                // Retrieves a BillFormat by ID
                BillFormat result = apiInstance.retrieveBillFormat(id, fields);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillFormatManagementApi.retrieveBillFormat: " + 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\ApiBillFormatManagementApi();
$id = id_example; // String | Identifier of the BillFormat
$fields = fields_example; // String | Comma-separated properties to provide in response

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

# 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::BillFormatManagementApi->new();
my $id = id_example; # String | Identifier of the BillFormat
my $fields = fields_example; # String | Comma-separated properties to provide in response

eval { 
    my $result = $api_instance->retrieveBillFormat(id => $id, fields => $fields);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillFormatManagementApi->retrieveBillFormat: $@\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.BillFormatManagementApi()
id = id_example # String | Identifier of the BillFormat
fields = fields_example # String | Comma-separated properties to provide in response (optional)

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

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillFormat
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


BillPresentationMedia

createBillPresentationMedia

Create BillPresentationMedia object

This operation will create a BillPresentationMedia entity


/billPresentationMedia

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/billingaccounttmfwebservices/v2/billPresentationMedia"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillPresentationMediaApi;

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

public class BillPresentationMediaApiExample {

    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");

        BillPresentationMediaApi apiInstance = new BillPresentationMediaApi();
        BillPresentationMedia body = ; // BillPresentationMedia | 
        try {
            array[BillPresentationMedia] result = apiInstance.createBillPresentationMedia(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillPresentationMediaApi#createBillPresentationMedia");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillPresentationMediaApi;

public class BillPresentationMediaApiExample {

    public static void main(String[] args) {
        BillPresentationMediaApi apiInstance = new BillPresentationMediaApi();
        BillPresentationMedia body = ; // BillPresentationMedia | 
        try {
            array[BillPresentationMedia] result = apiInstance.createBillPresentationMedia(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillPresentationMediaApi#createBillPresentationMedia");
            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"];
BillPresentationMedia *body = ; // 

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

// Create BillPresentationMedia object
[apiInstance createBillPresentationMediaWith:body
              completionHandler: ^(array[BillPresentationMedia] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillPresentationMediaApi()
var body = ; // {{BillPresentationMedia}} 

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

namespace Example
{
    public class createBillPresentationMediaExample
    {
        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 BillPresentationMediaApi();
            var body = new BillPresentationMedia(); // BillPresentationMedia | 

            try
            {
                // Create BillPresentationMedia object
                array[BillPresentationMedia] result = apiInstance.createBillPresentationMedia(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillPresentationMediaApi.createBillPresentationMedia: " + 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\ApiBillPresentationMediaApi();
$body = ; // BillPresentationMedia | 

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

# 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::BillPresentationMediaApi->new();
my $body = WWW::SwaggerClient::Object::BillPresentationMedia->new(); # BillPresentationMedia | 

eval { 
    my $result = $api_instance->createBillPresentationMedia(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillPresentationMediaApi->createBillPresentationMedia: $@\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.BillPresentationMediaApi()
body =  # BillPresentationMedia | 

try: 
    # Create BillPresentationMedia object
    api_response = api_instance.create_bill_presentation_media(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillPresentationMediaApi->createBillPresentationMedia: %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


deleteBillPresentationMedia

Deletes a BillPresentationMedia

This operation deletes a BillPresentationMedia entity.


/billPresentationMedia/{id}

Usage and SDK Samples

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

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

public class BillPresentationMediaApiExample {

    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");

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

public class BillPresentationMediaApiExample {

    public static void main(String[] args) {
        BillPresentationMediaApi apiInstance = new BillPresentationMediaApi();
        String id = id_example; // String | Identifier of the BillPresentationMedia
        try {
            apiInstance.deleteBillPresentationMedia(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillPresentationMediaApi#deleteBillPresentationMedia");
            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 BillPresentationMedia

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

// Deletes a BillPresentationMedia
[apiInstance deleteBillPresentationMediaWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillPresentationMediaApi()
var id = id_example; // {{String}} Identifier of the BillPresentationMedia

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

namespace Example
{
    public class deleteBillPresentationMediaExample
    {
        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 BillPresentationMediaApi();
            var id = id_example;  // String | Identifier of the BillPresentationMedia

            try
            {
                // Deletes a BillPresentationMedia
                apiInstance.deleteBillPresentationMedia(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillPresentationMediaApi.deleteBillPresentationMedia: " + 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\ApiBillPresentationMediaApi();
$id = id_example; // String | Identifier of the BillPresentationMedia

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

# 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::BillPresentationMediaApi->new();
my $id = id_example; # String | Identifier of the BillPresentationMedia

eval { 
    $api_instance->deleteBillPresentationMedia(id => $id);
};
if ($@) {
    warn "Exception when calling BillPresentationMediaApi->deleteBillPresentationMedia: $@\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.BillPresentationMediaApi()
id = id_example # String | Identifier of the BillPresentationMedia

try: 
    # Deletes a BillPresentationMedia
    api_instance.delete_bill_presentation_media(id)
except ApiException as e:
    print("Exception when calling BillPresentationMediaApi->deleteBillPresentationMedia: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillPresentationMedia
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


listBillPresentationMedia

List or find BillPresentationMedia objects

This operation list or find BillPresentationMedia entities


/billPresentationMedia

Usage and SDK Samples

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

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

public class BillPresentationMediaApiExample {

    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");

        BillPresentationMediaApi apiInstance = new BillPresentationMediaApi();
        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
        try {
            array[BillPresentationMedia] result = apiInstance.listBillPresentationMedia(fields, limit, offset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillPresentationMediaApi#listBillPresentationMedia");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillPresentationMediaApi;

public class BillPresentationMediaApiExample {

    public static void main(String[] args) {
        BillPresentationMediaApi apiInstance = new BillPresentationMediaApi();
        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
        try {
            array[BillPresentationMedia] result = apiInstance.listBillPresentationMedia(fields, limit, offset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillPresentationMediaApi#listBillPresentationMedia");
            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)

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

// List or find BillPresentationMedia objects
[apiInstance listBillPresentationMediaWith:fields
    limit:limit
    offset:offset
              completionHandler: ^(array[BillPresentationMedia] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillPresentationMediaApi()
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
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listBillPresentationMedia(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class listBillPresentationMediaExample
    {
        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 BillPresentationMediaApi();
            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) 

            try
            {
                // List or find BillPresentationMedia objects
                array[BillPresentationMedia] result = apiInstance.listBillPresentationMedia(fields, limit, offset);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillPresentationMediaApi.listBillPresentationMedia: " + 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\ApiBillPresentationMediaApi();
$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

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

# 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::BillPresentationMediaApi->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

eval { 
    my $result = $api_instance->listBillPresentationMedia(fields => $fields, limit => $limit, offset => $offset);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillPresentationMediaApi->listBillPresentationMedia: $@\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.BillPresentationMediaApi()
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)

try: 
    # List or find BillPresentationMedia objects
    api_response = api_instance.list_bill_presentation_media(fields=fields, limit=limit, offset=offset)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillPresentationMediaApi->listBillPresentationMedia: %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

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


patchBillPresentationMedia

Updates partially a BillPresentationMedia

This operation updates partially a BillPresentationMedia entity.


/billPresentationMedia/{id}

Usage and SDK Samples

curl -X PATCH\
\
\
-H "Accept: application/json;charset=utf-8,application/xml,application/json"\
-H "Content-Type: application/json;charset=utf-8"\
"http://localhost:9001/billingaccounttmfwebservices/v2/billPresentationMedia/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillPresentationMediaApi;

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

public class BillPresentationMediaApiExample {

    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");

        BillPresentationMediaApi apiInstance = new BillPresentationMediaApi();
        BillPresentationMedia body = ; // BillPresentationMedia | 
        String id = id_example; // String | Identifier of the BillPresentationMedia
        try {
            BillPresentationMedia result = apiInstance.patchBillPresentationMedia(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillPresentationMediaApi#patchBillPresentationMedia");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillPresentationMediaApi;

public class BillPresentationMediaApiExample {

    public static void main(String[] args) {
        BillPresentationMediaApi apiInstance = new BillPresentationMediaApi();
        BillPresentationMedia body = ; // BillPresentationMedia | 
        String id = id_example; // String | Identifier of the BillPresentationMedia
        try {
            BillPresentationMedia result = apiInstance.patchBillPresentationMedia(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillPresentationMediaApi#patchBillPresentationMedia");
            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"];
BillPresentationMedia *body = ; // 
String *id = id_example; // Identifier of the BillPresentationMedia

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

// Updates partially a BillPresentationMedia
[apiInstance patchBillPresentationMediaWith:body
    id:id
              completionHandler: ^(BillPresentationMedia output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillPresentationMediaApi()
var body = ; // {{BillPresentationMedia}} 
var id = id_example; // {{String}} Identifier of the BillPresentationMedia

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

namespace Example
{
    public class patchBillPresentationMediaExample
    {
        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 BillPresentationMediaApi();
            var body = new BillPresentationMedia(); // BillPresentationMedia | 
            var id = id_example;  // String | Identifier of the BillPresentationMedia

            try
            {
                // Updates partially a BillPresentationMedia
                BillPresentationMedia result = apiInstance.patchBillPresentationMedia(body, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillPresentationMediaApi.patchBillPresentationMedia: " + 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\ApiBillPresentationMediaApi();
$body = ; // BillPresentationMedia | 
$id = id_example; // String | Identifier of the BillPresentationMedia

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

# 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::BillPresentationMediaApi->new();
my $body = WWW::SwaggerClient::Object::BillPresentationMedia->new(); # BillPresentationMedia | 
my $id = id_example; # String | Identifier of the BillPresentationMedia

eval { 
    my $result = $api_instance->patchBillPresentationMedia(body => $body, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillPresentationMediaApi->patchBillPresentationMedia: $@\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.BillPresentationMediaApi()
body =  # BillPresentationMedia | 
id = id_example # String | Identifier of the BillPresentationMedia

try: 
    # Updates partially a BillPresentationMedia
    api_response = api_instance.patch_bill_presentation_media(body, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillPresentationMediaApi->patchBillPresentationMedia: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillPresentationMedia
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Updated

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


retrieveBillPresentationMedia

Retrieves a BillPresentationMedia by ID

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


/billPresentationMedia/{id}

Usage and SDK Samples

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

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

public class BillPresentationMediaApiExample {

    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");

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

public class BillPresentationMediaApiExample {

    public static void main(String[] args) {
        BillPresentationMediaApi apiInstance = new BillPresentationMediaApi();
        String id = id_example; // String | Identifier of the BillPresentationMedia
        String fields = fields_example; // String | Comma-separated properties to provide in response
        try {
            BillPresentationMedia result = apiInstance.retrieveBillPresentationMedia(id, fields);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillPresentationMediaApi#retrieveBillPresentationMedia");
            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 BillPresentationMedia
String *fields = fields_example; // Comma-separated properties to provide in response (optional)

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

// Retrieves a BillPresentationMedia by ID
[apiInstance retrieveBillPresentationMediaWith:id
    fields:fields
              completionHandler: ^(BillPresentationMedia output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillPresentationMediaApi()
var id = id_example; // {{String}} Identifier of the BillPresentationMedia
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.retrieveBillPresentationMedia(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class retrieveBillPresentationMediaExample
    {
        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 BillPresentationMediaApi();
            var id = id_example;  // String | Identifier of the BillPresentationMedia
            var fields = fields_example;  // String | Comma-separated properties to provide in response (optional) 

            try
            {
                // Retrieves a BillPresentationMedia by ID
                BillPresentationMedia result = apiInstance.retrieveBillPresentationMedia(id, fields);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillPresentationMediaApi.retrieveBillPresentationMedia: " + 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\ApiBillPresentationMediaApi();
$id = id_example; // String | Identifier of the BillPresentationMedia
$fields = fields_example; // String | Comma-separated properties to provide in response

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

# 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::BillPresentationMediaApi->new();
my $id = id_example; # String | Identifier of the BillPresentationMedia
my $fields = fields_example; # String | Comma-separated properties to provide in response

eval { 
    my $result = $api_instance->retrieveBillPresentationMedia(id => $id, fields => $fields);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillPresentationMediaApi->retrieveBillPresentationMedia: $@\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.BillPresentationMediaApi()
id = id_example # String | Identifier of the BillPresentationMedia
fields = fields_example # String | Comma-separated properties to provide in response (optional)

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

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillPresentationMedia
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


BillingAccount

createBillingAccount

Creates a BillingAccount

This operation creates a BillingAccount entity.


/billingAccount

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/billingaccounttmfwebservices/v2/billingAccount"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillingAccountApi;

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

public class BillingAccountApiExample {

    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");

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

public class BillingAccountApiExample {

    public static void main(String[] args) {
        BillingAccountApi apiInstance = new BillingAccountApi();
        BillingAccount body = ; // BillingAccount | 
        try {
            BillingAccount result = apiInstance.createBillingAccount(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingAccountApi#createBillingAccount");
            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"];
BillingAccount *body = ; // 

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

// Creates a BillingAccount
[apiInstance createBillingAccountWith:body
              completionHandler: ^(BillingAccount output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingAccountApi()
var body = ; // {{BillingAccount}} 

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

namespace Example
{
    public class createBillingAccountExample
    {
        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 BillingAccountApi();
            var body = new BillingAccount(); // BillingAccount | 

            try
            {
                // Creates a BillingAccount
                BillingAccount result = apiInstance.createBillingAccount(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingAccountApi.createBillingAccount: " + 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\ApiBillingAccountApi();
$body = ; // BillingAccount | 

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

# 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::BillingAccountApi->new();
my $body = WWW::SwaggerClient::Object::BillingAccount->new(); # BillingAccount | 

eval { 
    my $result = $api_instance->createBillingAccount(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillingAccountApi->createBillingAccount: $@\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.BillingAccountApi()
body =  # BillingAccount | 

try: 
    # Creates a BillingAccount
    api_response = api_instance.create_billing_account(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillingAccountApi->createBillingAccount: %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


deleteBillingAccount

Deletes a BillingAccount

This operation deletes a BillingAccount entity.


/billingAccount/{id}

Usage and SDK Samples

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

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

public class BillingAccountApiExample {

    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");

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

public class BillingAccountApiExample {

    public static void main(String[] args) {
        BillingAccountApi apiInstance = new BillingAccountApi();
        String id = id_example; // String | Identifier of the BillingAccount
        try {
            apiInstance.deleteBillingAccount(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingAccountApi#deleteBillingAccount");
            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 BillingAccount

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

// Deletes a BillingAccount
[apiInstance deleteBillingAccountWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingAccountApi()
var id = id_example; // {{String}} Identifier of the BillingAccount

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

namespace Example
{
    public class deleteBillingAccountExample
    {
        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 BillingAccountApi();
            var id = id_example;  // String | Identifier of the BillingAccount

            try
            {
                // Deletes a BillingAccount
                apiInstance.deleteBillingAccount(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingAccountApi.deleteBillingAccount: " + 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\ApiBillingAccountApi();
$id = id_example; // String | Identifier of the BillingAccount

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

# 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::BillingAccountApi->new();
my $id = id_example; # String | Identifier of the BillingAccount

eval { 
    $api_instance->deleteBillingAccount(id => $id);
};
if ($@) {
    warn "Exception when calling BillingAccountApi->deleteBillingAccount: $@\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.BillingAccountApi()
id = id_example # String | Identifier of the BillingAccount

try: 
    # Deletes a BillingAccount
    api_instance.delete_billing_account(id)
except ApiException as e:
    print("Exception when calling BillingAccountApi->deleteBillingAccount: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillingAccount
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


listBillingAccount

List or find BillingAccount objects

This operation list or find BillingAccount entities


/billingAccount

Usage and SDK Samples

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

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

public class BillingAccountApiExample {

    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");

        BillingAccountApi apiInstance = new BillingAccountApi();
        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 paymentStatus = paymentStatus_example; // String | Payment Status value
        try {
            array[BillingAccount] result = apiInstance.listBillingAccount(fields, limit, offset, paymentStatus);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingAccountApi#listBillingAccount");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillingAccountApi;

public class BillingAccountApiExample {

    public static void main(String[] args) {
        BillingAccountApi apiInstance = new BillingAccountApi();
        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 paymentStatus = paymentStatus_example; // String | Payment Status value
        try {
            array[BillingAccount] result = apiInstance.listBillingAccount(fields, limit, offset, paymentStatus);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingAccountApi#listBillingAccount");
            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 *paymentStatus = paymentStatus_example; // Payment Status value (optional)

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

// List or find BillingAccount objects
[apiInstance listBillingAccountWith:fields
    limit:limit
    offset:offset
    paymentStatus:paymentStatus
              completionHandler: ^(array[BillingAccount] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingAccountApi()
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
  'paymentStatus': paymentStatus_example // {{String}} Payment Status value
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listBillingAccount(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class listBillingAccountExample
    {
        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 BillingAccountApi();
            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 paymentStatus = paymentStatus_example;  // String | Payment Status value (optional) 

            try
            {
                // List or find BillingAccount objects
                array[BillingAccount] result = apiInstance.listBillingAccount(fields, limit, offset, paymentStatus);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingAccountApi.listBillingAccount: " + 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\ApiBillingAccountApi();
$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
$paymentStatus = paymentStatus_example; // String | Payment Status value

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

# 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::BillingAccountApi->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 $paymentStatus = paymentStatus_example; # String | Payment Status value

eval { 
    my $result = $api_instance->listBillingAccount(fields => $fields, limit => $limit, offset => $offset, paymentStatus => $paymentStatus);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillingAccountApi->listBillingAccount: $@\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.BillingAccountApi()
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)
paymentStatus = paymentStatus_example # String | Payment Status value (optional)

try: 
    # List or find BillingAccount objects
    api_response = api_instance.list_billing_account(fields=fields, limit=limit, offset=offset, paymentStatus=paymentStatus)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillingAccountApi->listBillingAccount: %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
paymentStatus
String
Payment Status value

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


patchBillingAccount

Updates partially a BillingAccount

This operation updates partially a BillingAccount entity.


/billingAccount/{id}

Usage and SDK Samples

curl -X PATCH\
\
\
-H "Accept: application/json;charset=utf-8"\
-H "Content-Type: application/json;charset=utf-8"\
"http://localhost:9001/billingaccounttmfwebservices/v2/billingAccount/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillingAccountApi;

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

public class BillingAccountApiExample {

    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");

        BillingAccountApi apiInstance = new BillingAccountApi();
        BillingAccount body = ; // BillingAccount | 
        String id = id_example; // String | Identifier of the BillingAccount
        try {
            BillingAccount result = apiInstance.patchBillingAccount(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingAccountApi#patchBillingAccount");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillingAccountApi;

public class BillingAccountApiExample {

    public static void main(String[] args) {
        BillingAccountApi apiInstance = new BillingAccountApi();
        BillingAccount body = ; // BillingAccount | 
        String id = id_example; // String | Identifier of the BillingAccount
        try {
            BillingAccount result = apiInstance.patchBillingAccount(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingAccountApi#patchBillingAccount");
            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"];
BillingAccount *body = ; // 
String *id = id_example; // Identifier of the BillingAccount

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

// Updates partially a BillingAccount
[apiInstance patchBillingAccountWith:body
    id:id
              completionHandler: ^(BillingAccount output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingAccountApi()
var body = ; // {{BillingAccount}} 
var id = id_example; // {{String}} Identifier of the BillingAccount

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

namespace Example
{
    public class patchBillingAccountExample
    {
        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 BillingAccountApi();
            var body = new BillingAccount(); // BillingAccount | 
            var id = id_example;  // String | Identifier of the BillingAccount

            try
            {
                // Updates partially a BillingAccount
                BillingAccount result = apiInstance.patchBillingAccount(body, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingAccountApi.patchBillingAccount: " + 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\ApiBillingAccountApi();
$body = ; // BillingAccount | 
$id = id_example; // String | Identifier of the BillingAccount

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

# 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::BillingAccountApi->new();
my $body = WWW::SwaggerClient::Object::BillingAccount->new(); # BillingAccount | 
my $id = id_example; # String | Identifier of the BillingAccount

eval { 
    my $result = $api_instance->patchBillingAccount(body => $body, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillingAccountApi->patchBillingAccount: $@\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.BillingAccountApi()
body =  # BillingAccount | 
id = id_example # String | Identifier of the BillingAccount

try: 
    # Updates partially a BillingAccount
    api_response = api_instance.patch_billing_account(body, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillingAccountApi->patchBillingAccount: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillingAccount
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Updated

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


retrieveBillingAccount

Retrieves a BillingAccount by ID

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


/billingAccount/{id}

Usage and SDK Samples

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

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

public class BillingAccountApiExample {

    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");

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

public class BillingAccountApiExample {

    public static void main(String[] args) {
        BillingAccountApi apiInstance = new BillingAccountApi();
        String id = id_example; // String | Identifier of the BillingAccount
        String fields = fields_example; // String | Comma-separated properties to provide in response
        try {
            BillingAccount result = apiInstance.retrieveBillingAccount(id, fields);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingAccountApi#retrieveBillingAccount");
            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 BillingAccount
String *fields = fields_example; // Comma-separated properties to provide in response (optional)

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

// Retrieves a BillingAccount by ID
[apiInstance retrieveBillingAccountWith:id
    fields:fields
              completionHandler: ^(BillingAccount output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingAccountApi()
var id = id_example; // {{String}} Identifier of the BillingAccount
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.retrieveBillingAccount(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class retrieveBillingAccountExample
    {
        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 BillingAccountApi();
            var id = id_example;  // String | Identifier of the BillingAccount
            var fields = fields_example;  // String | Comma-separated properties to provide in response (optional) 

            try
            {
                // Retrieves a BillingAccount by ID
                BillingAccount result = apiInstance.retrieveBillingAccount(id, fields);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingAccountApi.retrieveBillingAccount: " + 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\ApiBillingAccountApi();
$id = id_example; // String | Identifier of the BillingAccount
$fields = fields_example; // String | Comma-separated properties to provide in response

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

# 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::BillingAccountApi->new();
my $id = id_example; # String | Identifier of the BillingAccount
my $fields = fields_example; # String | Comma-separated properties to provide in response

eval { 
    my $result = $api_instance->retrieveBillingAccount(id => $id, fields => $fields);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillingAccountApi->retrieveBillingAccount: $@\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.BillingAccountApi()
id = id_example # String | Identifier of the BillingAccount
fields = fields_example # String | Comma-separated properties to provide in response (optional)

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

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillingAccount
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


BillingAccountNotificationListeners

listenToBillingAccountAttributeValueChangeEvent

Client listener for entity BillingAccountAttributeValueChangeEvent

Example of a client listener for receiving the notification BillingAccountAttributeValueChangeEvent


/listener/billingAccountAttributeValueChangeEvent

Usage and SDK Samples

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

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

public class BillingAccountNotificationListenersApiExample {

    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");

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

public class BillingAccountNotificationListenersApiExample {

    public static void main(String[] args) {
        BillingAccountNotificationListenersApi apiInstance = new BillingAccountNotificationListenersApi();
        BillingAccountAttributeValueChangeEvent body = ; // BillingAccountAttributeValueChangeEvent | 
        try {
            'String' result = apiInstance.listenToBillingAccountAttributeValueChangeEvent(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingAccountNotificationListenersApi#listenToBillingAccountAttributeValueChangeEvent");
            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"];
BillingAccountAttributeValueChangeEvent *body = ; // 

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

// Client listener for entity BillingAccountAttributeValueChangeEvent
[apiInstance listenToBillingAccountAttributeValueChangeEventWith:body
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingAccountNotificationListenersApi()
var body = ; // {{BillingAccountAttributeValueChangeEvent}} 

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

namespace Example
{
    public class listenToBillingAccountAttributeValueChangeEventExample
    {
        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 BillingAccountNotificationListenersApi();
            var body = new BillingAccountAttributeValueChangeEvent(); // BillingAccountAttributeValueChangeEvent | 

            try
            {
                // Client listener for entity BillingAccountAttributeValueChangeEvent
                'String' result = apiInstance.listenToBillingAccountAttributeValueChangeEvent(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingAccountNotificationListenersApi.listenToBillingAccountAttributeValueChangeEvent: " + 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\ApiBillingAccountNotificationListenersApi();
$body = ; // BillingAccountAttributeValueChangeEvent | 

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

# 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::BillingAccountNotificationListenersApi->new();
my $body = WWW::SwaggerClient::Object::BillingAccountAttributeValueChangeEvent->new(); # BillingAccountAttributeValueChangeEvent | 

eval { 
    my $result = $api_instance->listenToBillingAccountAttributeValueChangeEvent(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillingAccountNotificationListenersApi->listenToBillingAccountAttributeValueChangeEvent: $@\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.BillingAccountNotificationListenersApi()
body =  # BillingAccountAttributeValueChangeEvent | 

try: 
    # Client listener for entity BillingAccountAttributeValueChangeEvent
    api_response = api_instance.listen_to_billing_account_attribute_value_change_event(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillingAccountNotificationListenersApi->listenToBillingAccountAttributeValueChangeEvent: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Notified

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


listenToBillingAccountStateChangeEvent

Client listener for entity BillingAccountStateChangeEvent

Example of a client listener for receiving the notification BillingAccountStateChangeEvent


/listener/billingAccountStateChangeEvent

Usage and SDK Samples

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

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

public class BillingAccountNotificationListenersApiExample {

    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");

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

public class BillingAccountNotificationListenersApiExample {

    public static void main(String[] args) {
        BillingAccountNotificationListenersApi apiInstance = new BillingAccountNotificationListenersApi();
        BillingAccountStateChangeEvent body = ; // BillingAccountStateChangeEvent | 
        try {
            'String' result = apiInstance.listenToBillingAccountStateChangeEvent(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingAccountNotificationListenersApi#listenToBillingAccountStateChangeEvent");
            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"];
BillingAccountStateChangeEvent *body = ; // 

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

// Client listener for entity BillingAccountStateChangeEvent
[apiInstance listenToBillingAccountStateChangeEventWith:body
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingAccountNotificationListenersApi()
var body = ; // {{BillingAccountStateChangeEvent}} 

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

namespace Example
{
    public class listenToBillingAccountStateChangeEventExample
    {
        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 BillingAccountNotificationListenersApi();
            var body = new BillingAccountStateChangeEvent(); // BillingAccountStateChangeEvent | 

            try
            {
                // Client listener for entity BillingAccountStateChangeEvent
                'String' result = apiInstance.listenToBillingAccountStateChangeEvent(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingAccountNotificationListenersApi.listenToBillingAccountStateChangeEvent: " + 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\ApiBillingAccountNotificationListenersApi();
$body = ; // BillingAccountStateChangeEvent | 

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

# 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::BillingAccountNotificationListenersApi->new();
my $body = WWW::SwaggerClient::Object::BillingAccountStateChangeEvent->new(); # BillingAccountStateChangeEvent | 

eval { 
    my $result = $api_instance->listenToBillingAccountStateChangeEvent(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillingAccountNotificationListenersApi->listenToBillingAccountStateChangeEvent: $@\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.BillingAccountNotificationListenersApi()
body =  # BillingAccountStateChangeEvent | 

try: 
    # Client listener for entity BillingAccountStateChangeEvent
    api_response = api_instance.listen_to_billing_account_state_change_event(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillingAccountNotificationListenersApi->listenToBillingAccountStateChangeEvent: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Notified

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


BillingCycleSpecificationManagement

createBillingCycleSpecification

Creates a BillingCycleSpecification

This operation creates a BillingCycleSpecification entity.


/billingCycleSpecification

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/billingaccounttmfwebservices/v2/billingCycleSpecification"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillingCycleSpecificationManagementApi;

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

public class BillingCycleSpecificationManagementApiExample {

    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");

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

public class BillingCycleSpecificationManagementApiExample {

    public static void main(String[] args) {
        BillingCycleSpecificationManagementApi apiInstance = new BillingCycleSpecificationManagementApi();
        BillingCycleSpecification body = ; // BillingCycleSpecification | 
        try {
            BillingCycleSpecification result = apiInstance.createBillingCycleSpecification(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingCycleSpecificationManagementApi#createBillingCycleSpecification");
            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"];
BillingCycleSpecification *body = ; // 

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

// Creates a BillingCycleSpecification
[apiInstance createBillingCycleSpecificationWith:body
              completionHandler: ^(BillingCycleSpecification output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingCycleSpecificationManagementApi()
var body = ; // {{BillingCycleSpecification}} 

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

namespace Example
{
    public class createBillingCycleSpecificationExample
    {
        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 BillingCycleSpecificationManagementApi();
            var body = new BillingCycleSpecification(); // BillingCycleSpecification | 

            try
            {
                // Creates a BillingCycleSpecification
                BillingCycleSpecification result = apiInstance.createBillingCycleSpecification(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingCycleSpecificationManagementApi.createBillingCycleSpecification: " + 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\ApiBillingCycleSpecificationManagementApi();
$body = ; // BillingCycleSpecification | 

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

# 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::BillingCycleSpecificationManagementApi->new();
my $body = WWW::SwaggerClient::Object::BillingCycleSpecification->new(); # BillingCycleSpecification | 

eval { 
    my $result = $api_instance->createBillingCycleSpecification(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillingCycleSpecificationManagementApi->createBillingCycleSpecification: $@\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.BillingCycleSpecificationManagementApi()
body =  # BillingCycleSpecification | 

try: 
    # Creates a BillingCycleSpecification
    api_response = api_instance.create_billing_cycle_specification(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillingCycleSpecificationManagementApi->createBillingCycleSpecification: %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


deleteBillingCycleSpecification

Deletes a BillingCycleSpecification

This operation deletes a BillingCycleSpecification entity.


/billingCycleSpecification/{id}

Usage and SDK Samples

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

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

public class BillingCycleSpecificationManagementApiExample {

    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");

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

public class BillingCycleSpecificationManagementApiExample {

    public static void main(String[] args) {
        BillingCycleSpecificationManagementApi apiInstance = new BillingCycleSpecificationManagementApi();
        String id = id_example; // String | Identifier of the BillingCycleSpecification
        try {
            apiInstance.deleteBillingCycleSpecification(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingCycleSpecificationManagementApi#deleteBillingCycleSpecification");
            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 BillingCycleSpecification

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

// Deletes a BillingCycleSpecification
[apiInstance deleteBillingCycleSpecificationWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingCycleSpecificationManagementApi()
var id = id_example; // {{String}} Identifier of the BillingCycleSpecification

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

namespace Example
{
    public class deleteBillingCycleSpecificationExample
    {
        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 BillingCycleSpecificationManagementApi();
            var id = id_example;  // String | Identifier of the BillingCycleSpecification

            try
            {
                // Deletes a BillingCycleSpecification
                apiInstance.deleteBillingCycleSpecification(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingCycleSpecificationManagementApi.deleteBillingCycleSpecification: " + 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\ApiBillingCycleSpecificationManagementApi();
$id = id_example; // String | Identifier of the BillingCycleSpecification

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

# 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::BillingCycleSpecificationManagementApi->new();
my $id = id_example; # String | Identifier of the BillingCycleSpecification

eval { 
    $api_instance->deleteBillingCycleSpecification(id => $id);
};
if ($@) {
    warn "Exception when calling BillingCycleSpecificationManagementApi->deleteBillingCycleSpecification: $@\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.BillingCycleSpecificationManagementApi()
id = id_example # String | Identifier of the BillingCycleSpecification

try: 
    # Deletes a BillingCycleSpecification
    api_instance.delete_billing_cycle_specification(id)
except ApiException as e:
    print("Exception when calling BillingCycleSpecificationManagementApi->deleteBillingCycleSpecification: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillingCycleSpecification
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


listBillingCycleSpecification

List or find billingCycleSpecification objects

This operation list or find BillingCycleSpecification entities


/billingCycleSpecification

Usage and SDK Samples

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

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

public class BillingCycleSpecificationManagementApiExample {

    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");

        BillingCycleSpecificationManagementApi apiInstance = new BillingCycleSpecificationManagementApi();
        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
        try {
            array[BillingCycleSpecification] result = apiInstance.listBillingCycleSpecification(fields, limit, offset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingCycleSpecificationManagementApi#listBillingCycleSpecification");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillingCycleSpecificationManagementApi;

public class BillingCycleSpecificationManagementApiExample {

    public static void main(String[] args) {
        BillingCycleSpecificationManagementApi apiInstance = new BillingCycleSpecificationManagementApi();
        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
        try {
            array[BillingCycleSpecification] result = apiInstance.listBillingCycleSpecification(fields, limit, offset);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingCycleSpecificationManagementApi#listBillingCycleSpecification");
            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)

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

// List or find billingCycleSpecification objects
[apiInstance listBillingCycleSpecificationWith:fields
    limit:limit
    offset:offset
              completionHandler: ^(array[BillingCycleSpecification] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingCycleSpecificationManagementApi()
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
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listBillingCycleSpecification(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class listBillingCycleSpecificationExample
    {
        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 BillingCycleSpecificationManagementApi();
            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) 

            try
            {
                // List or find billingCycleSpecification objects
                array[BillingCycleSpecification] result = apiInstance.listBillingCycleSpecification(fields, limit, offset);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingCycleSpecificationManagementApi.listBillingCycleSpecification: " + 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\ApiBillingCycleSpecificationManagementApi();
$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

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

# 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::BillingCycleSpecificationManagementApi->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

eval { 
    my $result = $api_instance->listBillingCycleSpecification(fields => $fields, limit => $limit, offset => $offset);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillingCycleSpecificationManagementApi->listBillingCycleSpecification: $@\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.BillingCycleSpecificationManagementApi()
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)

try: 
    # List or find billingCycleSpecification objects
    api_response = api_instance.list_billing_cycle_specification(fields=fields, limit=limit, offset=offset)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillingCycleSpecificationManagementApi->listBillingCycleSpecification: %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

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


patchBillingCycleSpecification

Updates partially a BillingCycleSpecification

This operation updates partially a BillingCycleSpecification entity.


/billingCycleSpecification/{id}

Usage and SDK Samples

curl -X PATCH\
\
\
-H "Accept: application/json;charset=utf-8"\
-H "Content-Type: application/json;charset=utf-8"\
"http://localhost:9001/billingaccounttmfwebservices/v2/billingCycleSpecification/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BillingCycleSpecificationManagementApi;

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

public class BillingCycleSpecificationManagementApiExample {

    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");

        BillingCycleSpecificationManagementApi apiInstance = new BillingCycleSpecificationManagementApi();
        BillingCycleSpecification body = ; // BillingCycleSpecification | 
        String id = id_example; // String | Identifier of the BillingCycleSpecification
        try {
            BillingCycleSpecification result = apiInstance.patchBillingCycleSpecification(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingCycleSpecificationManagementApi#patchBillingCycleSpecification");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BillingCycleSpecificationManagementApi;

public class BillingCycleSpecificationManagementApiExample {

    public static void main(String[] args) {
        BillingCycleSpecificationManagementApi apiInstance = new BillingCycleSpecificationManagementApi();
        BillingCycleSpecification body = ; // BillingCycleSpecification | 
        String id = id_example; // String | Identifier of the BillingCycleSpecification
        try {
            BillingCycleSpecification result = apiInstance.patchBillingCycleSpecification(body, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingCycleSpecificationManagementApi#patchBillingCycleSpecification");
            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"];
BillingCycleSpecification *body = ; // 
String *id = id_example; // Identifier of the BillingCycleSpecification

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

// Updates partially a BillingCycleSpecification
[apiInstance patchBillingCycleSpecificationWith:body
    id:id
              completionHandler: ^(BillingCycleSpecification output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingCycleSpecificationManagementApi()
var body = ; // {{BillingCycleSpecification}} 
var id = id_example; // {{String}} Identifier of the BillingCycleSpecification

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

namespace Example
{
    public class patchBillingCycleSpecificationExample
    {
        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 BillingCycleSpecificationManagementApi();
            var body = new BillingCycleSpecification(); // BillingCycleSpecification | 
            var id = id_example;  // String | Identifier of the BillingCycleSpecification

            try
            {
                // Updates partially a BillingCycleSpecification
                BillingCycleSpecification result = apiInstance.patchBillingCycleSpecification(body, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingCycleSpecificationManagementApi.patchBillingCycleSpecification: " + 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\ApiBillingCycleSpecificationManagementApi();
$body = ; // BillingCycleSpecification | 
$id = id_example; // String | Identifier of the BillingCycleSpecification

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

# 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::BillingCycleSpecificationManagementApi->new();
my $body = WWW::SwaggerClient::Object::BillingCycleSpecification->new(); # BillingCycleSpecification | 
my $id = id_example; # String | Identifier of the BillingCycleSpecification

eval { 
    my $result = $api_instance->patchBillingCycleSpecification(body => $body, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillingCycleSpecificationManagementApi->patchBillingCycleSpecification: $@\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.BillingCycleSpecificationManagementApi()
body =  # BillingCycleSpecification | 
id = id_example # String | Identifier of the BillingCycleSpecification

try: 
    # Updates partially a BillingCycleSpecification
    api_response = api_instance.patch_billing_cycle_specification(body, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BillingCycleSpecificationManagementApi->patchBillingCycleSpecification: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillingCycleSpecification
Required
Body parameters
Name Description
body *

Responses

Status: 200 - Updated

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


retrieveBillingCycleSpecification

Retrieves a BillingCycleSpecification by ID

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


/billingCycleSpecification/{id}

Usage and SDK Samples

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

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

public class BillingCycleSpecificationManagementApiExample {

    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");

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

public class BillingCycleSpecificationManagementApiExample {

    public static void main(String[] args) {
        BillingCycleSpecificationManagementApi apiInstance = new BillingCycleSpecificationManagementApi();
        String id = id_example; // String | Identifier of the BillingCycleSpecification
        String fields = fields_example; // String | Comma-separated properties to provide in response
        try {
            BillingCycleSpecification result = apiInstance.retrieveBillingCycleSpecification(id, fields);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BillingCycleSpecificationManagementApi#retrieveBillingCycleSpecification");
            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 BillingCycleSpecification
String *fields = fields_example; // Comma-separated properties to provide in response (optional)

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

// Retrieves a BillingCycleSpecification by ID
[apiInstance retrieveBillingCycleSpecificationWith:id
    fields:fields
              completionHandler: ^(BillingCycleSpecification output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var BillingaccounttmfwebservicesApi = require('billingaccounttmfwebservices_api');
var defaultClient = BillingaccounttmfwebservicesApi.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 BillingaccounttmfwebservicesApi.BillingCycleSpecificationManagementApi()
var id = id_example; // {{String}} Identifier of the BillingCycleSpecification
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.retrieveBillingCycleSpecification(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class retrieveBillingCycleSpecificationExample
    {
        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 BillingCycleSpecificationManagementApi();
            var id = id_example;  // String | Identifier of the BillingCycleSpecification
            var fields = fields_example;  // String | Comma-separated properties to provide in response (optional) 

            try
            {
                // Retrieves a BillingCycleSpecification by ID
                BillingCycleSpecification result = apiInstance.retrieveBillingCycleSpecification(id, fields);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BillingCycleSpecificationManagementApi.retrieveBillingCycleSpecification: " + 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\ApiBillingCycleSpecificationManagementApi();
$id = id_example; // String | Identifier of the BillingCycleSpecification
$fields = fields_example; // String | Comma-separated properties to provide in response

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

# 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::BillingCycleSpecificationManagementApi->new();
my $id = id_example; # String | Identifier of the BillingCycleSpecification
my $fields = fields_example; # String | Comma-separated properties to provide in response

eval { 
    my $result = $api_instance->retrieveBillingCycleSpecification(id => $id, fields => $fields);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling BillingCycleSpecificationManagementApi->retrieveBillingCycleSpecification: $@\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.BillingCycleSpecificationManagementApi()
id = id_example # String | Identifier of the BillingCycleSpecification
fields = fields_example # String | Comma-separated properties to provide in response (optional)

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

Parameters

Path parameters
Name Description
id*
String
Identifier of the BillingCycleSpecification
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