Jenkon REST API V2.1

AccountDocumentNotes

notesDeleteNotes

Get account notes by document code.


/api/Accounts/{accountCode}/Documents/{documentCode}/Notes

Usage and SDK Samples

curl -X DELETE "https://localhost:44356/api/Accounts/{accountCode}/Documents/{documentCode}/Notes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountDocumentNotesApi;

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

public class AccountDocumentNotesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountDocumentNotesApi apiInstance = new AccountDocumentNotesApi();
        String accountCode = accountCode_example; // String | 
        String documentCode = documentCode_example; // String | 
        array[String] notesCodes = ; // array[String] | 
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.notesDeleteNotes(accountCode, documentCode, notesCodes, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentNotesApi#notesDeleteNotes");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountDocumentNotesApi;

public class AccountDocumentNotesApiExample {

    public static void main(String[] args) {
        AccountDocumentNotesApi apiInstance = new AccountDocumentNotesApi();
        String accountCode = accountCode_example; // String | 
        String documentCode = documentCode_example; // String | 
        array[String] notesCodes = ; // array[String] | 
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.notesDeleteNotes(accountCode, documentCode, notesCodes, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentNotesApi#notesDeleteNotes");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *accountCode = accountCode_example; // 
String *documentCode = documentCode_example; // 
array[String] *notesCodes = ; // 
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Get account notes by document code.
[apiInstance notesDeleteNotesWith:accountCode
    documentCode:documentCode
    notesCodes:notesCodes
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountDocumentNotesApi()

var accountCode = accountCode_example; // {String} 

var documentCode = documentCode_example; // {String} 

var notesCodes = ; // {array[String]} 

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class notesDeleteNotesExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountDocumentNotesApi();
            var accountCode = accountCode_example;  // String | 
            var documentCode = documentCode_example;  // String | 
            var notesCodes = new array[String](); // array[String] | 
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Get account notes by document code.
                Object result = apiInstance.notesDeleteNotes(accountCode, documentCode, notesCodes, authorization, acceptLanguage, apiVersion);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountDocumentNotesApi.notesDeleteNotes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountDocumentNotesApi();
$accountCode = accountCode_example; // String | 
$documentCode = documentCode_example; // String | 
$notesCodes = ; // array[String] | 
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $result = $api_instance->notesDeleteNotes($accountCode, $documentCode, $notesCodes, $authorization, $acceptLanguage, $apiVersion);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountDocumentNotesApi->notesDeleteNotes: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountDocumentNotesApi;

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

my $api_instance = WWW::SwaggerClient::AccountDocumentNotesApi->new();
my $accountCode = accountCode_example; # String | 
my $documentCode = documentCode_example; # String | 
my $notesCodes = [WWW::SwaggerClient::Object::array[String]->new()]; # array[String] | 
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    my $result = $api_instance->notesDeleteNotes(accountCode => $accountCode, documentCode => $documentCode, notesCodes => $notesCodes, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountDocumentNotesApi->notesDeleteNotes: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountDocumentNotesApi()
accountCode = accountCode_example # String | 
documentCode = documentCode_example # String | 
notesCodes =  # array[String] | 
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Get account notes by document code.
    api_response = api_instance.notes_delete_notes(accountCode, documentCode, notesCodes, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountDocumentNotesApi->notesDeleteNotes: %s\n" % e)

Parameters

Path parameters
Name Description
accountCode*
String
Required
documentCode*
String
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Body parameters
Name Description
notesCodes *

Responses

Status: 200 - OK

Status: 204 - NoContent


notesGetAll

Get account notes by document code.


/api/Accounts/{accountCode}/Documents/{documentCode}/Notes

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/Accounts/{accountCode}/Documents/{documentCode}/Notes?pageNumber=&pageSize=&sortType=&filters="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountDocumentNotesApi;

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

public class AccountDocumentNotesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountDocumentNotesApi apiInstance = new AccountDocumentNotesApi();
        String accountCode = accountCode_example; // String | 
        String documentCode = documentCode_example; // String | 
        Integer pageNumber = 56; // Integer | PageNumber, a number greater than or equal to 0
        Integer pageSize = 56; // Integer | PageSize, a number greater than 0
        String sortType = sortType_example; // String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
        try {
            HateoasCollectionResponse.NoteDto result = apiInstance.notesGetAll(accountCode, documentCode, pageNumber, pageSize, sortType, authorization, acceptLanguage, apiVersion, filters);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentNotesApi#notesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountDocumentNotesApi;

public class AccountDocumentNotesApiExample {

    public static void main(String[] args) {
        AccountDocumentNotesApi apiInstance = new AccountDocumentNotesApi();
        String accountCode = accountCode_example; // String | 
        String documentCode = documentCode_example; // String | 
        Integer pageNumber = 56; // Integer | PageNumber, a number greater than or equal to 0
        Integer pageSize = 56; // Integer | PageSize, a number greater than 0
        String sortType = sortType_example; // String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
        try {
            HateoasCollectionResponse.NoteDto result = apiInstance.notesGetAll(accountCode, documentCode, pageNumber, pageSize, sortType, authorization, acceptLanguage, apiVersion, filters);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentNotesApi#notesGetAll");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *accountCode = accountCode_example; // 
String *documentCode = documentCode_example; // 
Integer *pageNumber = 56; // PageNumber, a number greater than or equal to 0 (default to 1)
Integer *pageSize = 56; // PageSize, a number greater than 0 (default to 25)
String *sortType = sortType_example; // SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending' (default to asc)
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)
String *filters = filters_example; // # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional)

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

// Get account notes by document code.
[apiInstance notesGetAllWith:accountCode
    documentCode:documentCode
    pageNumber:pageNumber
    pageSize:pageSize
    sortType:sortType
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
    filters:filters
              completionHandler: ^(HateoasCollectionResponse.NoteDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountDocumentNotesApi()

var accountCode = accountCode_example; // {String} 

var documentCode = documentCode_example; // {String} 

var pageNumber = 56; // {Integer} PageNumber, a number greater than or equal to 0

var pageSize = 56; // {Integer} PageSize, a number greater than 0

var sortType = sortType_example; // {String} SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example, // {String} Api-Version
  'filters': filters_example // {String} # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.notesGetAll(accountCode, documentCode, pageNumber, pageSize, sortType, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class notesGetAllExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountDocumentNotesApi();
            var accountCode = accountCode_example;  // String | 
            var documentCode = documentCode_example;  // String | 
            var pageNumber = 56;  // Integer | PageNumber, a number greater than or equal to 0 (default to 1)
            var pageSize = 56;  // Integer | PageSize, a number greater than 0 (default to 25)
            var sortType = sortType_example;  // String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending' (default to asc)
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)
            var filters = filters_example;  // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional) 

            try
            {
                // Get account notes by document code.
                HateoasCollectionResponse.NoteDto result = apiInstance.notesGetAll(accountCode, documentCode, pageNumber, pageSize, sortType, authorization, acceptLanguage, apiVersion, filters);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountDocumentNotesApi.notesGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountDocumentNotesApi();
$accountCode = accountCode_example; // String | 
$documentCode = documentCode_example; // String | 
$pageNumber = 56; // Integer | PageNumber, a number greater than or equal to 0
$pageSize = 56; // Integer | PageSize, a number greater than 0
$sortType = sortType_example; // String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version
$filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |

try {
    $result = $api_instance->notesGetAll($accountCode, $documentCode, $pageNumber, $pageSize, $sortType, $authorization, $acceptLanguage, $apiVersion, $filters);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountDocumentNotesApi->notesGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountDocumentNotesApi;

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

my $api_instance = WWW::SwaggerClient::AccountDocumentNotesApi->new();
my $accountCode = accountCode_example; # String | 
my $documentCode = documentCode_example; # String | 
my $pageNumber = 56; # Integer | PageNumber, a number greater than or equal to 0
my $pageSize = 56; # Integer | PageSize, a number greater than 0
my $sortType = sortType_example; # String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version
my $filters = filters_example; # String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |

eval { 
    my $result = $api_instance->notesGetAll(accountCode => $accountCode, documentCode => $documentCode, pageNumber => $pageNumber, pageSize => $pageSize, sortType => $sortType, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion, filters => $filters);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountDocumentNotesApi->notesGetAll: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountDocumentNotesApi()
accountCode = accountCode_example # String | 
documentCode = documentCode_example # String | 
pageNumber = 56 # Integer | PageNumber, a number greater than or equal to 0 (default to 1)
pageSize = 56 # Integer | PageSize, a number greater than 0 (default to 25)
sortType = sortType_example # String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending' (default to asc)
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)
filters = filters_example # String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional)

try: 
    # Get account notes by document code.
    api_response = api_instance.notes_get_all(accountCode, documentCode, pageNumber, pageSize, sortType, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion, filters=filters)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountDocumentNotesApi->notesGetAll: %s\n" % e)

Parameters

Path parameters
Name Description
accountCode*
String
Required
documentCode*
String
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Query parameters
Name Description
pageNumber*
Integer
PageNumber, a number greater than or equal to 0
Required
pageSize*
Integer
PageSize, a number greater than 0
Required
sortType*
String
SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
Required
filters
String
# Filters **Example:** Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07 **SQL equivalent:** SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607') **Supported operators:** | Operators | Sign | Number | String | Char | DateTime | | ------------------ | ----- | ------ | ------ | ---- | -------- | | Equal |**==** | ✓ | ✓ | ✓ | ✓ | | NotEqual |**!=** | ✓ | ✓ | ✓ | ✓ | | GreaterThan |**&gt;** | ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**&gt;=** | ✓ | ✘ | ✘ | ✓ | | LessThan |**&lt;** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan |**&lt;=** | ✓ | ✘ | ✘ | ✓ | | Contains |**~=** | ✘ | ✓ | ✘ | ✘ | | NotContains |**!~=**| ✘ | ✓ | ✘ | ✘ | | StartsWith |**_=** | ✘ | ✓ | ✘ | ✘ | | NotStartsWith |**!_=**| ✘ | ✓ | ✘ | ✘ | | EndsWith |**│=** | ✘ | ✓ | ✘ | ✘ | | NotEndsWith |**!│=**| ✘ | ✓ | ✘ | ✘ |

Responses

Status: 200 - OK


notesGetByCode

Get account notes by document code.


/api/Notes/{code}

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/Notes/{code}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountDocumentNotesApi;

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

public class AccountDocumentNotesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountDocumentNotesApi apiInstance = new AccountDocumentNotesApi();
        String code = code_example; // String | 
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            NoteDto result = apiInstance.notesGetByCode(code, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentNotesApi#notesGetByCode");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountDocumentNotesApi;

public class AccountDocumentNotesApiExample {

    public static void main(String[] args) {
        AccountDocumentNotesApi apiInstance = new AccountDocumentNotesApi();
        String code = code_example; // String | 
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            NoteDto result = apiInstance.notesGetByCode(code, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentNotesApi#notesGetByCode");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *code = code_example; // 
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Get account notes by document code.
[apiInstance notesGetByCodeWith:code
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(NoteDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountDocumentNotesApi()

var code = code_example; // {String} 

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class notesGetByCodeExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountDocumentNotesApi();
            var code = code_example;  // String | 
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Get account notes by document code.
                NoteDto result = apiInstance.notesGetByCode(code, authorization, acceptLanguage, apiVersion);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountDocumentNotesApi.notesGetByCode: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountDocumentNotesApi();
$code = code_example; // String | 
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $result = $api_instance->notesGetByCode($code, $authorization, $acceptLanguage, $apiVersion);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountDocumentNotesApi->notesGetByCode: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountDocumentNotesApi;

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

my $api_instance = WWW::SwaggerClient::AccountDocumentNotesApi->new();
my $code = code_example; # String | 
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    my $result = $api_instance->notesGetByCode(code => $code, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountDocumentNotesApi->notesGetByCode: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountDocumentNotesApi()
code = code_example # String | 
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Get account notes by document code.
    api_response = api_instance.notes_get_by_code(code, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountDocumentNotesApi->notesGetByCode: %s\n" % e)

Parameters

Path parameters
Name Description
code*
String
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version

Responses

Status: 200 - OK


notesPatchNotes

Update document notes for an specific document and account code.


/api/Accounts/{accountCode}/Documents/{documentCode}/Notes

Usage and SDK Samples

curl -X PATCH "https://localhost:44356/api/Accounts/{accountCode}/Documents/{documentCode}/Notes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountDocumentNotesApi;

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

public class AccountDocumentNotesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountDocumentNotesApi apiInstance = new AccountDocumentNotesApi();
        String accountCode = accountCode_example; // String | 
        String documentCode = documentCode_example; // String | 
        array[NotePatch] notes = ; // array[NotePatch] | 
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.notesPatchNotes(accountCode, documentCode, notes, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentNotesApi#notesPatchNotes");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountDocumentNotesApi;

public class AccountDocumentNotesApiExample {

    public static void main(String[] args) {
        AccountDocumentNotesApi apiInstance = new AccountDocumentNotesApi();
        String accountCode = accountCode_example; // String | 
        String documentCode = documentCode_example; // String | 
        array[NotePatch] notes = ; // array[NotePatch] | 
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.notesPatchNotes(accountCode, documentCode, notes, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentNotesApi#notesPatchNotes");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *accountCode = accountCode_example; // 
String *documentCode = documentCode_example; // 
array[NotePatch] *notes = ; // 
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Update document notes for an specific document and account code.
[apiInstance notesPatchNotesWith:accountCode
    documentCode:documentCode
    notes:notes
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountDocumentNotesApi()

var accountCode = accountCode_example; // {String} 

var documentCode = documentCode_example; // {String} 

var notes = ; // {array[NotePatch]} 

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class notesPatchNotesExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountDocumentNotesApi();
            var accountCode = accountCode_example;  // String | 
            var documentCode = documentCode_example;  // String | 
            var notes = new array[NotePatch](); // array[NotePatch] | 
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Update document notes for an specific document and account code.
                Object result = apiInstance.notesPatchNotes(accountCode, documentCode, notes, authorization, acceptLanguage, apiVersion);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountDocumentNotesApi.notesPatchNotes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountDocumentNotesApi();
$accountCode = accountCode_example; // String | 
$documentCode = documentCode_example; // String | 
$notes = ; // array[NotePatch] | 
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $result = $api_instance->notesPatchNotes($accountCode, $documentCode, $notes, $authorization, $acceptLanguage, $apiVersion);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountDocumentNotesApi->notesPatchNotes: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountDocumentNotesApi;

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

my $api_instance = WWW::SwaggerClient::AccountDocumentNotesApi->new();
my $accountCode = accountCode_example; # String | 
my $documentCode = documentCode_example; # String | 
my $notes = [WWW::SwaggerClient::Object::array[NotePatch]->new()]; # array[NotePatch] | 
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    my $result = $api_instance->notesPatchNotes(accountCode => $accountCode, documentCode => $documentCode, notes => $notes, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountDocumentNotesApi->notesPatchNotes: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountDocumentNotesApi()
accountCode = accountCode_example # String | 
documentCode = documentCode_example # String | 
notes =  # array[NotePatch] | 
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Update document notes for an specific document and account code.
    api_response = api_instance.notes_patch_notes(accountCode, documentCode, notes, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountDocumentNotesApi->notesPatchNotes: %s\n" % e)

Parameters

Path parameters
Name Description
accountCode*
String
Required
documentCode*
String
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Body parameters
Name Description
notes *

Responses

Status: 200 - OK

Status: 201 - Created


notesPostNotes

Create document notes for an specific document and account code.


/api/Accounts/{accountCode}/Documents/{documentCode}/Notes

Usage and SDK Samples

curl -X POST "https://localhost:44356/api/Accounts/{accountCode}/Documents/{documentCode}/Notes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountDocumentNotesApi;

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

public class AccountDocumentNotesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountDocumentNotesApi apiInstance = new AccountDocumentNotesApi();
        String accountCode = accountCode_example; // String | 
        String documentCode = documentCode_example; // String | 
        array[NotePost] notes = ; // array[NotePost] | 
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.notesPostNotes(accountCode, documentCode, notes, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentNotesApi#notesPostNotes");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountDocumentNotesApi;

public class AccountDocumentNotesApiExample {

    public static void main(String[] args) {
        AccountDocumentNotesApi apiInstance = new AccountDocumentNotesApi();
        String accountCode = accountCode_example; // String | 
        String documentCode = documentCode_example; // String | 
        array[NotePost] notes = ; // array[NotePost] | 
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.notesPostNotes(accountCode, documentCode, notes, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentNotesApi#notesPostNotes");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *accountCode = accountCode_example; // 
String *documentCode = documentCode_example; // 
array[NotePost] *notes = ; // 
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Create document notes for an specific document and account code.
[apiInstance notesPostNotesWith:accountCode
    documentCode:documentCode
    notes:notes
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountDocumentNotesApi()

var accountCode = accountCode_example; // {String} 

var documentCode = documentCode_example; // {String} 

var notes = ; // {array[NotePost]} 

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class notesPostNotesExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountDocumentNotesApi();
            var accountCode = accountCode_example;  // String | 
            var documentCode = documentCode_example;  // String | 
            var notes = new array[NotePost](); // array[NotePost] | 
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Create document notes for an specific document and account code.
                Object result = apiInstance.notesPostNotes(accountCode, documentCode, notes, authorization, acceptLanguage, apiVersion);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountDocumentNotesApi.notesPostNotes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountDocumentNotesApi();
$accountCode = accountCode_example; // String | 
$documentCode = documentCode_example; // String | 
$notes = ; // array[NotePost] | 
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $result = $api_instance->notesPostNotes($accountCode, $documentCode, $notes, $authorization, $acceptLanguage, $apiVersion);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountDocumentNotesApi->notesPostNotes: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountDocumentNotesApi;

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

my $api_instance = WWW::SwaggerClient::AccountDocumentNotesApi->new();
my $accountCode = accountCode_example; # String | 
my $documentCode = documentCode_example; # String | 
my $notes = [WWW::SwaggerClient::Object::array[NotePost]->new()]; # array[NotePost] | 
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    my $result = $api_instance->notesPostNotes(accountCode => $accountCode, documentCode => $documentCode, notes => $notes, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountDocumentNotesApi->notesPostNotes: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountDocumentNotesApi()
accountCode = accountCode_example # String | 
documentCode = documentCode_example # String | 
notes =  # array[NotePost] | 
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Create document notes for an specific document and account code.
    api_response = api_instance.notes_post_notes(accountCode, documentCode, notes, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountDocumentNotesApi->notesPostNotes: %s\n" % e)

Parameters

Path parameters
Name Description
accountCode*
String
Required
documentCode*
String
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Body parameters
Name Description
notes *

Responses

Status: 200 - OK

Status: 201 - Created


AccountDocuments

accountDocumentsDeleteDocumentAsync

Delete a document.


/api/Documents/{documentCode}

Usage and SDK Samples

curl -X DELETE "https://localhost:44356/api/Documents/{documentCode}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountDocumentsApi;

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

public class AccountDocumentsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountDocumentsApi apiInstance = new AccountDocumentsApi();
        String documentCode = documentCode_example; // String | Document code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountDocumentsDeleteDocumentAsync(documentCode, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentsApi#accountDocumentsDeleteDocumentAsync");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountDocumentsApi;

public class AccountDocumentsApiExample {

    public static void main(String[] args) {
        AccountDocumentsApi apiInstance = new AccountDocumentsApi();
        String documentCode = documentCode_example; // String | Document code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountDocumentsDeleteDocumentAsync(documentCode, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentsApi#accountDocumentsDeleteDocumentAsync");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *documentCode = documentCode_example; // Document code.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Delete a document.
[apiInstance accountDocumentsDeleteDocumentAsyncWith:documentCode
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountDocumentsApi()

var documentCode = documentCode_example; // {String} Document code.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class accountDocumentsDeleteDocumentAsyncExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountDocumentsApi();
            var documentCode = documentCode_example;  // String | Document code.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Delete a document.
                Object result = apiInstance.accountDocumentsDeleteDocumentAsync(documentCode, authorization, acceptLanguage, apiVersion);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountDocumentsApi.accountDocumentsDeleteDocumentAsync: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountDocumentsApi();
$documentCode = documentCode_example; // String | Document code.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $result = $api_instance->accountDocumentsDeleteDocumentAsync($documentCode, $authorization, $acceptLanguage, $apiVersion);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountDocumentsApi->accountDocumentsDeleteDocumentAsync: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountDocumentsApi;

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

my $api_instance = WWW::SwaggerClient::AccountDocumentsApi->new();
my $documentCode = documentCode_example; # String | Document code.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    my $result = $api_instance->accountDocumentsDeleteDocumentAsync(documentCode => $documentCode, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountDocumentsApi->accountDocumentsDeleteDocumentAsync: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountDocumentsApi()
documentCode = documentCode_example # String | Document code.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Delete a document.
    api_response = api_instance.account_documents_delete_document_async(documentCode, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountDocumentsApi->accountDocumentsDeleteDocumentAsync: %s\n" % e)

Parameters

Path parameters
Name Description
documentCode*
String
Document code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version

Responses

Status: 200 - OK

Status: 204 - NoContent


accountDocumentsGetAll

Get all the documents for a specific account.


/api/Accounts/{accountCode}/Documents

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/Accounts/{accountCode}/Documents?culture=&filters="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountDocumentsApi;

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

public class AccountDocumentsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountDocumentsApi apiInstance = new AccountDocumentsApi();
        String accountCode = accountCode_example; // String | Account code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        String filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
        try {
            CollectionResponse.AccountDocumentDto result = apiInstance.accountDocumentsGetAll(accountCode, authorization, acceptLanguage, apiVersion, culture, filters);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentsApi#accountDocumentsGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountDocumentsApi;

public class AccountDocumentsApiExample {

    public static void main(String[] args) {
        AccountDocumentsApi apiInstance = new AccountDocumentsApi();
        String accountCode = accountCode_example; // String | Account code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        String filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
        try {
            CollectionResponse.AccountDocumentDto result = apiInstance.accountDocumentsGetAll(accountCode, authorization, acceptLanguage, apiVersion, culture, filters);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentsApi#accountDocumentsGetAll");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *accountCode = accountCode_example; // Account code.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)
String *culture = culture_example; // Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)
String *filters = filters_example; // # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional)

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

// Get all the documents for a specific account.
[apiInstance accountDocumentsGetAllWith:accountCode
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
    culture:culture
    filters:filters
              completionHandler: ^(CollectionResponse.AccountDocumentDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountDocumentsApi()

var accountCode = accountCode_example; // {String} Account code.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example, // {String} Api-Version
  'culture': culture_example, // {String} Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
  'filters': filters_example // {String} # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
};

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

namespace Example
{
    public class accountDocumentsGetAllExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountDocumentsApi();
            var accountCode = accountCode_example;  // String | Account code.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)
            var culture = culture_example;  // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional)  (default to en-US)
            var filters = filters_example;  // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional) 

            try
            {
                // Get all the documents for a specific account.
                CollectionResponse.AccountDocumentDto result = apiInstance.accountDocumentsGetAll(accountCode, authorization, acceptLanguage, apiVersion, culture, filters);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountDocumentsApi.accountDocumentsGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountDocumentsApi();
$accountCode = accountCode_example; // String | Account code.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version
$culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
$filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |

try {
    $result = $api_instance->accountDocumentsGetAll($accountCode, $authorization, $acceptLanguage, $apiVersion, $culture, $filters);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountDocumentsApi->accountDocumentsGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountDocumentsApi;

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

my $api_instance = WWW::SwaggerClient::AccountDocumentsApi->new();
my $accountCode = accountCode_example; # String | Account code.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version
my $culture = culture_example; # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
my $filters = filters_example; # String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |

eval { 
    my $result = $api_instance->accountDocumentsGetAll(accountCode => $accountCode, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion, culture => $culture, filters => $filters);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountDocumentsApi->accountDocumentsGetAll: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountDocumentsApi()
accountCode = accountCode_example # String | Account code.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)
culture = culture_example # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)
filters = filters_example # String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional)

try: 
    # Get all the documents for a specific account.
    api_response = api_instance.account_documents_get_all(accountCode, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion, culture=culture, filters=filters)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountDocumentsApi->accountDocumentsGetAll: %s\n" % e)

Parameters

Path parameters
Name Description
accountCode*
String
Account code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Query parameters
Name Description
culture
String
Culture, not required, but if present, it must be a valid culture. If not specified, the default culture will be used.
filters
String
# Filters **Example:** Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07 **SQL equivalent:** SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607') **Supported operators:** | Operators | Sign | Number | String | Char | DateTime | | ------------------ | ----- | ------ | ------ | ---- | -------- | | Equal |**==** | ✓ | ✓ | ✓ | ✓ | | NotEqual |**!=** | ✓ | ✓ | ✓ | ✓ | | GreaterThan |**&gt;** | ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**&gt;=** | ✓ | ✘ | ✘ | ✓ | | LessThan |**&lt;** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan |**&lt;=** | ✓ | ✘ | ✘ | ✓ | | Contains |**~=** | ✘ | ✓ | ✘ | ✘ | | NotContains |**!~=**| ✘ | ✓ | ✘ | ✘ | | StartsWith |**_=** | ✘ | ✓ | ✘ | ✘ | | NotStartsWith |**!_=**| ✘ | ✓ | ✘ | ✘ | | EndsWith |**│=** | ✘ | ✓ | ✘ | ✘ | | NotEndsWith |**!│=**| ✘ | ✓ | ✘ | ✘ |

Responses

Status: 200 - OK


accountDocumentsGetDocumentByCode

Get a document by code.


/api/Documents/{documentCode}

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/Documents/{documentCode}?culture="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountDocumentsApi;

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

public class AccountDocumentsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountDocumentsApi apiInstance = new AccountDocumentsApi();
        String documentCode = documentCode_example; // String | Document Code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        try {
            AccountDocumentDto result = apiInstance.accountDocumentsGetDocumentByCode(documentCode, authorization, acceptLanguage, apiVersion, culture);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentsApi#accountDocumentsGetDocumentByCode");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountDocumentsApi;

public class AccountDocumentsApiExample {

    public static void main(String[] args) {
        AccountDocumentsApi apiInstance = new AccountDocumentsApi();
        String documentCode = documentCode_example; // String | Document Code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        try {
            AccountDocumentDto result = apiInstance.accountDocumentsGetDocumentByCode(documentCode, authorization, acceptLanguage, apiVersion, culture);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentsApi#accountDocumentsGetDocumentByCode");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *documentCode = documentCode_example; // Document Code.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)
String *culture = culture_example; // Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)

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

// Get a document by code.
[apiInstance accountDocumentsGetDocumentByCodeWith:documentCode
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
    culture:culture
              completionHandler: ^(AccountDocumentDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountDocumentsApi()

var documentCode = documentCode_example; // {String} Document Code.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example, // {String} Api-Version
  'culture': culture_example // {String} Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
};

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

namespace Example
{
    public class accountDocumentsGetDocumentByCodeExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountDocumentsApi();
            var documentCode = documentCode_example;  // String | Document Code.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)
            var culture = culture_example;  // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional)  (default to en-US)

            try
            {
                // Get a document by code.
                AccountDocumentDto result = apiInstance.accountDocumentsGetDocumentByCode(documentCode, authorization, acceptLanguage, apiVersion, culture);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountDocumentsApi.accountDocumentsGetDocumentByCode: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountDocumentsApi();
$documentCode = documentCode_example; // String | Document Code.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version
$culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.

try {
    $result = $api_instance->accountDocumentsGetDocumentByCode($documentCode, $authorization, $acceptLanguage, $apiVersion, $culture);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountDocumentsApi->accountDocumentsGetDocumentByCode: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountDocumentsApi;

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

my $api_instance = WWW::SwaggerClient::AccountDocumentsApi->new();
my $documentCode = documentCode_example; # String | Document Code.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version
my $culture = culture_example; # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.

eval { 
    my $result = $api_instance->accountDocumentsGetDocumentByCode(documentCode => $documentCode, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion, culture => $culture);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountDocumentsApi->accountDocumentsGetDocumentByCode: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountDocumentsApi()
documentCode = documentCode_example # String | Document Code.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)
culture = culture_example # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)

try: 
    # Get a document by code.
    api_response = api_instance.account_documents_get_document_by_code(documentCode, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion, culture=culture)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountDocumentsApi->accountDocumentsGetDocumentByCode: %s\n" % e)

Parameters

Path parameters
Name Description
documentCode*
String
Document Code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Query parameters
Name Description
culture
String
Culture, not required, but if present, it must be a valid culture. If not specified, the default culture will be used.

Responses

Status: 200 - OK


accountDocumentsPatchAsync

Patch a document entry.

Provide only the fields to modify.


/api/Documents/{documentCode}

Usage and SDK Samples

curl -X PATCH "https://localhost:44356/api/Documents/{documentCode}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountDocumentsApi;

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

public class AccountDocumentsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountDocumentsApi apiInstance = new AccountDocumentsApi();
        String documentCode = documentCode_example; // String | The account document of the entry to patch.
        AccountDocumentPatch documentPatch = ; // AccountDocumentPatch | The subset of document fields to patch.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountDocumentsPatchAsync(documentCode, documentPatch, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentsApi#accountDocumentsPatchAsync");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountDocumentsApi;

public class AccountDocumentsApiExample {

    public static void main(String[] args) {
        AccountDocumentsApi apiInstance = new AccountDocumentsApi();
        String documentCode = documentCode_example; // String | The account document of the entry to patch.
        AccountDocumentPatch documentPatch = ; // AccountDocumentPatch | The subset of document fields to patch.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountDocumentsPatchAsync(documentCode, documentPatch, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentsApi#accountDocumentsPatchAsync");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *documentCode = documentCode_example; // The account document of the entry to patch.
AccountDocumentPatch *documentPatch = ; // The subset of document fields to patch.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Patch a document entry.
[apiInstance accountDocumentsPatchAsyncWith:documentCode
    documentPatch:documentPatch
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountDocumentsApi()

var documentCode = documentCode_example; // {String} The account document of the entry to patch.

var documentPatch = ; // {AccountDocumentPatch} The subset of document fields to patch.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class accountDocumentsPatchAsyncExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountDocumentsApi();
            var documentCode = documentCode_example;  // String | The account document of the entry to patch.
            var documentPatch = new AccountDocumentPatch(); // AccountDocumentPatch | The subset of document fields to patch.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Patch a document entry.
                Object result = apiInstance.accountDocumentsPatchAsync(documentCode, documentPatch, authorization, acceptLanguage, apiVersion);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountDocumentsApi.accountDocumentsPatchAsync: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountDocumentsApi();
$documentCode = documentCode_example; // String | The account document of the entry to patch.
$documentPatch = ; // AccountDocumentPatch | The subset of document fields to patch.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $result = $api_instance->accountDocumentsPatchAsync($documentCode, $documentPatch, $authorization, $acceptLanguage, $apiVersion);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountDocumentsApi->accountDocumentsPatchAsync: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountDocumentsApi;

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

my $api_instance = WWW::SwaggerClient::AccountDocumentsApi->new();
my $documentCode = documentCode_example; # String | The account document of the entry to patch.
my $documentPatch = WWW::SwaggerClient::Object::AccountDocumentPatch->new(); # AccountDocumentPatch | The subset of document fields to patch.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    my $result = $api_instance->accountDocumentsPatchAsync(documentCode => $documentCode, documentPatch => $documentPatch, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountDocumentsApi->accountDocumentsPatchAsync: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountDocumentsApi()
documentCode = documentCode_example # String | The account document of the entry to patch.
documentPatch =  # AccountDocumentPatch | The subset of document fields to patch.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Patch a document entry.
    api_response = api_instance.account_documents_patch_async(documentCode, documentPatch, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountDocumentsApi->accountDocumentsPatchAsync: %s\n" % e)

Parameters

Path parameters
Name Description
documentCode*
String
The account document of the entry to patch.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Body parameters
Name Description
documentPatch *

Responses

Status: 200 - OK

Status: 204 - NoContent


accountDocumentsPost

Create an account document.


/api/Accounts/{accountCode}/Documents

Usage and SDK Samples

curl -X POST "https://localhost:44356/api/Accounts/{accountCode}/Documents"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountDocumentsApi;

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

public class AccountDocumentsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountDocumentsApi apiInstance = new AccountDocumentsApi();
        String accountCode = accountCode_example; // String | Account code.
        AccountDocumentPost accountDocument = ; // AccountDocumentPost | Account document.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            apiInstance.accountDocumentsPost(accountCode, accountDocument, authorization, acceptLanguage, apiVersion);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentsApi#accountDocumentsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountDocumentsApi;

public class AccountDocumentsApiExample {

    public static void main(String[] args) {
        AccountDocumentsApi apiInstance = new AccountDocumentsApi();
        String accountCode = accountCode_example; // String | Account code.
        AccountDocumentPost accountDocument = ; // AccountDocumentPost | Account document.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            apiInstance.accountDocumentsPost(accountCode, accountDocument, authorization, acceptLanguage, apiVersion);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountDocumentsApi#accountDocumentsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *accountCode = accountCode_example; // Account code.
AccountDocumentPost *accountDocument = ; // Account document.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Create an account document.
[apiInstance accountDocumentsPostWith:accountCode
    accountDocument:accountDocument
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountDocumentsApi()

var accountCode = accountCode_example; // {String} Account code.

var accountDocument = ; // {AccountDocumentPost} Account document.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class accountDocumentsPostExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountDocumentsApi();
            var accountCode = accountCode_example;  // String | Account code.
            var accountDocument = new AccountDocumentPost(); // AccountDocumentPost | Account document.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Create an account document.
                apiInstance.accountDocumentsPost(accountCode, accountDocument, authorization, acceptLanguage, apiVersion);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountDocumentsApi.accountDocumentsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountDocumentsApi();
$accountCode = accountCode_example; // String | Account code.
$accountDocument = ; // AccountDocumentPost | Account document.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $api_instance->accountDocumentsPost($accountCode, $accountDocument, $authorization, $acceptLanguage, $apiVersion);
} catch (Exception $e) {
    echo 'Exception when calling AccountDocumentsApi->accountDocumentsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountDocumentsApi;

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

my $api_instance = WWW::SwaggerClient::AccountDocumentsApi->new();
my $accountCode = accountCode_example; # String | Account code.
my $accountDocument = WWW::SwaggerClient::Object::AccountDocumentPost->new(); # AccountDocumentPost | Account document.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    $api_instance->accountDocumentsPost(accountCode => $accountCode, accountDocument => $accountDocument, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
};
if ($@) {
    warn "Exception when calling AccountDocumentsApi->accountDocumentsPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountDocumentsApi()
accountCode = accountCode_example # String | Account code.
accountDocument =  # AccountDocumentPost | Account document.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Create an account document.
    api_instance.account_documents_post(accountCode, accountDocument, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
except ApiException as e:
    print("Exception when calling AccountDocumentsApi->accountDocumentsPost: %s\n" % e)

Parameters

Path parameters
Name Description
accountCode*
String
Account code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Body parameters
Name Description
accountDocument *

Responses

Status: 200 - Returns the location response header with the new resource


AccountNotebooks

accountNotebooksGetAll

Get all the notebook notes for a specific account.


/api/Accounts/{accountCode}/Notebooks

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/Accounts/{accountCode}/Notebooks?culture=&filters="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountNotebooksApi;

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

public class AccountNotebooksApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountNotebooksApi apiInstance = new AccountNotebooksApi();
        String accountCode = accountCode_example; // String | Account code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        String filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
        try {
            CollectionResponse.AccountNotebookDto result = apiInstance.accountNotebooksGetAll(accountCode, authorization, acceptLanguage, apiVersion, culture, filters);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountNotebooksApi#accountNotebooksGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountNotebooksApi;

public class AccountNotebooksApiExample {

    public static void main(String[] args) {
        AccountNotebooksApi apiInstance = new AccountNotebooksApi();
        String accountCode = accountCode_example; // String | Account code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        String filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
        try {
            CollectionResponse.AccountNotebookDto result = apiInstance.accountNotebooksGetAll(accountCode, authorization, acceptLanguage, apiVersion, culture, filters);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountNotebooksApi#accountNotebooksGetAll");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *accountCode = accountCode_example; // Account code.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)
String *culture = culture_example; // Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)
String *filters = filters_example; // # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional)

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

// Get all the notebook notes for a specific account.
[apiInstance accountNotebooksGetAllWith:accountCode
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
    culture:culture
    filters:filters
              completionHandler: ^(CollectionResponse.AccountNotebookDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountNotebooksApi()

var accountCode = accountCode_example; // {String} Account code.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example, // {String} Api-Version
  'culture': culture_example, // {String} Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
  'filters': filters_example // {String} # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
};

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

namespace Example
{
    public class accountNotebooksGetAllExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountNotebooksApi();
            var accountCode = accountCode_example;  // String | Account code.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)
            var culture = culture_example;  // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional)  (default to en-US)
            var filters = filters_example;  // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional) 

            try
            {
                // Get all the notebook notes for a specific account.
                CollectionResponse.AccountNotebookDto result = apiInstance.accountNotebooksGetAll(accountCode, authorization, acceptLanguage, apiVersion, culture, filters);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountNotebooksApi.accountNotebooksGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountNotebooksApi();
$accountCode = accountCode_example; // String | Account code.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version
$culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
$filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |

try {
    $result = $api_instance->accountNotebooksGetAll($accountCode, $authorization, $acceptLanguage, $apiVersion, $culture, $filters);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountNotebooksApi->accountNotebooksGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountNotebooksApi;

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

my $api_instance = WWW::SwaggerClient::AccountNotebooksApi->new();
my $accountCode = accountCode_example; # String | Account code.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version
my $culture = culture_example; # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
my $filters = filters_example; # String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |

eval { 
    my $result = $api_instance->accountNotebooksGetAll(accountCode => $accountCode, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion, culture => $culture, filters => $filters);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountNotebooksApi->accountNotebooksGetAll: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountNotebooksApi()
accountCode = accountCode_example # String | Account code.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)
culture = culture_example # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)
filters = filters_example # String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional)

try: 
    # Get all the notebook notes for a specific account.
    api_response = api_instance.account_notebooks_get_all(accountCode, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion, culture=culture, filters=filters)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountNotebooksApi->accountNotebooksGetAll: %s\n" % e)

Parameters

Path parameters
Name Description
accountCode*
String
Account code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Query parameters
Name Description
culture
String
Culture, not required, but if present, it must be a valid culture. If not specified, the default culture will be used.
filters
String
# Filters **Example:** Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07 **SQL equivalent:** SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607') **Supported operators:** | Operators | Sign | Number | String | Char | DateTime | | ------------------ | ----- | ------ | ------ | ---- | -------- | | Equal |**==** | ✓ | ✓ | ✓ | ✓ | | NotEqual |**!=** | ✓ | ✓ | ✓ | ✓ | | GreaterThan |**&gt;** | ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**&gt;=** | ✓ | ✘ | ✘ | ✓ | | LessThan |**&lt;** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan |**&lt;=** | ✓ | ✘ | ✘ | ✓ | | Contains |**~=** | ✘ | ✓ | ✘ | ✘ | | NotContains |**!~=**| ✘ | ✓ | ✘ | ✘ | | StartsWith |**_=** | ✘ | ✓ | ✘ | ✘ | | NotStartsWith |**!_=**| ✘ | ✓ | ✘ | ✘ | | EndsWith |**│=** | ✘ | ✓ | ✘ | ✘ | | NotEndsWith |**!│=**| ✘ | ✓ | ✘ | ✘ |

Responses

Status: 200 - OK


accountNotebooksGetNotebookByCode

Get a notebook note by code.


/api/Notebooks/{notebookCode}

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/Notebooks/{notebookCode}?culture="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountNotebooksApi;

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

public class AccountNotebooksApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountNotebooksApi apiInstance = new AccountNotebooksApi();
        String notebookCode = notebookCode_example; // String | Notebook Code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        try {
            AccountNotebookDto result = apiInstance.accountNotebooksGetNotebookByCode(notebookCode, authorization, acceptLanguage, apiVersion, culture);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountNotebooksApi#accountNotebooksGetNotebookByCode");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountNotebooksApi;

public class AccountNotebooksApiExample {

    public static void main(String[] args) {
        AccountNotebooksApi apiInstance = new AccountNotebooksApi();
        String notebookCode = notebookCode_example; // String | Notebook Code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        try {
            AccountNotebookDto result = apiInstance.accountNotebooksGetNotebookByCode(notebookCode, authorization, acceptLanguage, apiVersion, culture);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountNotebooksApi#accountNotebooksGetNotebookByCode");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *notebookCode = notebookCode_example; // Notebook Code.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)
String *culture = culture_example; // Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)

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

// Get a notebook note by code.
[apiInstance accountNotebooksGetNotebookByCodeWith:notebookCode
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
    culture:culture
              completionHandler: ^(AccountNotebookDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountNotebooksApi()

var notebookCode = notebookCode_example; // {String} Notebook Code.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example, // {String} Api-Version
  'culture': culture_example // {String} Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
};

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

namespace Example
{
    public class accountNotebooksGetNotebookByCodeExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountNotebooksApi();
            var notebookCode = notebookCode_example;  // String | Notebook Code.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)
            var culture = culture_example;  // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional)  (default to en-US)

            try
            {
                // Get a notebook note by code.
                AccountNotebookDto result = apiInstance.accountNotebooksGetNotebookByCode(notebookCode, authorization, acceptLanguage, apiVersion, culture);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountNotebooksApi.accountNotebooksGetNotebookByCode: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountNotebooksApi();
$notebookCode = notebookCode_example; // String | Notebook Code.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version
$culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.

try {
    $result = $api_instance->accountNotebooksGetNotebookByCode($notebookCode, $authorization, $acceptLanguage, $apiVersion, $culture);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountNotebooksApi->accountNotebooksGetNotebookByCode: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountNotebooksApi;

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

my $api_instance = WWW::SwaggerClient::AccountNotebooksApi->new();
my $notebookCode = notebookCode_example; # String | Notebook Code.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version
my $culture = culture_example; # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.

eval { 
    my $result = $api_instance->accountNotebooksGetNotebookByCode(notebookCode => $notebookCode, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion, culture => $culture);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountNotebooksApi->accountNotebooksGetNotebookByCode: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountNotebooksApi()
notebookCode = notebookCode_example # String | Notebook Code.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)
culture = culture_example # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)

try: 
    # Get a notebook note by code.
    api_response = api_instance.account_notebooks_get_notebook_by_code(notebookCode, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion, culture=culture)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountNotebooksApi->accountNotebooksGetNotebookByCode: %s\n" % e)

Parameters

Path parameters
Name Description
notebookCode*
String
Notebook Code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Query parameters
Name Description
culture
String
Culture, not required, but if present, it must be a valid culture. If not specified, the default culture will be used.

Responses

Status: 200 - OK


accountNotebooksPost

Create an account notebook note.


/api/Accounts/{accountCode}/Notebooks

Usage and SDK Samples

curl -X POST "https://localhost:44356/api/Accounts/{accountCode}/Notebooks"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountNotebooksApi;

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

public class AccountNotebooksApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountNotebooksApi apiInstance = new AccountNotebooksApi();
        String accountCode = accountCode_example; // String | Account code.
        AccountNotebookPost accountNotebook = ; // AccountNotebookPost | Account notebook.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            apiInstance.accountNotebooksPost(accountCode, accountNotebook, authorization, acceptLanguage, apiVersion);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountNotebooksApi#accountNotebooksPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountNotebooksApi;

public class AccountNotebooksApiExample {

    public static void main(String[] args) {
        AccountNotebooksApi apiInstance = new AccountNotebooksApi();
        String accountCode = accountCode_example; // String | Account code.
        AccountNotebookPost accountNotebook = ; // AccountNotebookPost | Account notebook.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            apiInstance.accountNotebooksPost(accountCode, accountNotebook, authorization, acceptLanguage, apiVersion);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountNotebooksApi#accountNotebooksPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *accountCode = accountCode_example; // Account code.
AccountNotebookPost *accountNotebook = ; // Account notebook.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Create an account notebook note.
[apiInstance accountNotebooksPostWith:accountCode
    accountNotebook:accountNotebook
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountNotebooksApi()

var accountCode = accountCode_example; // {String} Account code.

var accountNotebook = ; // {AccountNotebookPost} Account notebook.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class accountNotebooksPostExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountNotebooksApi();
            var accountCode = accountCode_example;  // String | Account code.
            var accountNotebook = new AccountNotebookPost(); // AccountNotebookPost | Account notebook.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Create an account notebook note.
                apiInstance.accountNotebooksPost(accountCode, accountNotebook, authorization, acceptLanguage, apiVersion);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountNotebooksApi.accountNotebooksPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountNotebooksApi();
$accountCode = accountCode_example; // String | Account code.
$accountNotebook = ; // AccountNotebookPost | Account notebook.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $api_instance->accountNotebooksPost($accountCode, $accountNotebook, $authorization, $acceptLanguage, $apiVersion);
} catch (Exception $e) {
    echo 'Exception when calling AccountNotebooksApi->accountNotebooksPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountNotebooksApi;

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

my $api_instance = WWW::SwaggerClient::AccountNotebooksApi->new();
my $accountCode = accountCode_example; # String | Account code.
my $accountNotebook = WWW::SwaggerClient::Object::AccountNotebookPost->new(); # AccountNotebookPost | Account notebook.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    $api_instance->accountNotebooksPost(accountCode => $accountCode, accountNotebook => $accountNotebook, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
};
if ($@) {
    warn "Exception when calling AccountNotebooksApi->accountNotebooksPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountNotebooksApi()
accountCode = accountCode_example # String | Account code.
accountNotebook =  # AccountNotebookPost | Account notebook.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Create an account notebook note.
    api_instance.account_notebooks_post(accountCode, accountNotebook, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
except ApiException as e:
    print("Exception when calling AccountNotebooksApi->accountNotebooksPost: %s\n" % e)

Parameters

Path parameters
Name Description
accountCode*
String
Account code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Body parameters
Name Description
accountNotebook *

Responses

Status: 200 - Returns the location response header with the new resource


AccountPhoneNumbers

accountPhonesGetAll

Get all the phones for an specific account.


/api/Accounts/{accountCode}/PhoneNumbers

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/Accounts/{accountCode}/PhoneNumbers?culture="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountPhoneNumbersApi;

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

public class AccountPhoneNumbersApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountPhoneNumbersApi apiInstance = new AccountPhoneNumbersApi();
        String accountCode = accountCode_example; // String | Account code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        try {
            CollectionResponse.AccountPhoneDto result = apiInstance.accountPhonesGetAll(accountCode, authorization, acceptLanguage, apiVersion, culture);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountPhoneNumbersApi#accountPhonesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountPhoneNumbersApi;

public class AccountPhoneNumbersApiExample {

    public static void main(String[] args) {
        AccountPhoneNumbersApi apiInstance = new AccountPhoneNumbersApi();
        String accountCode = accountCode_example; // String | Account code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        try {
            CollectionResponse.AccountPhoneDto result = apiInstance.accountPhonesGetAll(accountCode, authorization, acceptLanguage, apiVersion, culture);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountPhoneNumbersApi#accountPhonesGetAll");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *accountCode = accountCode_example; // Account code.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)
String *culture = culture_example; // Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)

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

// Get all the phones for an specific account.
[apiInstance accountPhonesGetAllWith:accountCode
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
    culture:culture
              completionHandler: ^(CollectionResponse.AccountPhoneDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountPhoneNumbersApi()

var accountCode = accountCode_example; // {String} Account code.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example, // {String} Api-Version
  'culture': culture_example // {String} Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
};

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

namespace Example
{
    public class accountPhonesGetAllExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountPhoneNumbersApi();
            var accountCode = accountCode_example;  // String | Account code.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)
            var culture = culture_example;  // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional)  (default to en-US)

            try
            {
                // Get all the phones for an specific account.
                CollectionResponse.AccountPhoneDto result = apiInstance.accountPhonesGetAll(accountCode, authorization, acceptLanguage, apiVersion, culture);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountPhoneNumbersApi.accountPhonesGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountPhoneNumbersApi();
$accountCode = accountCode_example; // String | Account code.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version
$culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.

try {
    $result = $api_instance->accountPhonesGetAll($accountCode, $authorization, $acceptLanguage, $apiVersion, $culture);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountPhoneNumbersApi->accountPhonesGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountPhoneNumbersApi;

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

my $api_instance = WWW::SwaggerClient::AccountPhoneNumbersApi->new();
my $accountCode = accountCode_example; # String | Account code.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version
my $culture = culture_example; # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.

eval { 
    my $result = $api_instance->accountPhonesGetAll(accountCode => $accountCode, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion, culture => $culture);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountPhoneNumbersApi->accountPhonesGetAll: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountPhoneNumbersApi()
accountCode = accountCode_example # String | Account code.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)
culture = culture_example # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)

try: 
    # Get all the phones for an specific account.
    api_response = api_instance.account_phones_get_all(accountCode, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion, culture=culture)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountPhoneNumbersApi->accountPhonesGetAll: %s\n" % e)

Parameters

Path parameters
Name Description
accountCode*
String
Account code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Query parameters
Name Description
culture
String
Culture, not required, but if present, it must be a valid culture. If not specified, the default culture will be used.

Responses

Status: 200 - OK


accountPhonesGetByCode

Get an account phone by code.


/api/PhoneNumbers/{code}

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/PhoneNumbers/{code}?culture="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountPhoneNumbersApi;

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

public class AccountPhoneNumbersApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountPhoneNumbersApi apiInstance = new AccountPhoneNumbersApi();
        String code = code_example; // String | Phone Code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        try {
            AccountPhoneDto result = apiInstance.accountPhonesGetByCode(code, authorization, acceptLanguage, apiVersion, culture);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountPhoneNumbersApi#accountPhonesGetByCode");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountPhoneNumbersApi;

public class AccountPhoneNumbersApiExample {

    public static void main(String[] args) {
        AccountPhoneNumbersApi apiInstance = new AccountPhoneNumbersApi();
        String code = code_example; // String | Phone Code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        try {
            AccountPhoneDto result = apiInstance.accountPhonesGetByCode(code, authorization, acceptLanguage, apiVersion, culture);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountPhoneNumbersApi#accountPhonesGetByCode");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *code = code_example; // Phone Code.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)
String *culture = culture_example; // Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)

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

// Get an account phone by code.
[apiInstance accountPhonesGetByCodeWith:code
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
    culture:culture
              completionHandler: ^(AccountPhoneDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountPhoneNumbersApi()

var code = code_example; // {String} Phone Code.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example, // {String} Api-Version
  'culture': culture_example // {String} Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
};

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

namespace Example
{
    public class accountPhonesGetByCodeExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountPhoneNumbersApi();
            var code = code_example;  // String | Phone Code.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)
            var culture = culture_example;  // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional)  (default to en-US)

            try
            {
                // Get an account phone by code.
                AccountPhoneDto result = apiInstance.accountPhonesGetByCode(code, authorization, acceptLanguage, apiVersion, culture);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountPhoneNumbersApi.accountPhonesGetByCode: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountPhoneNumbersApi();
$code = code_example; // String | Phone Code.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version
$culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.

try {
    $result = $api_instance->accountPhonesGetByCode($code, $authorization, $acceptLanguage, $apiVersion, $culture);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountPhoneNumbersApi->accountPhonesGetByCode: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountPhoneNumbersApi;

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

my $api_instance = WWW::SwaggerClient::AccountPhoneNumbersApi->new();
my $code = code_example; # String | Phone Code.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version
my $culture = culture_example; # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.

eval { 
    my $result = $api_instance->accountPhonesGetByCode(code => $code, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion, culture => $culture);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountPhoneNumbersApi->accountPhonesGetByCode: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountPhoneNumbersApi()
code = code_example # String | Phone Code.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)
culture = culture_example # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)

try: 
    # Get an account phone by code.
    api_response = api_instance.account_phones_get_by_code(code, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion, culture=culture)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountPhoneNumbersApi->accountPhonesGetByCode: %s\n" % e)

Parameters

Path parameters
Name Description
code*
String
Phone Code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Query parameters
Name Description
culture
String
Culture, not required, but if present, it must be a valid culture. If not specified, the default culture will be used.

Responses

Status: 200 - OK


accountPhonesPatchAsync

Patch an account phone number entry.

Provide only the fields to modify.


/api/PhoneNumbers/{code}

Usage and SDK Samples

curl -X PATCH "https://localhost:44356/api/PhoneNumbers/{code}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountPhoneNumbersApi;

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

public class AccountPhoneNumbersApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountPhoneNumbersApi apiInstance = new AccountPhoneNumbersApi();
        String code = code_example; // String | The account phone number of the entry to patch.
        AccountPhonePatch accountPhonePatch = ; // AccountPhonePatch | The subset of account phone fields to patch.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountPhonesPatchAsync(code, accountPhonePatch, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountPhoneNumbersApi#accountPhonesPatchAsync");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountPhoneNumbersApi;

public class AccountPhoneNumbersApiExample {

    public static void main(String[] args) {
        AccountPhoneNumbersApi apiInstance = new AccountPhoneNumbersApi();
        String code = code_example; // String | The account phone number of the entry to patch.
        AccountPhonePatch accountPhonePatch = ; // AccountPhonePatch | The subset of account phone fields to patch.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountPhonesPatchAsync(code, accountPhonePatch, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountPhoneNumbersApi#accountPhonesPatchAsync");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *code = code_example; // The account phone number of the entry to patch.
AccountPhonePatch *accountPhonePatch = ; // The subset of account phone fields to patch.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Patch an account phone number entry.
[apiInstance accountPhonesPatchAsyncWith:code
    accountPhonePatch:accountPhonePatch
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountPhoneNumbersApi()

var code = code_example; // {String} The account phone number of the entry to patch.

var accountPhonePatch = ; // {AccountPhonePatch} The subset of account phone fields to patch.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class accountPhonesPatchAsyncExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountPhoneNumbersApi();
            var code = code_example;  // String | The account phone number of the entry to patch.
            var accountPhonePatch = new AccountPhonePatch(); // AccountPhonePatch | The subset of account phone fields to patch.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Patch an account phone number entry.
                Object result = apiInstance.accountPhonesPatchAsync(code, accountPhonePatch, authorization, acceptLanguage, apiVersion);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountPhoneNumbersApi.accountPhonesPatchAsync: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountPhoneNumbersApi();
$code = code_example; // String | The account phone number of the entry to patch.
$accountPhonePatch = ; // AccountPhonePatch | The subset of account phone fields to patch.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $result = $api_instance->accountPhonesPatchAsync($code, $accountPhonePatch, $authorization, $acceptLanguage, $apiVersion);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountPhoneNumbersApi->accountPhonesPatchAsync: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountPhoneNumbersApi;

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

my $api_instance = WWW::SwaggerClient::AccountPhoneNumbersApi->new();
my $code = code_example; # String | The account phone number of the entry to patch.
my $accountPhonePatch = WWW::SwaggerClient::Object::AccountPhonePatch->new(); # AccountPhonePatch | The subset of account phone fields to patch.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    my $result = $api_instance->accountPhonesPatchAsync(code => $code, accountPhonePatch => $accountPhonePatch, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountPhoneNumbersApi->accountPhonesPatchAsync: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountPhoneNumbersApi()
code = code_example # String | The account phone number of the entry to patch.
accountPhonePatch =  # AccountPhonePatch | The subset of account phone fields to patch.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Patch an account phone number entry.
    api_response = api_instance.account_phones_patch_async(code, accountPhonePatch, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountPhoneNumbersApi->accountPhonesPatchAsync: %s\n" % e)

Parameters

Path parameters
Name Description
code*
String
The account phone number of the entry to patch.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Body parameters
Name Description
accountPhonePatch *

Responses

Status: 200 - OK

Status: 204 - NoContent


accountPhonesPost

Create a new account phone


/api/Accounts/{accountCode}/PhoneNumbers

Usage and SDK Samples

curl -X POST "https://localhost:44356/api/Accounts/{accountCode}/PhoneNumbers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountPhoneNumbersApi;

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

public class AccountPhoneNumbersApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountPhoneNumbersApi apiInstance = new AccountPhoneNumbersApi();
        String accountCode = accountCode_example; // String | Account code.
        AccountPhonePost accountPhone = ; // AccountPhonePost | Account phone values
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            apiInstance.accountPhonesPost(accountCode, accountPhone, authorization, acceptLanguage, apiVersion);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountPhoneNumbersApi#accountPhonesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountPhoneNumbersApi;

public class AccountPhoneNumbersApiExample {

    public static void main(String[] args) {
        AccountPhoneNumbersApi apiInstance = new AccountPhoneNumbersApi();
        String accountCode = accountCode_example; // String | Account code.
        AccountPhonePost accountPhone = ; // AccountPhonePost | Account phone values
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            apiInstance.accountPhonesPost(accountCode, accountPhone, authorization, acceptLanguage, apiVersion);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountPhoneNumbersApi#accountPhonesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *accountCode = accountCode_example; // Account code.
AccountPhonePost *accountPhone = ; // Account phone values
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Create a new account phone
[apiInstance accountPhonesPostWith:accountCode
    accountPhone:accountPhone
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountPhoneNumbersApi()

var accountCode = accountCode_example; // {String} Account code.

var accountPhone = ; // {AccountPhonePost} Account phone values

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class accountPhonesPostExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountPhoneNumbersApi();
            var accountCode = accountCode_example;  // String | Account code.
            var accountPhone = new AccountPhonePost(); // AccountPhonePost | Account phone values
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Create a new account phone
                apiInstance.accountPhonesPost(accountCode, accountPhone, authorization, acceptLanguage, apiVersion);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountPhoneNumbersApi.accountPhonesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountPhoneNumbersApi();
$accountCode = accountCode_example; // String | Account code.
$accountPhone = ; // AccountPhonePost | Account phone values
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $api_instance->accountPhonesPost($accountCode, $accountPhone, $authorization, $acceptLanguage, $apiVersion);
} catch (Exception $e) {
    echo 'Exception when calling AccountPhoneNumbersApi->accountPhonesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountPhoneNumbersApi;

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

my $api_instance = WWW::SwaggerClient::AccountPhoneNumbersApi->new();
my $accountCode = accountCode_example; # String | Account code.
my $accountPhone = WWW::SwaggerClient::Object::AccountPhonePost->new(); # AccountPhonePost | Account phone values
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    $api_instance->accountPhonesPost(accountCode => $accountCode, accountPhone => $accountPhone, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
};
if ($@) {
    warn "Exception when calling AccountPhoneNumbersApi->accountPhonesPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountPhoneNumbersApi()
accountCode = accountCode_example # String | Account code.
accountPhone =  # AccountPhonePost | Account phone values
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Create a new account phone
    api_instance.account_phones_post(accountCode, accountPhone, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
except ApiException as e:
    print("Exception when calling AccountPhoneNumbersApi->accountPhonesPost: %s\n" % e)

Parameters

Path parameters
Name Description
accountCode*
String
Account code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Body parameters
Name Description
accountPhone *

Responses

Status: 200 - Returns the location response header with the new resource


AccountTitles

accountTitlesGetAll

Get all the titles for an specific account.


/api/Accounts/{code}/Titles

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/Accounts/{code}/Titles?culture="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountTitlesApi;

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

public class AccountTitlesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountTitlesApi apiInstance = new AccountTitlesApi();
        String code = code_example; // String | Account code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        try {
            CollectionResponse.AccountTitleDto result = apiInstance.accountTitlesGetAll(code, authorization, acceptLanguage, apiVersion, culture);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountTitlesApi#accountTitlesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountTitlesApi;

public class AccountTitlesApiExample {

    public static void main(String[] args) {
        AccountTitlesApi apiInstance = new AccountTitlesApi();
        String code = code_example; // String | Account code.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
        try {
            CollectionResponse.AccountTitleDto result = apiInstance.accountTitlesGetAll(code, authorization, acceptLanguage, apiVersion, culture);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountTitlesApi#accountTitlesGetAll");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *code = code_example; // Account code.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)
String *culture = culture_example; // Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)

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

// Get all the titles for an specific account.
[apiInstance accountTitlesGetAllWith:code
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
    culture:culture
              completionHandler: ^(CollectionResponse.AccountTitleDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountTitlesApi()

var code = code_example; // {String} Account code.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example, // {String} Api-Version
  'culture': culture_example // {String} Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.
};

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

namespace Example
{
    public class accountTitlesGetAllExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountTitlesApi();
            var code = code_example;  // String | Account code.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)
            var culture = culture_example;  // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional)  (default to en-US)

            try
            {
                // Get all the titles for an specific account.
                CollectionResponse.AccountTitleDto result = apiInstance.accountTitlesGetAll(code, authorization, acceptLanguage, apiVersion, culture);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountTitlesApi.accountTitlesGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountTitlesApi();
$code = code_example; // String | Account code.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version
$culture = culture_example; // String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.

try {
    $result = $api_instance->accountTitlesGetAll($code, $authorization, $acceptLanguage, $apiVersion, $culture);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountTitlesApi->accountTitlesGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountTitlesApi;

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

my $api_instance = WWW::SwaggerClient::AccountTitlesApi->new();
my $code = code_example; # String | Account code.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version
my $culture = culture_example; # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used.

eval { 
    my $result = $api_instance->accountTitlesGetAll(code => $code, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion, culture => $culture);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountTitlesApi->accountTitlesGetAll: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountTitlesApi()
code = code_example # String | Account code.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)
culture = culture_example # String | Culture, not required, but if present, it must be a valid culture. If not specified, 
									the default culture will be used. (optional) (default to en-US)

try: 
    # Get all the titles for an specific account.
    api_response = api_instance.account_titles_get_all(code, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion, culture=culture)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountTitlesApi->accountTitlesGetAll: %s\n" % e)

Parameters

Path parameters
Name Description
code*
String
Account code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Query parameters
Name Description
culture
String
Culture, not required, but if present, it must be a valid culture. If not specified, the default culture will be used.

Responses

Status: 200 - OK


accountTitlesPatch

Patch an account tile.


/api/Accounts/{code}/Titles/{titleCodeGroup}/{titleCode}

Usage and SDK Samples

curl -X PATCH "https://localhost:44356/api/Accounts/{code}/Titles/{titleCodeGroup}/{titleCode}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountTitlesApi;

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

public class AccountTitlesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountTitlesApi apiInstance = new AccountTitlesApi();
        String code = code_example; // String | Account code.
        String titleCodeGroup = titleCodeGroup_example; // String | Title code group.
        String titleCode = titleCode_example; // String | Title code.
        AccountTitlePatch accountTitle = ; // AccountTitlePatch | Account title.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountTitlesPatch(code, titleCodeGroup, titleCode, accountTitle, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountTitlesApi#accountTitlesPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountTitlesApi;

public class AccountTitlesApiExample {

    public static void main(String[] args) {
        AccountTitlesApi apiInstance = new AccountTitlesApi();
        String code = code_example; // String | Account code.
        String titleCodeGroup = titleCodeGroup_example; // String | Title code group.
        String titleCode = titleCode_example; // String | Title code.
        AccountTitlePatch accountTitle = ; // AccountTitlePatch | Account title.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountTitlesPatch(code, titleCodeGroup, titleCode, accountTitle, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountTitlesApi#accountTitlesPatch");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *code = code_example; // Account code.
String *titleCodeGroup = titleCodeGroup_example; // Title code group.
String *titleCode = titleCode_example; // Title code.
AccountTitlePatch *accountTitle = ; // Account title.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Patch an account tile.
[apiInstance accountTitlesPatchWith:code
    titleCodeGroup:titleCodeGroup
    titleCode:titleCode
    accountTitle:accountTitle
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountTitlesApi()

var code = code_example; // {String} Account code.

var titleCodeGroup = titleCodeGroup_example; // {String} Title code group.

var titleCode = titleCode_example; // {String} Title code.

var accountTitle = ; // {AccountTitlePatch} Account title.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class accountTitlesPatchExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountTitlesApi();
            var code = code_example;  // String | Account code.
            var titleCodeGroup = titleCodeGroup_example;  // String | Title code group.
            var titleCode = titleCode_example;  // String | Title code.
            var accountTitle = new AccountTitlePatch(); // AccountTitlePatch | Account title.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Patch an account tile.
                Object result = apiInstance.accountTitlesPatch(code, titleCodeGroup, titleCode, accountTitle, authorization, acceptLanguage, apiVersion);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountTitlesApi.accountTitlesPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountTitlesApi();
$code = code_example; // String | Account code.
$titleCodeGroup = titleCodeGroup_example; // String | Title code group.
$titleCode = titleCode_example; // String | Title code.
$accountTitle = ; // AccountTitlePatch | Account title.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $result = $api_instance->accountTitlesPatch($code, $titleCodeGroup, $titleCode, $accountTitle, $authorization, $acceptLanguage, $apiVersion);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountTitlesApi->accountTitlesPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountTitlesApi;

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

my $api_instance = WWW::SwaggerClient::AccountTitlesApi->new();
my $code = code_example; # String | Account code.
my $titleCodeGroup = titleCodeGroup_example; # String | Title code group.
my $titleCode = titleCode_example; # String | Title code.
my $accountTitle = WWW::SwaggerClient::Object::AccountTitlePatch->new(); # AccountTitlePatch | Account title.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    my $result = $api_instance->accountTitlesPatch(code => $code, titleCodeGroup => $titleCodeGroup, titleCode => $titleCode, accountTitle => $accountTitle, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountTitlesApi->accountTitlesPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountTitlesApi()
code = code_example # String | Account code.
titleCodeGroup = titleCodeGroup_example # String | Title code group.
titleCode = titleCode_example # String | Title code.
accountTitle =  # AccountTitlePatch | Account title.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Patch an account tile.
    api_response = api_instance.account_titles_patch(code, titleCodeGroup, titleCode, accountTitle, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountTitlesApi->accountTitlesPatch: %s\n" % e)

Parameters

Path parameters
Name Description
code*
String
Account code.
Required
titleCodeGroup*
String
Title code group.
Required
titleCode*
String
Title code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Body parameters
Name Description
accountTitle *

Responses

Status: 200 - OK


Accounts

accountsCreate

Create a new Account.


/api/Accounts

Usage and SDK Samples

curl -X POST "https://localhost:44356/api/Accounts"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountsApi;

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

public class AccountsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountsApi apiInstance = new AccountsApi();
        AccountPost model = ; // AccountPost | Account model.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountsCreate(model, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#accountsCreate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountsApi;

public class AccountsApiExample {

    public static void main(String[] args) {
        AccountsApi apiInstance = new AccountsApi();
        AccountPost model = ; // AccountPost | Account model.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountsCreate(model, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#accountsCreate");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

AccountPost *model = ; // Account model.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Create a new Account.
[apiInstance accountsCreateWith:model
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountsApi()

var model = ; // {AccountPost} Account model.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class accountsCreateExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountsApi();
            var model = new AccountPost(); // AccountPost | Account model.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Create a new Account.
                Object result = apiInstance.accountsCreate(model, authorization, acceptLanguage, apiVersion);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountsApi.accountsCreate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountsApi();
$model = ; // AccountPost | Account model.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $result = $api_instance->accountsCreate($model, $authorization, $acceptLanguage, $apiVersion);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountsApi->accountsCreate: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountsApi;

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

my $api_instance = WWW::SwaggerClient::AccountsApi->new();
my $model = WWW::SwaggerClient::Object::AccountPost->new(); # AccountPost | Account model.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    my $result = $api_instance->accountsCreate(model => $model, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountsApi->accountsCreate: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountsApi()
model =  # AccountPost | Account model.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Create a new Account.
    api_response = api_instance.accounts_create(model, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accountsCreate: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Body parameters
Name Description
model *

Responses

Status: 200 - OK

Status: 201 - Created


accountsGetAll

Get data for Account entries.


/api/Accounts

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/Accounts?activityCenterRequired=&excludeTerminated=&additionalDetails=&pageNumber=&pageSize=&sortType=&filters="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountsApi;

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

public class AccountsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountsApi apiInstance = new AccountsApi();
        Integer pageNumber = 56; // Integer | PageNumber, a number greater than or equal to 0
        Integer pageSize = 56; // Integer | PageSize, a number greater than 0
        String sortType = sortType_example; // String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
        Boolean activityCenterRequired = true; // Boolean | Activity Center Required.
        Boolean excludeTerminated = true; // Boolean | Exclude Terminated.
        Boolean additionalDetails = true; // Boolean | Additional Details. Response will include all addresses and Other Phone Numbers.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
        try {
            HateoasCollectionResponse.AccountDto result = apiInstance.accountsGetAll(pageNumber, pageSize, sortType, activityCenterRequired, excludeTerminated, additionalDetails, authorization, acceptLanguage, apiVersion, filters);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#accountsGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountsApi;

public class AccountsApiExample {

    public static void main(String[] args) {
        AccountsApi apiInstance = new AccountsApi();
        Integer pageNumber = 56; // Integer | PageNumber, a number greater than or equal to 0
        Integer pageSize = 56; // Integer | PageSize, a number greater than 0
        String sortType = sortType_example; // String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
        Boolean activityCenterRequired = true; // Boolean | Activity Center Required.
        Boolean excludeTerminated = true; // Boolean | Exclude Terminated.
        Boolean additionalDetails = true; // Boolean | Additional Details. Response will include all addresses and Other Phone Numbers.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        String filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
        try {
            HateoasCollectionResponse.AccountDto result = apiInstance.accountsGetAll(pageNumber, pageSize, sortType, activityCenterRequired, excludeTerminated, additionalDetails, authorization, acceptLanguage, apiVersion, filters);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#accountsGetAll");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

Integer *pageNumber = 56; // PageNumber, a number greater than or equal to 0 (default to 1)
Integer *pageSize = 56; // PageSize, a number greater than 0 (default to 25)
String *sortType = sortType_example; // SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending' (default to asc)
Boolean *activityCenterRequired = true; // Activity Center Required. (optional) (default to false)
Boolean *excludeTerminated = true; // Exclude Terminated. (optional) (default to false)
Boolean *additionalDetails = true; // Additional Details. Response will include all addresses and Other Phone Numbers. (optional) (default to false)
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)
String *filters = filters_example; // # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional)

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

// Get data for Account entries.
[apiInstance accountsGetAllWith:pageNumber
    pageSize:pageSize
    sortType:sortType
    activityCenterRequired:activityCenterRequired
    excludeTerminated:excludeTerminated
    additionalDetails:additionalDetails
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
    filters:filters
              completionHandler: ^(HateoasCollectionResponse.AccountDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountsApi()

var pageNumber = 56; // {Integer} PageNumber, a number greater than or equal to 0

var pageSize = 56; // {Integer} PageSize, a number greater than 0

var sortType = sortType_example; // {String} SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'

var opts = { 
  'activityCenterRequired': true, // {Boolean} Activity Center Required.
  'excludeTerminated': true, // {Boolean} Exclude Terminated.
  'additionalDetails': true, // {Boolean} Additional Details. Response will include all addresses and Other Phone Numbers.
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example, // {String} Api-Version
  'filters': filters_example // {String} # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |
};

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

namespace Example
{
    public class accountsGetAllExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountsApi();
            var pageNumber = 56;  // Integer | PageNumber, a number greater than or equal to 0 (default to 1)
            var pageSize = 56;  // Integer | PageSize, a number greater than 0 (default to 25)
            var sortType = sortType_example;  // String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending' (default to asc)
            var activityCenterRequired = true;  // Boolean | Activity Center Required. (optional)  (default to false)
            var excludeTerminated = true;  // Boolean | Exclude Terminated. (optional)  (default to false)
            var additionalDetails = true;  // Boolean | Additional Details. Response will include all addresses and Other Phone Numbers. (optional)  (default to false)
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)
            var filters = filters_example;  // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional) 

            try
            {
                // Get data for Account entries.
                HateoasCollectionResponse.AccountDto result = apiInstance.accountsGetAll(pageNumber, pageSize, sortType, activityCenterRequired, excludeTerminated, additionalDetails, authorization, acceptLanguage, apiVersion, filters);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountsApi.accountsGetAll: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountsApi();
$pageNumber = 56; // Integer | PageNumber, a number greater than or equal to 0
$pageSize = 56; // Integer | PageSize, a number greater than 0
$sortType = sortType_example; // String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
$activityCenterRequired = true; // Boolean | Activity Center Required.
$excludeTerminated = true; // Boolean | Exclude Terminated.
$additionalDetails = true; // Boolean | Additional Details. Response will include all addresses and Other Phone Numbers.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version
$filters = filters_example; // String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |

try {
    $result = $api_instance->accountsGetAll($pageNumber, $pageSize, $sortType, $activityCenterRequired, $excludeTerminated, $additionalDetails, $authorization, $acceptLanguage, $apiVersion, $filters);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountsApi->accountsGetAll: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountsApi;

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

my $api_instance = WWW::SwaggerClient::AccountsApi->new();
my $pageNumber = 56; # Integer | PageNumber, a number greater than or equal to 0
my $pageSize = 56; # Integer | PageSize, a number greater than 0
my $sortType = sortType_example; # String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
my $activityCenterRequired = true; # Boolean | Activity Center Required.
my $excludeTerminated = true; # Boolean | Exclude Terminated.
my $additionalDetails = true; # Boolean | Additional Details. Response will include all addresses and Other Phone Numbers.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version
my $filters = filters_example; # String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    |

eval { 
    my $result = $api_instance->accountsGetAll(pageNumber => $pageNumber, pageSize => $pageSize, sortType => $sortType, activityCenterRequired => $activityCenterRequired, excludeTerminated => $excludeTerminated, additionalDetails => $additionalDetails, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion, filters => $filters);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountsApi->accountsGetAll: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountsApi()
pageNumber = 56 # Integer | PageNumber, a number greater than or equal to 0 (default to 1)
pageSize = 56 # Integer | PageSize, a number greater than 0 (default to 25)
sortType = sortType_example # String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending' (default to asc)
activityCenterRequired = true # Boolean | Activity Center Required. (optional) (default to false)
excludeTerminated = true # Boolean | Exclude Terminated. (optional) (default to false)
additionalDetails = true # Boolean | Additional Details. Response will include all addresses and Other Phone Numbers. (optional) (default to false)
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)
filters = filters_example # String | # Filters

**Example:**
Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07

**SQL equivalent:**

SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607')

**Supported operators:**

|      Operators     | Sign  | Number | String | Char | DateTime |
| ------------------ | ----- | ------ | ------ | ---- | -------- |
| Equal              |**==** |   ✓   |   ✓   |   ✓  |    ✓    |
| NotEqual           |**!=** |   ✓   |   ✓   |   ✓  |    ✓    |
| GreaterThan        |**>**  |   ✓   |   ✘   |   ✘  |    ✓    |
| GreaterOrEqualThan |**>=** |   ✓   |   ✘   |   ✘  |    ✓    |
| LessThan           |**<**  |   ✓   |   ✘   |   ✘  |    ✓    |
| LessOrEqualThan    |**<=** |   ✓   |   ✘   |   ✘  |    ✓    |
| Contains           |**~=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotContains        |**!~=**|   ✘   |   ✓   |   ✘  |    ✘    |
| StartsWith         |**_=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotStartsWith      |**!_=**|   ✘   |   ✓   |   ✘  |    ✘    |
| EndsWith           |**│=** |   ✘   |   ✓   |   ✘  |    ✘    |
| NotEndsWith        |**!│=**|   ✘   |   ✓   |   ✘  |    ✘    | (optional)

try: 
    # Get data for Account entries.
    api_response = api_instance.accounts_get_all(pageNumber, pageSize, sortType, activityCenterRequired=activityCenterRequired, excludeTerminated=excludeTerminated, additionalDetails=additionalDetails, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion, filters=filters)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accountsGetAll: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Query parameters
Name Description
activityCenterRequired
Boolean
Activity Center Required.
excludeTerminated
Boolean
Exclude Terminated.
additionalDetails
Boolean
Additional Details. Response will include all addresses and Other Phone Numbers.
pageNumber*
Integer
PageNumber, a number greater than or equal to 0
Required
pageSize*
Integer
PageSize, a number greater than 0
Required
sortType*
String
SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
Required
filters
String
# Filters **Example:** Cost>50;Name~=a;and$LastName!|=a;StartDate==2020-06-07 **SQL equivalent:** SELECT * FROM Table WHERE (Cost > 50 AND Name LIKE '%a%') OR (LastName NOT LIKE '%a' AND StartDate == '20200607') **Supported operators:** | Operators | Sign | Number | String | Char | DateTime | | ------------------ | ----- | ------ | ------ | ---- | -------- | | Equal |**==** | ✓ | ✓ | ✓ | ✓ | | NotEqual |**!=** | ✓ | ✓ | ✓ | ✓ | | GreaterThan |**&gt;** | ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**&gt;=** | ✓ | ✘ | ✘ | ✓ | | LessThan |**&lt;** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan |**&lt;=** | ✓ | ✘ | ✘ | ✓ | | Contains |**~=** | ✘ | ✓ | ✘ | ✘ | | NotContains |**!~=**| ✘ | ✓ | ✘ | ✘ | | StartsWith |**_=** | ✘ | ✓ | ✘ | ✘ | | NotStartsWith |**!_=**| ✘ | ✓ | ✘ | ✘ | | EndsWith |**│=** | ✘ | ✓ | ✘ | ✘ | | NotEndsWith |**!│=**| ✘ | ✓ | ✘ | ✘ |

Responses

Status: 200 - OK


accountsGetByCode

Get data for an Account entry


/api/Accounts/{code}

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/Accounts/{code}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountsApi;

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

public class AccountsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountsApi apiInstance = new AccountsApi();
        String code = code_example; // String | The Account Code to retrieve.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            AccountDto result = apiInstance.accountsGetByCode(code, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#accountsGetByCode");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountsApi;

public class AccountsApiExample {

    public static void main(String[] args) {
        AccountsApi apiInstance = new AccountsApi();
        String code = code_example; // String | The Account Code to retrieve.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            AccountDto result = apiInstance.accountsGetByCode(code, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#accountsGetByCode");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *code = code_example; // The Account Code to retrieve.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Get data for an Account entry
[apiInstance accountsGetByCodeWith:code
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(AccountDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountsApi()

var code = code_example; // {String} The Account Code to retrieve.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class accountsGetByCodeExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountsApi();
            var code = code_example;  // String | The Account Code to retrieve.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Get data for an Account entry
                AccountDto result = apiInstance.accountsGetByCode(code, authorization, acceptLanguage, apiVersion);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountsApi.accountsGetByCode: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountsApi();
$code = code_example; // String | The Account Code to retrieve.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $result = $api_instance->accountsGetByCode($code, $authorization, $acceptLanguage, $apiVersion);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountsApi->accountsGetByCode: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountsApi;

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

my $api_instance = WWW::SwaggerClient::AccountsApi->new();
my $code = code_example; # String | The Account Code to retrieve.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    my $result = $api_instance->accountsGetByCode(code => $code, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountsApi->accountsGetByCode: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountsApi()
code = code_example # String | The Account Code to retrieve.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Get data for an Account entry
    api_response = api_instance.accounts_get_by_code(code, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accountsGetByCode: %s\n" % e)

Parameters

Path parameters
Name Description
code*
String
The Account Code to retrieve.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version

Responses

Status: 200 - OK


accountsPatch

Update a subset of an account's properties


/api/Accounts/{code}

Usage and SDK Samples

curl -X PATCH "https://localhost:44356/api/Accounts/{code}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountsApi;

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

public class AccountsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        AccountsApi apiInstance = new AccountsApi();
        String code = code_example; // String | Account code.
        AccountPatch accountPatch = ; // AccountPatch | Account patch model.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountsPatch(code, accountPatch, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#accountsPatch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountsApi;

public class AccountsApiExample {

    public static void main(String[] args) {
        AccountsApi apiInstance = new AccountsApi();
        String code = code_example; // String | Account code.
        AccountPatch accountPatch = ; // AccountPatch | Account patch model.
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            Object result = apiInstance.accountsPatch(code, accountPatch, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountsApi#accountsPatch");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: oauth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];

String *code = code_example; // Account code.
AccountPatch *accountPatch = ; // Account patch model.
String *authorization = authorization_example; // access token (optional)
String *acceptLanguage = acceptLanguage_example; // Accept-Language (optional) (default to en-US)
String *apiVersion = apiVersion_example; // Api-Version (optional) (default to 1.0)

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

// Update a subset of an account's properties
[apiInstance accountsPatchWith:code
    accountPatch:accountPatch
    authorization:authorization
    acceptLanguage:acceptLanguage
    apiVersion:apiVersion
              completionHandler: ^(Object output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var JenkonRestApiV1 = require('jenkon_rest_api_v1');
var defaultClient = JenkonRestApiV1.ApiClient.instance;

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

var api = new JenkonRestApiV1.AccountsApi()

var code = code_example; // {String} Account code.

var accountPatch = ; // {AccountPatch} Account patch model.

var opts = { 
  'authorization': authorization_example, // {String} access token
  'acceptLanguage': acceptLanguage_example, // {String} Accept-Language
  'apiVersion': apiVersion_example // {String} Api-Version
};

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

namespace Example
{
    public class accountsPatchExample
    {
        public void main()
        {
            
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new AccountsApi();
            var code = code_example;  // String | Account code.
            var accountPatch = new AccountPatch(); // AccountPatch | Account patch model.
            var authorization = authorization_example;  // String | access token (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | Accept-Language (optional)  (default to en-US)
            var apiVersion = apiVersion_example;  // String | Api-Version (optional)  (default to 1.0)

            try
            {
                // Update a subset of an account's properties
                Object result = apiInstance.accountsPatch(code, accountPatch, authorization, acceptLanguage, apiVersion);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountsApi.accountsPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\AccountsApi();
$code = code_example; // String | Account code.
$accountPatch = ; // AccountPatch | Account patch model.
$authorization = authorization_example; // String | access token
$acceptLanguage = acceptLanguage_example; // String | Accept-Language
$apiVersion = apiVersion_example; // String | Api-Version

try {
    $result = $api_instance->accountsPatch($code, $accountPatch, $authorization, $acceptLanguage, $apiVersion);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountsApi->accountsPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountsApi;

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

my $api_instance = WWW::SwaggerClient::AccountsApi->new();
my $code = code_example; # String | Account code.
my $accountPatch = WWW::SwaggerClient::Object::AccountPatch->new(); # AccountPatch | Account patch model.
my $authorization = authorization_example; # String | access token
my $acceptLanguage = acceptLanguage_example; # String | Accept-Language
my $apiVersion = apiVersion_example; # String | Api-Version

eval { 
    my $result = $api_instance->accountsPatch(code => $code, accountPatch => $accountPatch, authorization => $authorization, acceptLanguage => $acceptLanguage, apiVersion => $apiVersion);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AccountsApi->accountsPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

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

# create an instance of the API class
api_instance = swagger_client.AccountsApi()
code = code_example # String | Account code.
accountPatch =  # AccountPatch | Account patch model.
authorization = authorization_example # String | access token (optional)
acceptLanguage = acceptLanguage_example # String | Accept-Language (optional) (default to en-US)
apiVersion = apiVersion_example # String | Api-Version (optional) (default to 1.0)

try: 
    # Update a subset of an account's properties
    api_response = api_instance.accounts_patch(code, accountPatch, authorization=authorization, acceptLanguage=acceptLanguage, apiVersion=apiVersion)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accountsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
code*
String
Account code.
Required
Header parameters
Name Description
Authorization
String
access token
Accept-Language
String
Accept-Language
Api-Version
String
Api-Version
Body parameters
Name Description
accountPatch *

Responses

Status: 200 - OK

Status: 204 - NoContent


ActivityCenterStatuses

activityCenterStatusesGetAll

Get account's primary activity center custom plan statuses


/api/ActivityCenterStatuses/{accountCode}

Usage and SDK Samples

curl -X GET "https://localhost:44356/api/ActivityCenterStatuses/{accountCode}?pageNumber=&pageSize=&sortType="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ActivityCenterStatusesApi;

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

public class ActivityCenterStatusesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure OAuth2 access token for authorization: oauth2
        OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
        oauth2.setAccessToken("YOUR ACCESS TOKEN");

        ActivityCenterStatusesApi apiInstance = new ActivityCenterStatusesApi();
        String accountCode = accountCode_example; // String | The account code to retrieve
        Integer pageNumber = 56; // Integer | PageNumber, a number greater than or equal to 0
        Integer pageSize = 56; // Integer | PageSize, a number greater than 0
        String sortType = sortType_example; // String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
        String authorization = authorization_example; // String | access token
        String acceptLanguage = acceptLanguage_example; // String | Accept-Language
        String apiVersion = apiVersion_example; // String | Api-Version
        try {
            HateoasCollectionResponse.CustomPlanStatusDto result = apiInstance.activityCenterStatusesGetAll(accountCode, pageNumber, pageSize, sortType, authorization, acceptLanguage, apiVersion);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ActivityCenterStatusesApi#activityCenterStatusesGetAll");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ActivityCenterStatusesApi;

public class ActivityCenterStatusesApiExample {

    public static void main(String[] args) {
        ActivityCenterStatusesApi apiInstance = new ActivityCenterStatusesApi();
        String accountCode = accountCode_example; // String | The account code to retrieve
        Integer pageNumber = 56; // Integer | PageNumber, a number greater than or equal to 0
        Integer pageSize = 56; // Integer | PageSize, a number greater than 0
        String sortType = sortType_example; // String | SortType, 0 or 'asc' for 'Ascending' and 1 or 'desc' for 'Descending'
        String authorization = authorization_exampl