Personal Finance API

Pf

pfApiExpensesCreate

Create new instance of monthly expenses


/pf/api/expenses/

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/expenses/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

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

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Expenses body = ; // Expenses | 
        try {
            Expenses result = apiInstance.pfApiExpensesCreate(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiExpensesCreate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Expenses *body = ; // 

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

[apiInstance pfApiExpensesCreateWith:body
              completionHandler: ^(Expenses output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  

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

namespace Example
{
    public class pfApiExpensesCreateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Expenses(); // Expenses | 

            try
            {
                Expenses result = apiInstance.pfApiExpensesCreate(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiExpensesCreate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Expenses | 

try {
    $result = $api_instance->pfApiExpensesCreate($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiExpensesCreate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

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

eval { 
    my $result = $api_instance->pfApiExpensesCreate(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiExpensesCreate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

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

try: 
    api_response = api_instance.pf_api_expenses_create(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiExpensesCreate: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Form parameters
Name Description
date*
date (date)
Required
eatingOut*
Double (double)
Required
groceries*
Double (double)
Required
restaurants*
Double (double)
Required
personalItems*
Double (double)
Required
extra*
Double (double)
Required
transportation*
Double (double)
Required
housing*
Double (double)
Required
help*
Double (double)
Required
date*
date (date)
Required
eatingOut*
Double (double)
Required
groceries*
Double (double)
Required
restaurants*
Double (double)
Required
personalItems*
Double (double)
Required
extra*
Double (double)
Required
transportation*
Double (double)
Required
housing*
Double (double)
Required
help*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 201 -


pfApiExpensesDestroy

Remove an instance of monthly expenses


/pf/api/expenses/{rowId}/

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Basic [[basicHash]]"\
\
"//pf/api/expenses/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            apiInstance.pfApiExpensesDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiExpensesDestroy");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            apiInstance.pfApiExpensesDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiExpensesDestroy");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this monthly summary.

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

[apiInstance pfApiExpensesDestroyWith:rowId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this monthly summary.

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

namespace Example
{
    public class pfApiExpensesDestroyExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this monthly summary.

            try
            {
                apiInstance.pfApiExpensesDestroy(rowId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiExpensesDestroy: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this monthly summary.

try {
    $api_instance->pfApiExpensesDestroy($rowId);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiExpensesDestroy: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this monthly summary.

eval { 
    $api_instance->pfApiExpensesDestroy(rowId => $rowId);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiExpensesDestroy: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this monthly summary.

try: 
    api_instance.pf_api_expenses_destroy(rowId)
except ApiException as e:
    print("Exception when calling PfApi->pfApiExpensesDestroy: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this monthly summary.
Required
Query parameters
Name Description

Responses

Status: 204 - No response body


pfApiExpensesList

Retrieve list of monthly expenses. Can filter/search/order response.


/pf/api/expenses/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/expenses/?date=&ordering=&page=&search="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        date date = 2013-10-20; // date | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        try {
            PaginatedExpensesList result = apiInstance.pfApiExpensesList(date, ordering, page, search);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiExpensesList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        date date = 2013-10-20; // date | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        try {
            PaginatedExpensesList result = apiInstance.pfApiExpensesList(date, ordering, page, search);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiExpensesList");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
date *date = 2013-10-20; //  (optional)
String *ordering = ordering_example; // Which field to use when ordering the results. (optional)
Integer *page = 56; // A page number within the paginated result set. (optional)
String *search = search_example; // A search term. (optional)

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

[apiInstance pfApiExpensesListWith:date
    ordering:ordering
    page:page
    search:search
              completionHandler: ^(PaginatedExpensesList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var opts = { 
  'date': 2013-10-20, //  
  'ordering': ordering_example, //  Which field to use when ordering the results.
  'page': 56, //  A page number within the paginated result set.
  'search': search_example //  A search term.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiExpensesList(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiExpensesListExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var date = 2013-10-20;  // date |  (optional) 
            var ordering = ordering_example;  // String | Which field to use when ordering the results. (optional) 
            var page = 56;  // Integer | A page number within the paginated result set. (optional) 
            var search = search_example;  // String | A search term. (optional) 

            try
            {
                PaginatedExpensesList result = apiInstance.pfApiExpensesList(date, ordering, page, search);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiExpensesList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$date = 2013-10-20; // date | 
$ordering = ordering_example; // String | Which field to use when ordering the results.
$page = 56; // Integer | A page number within the paginated result set.
$search = search_example; // String | A search term.

try {
    $result = $api_instance->pfApiExpensesList($date, $ordering, $page, $search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiExpensesList: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $date = 2013-10-20; # date | 
my $ordering = ordering_example; # String | Which field to use when ordering the results.
my $page = 56; # Integer | A page number within the paginated result set.
my $search = search_example; # String | A search term.

eval { 
    my $result = $api_instance->pfApiExpensesList(date => $date, ordering => $ordering, page => $page, search => $search);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiExpensesList: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
date = 2013-10-20 # date |  (optional)
ordering = ordering_example # String | Which field to use when ordering the results. (optional)
page = 56 # Integer | A page number within the paginated result set. (optional)
search = search_example # String | A search term. (optional)

try: 
    api_response = api_instance.pf_api_expenses_list(date=date, ordering=ordering, page=page, search=search)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiExpensesList: %s\n" % e)

Parameters

Query parameters
Name Description
date
date (date)
ordering
String
Which field to use when ordering the results.
page
Integer
A page number within the paginated result set.
search

Responses

Status: 200 -


pfApiExpensesPartialUpdate

Partially update details of a monthly expenses


/pf/api/expenses/{rowId}/

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/expenses/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        PatchedExpenses body = ; // PatchedExpenses | 
        try {
            Expenses result = apiInstance.pfApiExpensesPartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiExpensesPartialUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        PatchedExpenses body = ; // PatchedExpenses | 
        try {
            Expenses result = apiInstance.pfApiExpensesPartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiExpensesPartialUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this monthly summary.
PatchedExpenses *body = ; //  (optional)

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

[apiInstance pfApiExpensesPartialUpdateWith:rowId
    body:body
              completionHandler: ^(Expenses output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this monthly summary.
var opts = { 
  'body':  //  
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiExpensesPartialUpdate(rowId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiExpensesPartialUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this monthly summary.
            var body = new PatchedExpenses(); // PatchedExpenses |  (optional) 

            try
            {
                Expenses result = apiInstance.pfApiExpensesPartialUpdate(rowId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiExpensesPartialUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this monthly summary.
$body = ; // PatchedExpenses | 

try {
    $result = $api_instance->pfApiExpensesPartialUpdate($rowId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiExpensesPartialUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this monthly summary.
my $body = WWW::SwaggerClient::Object::PatchedExpenses->new(); # PatchedExpenses | 

eval { 
    my $result = $api_instance->pfApiExpensesPartialUpdate(rowId => $rowId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiExpensesPartialUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this monthly summary.
body =  # PatchedExpenses |  (optional)

try: 
    api_response = api_instance.pf_api_expenses_partial_update(rowId, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiExpensesPartialUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this monthly summary.
Required
Body parameters
Name Description
body
Form parameters
Name Description
date
date (date)
eatingOut
Double (double)
groceries
Double (double)
restaurants
Double (double)
personalItems
Double (double)
extra
Double (double)
transportation
Double (double)
housing
Double (double)
help
Double (double)
date
date (date)
eatingOut
Double (double)
groceries
Double (double)
restaurants
Double (double)
personalItems
Double (double)
extra
Double (double)
transportation
Double (double)
housing
Double (double)
help
Double (double)
Query parameters
Name Description

Responses

Status: 200 -


pfApiExpensesRetrieve

Retrieve details of a monthly expenses


/pf/api/expenses/{rowId}/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/expenses/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            Expenses result = apiInstance.pfApiExpensesRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiExpensesRetrieve");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            Expenses result = apiInstance.pfApiExpensesRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiExpensesRetrieve");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this monthly summary.

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

[apiInstance pfApiExpensesRetrieveWith:rowId
              completionHandler: ^(Expenses output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this monthly summary.

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

namespace Example
{
    public class pfApiExpensesRetrieveExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this monthly summary.

            try
            {
                Expenses result = apiInstance.pfApiExpensesRetrieve(rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiExpensesRetrieve: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this monthly summary.

try {
    $result = $api_instance->pfApiExpensesRetrieve($rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiExpensesRetrieve: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this monthly summary.

eval { 
    my $result = $api_instance->pfApiExpensesRetrieve(rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiExpensesRetrieve: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this monthly summary.

try: 
    api_response = api_instance.pf_api_expenses_retrieve(rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiExpensesRetrieve: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this monthly summary.
Required
Query parameters
Name Description

Responses

Status: 200 -


pfApiExpensesUpdate

Update details of a monthly expenses


/pf/api/expenses/{rowId}/

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/expenses/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Expenses body = ; // Expenses | 
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            Expenses result = apiInstance.pfApiExpensesUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiExpensesUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Expenses body = ; // Expenses | 
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            Expenses result = apiInstance.pfApiExpensesUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiExpensesUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Expenses *body = ; // 
Integer *rowId = 56; // A unique value identifying this monthly summary.

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

[apiInstance pfApiExpensesUpdateWith:body
    rowId:rowId
              completionHandler: ^(Expenses output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  
var rowId = 56; //  A unique value identifying this monthly summary.

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

namespace Example
{
    public class pfApiExpensesUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Expenses(); // Expenses | 
            var rowId = 56;  // Integer | A unique value identifying this monthly summary.

            try
            {
                Expenses result = apiInstance.pfApiExpensesUpdate(body, rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiExpensesUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Expenses | 
$rowId = 56; // Integer | A unique value identifying this monthly summary.

try {
    $result = $api_instance->pfApiExpensesUpdate($body, $rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiExpensesUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $body = WWW::SwaggerClient::Object::Expenses->new(); # Expenses | 
my $rowId = 56; # Integer | A unique value identifying this monthly summary.

eval { 
    my $result = $api_instance->pfApiExpensesUpdate(body => $body, rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiExpensesUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
body =  # Expenses | 
rowId = 56 # Integer | A unique value identifying this monthly summary.

try: 
    api_response = api_instance.pf_api_expenses_update(body, rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiExpensesUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this monthly summary.
Required
Body parameters
Name Description
body *
Form parameters
Name Description
date*
date (date)
Required
eatingOut*
Double (double)
Required
groceries*
Double (double)
Required
restaurants*
Double (double)
Required
personalItems*
Double (double)
Required
extra*
Double (double)
Required
transportation*
Double (double)
Required
housing*
Double (double)
Required
help*
Double (double)
Required
date*
date (date)
Required
eatingOut*
Double (double)
Required
groceries*
Double (double)
Required
restaurants*
Double (double)
Required
personalItems*
Double (double)
Required
extra*
Double (double)
Required
transportation*
Double (double)
Required
housing*
Double (double)
Required
help*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 200 -


pfApiIncomeCreate

Create new instance of monthly income streams


/pf/api/income/

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/income/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

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

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Income body = ; // Income | 
        try {
            Income result = apiInstance.pfApiIncomeCreate(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiIncomeCreate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Income *body = ; // 

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

[apiInstance pfApiIncomeCreateWith:body
              completionHandler: ^(Income output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  

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

namespace Example
{
    public class pfApiIncomeCreateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Income(); // Income | 

            try
            {
                Income result = apiInstance.pfApiIncomeCreate(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiIncomeCreate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Income | 

try {
    $result = $api_instance->pfApiIncomeCreate($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiIncomeCreate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

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

eval { 
    my $result = $api_instance->pfApiIncomeCreate(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiIncomeCreate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

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

try: 
    api_response = api_instance.pf_api_income_create(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiIncomeCreate: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Form parameters
Name Description
date*
date (date)
Required
income*
Double (double)
Required
cashback*
Double (double)
Required
interest*
Double (double)
Required
investment*
Double (double)
Required
date*
date (date)
Required
income*
Double (double)
Required
cashback*
Double (double)
Required
interest*
Double (double)
Required
investment*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 201 -


pfApiIncomeDestroy

Remove an instance of monthly streams


/pf/api/income/{rowId}/

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Basic [[basicHash]]"\
\
"//pf/api/income/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            apiInstance.pfApiIncomeDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiIncomeDestroy");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            apiInstance.pfApiIncomeDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiIncomeDestroy");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this monthly summary.

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

[apiInstance pfApiIncomeDestroyWith:rowId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this monthly summary.

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

namespace Example
{
    public class pfApiIncomeDestroyExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this monthly summary.

            try
            {
                apiInstance.pfApiIncomeDestroy(rowId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiIncomeDestroy: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this monthly summary.

try {
    $api_instance->pfApiIncomeDestroy($rowId);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiIncomeDestroy: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this monthly summary.

eval { 
    $api_instance->pfApiIncomeDestroy(rowId => $rowId);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiIncomeDestroy: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this monthly summary.

try: 
    api_instance.pf_api_income_destroy(rowId)
except ApiException as e:
    print("Exception when calling PfApi->pfApiIncomeDestroy: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this monthly summary.
Required
Query parameters
Name Description

Responses

Status: 204 - No response body


pfApiIncomeList

Retrieve list of monthly income streams. Can filter/search/order response.


/pf/api/income/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/income/?date=&ordering=&page=&search="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        date date = 2013-10-20; // date | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        try {
            PaginatedIncomeList result = apiInstance.pfApiIncomeList(date, ordering, page, search);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiIncomeList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        date date = 2013-10-20; // date | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        try {
            PaginatedIncomeList result = apiInstance.pfApiIncomeList(date, ordering, page, search);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiIncomeList");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
date *date = 2013-10-20; //  (optional)
String *ordering = ordering_example; // Which field to use when ordering the results. (optional)
Integer *page = 56; // A page number within the paginated result set. (optional)
String *search = search_example; // A search term. (optional)

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

[apiInstance pfApiIncomeListWith:date
    ordering:ordering
    page:page
    search:search
              completionHandler: ^(PaginatedIncomeList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var opts = { 
  'date': 2013-10-20, //  
  'ordering': ordering_example, //  Which field to use when ordering the results.
  'page': 56, //  A page number within the paginated result set.
  'search': search_example //  A search term.
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiIncomeList(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiIncomeListExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var date = 2013-10-20;  // date |  (optional) 
            var ordering = ordering_example;  // String | Which field to use when ordering the results. (optional) 
            var page = 56;  // Integer | A page number within the paginated result set. (optional) 
            var search = search_example;  // String | A search term. (optional) 

            try
            {
                PaginatedIncomeList result = apiInstance.pfApiIncomeList(date, ordering, page, search);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiIncomeList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$date = 2013-10-20; // date | 
$ordering = ordering_example; // String | Which field to use when ordering the results.
$page = 56; // Integer | A page number within the paginated result set.
$search = search_example; // String | A search term.

try {
    $result = $api_instance->pfApiIncomeList($date, $ordering, $page, $search);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiIncomeList: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $date = 2013-10-20; # date | 
my $ordering = ordering_example; # String | Which field to use when ordering the results.
my $page = 56; # Integer | A page number within the paginated result set.
my $search = search_example; # String | A search term.

eval { 
    my $result = $api_instance->pfApiIncomeList(date => $date, ordering => $ordering, page => $page, search => $search);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiIncomeList: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
date = 2013-10-20 # date |  (optional)
ordering = ordering_example # String | Which field to use when ordering the results. (optional)
page = 56 # Integer | A page number within the paginated result set. (optional)
search = search_example # String | A search term. (optional)

try: 
    api_response = api_instance.pf_api_income_list(date=date, ordering=ordering, page=page, search=search)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiIncomeList: %s\n" % e)

Parameters

Query parameters
Name Description
date
date (date)
ordering
String
Which field to use when ordering the results.
page
Integer
A page number within the paginated result set.
search

Responses

Status: 200 -


pfApiIncomePartialUpdate

Partially update details of a monthly income stream


/pf/api/income/{rowId}/

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/income/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        PatchedIncome body = ; // PatchedIncome | 
        try {
            Income result = apiInstance.pfApiIncomePartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiIncomePartialUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        PatchedIncome body = ; // PatchedIncome | 
        try {
            Income result = apiInstance.pfApiIncomePartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiIncomePartialUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this monthly summary.
PatchedIncome *body = ; //  (optional)

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

[apiInstance pfApiIncomePartialUpdateWith:rowId
    body:body
              completionHandler: ^(Income output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this monthly summary.
var opts = { 
  'body':  //  
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiIncomePartialUpdate(rowId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiIncomePartialUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this monthly summary.
            var body = new PatchedIncome(); // PatchedIncome |  (optional) 

            try
            {
                Income result = apiInstance.pfApiIncomePartialUpdate(rowId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiIncomePartialUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this monthly summary.
$body = ; // PatchedIncome | 

try {
    $result = $api_instance->pfApiIncomePartialUpdate($rowId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiIncomePartialUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this monthly summary.
my $body = WWW::SwaggerClient::Object::PatchedIncome->new(); # PatchedIncome | 

eval { 
    my $result = $api_instance->pfApiIncomePartialUpdate(rowId => $rowId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiIncomePartialUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this monthly summary.
body =  # PatchedIncome |  (optional)

try: 
    api_response = api_instance.pf_api_income_partial_update(rowId, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiIncomePartialUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this monthly summary.
Required
Body parameters
Name Description
body
Form parameters
Name Description
date
date (date)
income
Double (double)
cashback
Double (double)
interest
Double (double)
investment
Double (double)
date
date (date)
income
Double (double)
cashback
Double (double)
interest
Double (double)
investment
Double (double)
Query parameters
Name Description

Responses

Status: 200 -


pfApiIncomeRetrieve

Retrieve details of a monthly income stream


/pf/api/income/{rowId}/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/income/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            Income result = apiInstance.pfApiIncomeRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiIncomeRetrieve");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            Income result = apiInstance.pfApiIncomeRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiIncomeRetrieve");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this monthly summary.

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

[apiInstance pfApiIncomeRetrieveWith:rowId
              completionHandler: ^(Income output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this monthly summary.

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

namespace Example
{
    public class pfApiIncomeRetrieveExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this monthly summary.

            try
            {
                Income result = apiInstance.pfApiIncomeRetrieve(rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiIncomeRetrieve: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this monthly summary.

try {
    $result = $api_instance->pfApiIncomeRetrieve($rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiIncomeRetrieve: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this monthly summary.

eval { 
    my $result = $api_instance->pfApiIncomeRetrieve(rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiIncomeRetrieve: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this monthly summary.

try: 
    api_response = api_instance.pf_api_income_retrieve(rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiIncomeRetrieve: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this monthly summary.
Required
Query parameters
Name Description

Responses

Status: 200 -


pfApiIncomeUpdate

Update details of a monthly income stream


/pf/api/income/{rowId}/

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/income/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Income body = ; // Income | 
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            Income result = apiInstance.pfApiIncomeUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiIncomeUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Income body = ; // Income | 
        Integer rowId = 56; // Integer | A unique value identifying this monthly summary.
        try {
            Income result = apiInstance.pfApiIncomeUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiIncomeUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Income *body = ; // 
Integer *rowId = 56; // A unique value identifying this monthly summary.

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

[apiInstance pfApiIncomeUpdateWith:body
    rowId:rowId
              completionHandler: ^(Income output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  
var rowId = 56; //  A unique value identifying this monthly summary.

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

namespace Example
{
    public class pfApiIncomeUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Income(); // Income | 
            var rowId = 56;  // Integer | A unique value identifying this monthly summary.

            try
            {
                Income result = apiInstance.pfApiIncomeUpdate(body, rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiIncomeUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Income | 
$rowId = 56; // Integer | A unique value identifying this monthly summary.

try {
    $result = $api_instance->pfApiIncomeUpdate($body, $rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiIncomeUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $body = WWW::SwaggerClient::Object::Income->new(); # Income | 
my $rowId = 56; # Integer | A unique value identifying this monthly summary.

eval { 
    my $result = $api_instance->pfApiIncomeUpdate(body => $body, rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiIncomeUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
body =  # Income | 
rowId = 56 # Integer | A unique value identifying this monthly summary.

try: 
    api_response = api_instance.pf_api_income_update(body, rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiIncomeUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this monthly summary.
Required
Body parameters
Name Description
body *
Form parameters
Name Description
date*
date (date)
Required
income*
Double (double)
Required
cashback*
Double (double)
Required
interest*
Double (double)
Required
investment*
Double (double)
Required
date*
date (date)
Required
income*
Double (double)
Required
cashback*
Double (double)
Required
interest*
Double (double)
Required
investment*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 200 -


pfApiPositionsCreate

Create new instance of a position


/pf/api/positions/

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/positions/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

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

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Positions body = ; // Positions | 
        try {
            Positions result = apiInstance.pfApiPositionsCreate(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiPositionsCreate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Positions *body = ; // 

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

[apiInstance pfApiPositionsCreateWith:body
              completionHandler: ^(Positions output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  

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

namespace Example
{
    public class pfApiPositionsCreateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Positions(); // Positions | 

            try
            {
                Positions result = apiInstance.pfApiPositionsCreate(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiPositionsCreate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Positions | 

try {
    $result = $api_instance->pfApiPositionsCreate($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiPositionsCreate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

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

eval { 
    my $result = $api_instance->pfApiPositionsCreate(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiPositionsCreate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

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

try: 
    api_response = api_instance.pf_api_positions_create(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiPositionsCreate: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Form parameters
Name Description
date*
Integer
Required
account*
Integer
Required
symbol*
Integer
Required
quantity*
Integer
Required
amount*
Double (double)
Required
date*
Integer
Required
account*
Integer
Required
symbol*
Integer
Required
quantity*
Integer
Required
amount*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 201 -


pfApiPositionsDestroy

Remove an instance of a position


/pf/api/positions/{rowId}/

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Basic [[basicHash]]"\
\
"//pf/api/positions/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this positions.
        try {
            apiInstance.pfApiPositionsDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiPositionsDestroy");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this positions.
        try {
            apiInstance.pfApiPositionsDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiPositionsDestroy");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this positions.

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

[apiInstance pfApiPositionsDestroyWith:rowId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this positions.

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

namespace Example
{
    public class pfApiPositionsDestroyExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this positions.

            try
            {
                apiInstance.pfApiPositionsDestroy(rowId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiPositionsDestroy: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this positions.

try {
    $api_instance->pfApiPositionsDestroy($rowId);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiPositionsDestroy: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this positions.

eval { 
    $api_instance->pfApiPositionsDestroy(rowId => $rowId);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiPositionsDestroy: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this positions.

try: 
    api_instance.pf_api_positions_destroy(rowId)
except ApiException as e:
    print("Exception when calling PfApi->pfApiPositionsDestroy: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this positions.
Required
Query parameters
Name Description

Responses

Status: 204 - No response body


pfApiPositionsList

Retrieve list of investment positions. Can filter/search/order response.


/pf/api/positions/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/positions/?date=&end_date=&max_amount=&min_amount=&ordering=&page=&search=&start_date=&symbol="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer date = 56; // Integer | 
        date endDate = 2013-10-20; // date | 
        Float maxAmount = 3.4; // Float | 
        Float minAmount = 3.4; // Float | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        date startDate = 2013-10-20; // date | 
        Integer symbol = 56; // Integer | 
        try {
            PaginatedPositionsList result = apiInstance.pfApiPositionsList(date, endDate, maxAmount, minAmount, ordering, page, search, startDate, symbol);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiPositionsList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer date = 56; // Integer | 
        date endDate = 2013-10-20; // date | 
        Float maxAmount = 3.4; // Float | 
        Float minAmount = 3.4; // Float | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        date startDate = 2013-10-20; // date | 
        Integer symbol = 56; // Integer | 
        try {
            PaginatedPositionsList result = apiInstance.pfApiPositionsList(date, endDate, maxAmount, minAmount, ordering, page, search, startDate, symbol);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiPositionsList");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *date = 56; //  (optional)
date *endDate = 2013-10-20; //  (optional)
Float *maxAmount = 3.4; //  (optional)
Float *minAmount = 3.4; //  (optional)
String *ordering = ordering_example; // Which field to use when ordering the results. (optional)
Integer *page = 56; // A page number within the paginated result set. (optional)
String *search = search_example; // A search term. (optional)
date *startDate = 2013-10-20; //  (optional)
Integer *symbol = 56; //  (optional)

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

[apiInstance pfApiPositionsListWith:date
    endDate:endDate
    maxAmount:maxAmount
    minAmount:minAmount
    ordering:ordering
    page:page
    search:search
    startDate:startDate
    symbol:symbol
              completionHandler: ^(PaginatedPositionsList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var opts = { 
  'date': 56, //  
  'endDate': 2013-10-20, //  
  'maxAmount': 3.4, //  
  'minAmount': 3.4, //  
  'ordering': ordering_example, //  Which field to use when ordering the results.
  'page': 56, //  A page number within the paginated result set.
  'search': search_example, //  A search term.
  'startDate': 2013-10-20, //  
  'symbol': 56 //  
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiPositionsList(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiPositionsListExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var date = 56;  // Integer |  (optional) 
            var endDate = 2013-10-20;  // date |  (optional) 
            var maxAmount = 3.4;  // Float |  (optional) 
            var minAmount = 3.4;  // Float |  (optional) 
            var ordering = ordering_example;  // String | Which field to use when ordering the results. (optional) 
            var page = 56;  // Integer | A page number within the paginated result set. (optional) 
            var search = search_example;  // String | A search term. (optional) 
            var startDate = 2013-10-20;  // date |  (optional) 
            var symbol = 56;  // Integer |  (optional) 

            try
            {
                PaginatedPositionsList result = apiInstance.pfApiPositionsList(date, endDate, maxAmount, minAmount, ordering, page, search, startDate, symbol);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiPositionsList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$date = 56; // Integer | 
$endDate = 2013-10-20; // date | 
$maxAmount = 3.4; // Float | 
$minAmount = 3.4; // Float | 
$ordering = ordering_example; // String | Which field to use when ordering the results.
$page = 56; // Integer | A page number within the paginated result set.
$search = search_example; // String | A search term.
$startDate = 2013-10-20; // date | 
$symbol = 56; // Integer | 

try {
    $result = $api_instance->pfApiPositionsList($date, $endDate, $maxAmount, $minAmount, $ordering, $page, $search, $startDate, $symbol);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiPositionsList: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $date = 56; # Integer | 
my $endDate = 2013-10-20; # date | 
my $maxAmount = 3.4; # Float | 
my $minAmount = 3.4; # Float | 
my $ordering = ordering_example; # String | Which field to use when ordering the results.
my $page = 56; # Integer | A page number within the paginated result set.
my $search = search_example; # String | A search term.
my $startDate = 2013-10-20; # date | 
my $symbol = 56; # Integer | 

eval { 
    my $result = $api_instance->pfApiPositionsList(date => $date, endDate => $endDate, maxAmount => $maxAmount, minAmount => $minAmount, ordering => $ordering, page => $page, search => $search, startDate => $startDate, symbol => $symbol);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiPositionsList: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
date = 56 # Integer |  (optional)
endDate = 2013-10-20 # date |  (optional)
maxAmount = 3.4 # Float |  (optional)
minAmount = 3.4 # Float |  (optional)
ordering = ordering_example # String | Which field to use when ordering the results. (optional)
page = 56 # Integer | A page number within the paginated result set. (optional)
search = search_example # String | A search term. (optional)
startDate = 2013-10-20 # date |  (optional)
symbol = 56 # Integer |  (optional)

try: 
    api_response = api_instance.pf_api_positions_list(date=date, endDate=endDate, maxAmount=maxAmount, minAmount=minAmount, ordering=ordering, page=page, search=search, startDate=startDate, symbol=symbol)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiPositionsList: %s\n" % e)

Parameters

Query parameters
Name Description
date
Integer
end_date
date (date)
max_amount
Float (float)
min_amount
Float (float)
ordering
String
Which field to use when ordering the results.
page
Integer
A page number within the paginated result set.
search
start_date
date (date)
symbol
Integer

Responses

Status: 200 -


pfApiPositionsPartialUpdate

Partially update details of a position


/pf/api/positions/{rowId}/

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/positions/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this positions.
        PatchedPositions body = ; // PatchedPositions | 
        try {
            Positions result = apiInstance.pfApiPositionsPartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiPositionsPartialUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this positions.
        PatchedPositions body = ; // PatchedPositions | 
        try {
            Positions result = apiInstance.pfApiPositionsPartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiPositionsPartialUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this positions.
PatchedPositions *body = ; //  (optional)

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

[apiInstance pfApiPositionsPartialUpdateWith:rowId
    body:body
              completionHandler: ^(Positions output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this positions.
var opts = { 
  'body':  //  
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiPositionsPartialUpdate(rowId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiPositionsPartialUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this positions.
            var body = new PatchedPositions(); // PatchedPositions |  (optional) 

            try
            {
                Positions result = apiInstance.pfApiPositionsPartialUpdate(rowId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiPositionsPartialUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this positions.
$body = ; // PatchedPositions | 

try {
    $result = $api_instance->pfApiPositionsPartialUpdate($rowId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiPositionsPartialUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this positions.
my $body = WWW::SwaggerClient::Object::PatchedPositions->new(); # PatchedPositions | 

eval { 
    my $result = $api_instance->pfApiPositionsPartialUpdate(rowId => $rowId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiPositionsPartialUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this positions.
body =  # PatchedPositions |  (optional)

try: 
    api_response = api_instance.pf_api_positions_partial_update(rowId, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiPositionsPartialUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this positions.
Required
Body parameters
Name Description
body
Form parameters
Name Description
date
Integer
account
Integer
symbol
Integer
quantity
Integer
amount
Double (double)
date
Integer
account
Integer
symbol
Integer
quantity
Integer
amount
Double (double)
Query parameters
Name Description

Responses

Status: 200 -


pfApiPositionsRetrieve

Retrieve details of a position


/pf/api/positions/{rowId}/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/positions/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this positions.
        try {
            Positions result = apiInstance.pfApiPositionsRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiPositionsRetrieve");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this positions.
        try {
            Positions result = apiInstance.pfApiPositionsRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiPositionsRetrieve");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this positions.

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

[apiInstance pfApiPositionsRetrieveWith:rowId
              completionHandler: ^(Positions output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this positions.

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

namespace Example
{
    public class pfApiPositionsRetrieveExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this positions.

            try
            {
                Positions result = apiInstance.pfApiPositionsRetrieve(rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiPositionsRetrieve: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this positions.

try {
    $result = $api_instance->pfApiPositionsRetrieve($rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiPositionsRetrieve: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this positions.

eval { 
    my $result = $api_instance->pfApiPositionsRetrieve(rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiPositionsRetrieve: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this positions.

try: 
    api_response = api_instance.pf_api_positions_retrieve(rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiPositionsRetrieve: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this positions.
Required
Query parameters
Name Description

Responses

Status: 200 -


pfApiPositionsUpdate

Update details of a position


/pf/api/positions/{rowId}/

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/positions/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Positions body = ; // Positions | 
        Integer rowId = 56; // Integer | A unique value identifying this positions.
        try {
            Positions result = apiInstance.pfApiPositionsUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiPositionsUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Positions body = ; // Positions | 
        Integer rowId = 56; // Integer | A unique value identifying this positions.
        try {
            Positions result = apiInstance.pfApiPositionsUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiPositionsUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Positions *body = ; // 
Integer *rowId = 56; // A unique value identifying this positions.

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

[apiInstance pfApiPositionsUpdateWith:body
    rowId:rowId
              completionHandler: ^(Positions output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  
var rowId = 56; //  A unique value identifying this positions.

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

namespace Example
{
    public class pfApiPositionsUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Positions(); // Positions | 
            var rowId = 56;  // Integer | A unique value identifying this positions.

            try
            {
                Positions result = apiInstance.pfApiPositionsUpdate(body, rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiPositionsUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Positions | 
$rowId = 56; // Integer | A unique value identifying this positions.

try {
    $result = $api_instance->pfApiPositionsUpdate($body, $rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiPositionsUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $body = WWW::SwaggerClient::Object::Positions->new(); # Positions | 
my $rowId = 56; # Integer | A unique value identifying this positions.

eval { 
    my $result = $api_instance->pfApiPositionsUpdate(body => $body, rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiPositionsUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
body =  # Positions | 
rowId = 56 # Integer | A unique value identifying this positions.

try: 
    api_response = api_instance.pf_api_positions_update(body, rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiPositionsUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this positions.
Required
Body parameters
Name Description
body *
Form parameters
Name Description
date*
Integer
Required
account*
Integer
Required
symbol*
Integer
Required
quantity*
Integer
Required
amount*
Double (double)
Required
date*
Integer
Required
account*
Integer
Required
symbol*
Integer
Required
quantity*
Integer
Required
amount*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 200 -


pfApiTradesCreate

Create new instance of a trade


/pf/api/trades/

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/trades/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

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

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Trades body = ; // Trades | 
        try {
            Trades result = apiInstance.pfApiTradesCreate(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTradesCreate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Trades *body = ; // 

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

[apiInstance pfApiTradesCreateWith:body
              completionHandler: ^(Trades output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  

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

namespace Example
{
    public class pfApiTradesCreateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Trades(); // Trades | 

            try
            {
                Trades result = apiInstance.pfApiTradesCreate(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTradesCreate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Trades | 

try {
    $result = $api_instance->pfApiTradesCreate($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTradesCreate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

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

eval { 
    my $result = $api_instance->pfApiTradesCreate(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTradesCreate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

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

try: 
    api_response = api_instance.pf_api_trades_create(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTradesCreate: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Form parameters
Name Description
date*
Integer
Required
account*
Integer
Required
symbol*
Integer
Required
quantity*
Integer
Required
amount*
Double (double)
Required
date*
Integer
Required
account*
Integer
Required
symbol*
Integer
Required
quantity*
Integer
Required
amount*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 201 -


pfApiTradesDestroy

Remove an instance of a trade


/pf/api/trades/{rowId}/

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Basic [[basicHash]]"\
\
"//pf/api/trades/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this trades.
        try {
            apiInstance.pfApiTradesDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTradesDestroy");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this trades.
        try {
            apiInstance.pfApiTradesDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTradesDestroy");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this trades.

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

[apiInstance pfApiTradesDestroyWith:rowId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this trades.

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

namespace Example
{
    public class pfApiTradesDestroyExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this trades.

            try
            {
                apiInstance.pfApiTradesDestroy(rowId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTradesDestroy: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this trades.

try {
    $api_instance->pfApiTradesDestroy($rowId);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTradesDestroy: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this trades.

eval { 
    $api_instance->pfApiTradesDestroy(rowId => $rowId);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTradesDestroy: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this trades.

try: 
    api_instance.pf_api_trades_destroy(rowId)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTradesDestroy: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this trades.
Required
Query parameters
Name Description

Responses

Status: 204 - No response body


pfApiTradesList

Retrieve list of investment trades. Can filter/search/order response.


/pf/api/trades/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/trades/?date=&end_date=&max_amount=&min_amount=&ordering=&page=&search=&start_date=&symbol="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer date = 56; // Integer | 
        date endDate = 2013-10-20; // date | 
        Float maxAmount = 3.4; // Float | 
        Float minAmount = 3.4; // Float | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        date startDate = 2013-10-20; // date | 
        Integer symbol = 56; // Integer | 
        try {
            PaginatedTradesList result = apiInstance.pfApiTradesList(date, endDate, maxAmount, minAmount, ordering, page, search, startDate, symbol);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTradesList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer date = 56; // Integer | 
        date endDate = 2013-10-20; // date | 
        Float maxAmount = 3.4; // Float | 
        Float minAmount = 3.4; // Float | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        date startDate = 2013-10-20; // date | 
        Integer symbol = 56; // Integer | 
        try {
            PaginatedTradesList result = apiInstance.pfApiTradesList(date, endDate, maxAmount, minAmount, ordering, page, search, startDate, symbol);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTradesList");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *date = 56; //  (optional)
date *endDate = 2013-10-20; //  (optional)
Float *maxAmount = 3.4; //  (optional)
Float *minAmount = 3.4; //  (optional)
String *ordering = ordering_example; // Which field to use when ordering the results. (optional)
Integer *page = 56; // A page number within the paginated result set. (optional)
String *search = search_example; // A search term. (optional)
date *startDate = 2013-10-20; //  (optional)
Integer *symbol = 56; //  (optional)

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

[apiInstance pfApiTradesListWith:date
    endDate:endDate
    maxAmount:maxAmount
    minAmount:minAmount
    ordering:ordering
    page:page
    search:search
    startDate:startDate
    symbol:symbol
              completionHandler: ^(PaginatedTradesList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var opts = { 
  'date': 56, //  
  'endDate': 2013-10-20, //  
  'maxAmount': 3.4, //  
  'minAmount': 3.4, //  
  'ordering': ordering_example, //  Which field to use when ordering the results.
  'page': 56, //  A page number within the paginated result set.
  'search': search_example, //  A search term.
  'startDate': 2013-10-20, //  
  'symbol': 56 //  
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiTradesList(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiTradesListExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var date = 56;  // Integer |  (optional) 
            var endDate = 2013-10-20;  // date |  (optional) 
            var maxAmount = 3.4;  // Float |  (optional) 
            var minAmount = 3.4;  // Float |  (optional) 
            var ordering = ordering_example;  // String | Which field to use when ordering the results. (optional) 
            var page = 56;  // Integer | A page number within the paginated result set. (optional) 
            var search = search_example;  // String | A search term. (optional) 
            var startDate = 2013-10-20;  // date |  (optional) 
            var symbol = 56;  // Integer |  (optional) 

            try
            {
                PaginatedTradesList result = apiInstance.pfApiTradesList(date, endDate, maxAmount, minAmount, ordering, page, search, startDate, symbol);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTradesList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$date = 56; // Integer | 
$endDate = 2013-10-20; // date | 
$maxAmount = 3.4; // Float | 
$minAmount = 3.4; // Float | 
$ordering = ordering_example; // String | Which field to use when ordering the results.
$page = 56; // Integer | A page number within the paginated result set.
$search = search_example; // String | A search term.
$startDate = 2013-10-20; // date | 
$symbol = 56; // Integer | 

try {
    $result = $api_instance->pfApiTradesList($date, $endDate, $maxAmount, $minAmount, $ordering, $page, $search, $startDate, $symbol);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTradesList: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $date = 56; # Integer | 
my $endDate = 2013-10-20; # date | 
my $maxAmount = 3.4; # Float | 
my $minAmount = 3.4; # Float | 
my $ordering = ordering_example; # String | Which field to use when ordering the results.
my $page = 56; # Integer | A page number within the paginated result set.
my $search = search_example; # String | A search term.
my $startDate = 2013-10-20; # date | 
my $symbol = 56; # Integer | 

eval { 
    my $result = $api_instance->pfApiTradesList(date => $date, endDate => $endDate, maxAmount => $maxAmount, minAmount => $minAmount, ordering => $ordering, page => $page, search => $search, startDate => $startDate, symbol => $symbol);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTradesList: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
date = 56 # Integer |  (optional)
endDate = 2013-10-20 # date |  (optional)
maxAmount = 3.4 # Float |  (optional)
minAmount = 3.4 # Float |  (optional)
ordering = ordering_example # String | Which field to use when ordering the results. (optional)
page = 56 # Integer | A page number within the paginated result set. (optional)
search = search_example # String | A search term. (optional)
startDate = 2013-10-20 # date |  (optional)
symbol = 56 # Integer |  (optional)

try: 
    api_response = api_instance.pf_api_trades_list(date=date, endDate=endDate, maxAmount=maxAmount, minAmount=minAmount, ordering=ordering, page=page, search=search, startDate=startDate, symbol=symbol)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTradesList: %s\n" % e)

Parameters

Query parameters
Name Description
date
Integer
end_date
date (date)
max_amount
Float (float)
min_amount
Float (float)
ordering
String
Which field to use when ordering the results.
page
Integer
A page number within the paginated result set.
search
start_date
date (date)
symbol
Integer

Responses

Status: 200 -


pfApiTradesPartialUpdate

Partially update details of a trade


/pf/api/trades/{rowId}/

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/trades/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this trades.
        PatchedTrades body = ; // PatchedTrades | 
        try {
            Trades result = apiInstance.pfApiTradesPartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTradesPartialUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this trades.
        PatchedTrades body = ; // PatchedTrades | 
        try {
            Trades result = apiInstance.pfApiTradesPartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTradesPartialUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this trades.
PatchedTrades *body = ; //  (optional)

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

[apiInstance pfApiTradesPartialUpdateWith:rowId
    body:body
              completionHandler: ^(Trades output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this trades.
var opts = { 
  'body':  //  
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiTradesPartialUpdate(rowId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiTradesPartialUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this trades.
            var body = new PatchedTrades(); // PatchedTrades |  (optional) 

            try
            {
                Trades result = apiInstance.pfApiTradesPartialUpdate(rowId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTradesPartialUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this trades.
$body = ; // PatchedTrades | 

try {
    $result = $api_instance->pfApiTradesPartialUpdate($rowId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTradesPartialUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this trades.
my $body = WWW::SwaggerClient::Object::PatchedTrades->new(); # PatchedTrades | 

eval { 
    my $result = $api_instance->pfApiTradesPartialUpdate(rowId => $rowId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTradesPartialUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this trades.
body =  # PatchedTrades |  (optional)

try: 
    api_response = api_instance.pf_api_trades_partial_update(rowId, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTradesPartialUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this trades.
Required
Body parameters
Name Description
body
Form parameters
Name Description
date
Integer
account
Integer
symbol
Integer
quantity
Integer
amount
Double (double)
date
Integer
account
Integer
symbol
Integer
quantity
Integer
amount
Double (double)
Query parameters
Name Description

Responses

Status: 200 -


pfApiTradesRetrieve

Retrieve details of a trade


/pf/api/trades/{rowId}/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/trades/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this trades.
        try {
            Trades result = apiInstance.pfApiTradesRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTradesRetrieve");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this trades.
        try {
            Trades result = apiInstance.pfApiTradesRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTradesRetrieve");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this trades.

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

[apiInstance pfApiTradesRetrieveWith:rowId
              completionHandler: ^(Trades output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this trades.

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

namespace Example
{
    public class pfApiTradesRetrieveExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this trades.

            try
            {
                Trades result = apiInstance.pfApiTradesRetrieve(rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTradesRetrieve: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this trades.

try {
    $result = $api_instance->pfApiTradesRetrieve($rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTradesRetrieve: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this trades.

eval { 
    my $result = $api_instance->pfApiTradesRetrieve(rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTradesRetrieve: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this trades.

try: 
    api_response = api_instance.pf_api_trades_retrieve(rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTradesRetrieve: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this trades.
Required
Query parameters
Name Description

Responses

Status: 200 -


pfApiTradesUpdate

Update details of a trade


/pf/api/trades/{rowId}/

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/trades/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Trades body = ; // Trades | 
        Integer rowId = 56; // Integer | A unique value identifying this trades.
        try {
            Trades result = apiInstance.pfApiTradesUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTradesUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Trades body = ; // Trades | 
        Integer rowId = 56; // Integer | A unique value identifying this trades.
        try {
            Trades result = apiInstance.pfApiTradesUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTradesUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Trades *body = ; // 
Integer *rowId = 56; // A unique value identifying this trades.

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

[apiInstance pfApiTradesUpdateWith:body
    rowId:rowId
              completionHandler: ^(Trades output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  
var rowId = 56; //  A unique value identifying this trades.

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

namespace Example
{
    public class pfApiTradesUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Trades(); // Trades | 
            var rowId = 56;  // Integer | A unique value identifying this trades.

            try
            {
                Trades result = apiInstance.pfApiTradesUpdate(body, rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTradesUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Trades | 
$rowId = 56; // Integer | A unique value identifying this trades.

try {
    $result = $api_instance->pfApiTradesUpdate($body, $rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTradesUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $body = WWW::SwaggerClient::Object::Trades->new(); # Trades | 
my $rowId = 56; # Integer | A unique value identifying this trades.

eval { 
    my $result = $api_instance->pfApiTradesUpdate(body => $body, rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTradesUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
body =  # Trades | 
rowId = 56 # Integer | A unique value identifying this trades.

try: 
    api_response = api_instance.pf_api_trades_update(body, rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTradesUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this trades.
Required
Body parameters
Name Description
body *
Form parameters
Name Description
date*
Integer
Required
account*
Integer
Required
symbol*
Integer
Required
quantity*
Integer
Required
amount*
Double (double)
Required
date*
Integer
Required
account*
Integer
Required
symbol*
Integer
Required
quantity*
Integer
Required
amount*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 200 -


pfApiTransactionsCreate

Create new instance of a transaction


/pf/api/transactions/

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/transactions/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

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

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Transactions body = ; // Transactions | 
        try {
            Transactions result = apiInstance.pfApiTransactionsCreate(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransactionsCreate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Transactions *body = ; // 

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

[apiInstance pfApiTransactionsCreateWith:body
              completionHandler: ^(Transactions output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  

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

namespace Example
{
    public class pfApiTransactionsCreateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Transactions(); // Transactions | 

            try
            {
                Transactions result = apiInstance.pfApiTransactionsCreate(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransactionsCreate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Transactions | 

try {
    $result = $api_instance->pfApiTransactionsCreate($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransactionsCreate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

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

eval { 
    my $result = $api_instance->pfApiTransactionsCreate(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransactionsCreate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

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

try: 
    api_response = api_instance.pf_api_transactions_create(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransactionsCreate: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Form parameters
Name Description
rowId*
Integer
Required
date*
date (date)
Required
description*
String
Required
location*
String
Required
category*
String
Required
amount*
Double (double)
Required
rowId*
Integer
Required
date*
date (date)
Required
description*
String
Required
location*
String
Required
category*
String
Required
amount*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 201 -


pfApiTransactionsDestroy

Remove an instance of a transaction


/pf/api/transactions/{rowId}/

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Basic [[basicHash]]"\
\
"//pf/api/transactions/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transactions.
        try {
            apiInstance.pfApiTransactionsDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransactionsDestroy");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transactions.
        try {
            apiInstance.pfApiTransactionsDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransactionsDestroy");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this transactions.

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

[apiInstance pfApiTransactionsDestroyWith:rowId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this transactions.

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

namespace Example
{
    public class pfApiTransactionsDestroyExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this transactions.

            try
            {
                apiInstance.pfApiTransactionsDestroy(rowId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransactionsDestroy: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this transactions.

try {
    $api_instance->pfApiTransactionsDestroy($rowId);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransactionsDestroy: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this transactions.

eval { 
    $api_instance->pfApiTransactionsDestroy(rowId => $rowId);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransactionsDestroy: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this transactions.

try: 
    api_instance.pf_api_transactions_destroy(rowId)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransactionsDestroy: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this transactions.
Required
Query parameters
Name Description

Responses

Status: 204 - No response body


pfApiTransactionsList

Retrieve list of transactions (expenses). Can filter/search/order response.


/pf/api/transactions/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/transactions/?category=&date=&end_date=&location=&max_amount=&min_amount=&ordering=&page=&search=&start_date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        String category = category_example; // String | 
        date date = 2013-10-20; // date | 
        date endDate = 2013-10-20; // date | 
        String location = location_example; // String | 
        Float maxAmount = 3.4; // Float | 
        Float minAmount = 3.4; // Float | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        date startDate = 2013-10-20; // date | 
        try {
            PaginatedTransactionsList result = apiInstance.pfApiTransactionsList(category, date, endDate, location, maxAmount, minAmount, ordering, page, search, startDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransactionsList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        String category = category_example; // String | 
        date date = 2013-10-20; // date | 
        date endDate = 2013-10-20; // date | 
        String location = location_example; // String | 
        Float maxAmount = 3.4; // Float | 
        Float minAmount = 3.4; // Float | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        date startDate = 2013-10-20; // date | 
        try {
            PaginatedTransactionsList result = apiInstance.pfApiTransactionsList(category, date, endDate, location, maxAmount, minAmount, ordering, page, search, startDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransactionsList");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
String *category = category_example; //  (optional)
date *date = 2013-10-20; //  (optional)
date *endDate = 2013-10-20; //  (optional)
String *location = location_example; //  (optional)
Float *maxAmount = 3.4; //  (optional)
Float *minAmount = 3.4; //  (optional)
String *ordering = ordering_example; // Which field to use when ordering the results. (optional)
Integer *page = 56; // A page number within the paginated result set. (optional)
String *search = search_example; // A search term. (optional)
date *startDate = 2013-10-20; //  (optional)

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

[apiInstance pfApiTransactionsListWith:category
    date:date
    endDate:endDate
    location:location
    maxAmount:maxAmount
    minAmount:minAmount
    ordering:ordering
    page:page
    search:search
    startDate:startDate
              completionHandler: ^(PaginatedTransactionsList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var opts = { 
  'category': category_example, //  
  'date': 2013-10-20, //  
  'endDate': 2013-10-20, //  
  'location': location_example, //  
  'maxAmount': 3.4, //  
  'minAmount': 3.4, //  
  'ordering': ordering_example, //  Which field to use when ordering the results.
  'page': 56, //  A page number within the paginated result set.
  'search': search_example, //  A search term.
  'startDate': 2013-10-20 //  
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiTransactionsList(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiTransactionsListExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var category = category_example;  // String |  (optional) 
            var date = 2013-10-20;  // date |  (optional) 
            var endDate = 2013-10-20;  // date |  (optional) 
            var location = location_example;  // String |  (optional) 
            var maxAmount = 3.4;  // Float |  (optional) 
            var minAmount = 3.4;  // Float |  (optional) 
            var ordering = ordering_example;  // String | Which field to use when ordering the results. (optional) 
            var page = 56;  // Integer | A page number within the paginated result set. (optional) 
            var search = search_example;  // String | A search term. (optional) 
            var startDate = 2013-10-20;  // date |  (optional) 

            try
            {
                PaginatedTransactionsList result = apiInstance.pfApiTransactionsList(category, date, endDate, location, maxAmount, minAmount, ordering, page, search, startDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransactionsList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$category = category_example; // String | 
$date = 2013-10-20; // date | 
$endDate = 2013-10-20; // date | 
$location = location_example; // String | 
$maxAmount = 3.4; // Float | 
$minAmount = 3.4; // Float | 
$ordering = ordering_example; // String | Which field to use when ordering the results.
$page = 56; // Integer | A page number within the paginated result set.
$search = search_example; // String | A search term.
$startDate = 2013-10-20; // date | 

try {
    $result = $api_instance->pfApiTransactionsList($category, $date, $endDate, $location, $maxAmount, $minAmount, $ordering, $page, $search, $startDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransactionsList: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $category = category_example; # String | 
my $date = 2013-10-20; # date | 
my $endDate = 2013-10-20; # date | 
my $location = location_example; # String | 
my $maxAmount = 3.4; # Float | 
my $minAmount = 3.4; # Float | 
my $ordering = ordering_example; # String | Which field to use when ordering the results.
my $page = 56; # Integer | A page number within the paginated result set.
my $search = search_example; # String | A search term.
my $startDate = 2013-10-20; # date | 

eval { 
    my $result = $api_instance->pfApiTransactionsList(category => $category, date => $date, endDate => $endDate, location => $location, maxAmount => $maxAmount, minAmount => $minAmount, ordering => $ordering, page => $page, search => $search, startDate => $startDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransactionsList: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
category = category_example # String |  (optional)
date = 2013-10-20 # date |  (optional)
endDate = 2013-10-20 # date |  (optional)
location = location_example # String |  (optional)
maxAmount = 3.4 # Float |  (optional)
minAmount = 3.4 # Float |  (optional)
ordering = ordering_example # String | Which field to use when ordering the results. (optional)
page = 56 # Integer | A page number within the paginated result set. (optional)
search = search_example # String | A search term. (optional)
startDate = 2013-10-20 # date |  (optional)

try: 
    api_response = api_instance.pf_api_transactions_list(category=category, date=date, endDate=endDate, location=location, maxAmount=maxAmount, minAmount=minAmount, ordering=ordering, page=page, search=search, startDate=startDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransactionsList: %s\n" % e)

Parameters

Query parameters
Name Description
category
String
date
date (date)
end_date
date (date)
location
String
max_amount
Float (float)
min_amount
Float (float)
ordering
String
Which field to use when ordering the results.
page
Integer
A page number within the paginated result set.
search
start_date
date (date)

Responses

Status: 200 -


pfApiTransactionsPartialUpdate

Partially update details of a transaction


/pf/api/transactions/{rowId}/

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/transactions/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transactions.
        PatchedTransactions body = ; // PatchedTransactions | 
        try {
            Transactions result = apiInstance.pfApiTransactionsPartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransactionsPartialUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transactions.
        PatchedTransactions body = ; // PatchedTransactions | 
        try {
            Transactions result = apiInstance.pfApiTransactionsPartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransactionsPartialUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this transactions.
PatchedTransactions *body = ; //  (optional)

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

[apiInstance pfApiTransactionsPartialUpdateWith:rowId
    body:body
              completionHandler: ^(Transactions output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this transactions.
var opts = { 
  'body':  //  
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiTransactionsPartialUpdate(rowId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiTransactionsPartialUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this transactions.
            var body = new PatchedTransactions(); // PatchedTransactions |  (optional) 

            try
            {
                Transactions result = apiInstance.pfApiTransactionsPartialUpdate(rowId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransactionsPartialUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this transactions.
$body = ; // PatchedTransactions | 

try {
    $result = $api_instance->pfApiTransactionsPartialUpdate($rowId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransactionsPartialUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this transactions.
my $body = WWW::SwaggerClient::Object::PatchedTransactions->new(); # PatchedTransactions | 

eval { 
    my $result = $api_instance->pfApiTransactionsPartialUpdate(rowId => $rowId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransactionsPartialUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this transactions.
body =  # PatchedTransactions |  (optional)

try: 
    api_response = api_instance.pf_api_transactions_partial_update(rowId, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransactionsPartialUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this transactions.
Required
Body parameters
Name Description
body
Form parameters
Name Description
rowId
Integer
date
date (date)
description
String
location
String
category
String
amount
Double (double)
rowId
Integer
date
date (date)
description
String
location
String
category
String
amount
Double (double)
Query parameters
Name Description

Responses

Status: 200 -


pfApiTransactionsRetrieve

Retrieve details of a transaction


/pf/api/transactions/{rowId}/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/transactions/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transactions.
        try {
            Transactions result = apiInstance.pfApiTransactionsRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransactionsRetrieve");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transactions.
        try {
            Transactions result = apiInstance.pfApiTransactionsRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransactionsRetrieve");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this transactions.

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

[apiInstance pfApiTransactionsRetrieveWith:rowId
              completionHandler: ^(Transactions output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this transactions.

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

namespace Example
{
    public class pfApiTransactionsRetrieveExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this transactions.

            try
            {
                Transactions result = apiInstance.pfApiTransactionsRetrieve(rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransactionsRetrieve: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this transactions.

try {
    $result = $api_instance->pfApiTransactionsRetrieve($rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransactionsRetrieve: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this transactions.

eval { 
    my $result = $api_instance->pfApiTransactionsRetrieve(rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransactionsRetrieve: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this transactions.

try: 
    api_response = api_instance.pf_api_transactions_retrieve(rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransactionsRetrieve: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this transactions.
Required
Query parameters
Name Description

Responses

Status: 200 -


pfApiTransactionsUpdate

Update details of a transaction


/pf/api/transactions/{rowId}/

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/transactions/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Transactions body = ; // Transactions | 
        Integer rowId = 56; // Integer | A unique value identifying this transactions.
        try {
            Transactions result = apiInstance.pfApiTransactionsUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransactionsUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Transactions body = ; // Transactions | 
        Integer rowId = 56; // Integer | A unique value identifying this transactions.
        try {
            Transactions result = apiInstance.pfApiTransactionsUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransactionsUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Transactions *body = ; // 
Integer *rowId = 56; // A unique value identifying this transactions.

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

[apiInstance pfApiTransactionsUpdateWith:body
    rowId:rowId
              completionHandler: ^(Transactions output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  
var rowId = 56; //  A unique value identifying this transactions.

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

namespace Example
{
    public class pfApiTransactionsUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Transactions(); // Transactions | 
            var rowId = 56;  // Integer | A unique value identifying this transactions.

            try
            {
                Transactions result = apiInstance.pfApiTransactionsUpdate(body, rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransactionsUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Transactions | 
$rowId = 56; // Integer | A unique value identifying this transactions.

try {
    $result = $api_instance->pfApiTransactionsUpdate($body, $rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransactionsUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $body = WWW::SwaggerClient::Object::Transactions->new(); # Transactions | 
my $rowId = 56; # Integer | A unique value identifying this transactions.

eval { 
    my $result = $api_instance->pfApiTransactionsUpdate(body => $body, rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransactionsUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
body =  # Transactions | 
rowId = 56 # Integer | A unique value identifying this transactions.

try: 
    api_response = api_instance.pf_api_transactions_update(body, rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransactionsUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this transactions.
Required
Body parameters
Name Description
body *
Form parameters
Name Description
rowId*
Integer
Required
date*
date (date)
Required
description*
String
Required
location*
String
Required
category*
String
Required
amount*
Double (double)
Required
rowId*
Integer
Required
date*
date (date)
Required
description*
String
Required
location*
String
Required
category*
String
Required
amount*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 200 -


pfApiTransfersCreate

Create new instance of a transfer


/pf/api/transfers/

Usage and SDK Samples

curl -X POST\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/transfers/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

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

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Transfers body = ; // Transfers | 
        try {
            Transfers result = apiInstance.pfApiTransfersCreate(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransfersCreate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Transfers *body = ; // 

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

[apiInstance pfApiTransfersCreateWith:body
              completionHandler: ^(Transfers output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  

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

namespace Example
{
    public class pfApiTransfersCreateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Transfers(); // Transfers | 

            try
            {
                Transfers result = apiInstance.pfApiTransfersCreate(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransfersCreate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Transfers | 

try {
    $result = $api_instance->pfApiTransfersCreate($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransfersCreate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

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

eval { 
    my $result = $api_instance->pfApiTransfersCreate(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransfersCreate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

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

try: 
    api_response = api_instance.pf_api_transfers_create(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransfersCreate: %s\n" % e)

Parameters

Body parameters
Name Description
body *
Form parameters
Name Description
date*
Integer
Required
account*
Integer
Required
amount*
Double (double)
Required
date*
Integer
Required
account*
Integer
Required
amount*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 201 -


pfApiTransfersDestroy

Remove an instance of a transfer


/pf/api/transfers/{rowId}/

Usage and SDK Samples

curl -X DELETE\
 -H "Authorization: Basic [[basicHash]]"\
\
"//pf/api/transfers/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transfers.
        try {
            apiInstance.pfApiTransfersDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransfersDestroy");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transfers.
        try {
            apiInstance.pfApiTransfersDestroy(rowId);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransfersDestroy");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this transfers.

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

[apiInstance pfApiTransfersDestroyWith:rowId
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this transfers.

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

namespace Example
{
    public class pfApiTransfersDestroyExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this transfers.

            try
            {
                apiInstance.pfApiTransfersDestroy(rowId);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransfersDestroy: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this transfers.

try {
    $api_instance->pfApiTransfersDestroy($rowId);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransfersDestroy: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this transfers.

eval { 
    $api_instance->pfApiTransfersDestroy(rowId => $rowId);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransfersDestroy: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this transfers.

try: 
    api_instance.pf_api_transfers_destroy(rowId)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransfersDestroy: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this transfers.
Required
Query parameters
Name Description

Responses

Status: 204 - No response body


pfApiTransfersList

Retrieve list of account transfers (deposits and withrawals). Can filter/search/order response.


/pf/api/transfers/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/transfers/?date=&end_date=&max_amount=&min_amount=&ordering=&page=&search=&start_date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer date = 56; // Integer | 
        date endDate = 2013-10-20; // date | 
        Float maxAmount = 3.4; // Float | 
        Float minAmount = 3.4; // Float | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        date startDate = 2013-10-20; // date | 
        try {
            PaginatedTransfersList result = apiInstance.pfApiTransfersList(date, endDate, maxAmount, minAmount, ordering, page, search, startDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransfersList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer date = 56; // Integer | 
        date endDate = 2013-10-20; // date | 
        Float maxAmount = 3.4; // Float | 
        Float minAmount = 3.4; // Float | 
        String ordering = ordering_example; // String | Which field to use when ordering the results.
        Integer page = 56; // Integer | A page number within the paginated result set.
        String search = search_example; // String | A search term.
        date startDate = 2013-10-20; // date | 
        try {
            PaginatedTransfersList result = apiInstance.pfApiTransfersList(date, endDate, maxAmount, minAmount, ordering, page, search, startDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransfersList");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *date = 56; //  (optional)
date *endDate = 2013-10-20; //  (optional)
Float *maxAmount = 3.4; //  (optional)
Float *minAmount = 3.4; //  (optional)
String *ordering = ordering_example; // Which field to use when ordering the results. (optional)
Integer *page = 56; // A page number within the paginated result set. (optional)
String *search = search_example; // A search term. (optional)
date *startDate = 2013-10-20; //  (optional)

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

[apiInstance pfApiTransfersListWith:date
    endDate:endDate
    maxAmount:maxAmount
    minAmount:minAmount
    ordering:ordering
    page:page
    search:search
    startDate:startDate
              completionHandler: ^(PaginatedTransfersList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var opts = { 
  'date': 56, //  
  'endDate': 2013-10-20, //  
  'maxAmount': 3.4, //  
  'minAmount': 3.4, //  
  'ordering': ordering_example, //  Which field to use when ordering the results.
  'page': 56, //  A page number within the paginated result set.
  'search': search_example, //  A search term.
  'startDate': 2013-10-20 //  
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiTransfersList(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiTransfersListExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var date = 56;  // Integer |  (optional) 
            var endDate = 2013-10-20;  // date |  (optional) 
            var maxAmount = 3.4;  // Float |  (optional) 
            var minAmount = 3.4;  // Float |  (optional) 
            var ordering = ordering_example;  // String | Which field to use when ordering the results. (optional) 
            var page = 56;  // Integer | A page number within the paginated result set. (optional) 
            var search = search_example;  // String | A search term. (optional) 
            var startDate = 2013-10-20;  // date |  (optional) 

            try
            {
                PaginatedTransfersList result = apiInstance.pfApiTransfersList(date, endDate, maxAmount, minAmount, ordering, page, search, startDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransfersList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$date = 56; // Integer | 
$endDate = 2013-10-20; // date | 
$maxAmount = 3.4; // Float | 
$minAmount = 3.4; // Float | 
$ordering = ordering_example; // String | Which field to use when ordering the results.
$page = 56; // Integer | A page number within the paginated result set.
$search = search_example; // String | A search term.
$startDate = 2013-10-20; // date | 

try {
    $result = $api_instance->pfApiTransfersList($date, $endDate, $maxAmount, $minAmount, $ordering, $page, $search, $startDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransfersList: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $date = 56; # Integer | 
my $endDate = 2013-10-20; # date | 
my $maxAmount = 3.4; # Float | 
my $minAmount = 3.4; # Float | 
my $ordering = ordering_example; # String | Which field to use when ordering the results.
my $page = 56; # Integer | A page number within the paginated result set.
my $search = search_example; # String | A search term.
my $startDate = 2013-10-20; # date | 

eval { 
    my $result = $api_instance->pfApiTransfersList(date => $date, endDate => $endDate, maxAmount => $maxAmount, minAmount => $minAmount, ordering => $ordering, page => $page, search => $search, startDate => $startDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransfersList: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
date = 56 # Integer |  (optional)
endDate = 2013-10-20 # date |  (optional)
maxAmount = 3.4 # Float |  (optional)
minAmount = 3.4 # Float |  (optional)
ordering = ordering_example # String | Which field to use when ordering the results. (optional)
page = 56 # Integer | A page number within the paginated result set. (optional)
search = search_example # String | A search term. (optional)
startDate = 2013-10-20 # date |  (optional)

try: 
    api_response = api_instance.pf_api_transfers_list(date=date, endDate=endDate, maxAmount=maxAmount, minAmount=minAmount, ordering=ordering, page=page, search=search, startDate=startDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransfersList: %s\n" % e)

Parameters

Query parameters
Name Description
date
Integer
end_date
date (date)
max_amount
Float (float)
min_amount
Float (float)
ordering
String
Which field to use when ordering the results.
page
Integer
A page number within the paginated result set.
search
start_date
date (date)

Responses

Status: 200 -


pfApiTransfersPartialUpdate

Partially update details of a transfer


/pf/api/transfers/{rowId}/

Usage and SDK Samples

curl -X PATCH\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/transfers/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transfers.
        PatchedTransfers body = ; // PatchedTransfers | 
        try {
            Transfers result = apiInstance.pfApiTransfersPartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransfersPartialUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transfers.
        PatchedTransfers body = ; // PatchedTransfers | 
        try {
            Transfers result = apiInstance.pfApiTransfersPartialUpdate(rowId, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransfersPartialUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this transfers.
PatchedTransfers *body = ; //  (optional)

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

[apiInstance pfApiTransfersPartialUpdateWith:rowId
    body:body
              completionHandler: ^(Transfers output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this transfers.
var opts = { 
  'body':  //  
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pfApiTransfersPartialUpdate(rowId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pfApiTransfersPartialUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this transfers.
            var body = new PatchedTransfers(); // PatchedTransfers |  (optional) 

            try
            {
                Transfers result = apiInstance.pfApiTransfersPartialUpdate(rowId, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransfersPartialUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this transfers.
$body = ; // PatchedTransfers | 

try {
    $result = $api_instance->pfApiTransfersPartialUpdate($rowId, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransfersPartialUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this transfers.
my $body = WWW::SwaggerClient::Object::PatchedTransfers->new(); # PatchedTransfers | 

eval { 
    my $result = $api_instance->pfApiTransfersPartialUpdate(rowId => $rowId, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransfersPartialUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this transfers.
body =  # PatchedTransfers |  (optional)

try: 
    api_response = api_instance.pf_api_transfers_partial_update(rowId, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransfersPartialUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this transfers.
Required
Body parameters
Name Description
body
Form parameters
Name Description
date
Integer
account
Integer
amount
Double (double)
date
Integer
account
Integer
amount
Double (double)
Query parameters
Name Description

Responses

Status: 200 -


pfApiTransfersRetrieve

Retrieve details of a transfer


/pf/api/transfers/{rowId}/

Usage and SDK Samples

curl -X GET\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
"//pf/api/transfers/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transfers.
        try {
            Transfers result = apiInstance.pfApiTransfersRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransfersRetrieve");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Integer rowId = 56; // Integer | A unique value identifying this transfers.
        try {
            Transfers result = apiInstance.pfApiTransfersRetrieve(rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransfersRetrieve");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Integer *rowId = 56; // A unique value identifying this transfers.

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

[apiInstance pfApiTransfersRetrieveWith:rowId
              completionHandler: ^(Transfers output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var rowId = 56; //  A unique value identifying this transfers.

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

namespace Example
{
    public class pfApiTransfersRetrieveExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var rowId = 56;  // Integer | A unique value identifying this transfers.

            try
            {
                Transfers result = apiInstance.pfApiTransfersRetrieve(rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransfersRetrieve: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$rowId = 56; // Integer | A unique value identifying this transfers.

try {
    $result = $api_instance->pfApiTransfersRetrieve($rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransfersRetrieve: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $rowId = 56; # Integer | A unique value identifying this transfers.

eval { 
    my $result = $api_instance->pfApiTransfersRetrieve(rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransfersRetrieve: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
rowId = 56 # Integer | A unique value identifying this transfers.

try: 
    api_response = api_instance.pf_api_transfers_retrieve(rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransfersRetrieve: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this transfers.
Required
Query parameters
Name Description

Responses

Status: 200 -


pfApiTransfersUpdate

Update details of a transfer


/pf/api/transfers/{rowId}/

Usage and SDK Samples

curl -X PUT\
 -H "Authorization: Basic [[basicHash]]"\
\
-H "Accept: application/json"\
-H "Content-Type: application/json,application/x-www-form-urlencoded,multipart/form-data"\
"//pf/api/transfers/{rowId}/?"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PfApi;

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

public class PfApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        // Configure HTTP basic authorization: basicAuth
        HttpBasicAuth basicAuth = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
        basicAuth.setUsername("YOUR USERNAME");
        basicAuth.setPassword("YOUR PASSWORD");

        // Configure API key authorization: cookieAuth
        ApiKeyAuth cookieAuth = (ApiKeyAuth) defaultClient.getAuthentication("cookieAuth");
        cookieAuth.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //cookieAuth.setApiKeyPrefix("Token");

        PfApi apiInstance = new PfApi();
        Transfers body = ; // Transfers | 
        Integer rowId = 56; // Integer | A unique value identifying this transfers.
        try {
            Transfers result = apiInstance.pfApiTransfersUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransfersUpdate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PfApi;

public class PfApiExample {

    public static void main(String[] args) {
        PfApi apiInstance = new PfApi();
        Transfers body = ; // Transfers | 
        Integer rowId = 56; // Integer | A unique value identifying this transfers.
        try {
            Transfers result = apiInstance.pfApiTransfersUpdate(body, rowId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PfApi#pfApiTransfersUpdate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure HTTP basic authorization (authentication scheme: basicAuth)
[apiConfig setUsername:@"YOUR_USERNAME"];
[apiConfig setPassword:@"YOUR_PASSWORD"];
// Configure API key authorization: (authentication scheme: cookieAuth)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"sessionid"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"sessionid"];
Transfers *body = ; // 
Integer *rowId = 56; // A unique value identifying this transfers.

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

[apiInstance pfApiTransfersUpdateWith:body
    rowId:rowId
              completionHandler: ^(Transfers output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PersonalFinanceApi = require('personal_finance_api');
var defaultClient = PersonalFinanceApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

// Configure API key authorization: cookieAuth
var cookieAuth = defaultClient.authentications['cookieAuth'];
cookieAuth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//cookieAuth.apiKeyPrefix['sessionid'] = "Token"

var api = new PersonalFinanceApi.PfApi()
var body = ; //  
var rowId = 56; //  A unique value identifying this transfers.

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

namespace Example
{
    public class pfApiTransfersUpdateExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: basicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";
            // Configure API key authorization: cookieAuth
            Configuration.Default.ApiKey.Add("sessionid", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("sessionid", "Bearer");

            var apiInstance = new PfApi();
            var body = new Transfers(); // Transfers | 
            var rowId = 56;  // Integer | A unique value identifying this transfers.

            try
            {
                Transfers result = apiInstance.pfApiTransfersUpdate(body, rowId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PfApi.pfApiTransfersUpdate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Swagger\Client\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
// Configure API key authorization: cookieAuth
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer');

$api_instance = new Swagger\Client\ApiPfApi();
$body = ; // Transfers | 
$rowId = 56; // Integer | A unique value identifying this transfers.

try {
    $result = $api_instance->pfApiTransfersUpdate($body, $rowId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PfApi->pfApiTransfersUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PfApi;
# Configure HTTP basic authorization: basicAuth
$WWW::SwaggerClient::Configuration::username = 'YOUR_USERNAME';
$WWW::SwaggerClient::Configuration::password = 'YOUR_PASSWORD';
# Configure API key authorization: cookieAuth
$WWW::SwaggerClient::Configuration::api_key->{'sessionid'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'sessionid'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PfApi->new();
my $body = WWW::SwaggerClient::Object::Transfers->new(); # Transfers | 
my $rowId = 56; # Integer | A unique value identifying this transfers.

eval { 
    my $result = $api_instance->pfApiTransfersUpdate(body => $body, rowId => $rowId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PfApi->pfApiTransfersUpdate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: cookieAuth
swagger_client.configuration.api_key['sessionid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['sessionid'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PfApi()
body =  # Transfers | 
rowId = 56 # Integer | A unique value identifying this transfers.

try: 
    api_response = api_instance.pf_api_transfers_update(body, rowId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PfApi->pfApiTransfersUpdate: %s\n" % e)

Parameters

Path parameters
Name Description
rowId*
Integer
A unique value identifying this transfers.
Required
Body parameters
Name Description
body *
Form parameters
Name Description
date*
Integer
Required
account*
Integer
Required
amount*
Double (double)
Required
date*
Integer
Required
account*
Integer
Required
amount*
Double (double)
Required
Query parameters
Name Description

Responses

Status: 200 -