JoT API v2.1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2327

API Summary

• ACCOUNTDOCUMENTNOTES
• notesDeleteNotes
• notesGetAll
• notesGetByCode
• notesPatchNotes
• notesPostNotes
• ACCOUNTDOCUMENTS
• accountDocumentsDeleteDocumentAsync
• accountDocumentsGetAll
• accountDocumentsGetDocumentByCode
• accountDocumentsPatchAsync
• accountDocumentsPost
• ACCOUNTNOTEBOOKS
• accountNotebooksGetAll
• accountNotebooksGetNotebookByCode
• accountNotebooksPost
• ACCOUNTPHONENUMBERS
• accountPhonesGetAll
• accountPhonesGetByCode
• accountPhonesPatchAsync
• accountPhonesPost
• ACCOUNTTITLES
• accountTitlesGetAll
• accountTitlesPatch
• ACCOUNTS
• accountsCreate
• accountsGetAll
• accountsGetByCode
• accountsPatch
• ACTIVITYCENTERSTATUSES
• activityCenterStatusesGetAll
• activityCenterStatusesPatchAsync
• CARTS
• cartsAddPromotionCodes
• cartsCreateCart
• cartsDelete
• cartsDeleteItem
• cartsDeletePaymentsAsync
• cartsDeletePromotionCodes
• cartsGetAll
• cartsGetAllItems
• cartsGetAllPromotionCodes
• cartsGetCartByCode
• cartsGetCartItemByCode
• cartsGetFreightAsync
• cartsPatch
• cartsPatchCartItemByCode
• cartsPostItem
• cartsPostPaymentsAsync
• cartsSubmitCart
• CATEGORIES
• categoriesGetAll
• categoriesGetByCategoryCode
• categoriesPatchAsync
• categoriesPostAsync
• EXEMPTIONS
• exemptionsGetAll
• exemptionsGetByCode
• exemptionsPatch
• exemptionsPost
• GENEALOGY
• genealogyGetByCode
• INVENTORIES
• inventoriesDeleteByCode
• inventoriesGetAll
• inventoriesGetByCode
• inventoriesPatchAsync
• inventoriesPostAsync
• LINEAGES
• lineagesGetAll
• lineagesGetLineageByCode
• lineagesGetLineagesByAccount
• lineagesGetSponsorsByAccountDownline
• lineagesGetSponsorsByAccountUpline
• lineagesPatchSponsorAsync
• lineagesPostSponsorAsync
• OFFERS
• offersGetAll
• offersGetByCode
• offersPatch
• offersPost
• ORDERS
• ordersGetAll
• ordersGetOrderByCode
• ordersPost
• PRODUCTQUANTITYLIMITS
• productQuantityLimitsGetAll
• productQuantityLimitsPatch
• productQuantityLimitsPostAsync
• PRODUCTS
• productsGetAll
• productsGetByProductCode
• productsPatchAsync
• productsPostAsync
• RESOURCES
• resourcesDeleteByCode
• resourcesGetAll
• resourcesGetByKey
• resourcesPatch
• resourcesPost
• SHIPMENTS
• shipmentsConfirmSelected
• shipmentsConfirmSingleByOrder
• shipmentsConfirmSingleByPackslip
• shipmentsGetAll
• shipmentsGetByCode
• shipmentsPost
• SPONSORRULES
• sponsorRulesGetByAccountCode
• sponsorRulesGetByCountryPostcodeName
• STOCKS
• stocksGetAll
• stocksPatchAsync
• stocksPostAdjustmentsAsync
• stocksPostAsync
• TASKS
• tasksGetAll
• tasksGetByCode
• tasksPost
• TICKETS
• ticketsGetAll
• ticketsGetByAccount
• ticketsGetTicketByCode
• ticketsPatchAsync
• ticketsPostAsync
• ticketsPostTicksForAccountAsync
• UPLINES
• uplinesGetAsync
• VOLUMES
• volumesGetAll
• volumesGetAllByOrder
• volumesGetByCode
• volumesPatch
• volumesPost
• WAREHOUSES
• warehousesGetAll
• warehousesGetByCode
• warehousesPatchAsync
• warehousesPostAsync

Jenkon REST API


V2.1
API and SDK
Documentation
Version: v2.1

AccountDocumentNotes

notesDeleteNotes
Get account notes by document
code.

/api/Accounts/{accountCode}/Doc
uments/{documentCode}/Notes

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X DELETE "https://localho


st:44356/api/Accounts/{accountC
ode}/Documents/{documentCode}/N
otes"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countDocumentNotesApi;

import java.io.File;

import java.util.*;

public class AccountDocumentNot


esApiExample {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();

String accountCode = ac
countCode_example; // String |

String documentCode = d
ocumentCode_example; // String
|

array[String] notesCode
s = ; // array[String] |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.notesDeleteNotes(accou
ntCode, documentCode, notesCode
s, authorization, acceptLanguag
e, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentNotesApi#notesDeleteNot
es");

e.printStackTrace()
;

import io.swagger.client.api.Ac
countDocumentNotesApi;

public class AccountDocumentNot


esApiExample {
public static void main(Str
ing[] args) {

AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();

String accountCode = ac
countCode_example; // String |

String documentCode = d
ocumentCode_example; // String
|

array[String] notesCode
s = ; // array[String] |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.notesDeleteNotes(accou
ntCode, documentCode, notesCode
s, authorization, acceptLanguag
e, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
DocumentNotesApi#notesDeleteNot
es");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; //

String *documentCode = document


Code_example; //

array[String] *notesCodes = ; /
/

String *authorization = authori


zation_example; // access token
(optional)
String *acceptLanguage = accept
Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

AccountDocumentNotesApi *apiIns
tance = [[AccountDocumentNotesA
pi alloc] init];

// Get account notes by documen


t code.

[apiInstance notesDeleteNotesWi
th:accountCode

documentCode:documentCode

notesCodes:notesCodes

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);
}

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountDocumentNotesApi()

var accountCode = accountCode_e


xample; // {String}
var documentCode = documentCode
_example; // {String}

var notesCodes = ; // {array[St


ring]}

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};
api.notesDeleteNotes(accountCod
e, documentCode, notesCodes, op
ts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class notesDeleteNot


esExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountDocumentNotesApi();

var accountCode = a
ccountCode_example; // String
|

var documentCode =
documentCode_example; // Strin
g |

var notesCodes = ne
w array[String](); // array[Str
ing] |

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get account
notes by document code.

Object result =
apiInstance.notesDeleteNotes(ac
countCode, documentCode, notesC
odes, authorization, acceptLang
uage, apiVersion);
Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountDoc
umentNotesApi.notesDeleteNotes:
" + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountDocumentNotesApi
();
$accountCode = accountCode_exam
ple; // String |

$documentCode = documentCode_ex
ample; // String |

$notesCodes = ; // array[String
] |

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->no
tesDeleteNotes($accountCode, $d
ocumentCode, $notesCodes, $auth
orization, $acceptLanguage, $ap
iVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountDocumentNotesApi->note
sDeleteNotes: ', $e->getMessage
(), PHP_EOL;

?>
use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
DocumentNotesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountDocumentNotesApi
->new();

my $accountCode = accountCode_e
xample; # String |

my $documentCode = documentCode
_example; # String |

my $notesCodes = [WWW::SwaggerC
lient::Object::array[String]->n
ew()]; # array[String] |

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>notesDeleteNotes(accountCode =
> $accountCode, documentCode =>
$documentCode, notesCodes => $n
otesCodes, authorization => $au
thorization, acceptLanguage =>
$acceptLanguage, apiVersion =>
$apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountDocumentNotesApi->note
sDeleteNotes: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountDocumentNotesApi()

accountCode = accountCode_examp
le # String |

documentCode = documentCode_exa
mple # String |

notesCodes = # array[String] |

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get account notes by docu


ment code.
api_response = api_instance
.notes_delete_notes(accountCode
, documentCode, notesCodes, aut
horization=authorization, accep
tLanguage=acceptLanguage, apiVe
rsion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountDocumentNotesApi->not
esDeleteNotes: %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 * [

string

Responses

Status: 200 - OK
• Schema

{
}

Status: 204 -
NoContent

notesGetAll
Get account notes by document
code.
/api/Accounts/{accountCode}/Doc
uments/{documentCode}/Notes

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Accounts/{accountCode
}/Documents/{documentCode}/Note
s?pageNumber=&pageSize=&sortTyp
e=&filters="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countDocumentNotesApi;

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

public class AccountDocumentNot


esApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();

String accountCode = ac
countCode_example; // String |

String documentCode = d
ocumentCode_example; // String
|
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.NoteDto result = apiInst
ance.notesGetAll(accountCode, d
ocumentCode, pageNumber, pageSi
ze, sortType, authorization, ac
ceptLanguage, apiVersion, filte
rs);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentNotesApi#notesGetAll");

e.printStackTrace()
;

}
import io.swagger.client.api.Ac
countDocumentNotesApi;

public class AccountDocumentNot


esApiExample {

public static void main(Str


ing[] args) {

AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();

String accountCode = ac
countCode_example; // String |

String documentCode = d
ocumentCode_example; // String
|

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.NoteDto result = apiInst
ance.notesGetAll(accountCode, d
ocumentCode, pageNumber, pageSi
ze, sortType, authorization, ac
ceptLanguage, apiVersion, filte
rs);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentNotesApi#notesGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; //

String *documentCode = document


Code_example; //
Integer *pageNumber = 56; // Pa
geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

AccountDocumentNotesApi *apiIns
tance = [[AccountDocumentNotesA
pi alloc] init];

// Get account notes by documen


t code.

[apiInstance notesGetAllWith:ac
countCode

documentCode:documentCode

pageNumber:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

filters:filters
completionHandler
: ^(HateoasCollectionResponse.N
oteDto output, NSError* error)
{

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.A
ccountDocumentNotesApi()

var accountCode = accountCode_e


xample; // {String}

var documentCode = documentCode


_example; // {String}

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple, // {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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc
cessfully. Returned data: ' + d
ata);

};

api.notesGetAll(accountCode, do
cumentCode, pageNumber, pageSiz
e, sortType, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class notesGetAllExa


mple

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountDocumentNotesApi();

var accountCode = a
ccountCode_example; // String
|

var documentCode =
documentCode_example; // Strin
g |

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get account
notes by document code.
HateoasCollecti
onResponse.NoteDto result = api
Instance.notesGetAll(accountCod
e, documentCode, pageNumber, pa
geSize, sortType, authorization
, acceptLanguage, apiVersion, f
ilters);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountDoc
umentNotesApi.notesGetAll: " +
e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountDocumentNotesApi
();

$accountCode = accountCode_exam
ple; // String |

$documentCode = documentCode_ex
ample; // String |

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->no
tesGetAll($accountCode, $docume
ntCode, $pageNumber, $pageSize,
$sortType, $authorization, $acc
eptLanguage, $apiVersion, $filt
ers);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountDocumentNotesApi->note
sGetAll: ', $e->getMessage(), P
HP_EOL;
}

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
DocumentNotesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountDocumentNotesApi
->new();

my $accountCode = accountCode_e
xample; # 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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
eval {

my $result = $api_instance-
>notesGetAll(accountCode => $ac
countCode, documentCode => $doc
umentCode, pageNumber => $pageN
umber, pageSize => $pageSize, s
ortType => $sortType, authoriza
tion => $authorization, acceptL
anguage => $acceptLanguage, api
Version => $apiVersion, filters
=> $filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountDocumentNotesApi->note
sGetAll: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountDocumentNotesApi()

accountCode = accountCode_examp
le # String |

documentCode = documentCode_exa
mple # String |

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)
apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get account notes by docu


ment code.

api_response = api_instance
.notes_get_all(accountCode, doc
umentCode, pageNumber, pageSize
, sortType, authorization=autho
rization, acceptLanguage=accept
Language, apiVersion=apiVersion
, filters=filters)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountDocumentNotesApi->not
esGetAll: %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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
NoteDto {
NoteDto.
DocumentNoteType:
DocumentNoteType string
minLength:1 maxLength:50
}
]
}

notesGetByCode
Get account notes by document
code.

/api/Notes/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

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.Ac
countDocumentNotesApi;

import java.io.File;

import java.util.*;

public class AccountDocumentNot


esApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");
oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();

String code = code_exam


ple; // String |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

NoteDto result = ap
iInstance.notesGetByCode(code,
authorization, acceptLanguage,
apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentNotesApi#notesGetByCode
");
e.printStackTrace()
;

import io.swagger.client.api.Ac
countDocumentNotesApi;

public class AccountDocumentNot


esApiExample {

public static void main(Str


ing[] args) {

AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();

String code = code_exam


ple; // String |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
NoteDto result = ap
iInstance.notesGetByCode(code,
authorization, acceptLanguage,
apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentNotesApi#notesGetByCode
");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

AccountDocumentNotesApi *apiIns
tance = [[AccountDocumentNotesA
pi alloc] init];

// Get account notes by documen


t code.

[apiInstance notesGetByCodeWith
:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(NoteDto output, NSError* er
ror) {

if
(output) {

NSLog(@"%@", output);
}

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountDocumentNotesApi()

var code = code_example; // {St


ring}

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

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 notesGetByCode


Example

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountDocumentNotesApi();

var code = code_exa


mple; // String |

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get account
notes by document code.

NoteDto result
= apiInstance.notesGetByCode(co
de, authorization, acceptLangua
ge, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountDoc
umentNotesApi.notesGetByCode: "
+ e.Message );

<?php
require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountDocumentNotesApi
();

$code = code_example; // String


|

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->no
tesGetByCode($code, $authorizat
ion, $acceptLanguage, $apiVersi
on);

print_r($result);
} catch (Exception $e) {

echo 'Exception when callin


g AccountDocumentNotesApi->note
sGetByCode: ', $e->getMessage()
, PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
DocumentNotesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountDocumentNotesApi
->new();

my $code = code_example; # Stri


ng |

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>notesGetByCode(code => $code,
authorization => $authorization
, acceptLanguage => $acceptLang
uage, apiVersion => $apiVersion
);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountDocumentNotesApi->note
sGetByCode: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountDocumentNotesApi()

code = code_example # String |

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get account notes by docu


ment code.

api_response = api_instance
.notes_get_by_code(code, author
ization=authorization, acceptLa
nguage=acceptLanguage, apiVersi
on=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountDocumentNotesApi->not
esGetByCode: %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
• Schema

NoteDto {
NoteDto.
DocumentNoteType:
DocumentNoteType string
minLength:1 maxLength:50
}

notesPatchNotes
Update document notes for an
specific document and account code.

/api/Accounts/{accountCode}/Doc
uments/{documentCode}/Notes

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
curl -X PATCH "https://localhos
t:44356/api/Accounts/{accountCo
de}/Documents/{documentCode}/No
tes"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countDocumentNotesApi;

import java.io.File;

import java.util.*;

public class AccountDocumentNot


esApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2
OAuth oauth2 = (OAuth)
defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();

String accountCode = ac
countCode_example; // String |

String documentCode = d
ocumentCode_example; // String
|

array[NotePatch] notes
= ; // array[NotePatch] |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.notesPatchNotes(accoun
tCode, documentCode, notes, aut
horization, acceptLanguage, api
Version);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentNotesApi#notesPatchNote
s");

e.printStackTrace()
;

import io.swagger.client.api.Ac
countDocumentNotesApi;

public class AccountDocumentNot


esApiExample {

public static void main(Str


ing[] args) {

AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();

String accountCode = ac
countCode_example; // String |
String documentCode = d
ocumentCode_example; // String
|

array[NotePatch] notes
= ; // array[NotePatch] |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.notesPatchNotes(accoun
tCode, documentCode, notes, aut
horization, acceptLanguage, api
Version);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentNotesApi#notesPatchNote
s");

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; //

String *documentCode = document


Code_example; //

array[NotePatch] *notes = ; //

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)
AccountDocumentNotesApi *apiIns
tance = [[AccountDocumentNotesA
pi alloc] init];

// Update document notes for an


specific document and account c
ode.

[apiInstance notesPatchNotesWit
h:accountCode

documentCode:documentCode

notes:notes

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}
}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountDocumentNotesApi()

var accountCode = accountCode_e


xample; // {String}

var documentCode = documentCode


_example; // {String}

var notes = ; // {array[NotePat


ch]}

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.notesPatchNotes(accountCode
, documentCode, notes, opts, ca
llback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;
using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class notesPatchNote


sExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountDocumentNotesApi();

var accountCode = a
ccountCode_example; // String
|

var documentCode =
documentCode_example; // Strin
g |
var notes = new arr
ay[NotePatch](); // array[NoteP
atch] |

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Update docum
ent notes for an specific docum
ent and account code.

Object result =
apiInstance.notesPatchNotes(acc
ountCode, documentCode, notes,
authorization, acceptLanguage,
apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

{
Debug.Print("Ex
ception when calling AccountDoc
umentNotesApi.notesPatchNotes:
" + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountDocumentNotesApi
();

$accountCode = accountCode_exam
ple; // String |

$documentCode = documentCode_ex
ample; // String |

$notes = ; // array[NotePatch]
|
$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->no
tesPatchNotes($accountCode, $do
cumentCode, $notes, $authorizat
ion, $acceptLanguage, $apiVersi
on);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountDocumentNotesApi->note
sPatchNotes: ', $e->getMessage(
), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
DocumentNotesApi;
# Configure OAuth2 access token
for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountDocumentNotesApi
->new();

my $accountCode = accountCode_e
xample; # String |

my $documentCode = documentCode
_example; # String |

my $notes = [WWW::SwaggerClient
::Object::array[NotePatch]->new
()]; # array[NotePatch] |

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>notesPatchNotes(accountCode =>
$accountCode, documentCode => $
documentCode, notes => $notes,
authorization => $authorization
, acceptLanguage => $acceptLang
uage, apiVersion => $apiVersion
);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountDocumentNotesApi->note
sPatchNotes: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.A
ccountDocumentNotesApi()

accountCode = accountCode_examp
le # String |

documentCode = documentCode_exa
mple # String |

notes = # array[NotePatch] |

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Update document notes for


an specific document and accoun
t code.

api_response = api_instance
.notes_patch_notes(accountCode,
documentCode, notes, authorizat
ion=authorization, acceptLangua
ge=acceptLanguage, apiVersion=a
piVersion)

pprint(api_response)
except ApiException as e:

print("Exception when calli


ng AccountDocumentNotesApi->not
esPatchNotes: %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 * [

undefined

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

notesPostNotes
Create document notes for an
specific document and account code.

/api/Accounts/{accountCode}/Doc
uments/{documentCode}/Notes

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Accounts/{accountCod
e}/Documents/{documentCode}/Not
es"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countDocumentNotesApi;

import java.io.File;

import java.util.*;

public class AccountDocumentNot


esApiExample {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();

String accountCode = ac
countCode_example; // String |

String documentCode = d
ocumentCode_example; // String
|

array[NotePost] notes =
; // array[NotePost] |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.notesPostNotes(account
Code, documentCode, notes, auth
orization, acceptLanguage, apiV
ersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentNotesApi#notesPostNotes
");

e.printStackTrace()
;

import io.swagger.client.api.Ac
countDocumentNotesApi;

public class AccountDocumentNot


esApiExample {
public static void main(Str
ing[] args) {

AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();

String accountCode = ac
countCode_example; // String |

String documentCode = d
ocumentCode_example; // String
|

array[NotePost] notes =
; // array[NotePost] |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.notesPostNotes(account
Code, documentCode, notes, auth
orization, acceptLanguage, apiV
ersion);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
DocumentNotesApi#notesPostNotes
");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; //

String *documentCode = document


Code_example; //

array[NotePost] *notes = ; //

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

AccountDocumentNotesApi *apiIns
tance = [[AccountDocumentNotesA
pi alloc] init];

// Create document notes for an


specific document and account c
ode.

[apiInstance notesPostNotesWith
:accountCode

documentCode:documentCode

notes:notes

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);
}

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountDocumentNotesApi()

var accountCode = accountCode_e


xample; // {String}
var documentCode = documentCode
_example; // {String}

var notes = ; // {array[NotePos


t]}

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};
api.notesPostNotes(accountCode,
documentCode, notes, opts, call
back);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class notesPostNotes


Example

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountDocumentNotesApi();

var accountCode = a
ccountCode_example; // String
|

var documentCode =
documentCode_example; // Strin
g |

var notes = new arr


ay[NotePost](); // array[NotePo
st] |

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create docum
ent notes for an specific docum
ent and account code.

Object result =
apiInstance.notesPostNotes(acco
untCode, documentCode, notes, a
uthorization, acceptLanguage, a
piVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountDoc
umentNotesApi.notesPostNotes: "
+ e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\AccountDocumentNotesApi
();

$accountCode = accountCode_exam
ple; // String |

$documentCode = documentCode_ex
ample; // String |

$notes = ; // array[NotePost] |

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->no
tesPostNotes($accountCode, $doc
umentCode, $notes, $authorizati
on, $acceptLanguage, $apiVersio
n);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountDocumentNotesApi->note
sPostNotes: ', $e->getMessage()
, PHP_EOL;

}
?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
DocumentNotesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountDocumentNotesApi
->new();

my $accountCode = accountCode_e
xample; # String |

my $documentCode = documentCode
_example; # String |

my $notes = [WWW::SwaggerClient
::Object::array[NotePost]->new(
)]; # array[NotePost] |

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>notesPostNotes(accountCode =>
$accountCode, documentCode => $
documentCode, notes => $notes,
authorization => $authorization
, acceptLanguage => $acceptLang
uage, apiVersion => $apiVersion
);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountDocumentNotesApi->note
sPostNotes: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountDocumentNotesApi()

accountCode = accountCode_examp
le # String |

documentCode = documentCode_exa
mple # String |

notes = # array[NotePost] |

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create document notes for


an specific document and accoun
t code.
api_response = api_instance
.notes_post_notes(accountCode,
documentCode, notes, authorizat
ion=authorization, acceptLangua
ge=acceptLanguage, apiVersion=a
piVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountDocumentNotesApi->not
esPostNotes: %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 * [

undefined

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

AccountDocuments

accountDocumentsDelete

DocumentAsync
Delete a document.

/api/Documents/{documentCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X DELETE "https://localho


st:44356/api/Documents/{documen
tCode}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countDocumentsApi;

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

public class AccountDocumentsAp


iExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountDocumentsApi api
Instance = new AccountDocuments
Api();

String documentCode = d
ocumentCode_example; // String
| Document code.

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.accountDocumentsDelete
DocumentAsync(documentCode, aut
horization, acceptLanguage, api
Version);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsDe
leteDocumentAsync");

e.printStackTrace()
;

import io.swagger.client.api.Ac
countDocumentsApi;
public class AccountDocumentsAp
iExample {

public static void main(Str


ing[] args) {

AccountDocumentsApi api
Instance = new AccountDocuments
Api();

String documentCode = d
ocumentCode_example; // String
| Document code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.accountDocumentsDelete
DocumentAsync(documentCode, aut
horization, acceptLanguage, api
Version);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsDe
leteDocumentAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *documentCode = document


Code_example; // Document code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)
String *apiVersion = apiVersion
_example; // Api-Version (optio
nal) (default to 1.0)

AccountDocumentsApi *apiInstanc
e = [[AccountDocumentsApi alloc
] init];

// Delete a document.

[apiInstance accountDocumentsDe
leteDocumentAsyncWith:documentC
ode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);


}

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountDocumentsApi()

var documentCode = documentCode


_example; // {String} Document
code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.accountDocumentsDeleteDocum
entAsync(documentCode, opts, ca
llback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class accountDocumen


tsDeleteDocumentAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountDocumentsApi();

var documentCode =
documentCode_example; // Strin
g | Document code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Delete a doc
ument.

Object result =
apiInstance.accountDocumentsDel
eteDocumentAsync(documentCode,
authorization, acceptLanguage,
apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountDoc
umentsApi.accountDocumentsDelet
eDocumentAsync: " + e.Message )
;

}
<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountDocumentsApi();

$documentCode = documentCode_ex
ample; // String | Document cod
e.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ac
countDocumentsDeleteDocumentAsy
nc($documentCode, $authorizatio
n, $acceptLanguage, $apiVersion
);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountDocumentsApi->accountD
ocumentsDeleteDocumentAsync: ',
$e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
DocumentsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountDocumentsApi->ne
w();

my $documentCode = documentCode
_example; # String | Document c
ode.
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>accountDocumentsDeleteDocument
Async(documentCode => $document
Code, authorization => $authori
zation, acceptLanguage => $acce
ptLanguage, apiVersion => $apiV
ersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountDocumentsApi->accountD
ocumentsDeleteDocumentAsync: $@
\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountDocumentsApi()

documentCode = documentCode_exa
mple # String | Document code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Delete a document.
api_response = api_instance
.account_documents_delete_docum
ent_async(documentCode, authori
zation=authorization, acceptLan
guage=acceptLanguage, apiVersio
n=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountDocumentsApi->account
DocumentsDeleteDocumentAsync: %
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
• Schema

{
}

Status: 204 -
NoContent

accountDocumentsGetAll
Get all the documents for a specific
account.

/api/Accounts/{accountCode}/Doc
uments

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

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.Ac
countDocumentsApi;

import java.io.File;

import java.util.*;

public class AccountDocumentsAp


iExample {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountDocumentsApi api
Instance = new AccountDocuments
Api();

String accountCode = ac
countCode_example; // String |
Account code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

CollectionResponse.
AccountDocumentDto result = api
Instance.accountDocumentsGetAll
(accountCode, authorization, ac
ceptLanguage, apiVersion, cultu
re, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsGe
tAll");

e.printStackTrace()
;

import io.swagger.client.api.Ac
countDocumentsApi;

public class AccountDocumentsAp


iExample {

public static void main(Str


ing[] args) {

AccountDocumentsApi api
Instance = new AccountDocuments
Api();
String accountCode = ac
countCode_example; // String |
Account code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

CollectionResponse.
AccountDocumentDto result = api
Instance.accountDocumentsGetAll
(accountCode, authorization, ac
ceptLanguage, apiVersion, cultu
re, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsGe
tAll");

e.printStackTrace()
;

}
Configuration *apiConfig = [Con
figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // Account code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

AccountDocumentsApi *apiInstanc
e = [[AccountDocumentsApi alloc
] init];

// Get all the documents for a


specific account.

[apiInstance accountDocumentsGe
tAllWith:accountCode

authorization:authorization

acceptLanguage:acceptLangua
ge
apiVersion:apiVersion

culture:culture

filters:filters

completionHandler
: ^(CollectionResponse.AccountD
ocumentDto output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];
oauth2.accessToken = "YOUR ACCE
SS TOKEN"

var api = new JenkonRestApiV1.A


ccountDocumentsApi()

var accountCode = accountCode_e


xample; // {String} Account cod
e.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example, /
/ {String} Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

}
};

api.accountDocumentsGetAll(acco
untCode, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountDocumen


tsGetAllExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountDocumentsApi();

var accountCode = a
ccountCode_example; // String
| Account code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get all the


documents for a specific accoun
t.

CollectionRespo
nse.AccountDocumentDto result =
apiInstance.accountDocumentsGet
All(accountCode, authorization,
acceptLanguage, apiVersion, cul
ture, filters);

Debug.WriteLine
(result);

catch (Exception e)

{
Debug.Print("Ex
ception when calling AccountDoc
umentsApi.accountDocumentsGetAl
l: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountDocumentsApi();

$accountCode = accountCode_exam
ple; // String | Account code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {
$result = $api_instance->ac
countDocumentsGetAll($accountCo
de, $authorization, $acceptLang
uage, $apiVersion, $culture, $f
ilters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountDocumentsApi->accountD
ocumentsGetAll: ', $e->getMessa
ge(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
DocumentsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountDocumentsApi->ne
w();
my $accountCode = accountCode_e
xample; # String | Account code
.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {

my $result = $api_instance-
>accountDocumentsGetAll(account
Code => $accountCode, authoriza
tion => $authorization, acceptL
anguage => $acceptLanguage, api
Version => $apiVersion, culture
=> $culture, filters => $filter
s);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountDocumentsApi->accountD
ocumentsGetAll: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountDocumentsApi()

accountCode = accountCode_examp
le # String | Account code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,
the defa
ult culture will be used. (opti
onal) (default to en-US)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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(acco
untCode, authorization=authoriz
ation, acceptLanguage=acceptLan
guage, apiVersion=apiVersion, c
ulture=culture, filters=filters
)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountDocumentsApi->account
DocumentsGetAll: %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
• Schema

{
Collection response to be used by
Mediator
TotalCount:
integer (int32)
Total count
Items:
[
Items
{
Account document.
Code:
string
Document code.
DocumentType:
string
Document type.
DocumentOption:
string
Document option.
AppliedDate:
string (date-time)
Applied date.
EffectiveDate:
string (date-time)
Effective date.
ExpirationDate:
string (date-time)
Expiration date.
DocumentStatus:
string
Document status.
DocumentAdditionalStatus:
string
Document additional status.
}
]
}
accountDocumentsGetDoc

umentByCode
Get a document by code.

/api/Documents/{documentCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Documents/{documentCo
de}?culture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countDocumentsApi;
import java.io.File;

import java.util.*;

public class AccountDocumentsAp


iExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountDocumentsApi api
Instance = new AccountDocuments
Api();

String documentCode = d
ocumentCode_example; // String
| Document Code.
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

AccountDocumentDto
result = apiInstance.accountDoc
umentsGetDocumentByCode(documen
tCode, authorization, acceptLan
guage, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsGe
tDocumentByCode");

e.printStackTrace()
;
}

import io.swagger.client.api.Ac
countDocumentsApi;

public class AccountDocumentsAp


iExample {

public static void main(Str


ing[] args) {

AccountDocumentsApi api
Instance = new AccountDocuments
Api();

String documentCode = d
ocumentCode_example; // String
| Document Code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

AccountDocumentDto
result = apiInstance.accountDoc
umentsGetDocumentByCode(documen
tCode, authorization, acceptLan
guage, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsGe
tDocumentByCode");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *documentCode = document


Code_example; // Document Code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

AccountDocumentsApi *apiInstanc
e = [[AccountDocumentsApi alloc
] init];

// Get a document by code.

[apiInstance accountDocumentsGe
tDocumentByCodeWith:documentCod
e
authorization:authorization

acceptLanguage:acceptLangua
ge

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 = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2
var oauth2 = defaultClient.auth
entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountDocumentsApi()

var documentCode = documentCode


_example; // {String} Document
Code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.accountDocumentsGetDocument
ByCode(documentCode, opts, call
back);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountDocumen


tsGetDocumentByCodeExample

{
public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountDocumentsApi();

var documentCode =
documentCode_example; // Strin
g | Document Code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,
the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Get a docume
nt by code.

AccountDocument
Dto result = apiInstance.accoun
tDocumentsGetDocumentByCode(doc
umentCode, authorization, accep
tLanguage, apiVersion, culture)
;

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountDoc
umentsApi.accountDocumentsGetDo
cumentByCode: " + e.Message );

}
<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountDocumentsApi();

$documentCode = documentCode_ex
ample; // String | Document Cod
e.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.
try {

$result = $api_instance->ac
countDocumentsGetDocumentByCode
($documentCode, $authorization,
$acceptLanguage, $apiVersion, $
culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountDocumentsApi->accountD
ocumentsGetDocumentByCode: ', $
e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
DocumentsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::AccountDocumentsApi->ne
w();

my $documentCode = documentCode
_example; # String | Document C
ode.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>accountDocumentsGetDocumentByC
ode(documentCode => $documentCo
de, authorization => $authoriza
tion, acceptLanguage => $accept
Language, apiVersion => $apiVer
sion, culture => $culture);

print Dumper($result);

};
if ($@) {

warn "Exception when callin


g AccountDocumentsApi->accountD
ocumentsGetDocumentByCode: $@\n
";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountDocumentsApi()

documentCode = documentCode_exa
mple # String | Document Code.
authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get a document by code.

api_response = api_instance
.account_documents_get_document
_by_code(documentCode, authoriz
ation=authorization, acceptLang
uage=acceptLanguage, apiVersion
=apiVersion, culture=culture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountDocumentsApi->account
DocumentsGetDocumentByCode: %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
• Schema

{
Account document.
Code:
string
Document code.
DocumentType:
string
Document type.
DocumentOption:
string
Document option.
AppliedDate:
string (date-time)
Applied date.
EffectiveDate:
string (date-time)
Effective date.
ExpirationDate:
string (date-time)
Expiration date.
DocumentStatus:
string
Document status.
DocumentAdditionalStatus:
string
Document additional status.
}
accountDocumentsPatchA

sync
Patch a document entry.
Provide only the fields to modify.

/api/Documents/{documentCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Documents/{document
Code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;
import io.swagger.client.api.Ac
countDocumentsApi;

import java.io.File;

import java.util.*;

public class AccountDocumentsAp


iExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountDocumentsApi api
Instance = new AccountDocuments
Api();
String documentCode = d
ocumentCode_example; // String
| The account document of the e
ntry to patch.

AccountDocumentPatch do
cumentPatch = ; // AccountDocum
entPatch | The subset of docume
nt fields to patch.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.accountDocumentsPatchA
sync(documentCode, documentPatc
h, authorization, acceptLanguag
e, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsPa
tchAsync");

e.printStackTrace()
;
}

import io.swagger.client.api.Ac
countDocumentsApi;

public class AccountDocumentsAp


iExample {

public static void main(Str


ing[] args) {

AccountDocumentsApi api
Instance = new AccountDocuments
Api();

String documentCode = d
ocumentCode_example; // String
| The account document of the e
ntry to patch.

AccountDocumentPatch do
cumentPatch = ; // AccountDocum
entPatch | The subset of docume
nt fields to patch.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.accountDocumentsPatchA
sync(documentCode, documentPatc
h, authorization, acceptLanguag
e, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsPa
tchAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *documentCode = document


Code_example; // The account do
cument of the entry to patch.

AccountDocumentPatch *documentP
atch = ; // The subset of docum
ent fields to patch.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

AccountDocumentsApi *apiInstanc
e = [[AccountDocumentsApi alloc
] init];

// Patch a document entry.

[apiInstance accountDocumentsPa
tchAsyncWith:documentCode

documentPatch:documentPatch

authorization:authorization
acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];
oauth2.accessToken = "YOUR ACCE
SS TOKEN"

var api = new JenkonRestApiV1.A


ccountDocumentsApi()

var documentCode = documentCode


_example; // {String} The accou
nt document of the entry to pat
ch.

var documentPatch = ; // {Accou


ntDocumentPatch} The subset of
document fields to patch.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {
if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.accountDocumentsPatchAsync(
documentCode, documentPatch, op
ts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountDocumen


tsPatchAsyncExample

public void main()

{
// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountDocumentsApi();

var documentCode =
documentCode_example; // Strin
g | The account document of the
entry to patch.

var documentPatch =
new AccountDocumentPatch(); //
AccountDocumentPatch | The subs
et of document fields to patch.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try
{

// Patch a docu
ment entry.

Object result =
apiInstance.accountDocumentsPat
chAsync(documentCode, documentP
atch, authorization, acceptLang
uage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountDoc
umentsApi.accountDocumentsPatch
Async: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountDocumentsApi();

$documentCode = documentCode_ex
ample; // String | The account
document of the entry to patch.

$documentPatch = ; // AccountDo
cumentPatch | The subset of doc
ument fields to patch.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ac
countDocumentsPatchAsync($docum
entCode, $documentPatch, $autho
rization, $acceptLanguage, $api
Version);

print_r($result);

} catch (Exception $e) {


echo 'Exception when callin
g AccountDocumentsApi->accountD
ocumentsPatchAsync: ', $e->getM
essage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
DocumentsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountDocumentsApi->ne
w();

my $documentCode = documentCode
_example; # String | The accoun
t document of the entry to patc
h.

my $documentPatch = WWW::Swagge
rClient::Object::AccountDocumen
tPatch->new(); # AccountDocumen
tPatch | The subset of document
fields to patch.
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>accountDocumentsPatchAsync(doc
umentCode => $documentCode, doc
umentPatch => $documentPatch, a
uthorization => $authorization,
acceptLanguage => $acceptLangua
ge, apiVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountDocumentsApi->accountD
ocumentsPatchAsync: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountDocumentsApi()

documentCode = documentCode_exa
mple # String | The account doc
ument of the entry to patch.

documentPatch = # AccountDocum
entPatch | The subset of docume
nt fields to patch.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
try:

# Patch a document entry.

api_response = api_instance
.account_documents_patch_async(
documentCode, documentPatch, au
thorization=authorization, acce
ptLanguage=acceptLanguage, apiV
ersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountDocumentsApi->account
DocumentsPatchAsync: %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 * {

Subset of properties to update an Account title.


DocumentType:
DocumentType string maxLength:50
DocumentOption:
DocumentOption string maxLength:50
AppliedDate:
AppliedDate string (date-time)
EffectiveDate:
EffectiveDate string (date-time)
ExpirationDate:
ExpirationDate string (date-time)
DocumentStatus:
DocumentStatus string maxLength:50
DocumentAdditionalStatus:
DocumentAdditionalStatus string maxLength:50
}

Responses

Status: 200 - OK
• Schema

{
}
Status: 204 -
NoContent

accountDocumentsPost
Create an account document.

/api/Accounts/{accountCode}/Doc
uments

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Accounts/{accountCod
e}/Documents"

import io.swagger.client.*;
import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countDocumentsApi;

import java.io.File;

import java.util.*;

public class AccountDocumentsAp


iExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");
AccountDocumentsApi api
Instance = new AccountDocuments
Api();

String accountCode = ac
countCode_example; // String |
Account code.

AccountDocumentPost acc
ountDocument = ; // AccountDocu
mentPost | Account document.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.account
DocumentsPost(accountCode, acco
untDocument, authorization, acc
eptLanguage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsPo
st");

e.printStackTrace()
;

}
}

import io.swagger.client.api.Ac
countDocumentsApi;

public class AccountDocumentsAp


iExample {

public static void main(Str


ing[] args) {

AccountDocumentsApi api
Instance = new AccountDocuments
Api();

String accountCode = ac
countCode_example; // String |
Account code.

AccountDocumentPost acc
ountDocument = ; // AccountDocu
mentPost | Account document.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
apiInstance.account
DocumentsPost(accountCode, acco
untDocument, authorization, acc
eptLanguage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsPo
st");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // Account code.

AccountDocumentPost *accountDoc
ument = ; // Account document.
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

AccountDocumentsApi *apiInstanc
e = [[AccountDocumentsApi alloc
] init];

// Create an account document.

[apiInstance accountDocumentsPo
stWith:accountCode

accountDocument:accountDocu
ment

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(NSError* error) {

if
(error) {
NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountDocumentsApi()

var accountCode = accountCode_e


xample; // {String} Account cod
e.

var accountDocument = ; // {Acc


ountDocumentPost} Account docum
ent.
var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully.');

};

api.accountDocumentsPost(accoun
tCode, accountDocument, opts, c
allback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;
using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountDocumen


tsPostExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountDocumentsApi();

var accountCode = a
ccountCode_example; // String
| Account code.

var accountDocument
= new AccountDocumentPost(); //
AccountDocumentPost | Account d
ocument.
var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create an ac
count document.

apiInstance.acc
ountDocumentsPost(accountCode,
accountDocument, authorization,
acceptLanguage, apiVersion);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountDoc
umentsApi.accountDocumentsPost:
" + e.Message );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountDocumentsApi();

$accountCode = accountCode_exam
ple; // String | Account code.

$accountDocument = ; // Account
DocumentPost | Account document
.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version
try {

$api_instance->accountDocum
entsPost($accountCode, $account
Document, $authorization, $acce
ptLanguage, $apiVersion);

} catch (Exception $e) {

echo 'Exception when callin


g AccountDocumentsApi->accountD
ocumentsPost: ', $e->getMessage
(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
DocumentsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountDocumentsApi->ne
w();
my $accountCode = accountCode_e
xample; # String | Account code
.

my $accountDocument = WWW::Swag
gerClient::Object::AccountDocum
entPost->new(); # AccountDocume
ntPost | Account document.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

$api_instance->accountDocum
entsPost(accountCode => $accoun
tCode, accountDocument => $acco
untDocument, authorization => $
authorization, acceptLanguage =
> $acceptLanguage, apiVersion =
> $apiVersion);

};

if ($@) {

warn "Exception when callin


g AccountDocumentsApi->accountD
ocumentsPost: $@\n";

}
from __future__ import print_st
atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountDocumentsApi()

accountCode = accountCode_examp
le # String | Account code.

accountDocument = # AccountDoc
umentPost | Account document.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create an account documen


t.

api_instance.account_docume
nts_post(accountCode, accountDo
cument, authorization=authoriza
tion, acceptLanguage=acceptLang
uage, apiVersion=apiVersion)

except ApiException as e:

print("Exception when calli


ng AccountDocumentsApi->account
DocumentsPost: %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 AccountDocumentPost {
*
Account document.
Required:
DocumentAdditionalStatus,DocumentOption,DocumentStatus,DocumentType
DocumentType:
DocumentType string maxLength:50
DocumentOption:
DocumentOption string maxLength:50
AppliedDate:
AppliedDate string (date-time)
EffectiveDate:
EffectiveDate string (date-time)
ExpirationDate:
ExpirationDate string (date-time)
DocumentStatus:
DocumentStatus string maxLength:50
DocumentAdditionalStatus:
DocumentAdditionalStatus string maxLength:50
}

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}/Not
ebooks

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
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.Ac
countNotebooksApi;

import java.io.File;

import java.util.*;

public class AccountNotebooksAp


iExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2
OAuth oauth2 = (OAuth)
defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountNotebooksApi api
Instance = new AccountNotebooks
Api();

String accountCode = ac
countCode_example; // String |
Account code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

String filters = filter


s_example; // String | # Filter
s
**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

CollectionResponse.
AccountNotebookDto result = api
Instance.accountNotebooksGetAll
(accountCode, authorization, ac
ceptLanguage, apiVersion, cultu
re, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
NotebooksApi#accountNotebooksGe
tAll");
e.printStackTrace()
;

import io.swagger.client.api.Ac
countNotebooksApi;

public class AccountNotebooksAp


iExample {

public static void main(Str


ing[] args) {

AccountNotebooksApi api
Instance = new AccountNotebooks
Api();

String accountCode = ac
countCode_example; // String |
Account code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
String culture = cultur
e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {
CollectionResponse.
AccountNotebookDto result = api
Instance.accountNotebooksGetAll
(accountCode, authorization, ac
ceptLanguage, apiVersion, cultu
re, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
NotebooksApi#accountNotebooksGe
tAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *accountCode = accountCo
de_example; // Account code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

AccountNotebooksApi *apiInstanc
e = [[AccountNotebooksApi alloc
] init];

// Get all the notebook notes f


or a specific account.

[apiInstance accountNotebooksGe
tAllWith:accountCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

filters:filters

completionHandler
: ^(CollectionResponse.AccountN
otebookDto output, NSError* err
or) {

if
(output) {
NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountNotebooksApi()

var accountCode = accountCode_e


xample; // {String} Account cod
e.
var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example, /
/ {String} Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

};

api.accountNotebooksGetAll(acco
untCode, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class accountNoteboo


ksGetAllExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountNotebooksApi();

var accountCode = a
ccountCode_example; // String
| Account code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get all the


notebook notes for a specific a
ccount.

CollectionRespo
nse.AccountNotebookDto result =
apiInstance.accountNotebooksGet
All(accountCode, authorization,
acceptLanguage, apiVersion, cul
ture, filters);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountNot
ebooksApi.accountNotebooksGetAl
l: " + e.Message );

}
<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountNotebooksApi();

$accountCode = accountCode_exam
ple; // String | Account code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->ac
countNotebooksGetAll($accountCo
de, $authorization, $acceptLang
uage, $apiVersion, $culture, $f
ilters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountNotebooksApi->accountN
otebooksGetAll: ', $e->getMessa
ge(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
NotebooksApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountNotebooksApi->ne
w();

my $accountCode = accountCode_e
xample; # String | Account code
.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {
my $result = $api_instance-
>accountNotebooksGetAll(account
Code => $accountCode, authoriza
tion => $authorization, acceptL
anguage => $acceptLanguage, api
Version => $apiVersion, culture
=> $culture, filters => $filter
s);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountNotebooksApi->accountN
otebooksGetAll: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.A
ccountNotebooksApi()

accountCode = accountCode_examp
le # String | Account code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get all the notebook note


s for a specific account.

api_response = api_instance
.account_notebooks_get_all(acco
untCode, authorization=authoriz
ation, acceptLanguage=acceptLan
guage, apiVersion=apiVersion, c
ulture=culture, filters=filters
)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountNotebooksApi->account
NotebooksGetAll: %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
• Schema

{
Collection response to be used by
Mediator
TotalCount:
integer (int32)
Total count
Items:
[
Items
{
Account notebook.
Code:
string
Notebook code.
User:
string
User code.
Note:
string
Note.
External:
boolean
External flag.
NoteType:
string
Note type.
Subject:
string
Note subject.
ModifiedDate:
string (date-time)
Modified Date.
}
]
}

accountNotebooksGetNot

ebookByCode
Get a notebook note by code.

/api/Notebooks/{notebookCode}
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Notebooks/{notebookCo
de}?culture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countNotebooksApi;

import java.io.File;

import java.util.*;

public class AccountNotebooksAp


iExample {
public static void main(Str
ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountNotebooksApi api
Instance = new AccountNotebooks
Api();

String notebookCode = n
otebookCode_example; // String
| Notebook Code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
String culture = cultur
e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

AccountNotebookDto
result = apiInstance.accountNot
ebooksGetNotebookByCode(noteboo
kCode, authorization, acceptLan
guage, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
NotebooksApi#accountNotebooksGe
tNotebookByCode");

e.printStackTrace()
;

import io.swagger.client.api.Ac
countNotebooksApi;
public class AccountNotebooksAp
iExample {

public static void main(Str


ing[] args) {

AccountNotebooksApi api
Instance = new AccountNotebooks
Api();

String notebookCode = n
otebookCode_example; // String
| Notebook Code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

AccountNotebookDto
result = apiInstance.accountNot
ebooksGetNotebookByCode(noteboo
kCode, authorization, acceptLan
guage, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
NotebooksApi#accountNotebooksGe
tNotebookByCode");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *notebookCode = notebook


Code_example; // Notebook Code.
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

AccountNotebooksApi *apiInstanc
e = [[AccountNotebooksApi alloc
] init];

// Get a notebook note by code.

[apiInstance accountNotebooksGe
tNotebookByCodeWith:notebookCod
e

authorization:authorization

acceptLanguage:acceptLangua
ge

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 = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.A
ccountNotebooksApi()

var notebookCode = notebookCode


_example; // {String} Notebook
Code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);
} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.accountNotebooksGetNotebook
ByCode(notebookCode, opts, call
back);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountNoteboo


ksGetNotebookByCodeExample

public void main()

{
// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountNotebooksApi();

var notebookCode =
notebookCode_example; // Strin
g | Notebook Code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
try

// Get a notebo
ok note by code.

AccountNotebook
Dto result = apiInstance.accoun
tNotebooksGetNotebookByCode(not
ebookCode, authorization, accep
tLanguage, apiVersion, culture)
;

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountNot
ebooksApi.accountNotebooksGetNo
tebookByCode: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountNotebooksApi();

$notebookCode = notebookCode_ex
ample; // String | Notebook Cod
e.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->ac
countNotebooksGetNotebookByCode
($notebookCode, $authorization,
$acceptLanguage, $apiVersion, $
culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountNotebooksApi->accountN
otebooksGetNotebookByCode: ', $
e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
NotebooksApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountNotebooksApi->ne
w();

my $notebookCode = notebookCode
_example; # String | Notebook C
ode.
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>accountNotebooksGetNotebookByC
ode(notebookCode => $notebookCo
de, authorization => $authoriza
tion, acceptLanguage => $accept
Language, apiVersion => $apiVer
sion, culture => $culture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountNotebooksApi->accountN
otebooksGetNotebookByCode: $@\n
";
}

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountNotebooksApi()

notebookCode = notebookCode_exa
mple # String | Notebook Code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)
apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get a notebook note by co


de.

api_response = api_instance
.account_notebooks_get_notebook
_by_code(notebookCode, authoriz
ation=authorization, acceptLang
uage=acceptLanguage, apiVersion
=apiVersion, culture=culture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountNotebooksApi->account
NotebooksGetNotebookByCode: %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
• Schema

{
Account notebook.
Code:
string
Notebook code.
User:
string
User code.
Note:
string
Note.
External:
boolean
External flag.
NoteType:
string
Note type.
Subject:
string
Note subject.
ModifiedDate:
string (date-time)
Modified Date.
}

accountNotebooksPost
Create an account notebook note.

/api/Accounts/{accountCode}/Not
ebooks
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Accounts/{accountCod
e}/Notebooks"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countNotebooksApi;

import java.io.File;

import java.util.*;

public class AccountNotebooksAp


iExample {
public static void main(Str
ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountNotebooksApi api
Instance = new AccountNotebooks
Api();

String accountCode = ac
countCode_example; // String |
Account code.

AccountNotebookPost acc
ountNotebook = ; // AccountNote
bookPost | Account notebook.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

apiInstance.account
NotebooksPost(accountCode, acco
untNotebook, authorization, acc
eptLanguage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
NotebooksApi#accountNotebooksPo
st");

e.printStackTrace()
;

import io.swagger.client.api.Ac
countNotebooksApi;

public class AccountNotebooksAp


iExample {

public static void main(Str


ing[] args) {
AccountNotebooksApi api
Instance = new AccountNotebooks
Api();

String accountCode = ac
countCode_example; // String |
Account code.

AccountNotebookPost acc
ountNotebook = ; // AccountNote
bookPost | Account notebook.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.account
NotebooksPost(accountCode, acco
untNotebook, authorization, acc
eptLanguage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
NotebooksApi#accountNotebooksPo
st");

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // Account code.

AccountNotebookPost *accountNot
ebook = ; // Account notebook.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

AccountNotebooksApi *apiInstanc
e = [[AccountNotebooksApi alloc
] init];
// Create an account notebook n
ote.

[apiInstance accountNotebooksPo
stWith:accountCode

accountNotebook:accountNote
book

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(NSError* error) {

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2
var oauth2 = defaultClient.auth
entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountNotebooksApi()

var accountCode = accountCode_e


xample; // {String} Account cod
e.

var accountNotebook = ; // {Acc


ountNotebookPost} Account noteb
ook.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully.');

};

api.accountNotebooksPost(accoun
tCode, accountNotebook, opts, c
allback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountNoteboo


ksPostExample

public void main()


{

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountNotebooksApi();

var accountCode = a
ccountCode_example; // String
| Account code.

var accountNotebook
= new AccountNotebookPost(); //
AccountNotebookPost | Account n
otebook.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try
{

// Create an ac
count notebook note.

apiInstance.acc
ountNotebooksPost(accountCode,
accountNotebook, authorization,
acceptLanguage, apiVersion);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountNot
ebooksApi.accountNotebooksPost:
" + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\AccountNotebooksApi();

$accountCode = accountCode_exam
ple; // String | Account code.

$accountNotebook = ; // Account
NotebookPost | Account notebook
.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$api_instance->accountNoteb
ooksPost($accountCode, $account
Notebook, $authorization, $acce
ptLanguage, $apiVersion);

} catch (Exception $e) {

echo 'Exception when callin


g AccountNotebooksApi->accountN
otebooksPost: ', $e->getMessage
(), PHP_EOL;

?>
use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
NotebooksApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountNotebooksApi->ne
w();

my $accountCode = accountCode_e
xample; # String | Account code
.

my $accountNotebook = WWW::Swag
gerClient::Object::AccountNoteb
ookPost->new(); # AccountNotebo
okPost | Account notebook.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
eval {

$api_instance->accountNoteb
ooksPost(accountCode => $accoun
tCode, accountNotebook => $acco
untNotebook, authorization => $
authorization, acceptLanguage =
> $acceptLanguage, apiVersion =
> $apiVersion);

};

if ($@) {

warn "Exception when callin


g AccountNotebooksApi->accountN
otebooksPost: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.A
ccountNotebooksApi()

accountCode = accountCode_examp
le # String | Account code.

accountNotebook = # AccountNot
ebookPost | Account notebook.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create an account noteboo


k note.

api_instance.account_notebo
oks_post(accountCode, accountNo
tebook, authorization=authoriza
tion, acceptLanguage=acceptLang
uage, apiVersion=apiVersion)

except ApiException as e:
print("Exception when calli
ng AccountNotebooksApi->account
NotebooksPost: %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 AccountNotebookPost {
*
Account document.
Required: External,NoteType
User:
User string maxLength:50
Note:
Note string maxLength:4000
External:
External boolean
NoteType:
NoteType string maxLength:50
}

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}/Pho
neNumbers

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

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.Ac
countPhoneNumbersApi;

import java.io.File;

import java.util.*;

public class AccountPhoneNumber


sApiExample {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();

String accountCode = ac
countCode_example; // String |
Account code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

CollectionResponse.
AccountPhoneDto result = apiIns
tance.accountPhonesGetAll(accou
ntCode, authorization, acceptLa
nguage, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
PhoneNumbersApi#accountPhonesGe
tAll");

e.printStackTrace()
;

import io.swagger.client.api.Ac
countPhoneNumbersApi;

public class AccountPhoneNumber


sApiExample {
public static void main(Str
ing[] args) {

AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();

String accountCode = ac
countCode_example; // String |
Account code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

CollectionResponse.
AccountPhoneDto result = apiIns
tance.accountPhonesGetAll(accou
ntCode, authorization, acceptLa
nguage, apiVersion, culture);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
PhoneNumbersApi#accountPhonesGe
tAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // Account code.

String *authorization = authori


zation_example; // access token
(optional)
String *acceptLanguage = accept
Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

AccountPhoneNumbersApi *apiInst
ance = [[AccountPhoneNumbersApi
alloc] init];

// Get all the phones for an sp


ecific account.

[apiInstance accountPhonesGetAl
lWith:accountCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(CollectionResponse.AccountP
honeDto output, NSError* error)
{

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountPhoneNumbersApi()
var accountCode = accountCode_e
xample; // {String} Account cod
e.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {
console.log('API called suc
cessfully. Returned data: ' + d
ata);

};

api.accountPhonesGetAll(account
Code, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountPhonesG


etAllExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountPhoneNumbersApi();

var accountCode = a
ccountCode_example; // String
| Account code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

{
// Get all the
phones for an specific account.

CollectionRespo
nse.AccountPhoneDto result = ap
iInstance.accountPhonesGetAll(a
ccountCode, authorization, acce
ptLanguage, apiVersion, culture
);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountPho
neNumbersApi.accountPhonesGetAl
l: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountPhoneNumbersApi(
);

$accountCode = accountCode_exam
ple; // String | Account code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->ac
countPhonesGetAll($accountCode,
$authorization, $acceptLanguage
, $apiVersion, $culture);

print_r($result);
} catch (Exception $e) {

echo 'Exception when callin


g AccountPhoneNumbersApi->accou
ntPhonesGetAll: ', $e->getMessa
ge(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
PhoneNumbersApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountPhoneNumbersApi-
>new();

my $accountCode = accountCode_e
xample; # String | Account code
.

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>accountPhonesGetAll(accountCod
e => $accountCode, authorizatio
n => $authorization, acceptLang
uage => $acceptLanguage, apiVer
sion => $apiVersion, culture =>
$culture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountPhoneNumbersApi->accou
ntPhonesGetAll: $@\n";

from __future__ import print_st


atement
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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountPhoneNumbersApi()

accountCode = accountCode_examp
le # String | Account code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
culture = culture_example # Str
ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get all the phones for an


specific account.

api_response = api_instance
.account_phones_get_all(account
Code, authorization=authorizati
on, acceptLanguage=acceptLangua
ge, apiVersion=apiVersion, cult
ure=culture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountPhoneNumbersApi->acco
untPhonesGetAll: %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
• Schema

{
Collection response to be used by
Mediator
TotalCount:
integer (int32)
Total count
Items:
[
Items
{
Account Phone Dto.
AccountCode:
string
Account code.
Code:
string
Phone code.
Number:
string
Title group code.
NumericPhoneNumber:
string
Numeric phone number.
PhoneNumberType:
string
Phone number type.
Primary:
boolean
Is it the primary number?
}
]
}

accountPhonesGetByCode
Get an account phone by code.
/api/PhoneNumbers/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/PhoneNumbers/{code}?c
ulture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countPhoneNumbersApi;

import java.io.File;

import java.util.*;
public class AccountPhoneNumber
sApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();

String code = code_exam


ple; // String | Phone Code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

AccountPhoneDto res
ult = apiInstance.accountPhones
GetByCode(code, authorization,
acceptLanguage, apiVersion, cul
ture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
PhoneNumbersApi#accountPhonesGe
tByCode");

e.printStackTrace()
;

}
import io.swagger.client.api.Ac
countPhoneNumbersApi;

public class AccountPhoneNumber


sApiExample {

public static void main(Str


ing[] args) {

AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();

String code = code_exam


ple; // String | Phone Code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {
AccountPhoneDto res
ult = apiInstance.accountPhones
GetByCode(code, authorization,
acceptLanguage, apiVersion, cul
ture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
PhoneNumbersApi#accountPhonesGe
tByCode");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


Phone Code.
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

AccountPhoneNumbersApi *apiInst
ance = [[AccountPhoneNumbersApi
alloc] init];

// Get an account phone by code


.

[apiInstance accountPhonesGetBy
CodeWith:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion
culture:culture

completionHandler
: ^(AccountPhoneDto output, NSE
rror* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.A
ccountPhoneNumbersApi()

var code = code_example; // {St


ring} Phone Code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {
console.log('API called suc
cessfully. Returned data: ' + d
ata);

};

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 accountPhonesG


etByCodeExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountPhoneNumbersApi();

var code = code_exa


mple; // String | Phone Code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

{
// Get an accou
nt phone by code.

AccountPhoneDto
result = apiInstance.accountPho
nesGetByCode(code, authorizatio
n, acceptLanguage, apiVersion,
culture);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountPho
neNumbersApi.accountPhonesGetBy
Code: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountPhoneNumbersApi(
);

$code = code_example; // String


| Phone Code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->ac
countPhonesGetByCode($code, $au
thorization, $acceptLanguage, $
apiVersion, $culture);

print_r($result);
} catch (Exception $e) {

echo 'Exception when callin


g AccountPhoneNumbersApi->accou
ntPhonesGetByCode: ', $e->getMe
ssage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
PhoneNumbersApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountPhoneNumbersApi-
>new();

my $code = code_example; # Stri


ng | Phone Code.

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>accountPhonesGetByCode(code =>
$code, authorization => $author
ization, acceptLanguage => $acc
eptLanguage, apiVersion => $api
Version, culture => $culture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountPhoneNumbersApi->accou
ntPhonesGetByCode: $@\n";

from __future__ import print_st


atement
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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountPhoneNumbersApi()

code = code_example # String |


Phone Code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
culture = culture_example # Str
ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get an account phone by c


ode.

api_response = api_instance
.account_phones_get_by_code(cod
e, authorization=authorization,
acceptLanguage=acceptLanguage,
apiVersion=apiVersion, culture=
culture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountPhoneNumbersApi->acco
untPhonesGetByCode: %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
• Schema

{
Account Phone Dto.
AccountCode:
string
Account code.
Code:
string
Phone code.
Number:
string
Title group code.
NumericPhoneNumber:
string
Numeric phone number.
PhoneNumberType:
string
Phone number type.
Primary:
boolean
Is it the primary number?
}

accountPhonesPatchAsyn

c
Patch an account phone number
entry.
Provide only the fields to modify.

/api/PhoneNumbers/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/PhoneNumbers/{code}
"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countPhoneNumbersApi;

import java.io.File;

import java.util.*;

public class AccountPhoneNumber


sApiExample {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();

String code = code_exam


ple; // String | The account ph
one number of the entry to patc
h.

AccountPhonePatch accou
ntPhonePatch = ; // AccountPhon
ePatch | The subset of account
phone fields to patch.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.accountPhonesPatchAsyn
c(code, accountPhonePatch, auth
orization, acceptLanguage, apiV
ersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
PhoneNumbersApi#accountPhonesPa
tchAsync");

e.printStackTrace()
;

import io.swagger.client.api.Ac
countPhoneNumbersApi;

public class AccountPhoneNumber


sApiExample {
public static void main(Str
ing[] args) {

AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();

String code = code_exam


ple; // String | The account ph
one number of the entry to patc
h.

AccountPhonePatch accou
ntPhonePatch = ; // AccountPhon
ePatch | The subset of account
phone fields to patch.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.accountPhonesPatchAsyn
c(code, accountPhonePatch, auth
orization, acceptLanguage, apiV
ersion);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
PhoneNumbersApi#accountPhonesPa
tchAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


The account phone number of the
entry to patch.

AccountPhonePatch *accountPhone
Patch = ; // The subset of acco
unt phone fields to patch.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

AccountPhoneNumbersApi *apiInst
ance = [[AccountPhoneNumbersApi
alloc] init];

// Patch an account phone numbe


r entry.

[apiInstance accountPhonesPatch
AsyncWith:code

accountPhonePatch:accountPh
onePatch

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

}
if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountPhoneNumbersApi()

var code = code_example; // {St


ring} The account phone number
of the entry to patch.
var accountPhonePatch = ; // {A
ccountPhonePatch} The subset of
account phone fields to patch.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};
api.accountPhonesPatchAsync(cod
e, accountPhonePatch, opts, cal
lback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountPhonesP


atchAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountPhoneNumbersApi();

var code = code_exa


mple; // String | The account
phone number of the entry to pa
tch.

var accountPhonePat
ch = new AccountPhonePatch(); /
/ AccountPhonePatch | The subse
t of account phone fields to pa
tch.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Patch an acc
ount phone number entry.

Object result =
apiInstance.accountPhonesPatchA
sync(code, accountPhonePatch, a
uthorization, acceptLanguage, a
piVersion);
Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountPho
neNumbersApi.accountPhonesPatch
Async: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountPhoneNumbersApi(
);
$code = code_example; // String
| The account phone number of t
he entry to patch.

$accountPhonePatch = ; // Accou
ntPhonePatch | The subset of ac
count phone fields to patch.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ac
countPhonesPatchAsync($code, $a
ccountPhonePatch, $authorizatio
n, $acceptLanguage, $apiVersion
);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountPhoneNumbersApi->accou
ntPhonesPatchAsync: ', $e->getM
essage(), PHP_EOL;

?>
use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
PhoneNumbersApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountPhoneNumbersApi-
>new();

my $code = code_example; # Stri


ng | The account phone number o
f the entry to patch.

my $accountPhonePatch = WWW::Sw
aggerClient::Object::AccountPho
nePatch->new(); # AccountPhoneP
atch | The subset of account ph
one fields to patch.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>accountPhonesPatchAsync(code =
> $code, accountPhonePatch => $
accountPhonePatch, authorizatio
n => $authorization, acceptLang
uage => $acceptLanguage, apiVer
sion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountPhoneNumbersApi->accou
ntPhonesPatchAsync: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountPhoneNumbersApi()

code = code_example # String |


The account phone number of the
entry to patch.

accountPhonePatch = # AccountP
honePatch | The subset of accou
nt phone fields to patch.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch an account phone nu


mber entry.
api_response = api_instance
.account_phones_patch_async(cod
e, accountPhonePatch, authoriza
tion=authorization, acceptLangu
age=acceptLanguage, apiVersion=
apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountPhoneNumbersApi->acco
untPhonesPatchAsync: %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 AccountPhonePost {
*
Account Phone Patch Request Model.
Required: Number,Primary,Type
Type:
Type string maxLength:50
Number:
Number string maxLength:50
Primary:
Primary boolean
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 204 -
NoContent

accountPhonesPost
Create a new account phone

/api/Accounts/{accountCode}/Pho
neNumbers

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Accounts/{accountCod
e}/PhoneNumbers"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countPhoneNumbersApi;

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

public class AccountPhoneNumber


sApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();

String accountCode = ac
countCode_example; // String |
Account code.

AccountPhonePost accoun
tPhone = ; // AccountPhonePost
| Account phone values
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.account
PhonesPost(accountCode, account
Phone, authorization, acceptLan
guage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
PhoneNumbersApi#accountPhonesPo
st");

e.printStackTrace()
;

import io.swagger.client.api.Ac
countPhoneNumbersApi;
public class AccountPhoneNumber
sApiExample {

public static void main(Str


ing[] args) {

AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();

String accountCode = ac
countCode_example; // String |
Account code.

AccountPhonePost accoun
tPhone = ; // AccountPhonePost
| Account phone values

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.account
PhonesPost(accountCode, account
Phone, authorization, acceptLan
guage, apiVersion);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
PhoneNumbersApi#accountPhonesPo
st");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // Account code.

AccountPhonePost *accountPhone
= ; // Account phone values

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)
String *apiVersion = apiVersion
_example; // Api-Version (optio
nal) (default to 1.0)

AccountPhoneNumbersApi *apiInst
ance = [[AccountPhoneNumbersApi
alloc] init];

// Create a new account phone

[apiInstance accountPhonesPostW
ith:accountCode

accountPhone:accountPhone

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(NSError* error) {

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');
var defaultClient = JenkonRestA
piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountPhoneNumbersApi()

var accountCode = accountCode_e


xample; // {String} Account cod
e.

var accountPhone = ; // {Accoun


tPhonePost} Account phone value
s

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully.');

};

api.accountPhonesPost(accountCo
de, accountPhone, opts, callbac
k);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

{
public class accountPhonesP
ostExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountPhoneNumbersApi();

var accountCode = a
ccountCode_example; // String
| Account code.

var accountPhone =
new AccountPhonePost(); // Acco
untPhonePost | Account phone va
lues

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a new
account phone

apiInstance.acc
ountPhonesPost(accountCode, acc
ountPhone, authorization, accep
tLanguage, apiVersion);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountPho
neNumbersApi.accountPhonesPost:
" + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountPhoneNumbersApi(
);

$accountCode = accountCode_exam
ple; // String | Account code.

$accountPhone = ; // AccountPho
nePost | Account phone values

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$api_instance->accountPhone
sPost($accountCode, $accountPho
ne, $authorization, $acceptLang
uage, $apiVersion);

} catch (Exception $e) {


echo 'Exception when callin
g AccountPhoneNumbersApi->accou
ntPhonesPost: ', $e->getMessage
(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
PhoneNumbersApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountPhoneNumbersApi-
>new();

my $accountCode = accountCode_e
xample; # String | Account code
.

my $accountPhone = WWW::Swagger
Client::Object::AccountPhonePos
t->new(); # AccountPhonePost |
Account phone values
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

$api_instance->accountPhone
sPost(accountCode => $accountCo
de, accountPhone => $accountPho
ne, authorization => $authoriza
tion, acceptLanguage => $accept
Language, apiVersion => $apiVer
sion);

};

if ($@) {

warn "Exception when callin


g AccountPhoneNumbersApi->accou
ntPhonesPost: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountPhoneNumbersApi()

accountCode = accountCode_examp
le # String | Account code.

accountPhone = # AccountPhoneP
ost | Account phone values

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:
# Create a new account phon
e

api_instance.account_phones
_post(accountCode, accountPhone
, authorization=authorization,
acceptLanguage=acceptLanguage,
apiVersion=apiVersion)

except ApiException as e:

print("Exception when calli


ng AccountPhoneNumbersApi->acco
untPhonesPost: %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 * AccountPhonePost {

Phone Number request for Post method.


Required: Number,Primary,Type
Type:
Type string maxLength:50
Number:
Number string maxLength:50
Primary:
Primary boolean
}

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
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Accounts/{code}/Title
s?culture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countTitlesApi;

import java.io.File;

import java.util.*;
public class AccountTitlesApiEx
ample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountTitlesApi apiIns
tance = new AccountTitlesApi();

String code = code_exam


ple; // String | Account code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

CollectionResponse.
AccountTitleDto result = apiIns
tance.accountTitlesGetAll(code,
authorization, acceptLanguage,
apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
TitlesApi#accountTitlesGetAll")
;

e.printStackTrace()
;

}
import io.swagger.client.api.Ac
countTitlesApi;

public class AccountTitlesApiEx


ample {

public static void main(Str


ing[] args) {

AccountTitlesApi apiIns
tance = new AccountTitlesApi();

String code = code_exam


ple; // String | Account code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {
CollectionResponse.
AccountTitleDto result = apiIns
tance.accountTitlesGetAll(code,
authorization, acceptLanguage,
apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
TitlesApi#accountTitlesGetAll")
;

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


Account code.
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

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

// Get all the titles for an sp


ecific account.

[apiInstance accountTitlesGetAl
lWith:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion
culture:culture

completionHandler
: ^(CollectionResponse.AccountT
itleDto output, NSError* error)
{

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.A
ccountTitlesApi()

var code = code_example; // {St


ring} Account code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);
} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.accountTitlesGetAll(code, o
pts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountTitlesG


etAllExample

public void main()

{
// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountTitlesApi();

var code = code_exa


mple; // String | Account code
.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
try

// Get all the


titles for an specific account.

CollectionRespo
nse.AccountTitleDto result = ap
iInstance.accountTitlesGetAll(c
ode, authorization, acceptLangu
age, apiVersion, culture);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountTit
lesApi.accountTitlesGetAll: " +
e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountTitlesApi();

$code = code_example; // String


| Account code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->ac
countTitlesGetAll($code, $autho
rization, $acceptLanguage, $api
Version, $culture);
print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountTitlesApi->accountTitl
esGetAll: ', $e->getMessage(),
PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
TitlesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountTitlesApi->new()
;

my $code = code_example; # Stri


ng | Account code.

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>accountTitlesGetAll(code => $c
ode, authorization => $authoriz
ation, acceptLanguage => $accep
tLanguage, apiVersion => $apiVe
rsion, culture => $culture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountTitlesApi->accountTitl
esGetAll: $@\n";

from __future__ import print_st


atement
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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountTitlesApi()

code = code_example # String |


Account code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
culture = culture_example # Str
ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get all the titles for an


specific account.

api_response = api_instance
.account_titles_get_all(code, a
uthorization=authorization, acc
eptLanguage=acceptLanguage, api
Version=apiVersion, culture=cul
ture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountTitlesApi->accountTit
lesGetAll: %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
• Schema

{
Collection response to be used by
Mediator
TotalCount:
integer (int32)
Total count
Items:
[
Items
{
Account title.
ActivityCenter:
string
Activity center code.
TitleCodeGroup:
string
Title group code.
TitleCode:
string
Title code.
TitleDate:
string (date-time)
Effective date.
Description:
string
Description.
Rank:
integer (int32)
Rank.
HighestRankDate:
string (date-time)
Highest (rank) title date
HighestRank:
integer (int32)
Highest (rank) title
}
]
}
accountTitlesPatch
Patch an account tile.

/api/Accounts/{code}/Titles/{ti
tleCodeGroup}/{titleCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Accounts/{code}/Tit
les/{titleCodeGroup}/{titleCode
}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
countTitlesApi;
import java.io.File;

import java.util.*;

public class AccountTitlesApiEx


ample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountTitlesApi apiIns
tance = new AccountTitlesApi();

String code = code_exam


ple; // String | Account code.
String titleCodeGroup =
titleCodeGroup_example; // Stri
ng | Title code group.

String titleCode = titl


eCode_example; // String | Titl
e code.

AccountTitlePatch accou
ntTitle = ; // AccountTitlePatc
h | Account title.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.accountTitlesPatch(cod
e, titleCodeGroup, titleCode, a
ccountTitle, authorization, acc
eptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
TitlesApi#accountTitlesPatch");
e.printStackTrace()
;

import io.swagger.client.api.Ac
countTitlesApi;

public class AccountTitlesApiEx


ample {

public static void main(Str


ing[] args) {

AccountTitlesApi apiIns
tance = new AccountTitlesApi();

String code = code_exam


ple; // String | Account code.

String titleCodeGroup =
titleCodeGroup_example; // Stri
ng | Title code group.

String titleCode = titl


eCode_example; // String | Titl
e code.

AccountTitlePatch accou
ntTitle = ; // AccountTitlePatc
h | Account title.
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.accountTitlesPatch(cod
e, titleCodeGroup, titleCode, a
ccountTitle, authorization, acc
eptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
TitlesApi#accountTitlesPatch");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


Account code.

String *titleCodeGroup = titleC


odeGroup_example; // Title code
group.

String *titleCode = titleCode_e


xample; // Title code.

AccountTitlePatch *accountTitle
= ; // Account title.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

AccountTitlesApi *apiInstance =
[[AccountTitlesApi alloc] init]
;
// Patch an account tile.

[apiInstance accountTitlesPatch
With:code

titleCodeGroup:titleCodeGro
up

titleCode:titleCode

accountTitle:accountTitle

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountTitlesApi()

var code = code_example; // {St


ring} Account code.

var titleCodeGroup = titleCodeG


roup_example; // {String} Title
code group.

var titleCode = titleCode_examp


le; // {String} Title code.

var accountTitle = ; // {Accoun


tTitlePatch} Account title.
var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.accountTitlesPatch(code, ti
tleCodeGroup, titleCode, accoun
tTitle, opts, callback);

using System;
using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountTitlesP


atchExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountTitlesApi();

var code = code_exa


mple; // String | Account code
.
var titleCodeGroup
= titleCodeGroup_example; // S
tring | Title code group.

var titleCode = tit


leCode_example; // String | Ti
tle code.

var accountTitle =
new AccountTitlePatch(); // Acc
ountTitlePatch | Account title.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Patch an acc
ount tile.

Object result =
apiInstance.accountTitlesPatch(
code, titleCodeGroup, titleCode
, accountTitle, authorization,
acceptLanguage, apiVersion);

Debug.WriteLine
(result);
}

catch (Exception e)

Debug.Print("Ex
ception when calling AccountTit
lesApi.accountTitlesPatch: " +
e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountTitlesApi();

$code = code_example; // String


| Account code.
$titleCodeGroup = titleCodeGrou
p_example; // String | Title co
de group.

$titleCode = titleCode_example;
// String | Title code.

$accountTitle = ; // AccountTit
lePatch | Account title.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ac
countTitlesPatch($code, $titleC
odeGroup, $titleCode, $accountT
itle, $authorization, $acceptLa
nguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountTitlesApi->accountTitl
esPatch: ', $e->getMessage(), P
HP_EOL;

}
?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
TitlesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountTitlesApi->new()
;

my $code = code_example; # Stri


ng | Account code.

my $titleCodeGroup = titleCodeG
roup_example; # String | Title
code group.

my $titleCode = titleCode_examp
le; # String | Title code.

my $accountTitle = WWW::Swagger
Client::Object::AccountTitlePat
ch->new(); # AccountTitlePatch
| Account title.
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>accountTitlesPatch(code => $co
de, titleCodeGroup => $titleCod
eGroup, titleCode => $titleCode
, accountTitle => $accountTitle
, authorization => $authorizati
on, acceptLanguage => $acceptLa
nguage, apiVersion => $apiVersi
on);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountTitlesApi->accountTitl
esPatch: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountTitlesApi()

code = code_example # String |


Account code.

titleCodeGroup = titleCodeGroup
_example # String | Title code
group.

titleCode = titleCode_example #
String | Title code.

accountTitle = # AccountTitleP
atch | Account title.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch an account tile.

api_response = api_instance
.account_titles_patch(code, tit
leCodeGroup, titleCode, account
Title, authorization=authorizat
ion, acceptLanguage=acceptLangu
age, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountTitlesApi->accountTit
lesPatch: %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 * {

Subset of properties to update an Account title.


TitleDate:
TitleDate string (date-time)
TitleCode:
TitleCode string maxLength:50
}
Responses

Status: 200 - OK
• Schema

{
}

Accounts

accountsCreate
Create a new Account.

/api/Accounts

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
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.Ac
countsApi;

import java.io.File;

import java.util.*;

public class AccountsApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2
OAuth oauth2 = (OAuth)
defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountsApi apiInstance
= new AccountsApi();

AccountPost model = ; /
/ AccountPost | Account model.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.accountsCreate(model,
authorization, acceptLanguage,
apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
sApi#accountsCreate");
e.printStackTrace()
;

import io.swagger.client.api.Ac
countsApi;

public class AccountsApiExample


{

public static void main(Str


ing[] args) {

AccountsApi apiInstance
= new AccountsApi();

AccountPost model = ; /
/ AccountPost | Account model.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
Object result = api
Instance.accountsCreate(model,
authorization, acceptLanguage,
apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
sApi#accountsCreate");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

AccountPost *model = ; // Accou


nt model.
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

AccountsApi *apiInstance = [[Ac


countsApi alloc] init];

// Create a new Account.

[apiInstance accountsCreateWith
:model

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

}
if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountsApi()

var model = ; // {AccountPost}


Account model.

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

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 accountsCreate


Example

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountsApi();

var model = new Acc


ountPost(); // AccountPost | Ac
count model.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a new
Account.

Object result =
apiInstance.accountsCreate(mode
l, authorization, acceptLanguag
e, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountsAp
i.accountsCreate: " + e.Message
);

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountsApi();

$model = ; // AccountPost | Acc


ount model.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ac
countsCreate($model, $authoriza
tion, $acceptLanguage, $apiVers
ion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountsApi->accountsCreate:
', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountsApi->new();

my $model = WWW::SwaggerClient:
:Object::AccountPost->new(); #
AccountPost | Account model.
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>accountsCreate(model => $model
, authorization => $authorizati
on, acceptLanguage => $acceptLa
nguage, apiVersion => $apiVersi
on);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountsApi->accountsCreate:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountsApi()

model = # AccountPost | Accoun


t model.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a new Account.


api_response = api_instance
.accounts_create(model, authori
zation=authorization, acceptLan
guage=acceptLanguage, apiVersio
n=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng 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 AccountPost {
*
Account Post Request, enroll a new account
Required:
AccountType,Code,Country,Culture,Currency,DefaultShippingAddress,Email,FamilyName,G
Code:
Code string maxLength:50
Country:
Country string maxLength:2
Currency:
Currency string maxLength:3
AccountType:
AccountType string maxLength:50
Email:
Email string maxLength:255
Prefix:
Prefix string maxLength:50
GivenName:
GivenName string maxLength:255
MiddleName:
MiddleName string maxLength:255
FamilyName:
FamilyName string maxLength:255
SecondFamilyName:
SecondFamilyName string maxLength:255
Suffix:
Suffix string maxLength:50
KnownAs:
KnownAs string maxLength:255
BirthDate:
BirthDate string (date-time)
Phone:
Phone string maxLength:50
Culture:
Culture string maxLength:50
SMS:
SMS string maxLength:255
CompanyName:
CompanyName string maxLength:255
Passport:
Passport string maxLength:255
Gender:
Gender string maxLength:50
User:
User string maxLength:50
Password:
Password string maxLength:512
TaxId:
TaxId string maxLength:255
Sponsor:
Sponsor string maxLength:50
JoinDate:
JoinDate string (date-time)
IdentityDocumentType:
IdentityDocumentType string maxLength:50
IdentityDocument:
IdentityDocument string maxLength:50
CostCenter:
CostCenter string maxLength:50
EmployeeCode:
EmployeeCode string maxLength:50
PlaceOfIssuance:
PlaceOfIssuance string maxLength:50
Nationality:
Nationality string maxLength:50
Race:
Race string maxLength:50
MaritalStatus:
MaritalStatus string maxLength:50
SpouseIdentityDocumentType:
SpouseIdentityDocumentType string maxLength:50
SpouseIdentityDocument:
SpouseIdentityDocument string maxLength:50
SpouseName:
SpouseName string maxLength:255
SpouseBirthDate:
SpouseBirthDate string (date-time)
BankName:
BankName string maxLength:255
BankAccountCode:
BankAccountCode string maxLength:255
BankAccountNumber:
BankAccountNumber string maxLength:255
LegalAddress:
{
Required: Country
Line1:
Line1 string
Line2:
Line2 string
Country:
Country string
PostalCode:
PostalCode string
City:
City string
County:
County string
StateProvince:
StateProvince string
}
DefaultShippingAddress:
{
Required: Country
Line1:
Line1 string
Line2:
Line2 string
Country:
Country string
PostalCode:
PostalCode string
City:
City string
County:
County string
StateProvince:
StateProvince string
}
OtherAddresses:
OtherAddresses[
{
Required: Country
Line1:
Line1 string maxLength:255
Line2:
Line2 string maxLength:255
Country:
Country string maxLength:2
PostalCode:
PostalCode string maxLength:255
City:
City string maxLength:255
County:
County string maxLength:255
StateProvince:
StateProvince string maxLength:255
}
]
OtherPhones:
OtherPhones[
{
Required: Number,Type
Type:
Type string maxLength:50
Number:
Number string maxLength:50
}
]
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

accountsGetAll
Get data for Account entries.
/api/Accounts

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Accounts?activityCent
erRequired=&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.Ac
countsApi;

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

public class AccountsApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountsApi apiInstance
= new AccountsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0
String sortType = sortT
ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

Boolean activityCenterR
equired = true; // Boolean | Ac
tivity Center Required.

Boolean excludeTerminat
ed = true; // Boolean | Exclude
Terminated.

Boolean additionalDetai
ls = true; // Boolean | Additio
nal Details. Response will incl
ude all addresses and Other Pho
ne Numbers.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.AccountDto result = apiI
nstance.accountsGetAll(pageNumb
er, pageSize, sortType, activit
yCenterRequired, excludeTermina
ted, additionalDetails, authori
zation, acceptLanguage, apiVers
ion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
sApi#accountsGetAll");

e.printStackTrace()
;

}
}

import io.swagger.client.api.Ac
countsApi;

public class AccountsApiExample


{

public static void main(Str


ing[] args) {

AccountsApi apiInstance
= new AccountsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

Boolean activityCenterR
equired = true; // Boolean | Ac
tivity Center Required.

Boolean excludeTerminat
ed = true; // Boolean | Exclude
Terminated.
Boolean additionalDetai
ls = true; // Boolean | Additio
nal Details. Response will incl
ude all addresses and Other Pho
ne Numbers.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.AccountDto result = apiI
nstance.accountsGetAll(pageNumb
er, pageSize, sortType, activit
yCenterRequired, excludeTermina
ted, additionalDetails, authori
zation, acceptLanguage, apiVers
ion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
sApi#accountsGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

Boolean *activityCenterRequired
= true; // Activity Center Requ
ired. (optional) (default to fa
lse)

Boolean *excludeTerminated = tr
ue; // Exclude Terminated. (opt
ional) (default to false)

Boolean *additionalDetails = tr
ue; // Additional Details. Resp
onse will include all addresses
and Other Phone Numbers. (optio
nal) (default to false)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)
String *apiVersion = apiVersion
_example; // Api-Version (optio
nal) (default to 1.0)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

AccountsApi *apiInstance = [[Ac


countsApi alloc] init];

// Get data for Account entries


.
[apiInstance accountsGetAllWith
:pageNumber

pageSize:pageSize

sortType:sortType

activityCenterRequired:acti
vityCenterRequired

excludeTerminated:excludeTe
rminated

additionalDetails:additiona
lDetails

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

filters:filters

completionHandler
: ^(HateoasCollectionResponse.A
ccountDto output, NSError* erro
r) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);


}

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountsApi()

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'activityCenterRequired': tru
e, // {Boolean} Activity Center
Required.

'excludeTerminated': true, //
{Boolean} Exclude Terminated.

'additionalDetails': true, //
{Boolean} Additional Details. R
esponse will include all addres
ses and Other Phone Numbers.

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

};

api.accountsGetAll(pageNumber,
pageSize, sortType, opts, callb
ack);

using System;
using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountsGetAll


Example

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountsApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)
var pageSize = 56;
// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var activityCenterR
equired = true; // Boolean | A
ctivity Center Required. (optio
nal) (default to false)

var excludeTerminat
ed = true; // Boolean | Exclud
e Terminated. (optional) (defa
ult to false)

var additionalDetai
ls = true; // Boolean | Additi
onal Details. Response will inc
lude all addresses and Other Ph
one Numbers. (optional) (defau
lt to false)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)
var filters = filte
rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get data for


Account entries.

HateoasCollecti
onResponse.AccountDto result =
apiInstance.accountsGetAll(page
Number, pageSize, sortType, act
ivityCenterRequired, excludeTer
minated, additionalDetails, aut
horization, acceptLanguage, api
Version, filters);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountsAp
i.accountsGetAll: " + e.Message
);

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\AccountsApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 Re
quired.

$excludeTerminated = true; // B
oolean | Exclude Terminated.

$additionalDetails = true; // B
oolean | Additional Details. Re
sponse will include all address
es and Other Phone Numbers.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->ac
countsGetAll($pageNumber, $page
Size, $sortType, $activityCente
rRequired, $excludeTerminated,
$additionalDetails, $authorizat
ion, $acceptLanguage, $apiVersi
on, $filters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountsApi->accountsGetAll:
', $e->getMessage(), PHP_EOL;
}

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $activityCenterRequired = tr
ue; # Boolean | Activity Center
Required.
my $excludeTerminated = true; #
Boolean | Exclude Terminated.

my $additionalDetails = true; #
Boolean | Additional Details. R
esponse will include all addres
ses and Other Phone Numbers.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {

my $result = $api_instance-
>accountsGetAll(pageNumber => $
pageNumber, pageSize => $pageSi
ze, sortType => $sortType, acti
vityCenterRequired => $activity
CenterRequired, excludeTerminat
ed => $excludeTerminated, addit
ionalDetails => $additionalDeta
ils, authorization => $authoriz
ation, acceptLanguage => $accep
tLanguage, apiVersion => $apiVe
rsion, filters => $filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountsApi->accountsGetAll:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountsApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

activityCenterRequired = true #
Boolean | Activity Center Requi
red. (optional) (default to fal
se)

excludeTerminated = true # Bool


ean | Exclude Terminated. (opti
onal) (default to false)
additionalDetails = true # Bool
ean | Additional Details. Respo
nse will include all addresses
and Other Phone Numbers. (optio
nal) (default to false)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get data for Account entr


ies.

api_response = api_instance
.accounts_get_all(pageNumber, p
ageSize, sortType, activityCent
erRequired=activityCenterRequir
ed, excludeTerminated=excludeTe
rminated, additionalDetails=add
itionalDetails, authorization=a
uthorization, acceptLanguage=ac
ceptLanguage, apiVersion=apiVer
sion, filters=filters)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng 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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Account Dto.
Code:
string
Code of the Account.
Name:
string
Name.
ReportName:
string
Report Name.
Country:
string
Country.
Currency:
string
Currency.
AccountType:
string
Account Type.
Email:
string
Email.
Placement:
boolean
Placement.
Prefix:
string
Prefix.
GivenName:
string
Given Name.
MiddleName:
string
Middle Name.
FamilyName:
string
Family Name.
SecondFamilyName:
string
Second Family Name.
Suffix:
string
Suffix.
KnownAs:
string
Known As.
BirthDate:
string (date-time)
Birth Date.
Phone:
string
Phone.
Culture:
string
Culture.
SMS:
string
SMS.
ModifiedDate:
string (date-time)
Modified Date.
CompanyName:
string
Company Name.
Passport:
string
Passport.
Gender:
string
Gender.
MaskedTaxId:
string
MaskedTaxId.
CreatedDate:
string (date-time)
Created Date.
DisbursementType:
string
Disbursement Type.
IdentityDocumentType:
string
Identity Document Type.
IdentityDocument:
string
Identity Document.
CostCenter:
string
Cost Center.
EmployeeCode:
string
Employee Code.
PlaceOfIssuance:
string
Place Of Issuance.
Nationality:
string
Nationality.
Race:
string
Race.
MaritalStatus:
string
Marital Status.
SpouseIdentityDocumentType:
string
Spouse Identity Document Type.
SpouseIdentityDocument:
string
Spouse Identity Document.
SpouseName:
string
Spouse Name.
SpouseBirthDate:
string (date-time)
Spouse Birth Date.
BankName:
string
Bank Name.
MaskedBankAccountCode:
string
Masked Bank Account Code.
MaskedBankAccountNumber:
string
Masked Bank Account Number.
LegalAddress:
AddressDto {
Address Dto.
Required: Country
Line1:
Line1 string maxLength:255
Line2:
Line2 string maxLength:255
Country:
Country string maxLength:2
PostalCode:
PostalCode string maxLength:255
City:
City string maxLength:255
County:
County string maxLength:255
StateProvince:
StateProvince string maxLength:255
}
DefaultShippingAddress:
AddressDto {
Address Dto.
Required: Country
Line1:
Line1 string maxLength:255
Line2:
Line2 string maxLength:255
Country:
Country string maxLength:2
PostalCode:
PostalCode string maxLength:255
City:
City string maxLength:255
County:
County string maxLength:255
StateProvince:
StateProvince string maxLength:255
}
OtherAddresses:
[
Any other addresses.
AddressDto {
Address Dto.
Required: Country
Line1:
Line1 string maxLength:255
Line2:
Line2 string maxLength:255
Country:
Country string maxLength:2
PostalCode:
PostalCode string maxLength:255
City:
City string maxLength:255
County:
County string maxLength:255
StateProvince:
StateProvince string maxLength:255
}
]
OtherPhones:
[
Any other phone numbers.
PhoneNumberDto {
Phone Number Dto.
Required: Number,Type
Type:
Type string maxLength:50
Number:
Number string maxLength:50
}
]
}
]
}

accountsGetByCode
Get data for an Account entry
/api/Accounts/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

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.Ac
countsApi;

import java.io.File;

import java.util.*;
public class AccountsApiExample
{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountsApi apiInstance
= new AccountsApi();

String code = code_exam


ple; // String | The Account Co
de to retrieve.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

AccountDto result =
apiInstance.accountsGetByCode(c
ode, authorization, acceptLangu
age, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
sApi#accountsGetByCode");

e.printStackTrace()
;

import io.swagger.client.api.Ac
countsApi;

public class AccountsApiExample


{

public static void main(Str


ing[] args) {
AccountsApi apiInstance
= new AccountsApi();

String code = code_exam


ple; // String | The Account Co
de to retrieve.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

AccountDto result =
apiInstance.accountsGetByCode(c
ode, authorization, acceptLangu
age, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
sApi#accountsGetByCode");

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


The Account Code to retrieve.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

AccountsApi *apiInstance = [[Ac


countsApi alloc] init];

// Get data for an Account entr


y
[apiInstance accountsGetByCodeW
ith:code

authorization:authorization

acceptLanguage:acceptLangua
ge

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 = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2
var oauth2 = defaultClient.auth
entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountsApi()

var code = code_example; // {St


ring} The Account Code to retri
eve.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);
} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.accountsGetByCode(code, opt
s, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountsGetByC


odeExample

public void main()

{
// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountsApi();

var code = code_exa


mple; // String | The Account
Code to retrieve.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get data for


an Account entry

AccountDto resu
lt = apiInstance.accountsGetByC
ode(code, authorization, accept
Language, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountsAp
i.accountsGetByCode: " + e.Mess
age );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\AccountsApi();

$code = code_example; // String


| The Account Code to retrieve.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ac
countsGetByCode($code, $authori
zation, $acceptLanguage, $apiVe
rsion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountsApi->accountsGetByCod
e: ', $e->getMessage(), PHP_EOL
;

?>

use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountsApi->new();

my $code = code_example; # Stri


ng | The Account Code to retrie
ve.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>accountsGetByCode(code => $cod
e, authorization => $authorizat
ion, acceptLanguage => $acceptL
anguage, apiVersion => $apiVers
ion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountsApi->accountsGetByCod
e: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class
api_instance = swagger_client.A
ccountsApi()

code = code_example # String |


The Account Code to retrieve.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get data for an Account e


ntry

api_response = api_instance
.accounts_get_by_code(code, aut
horization=authorization, accep
tLanguage=acceptLanguage, apiVe
rsion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng AccountsApi->accountsGetByCo
de: %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
• Schema

{
Account Dto.
Code:
string
Code of the Account.
Name:
string
Name.
ReportName:
string
Report Name.
Country:
string
Country.
Currency:
string
Currency.
AccountType:
string
Account Type.
Email:
string
Email.
Placement:
boolean
Placement.
Prefix:
string
Prefix.
GivenName:
string
Given Name.
MiddleName:
string
Middle Name.
FamilyName:
string
Family Name.
SecondFamilyName:
string
Second Family Name.
Suffix:
string
Suffix.
KnownAs:
string
Known As.
BirthDate:
string (date-time)
Birth Date.
Phone:
string
Phone.
Culture:
string
Culture.
SMS:
string
SMS.
ModifiedDate:
string (date-time)
Modified Date.
CompanyName:
string
Company Name.
Passport:
string
Passport.
Gender:
string
Gender.
MaskedTaxId:
string
MaskedTaxId.
CreatedDate:
string (date-time)
Created Date.
DisbursementType:
string
Disbursement Type.
IdentityDocumentType:
string
Identity Document Type.
IdentityDocument:
string
Identity Document.
CostCenter:
string
Cost Center.
EmployeeCode:
string
Employee Code.
PlaceOfIssuance:
string
Place Of Issuance.
Nationality:
string
Nationality.
Race:
string
Race.
MaritalStatus:
string
Marital Status.
SpouseIdentityDocumentType:
string
Spouse Identity Document Type.
SpouseIdentityDocument:
string
Spouse Identity Document.
SpouseName:
string
Spouse Name.
SpouseBirthDate:
string (date-time)
Spouse Birth Date.
BankName:
string
Bank Name.
MaskedBankAccountCode:
string
Masked Bank Account Code.
MaskedBankAccountNumber:
string
Masked Bank Account Number.
LegalAddress:
AddressDto {
Address Dto.
Required: Country
Line1:
Line1 string maxLength:255
Line2:
Line2 string maxLength:255
Country:
Country string maxLength:2
PostalCode:
PostalCode string maxLength:255
City:
City string maxLength:255
County:
County string maxLength:255
StateProvince:
StateProvince string maxLength:255
}
DefaultShippingAddress:
AddressDto {
Address Dto.
Required: Country
Line1:
Line1 string maxLength:255
Line2:
Line2 string maxLength:255
Country:
Country string maxLength:2
PostalCode:
PostalCode string maxLength:255
City:
City string maxLength:255
County:
County string maxLength:255
StateProvince:
StateProvince string maxLength:255
}
OtherAddresses:
[
Any other addresses.
AddressDto {
Address Dto.
Required: Country
Line1:
Line1 string maxLength:255
Line2:
Line2 string maxLength:255
Country:
Country string maxLength:2
PostalCode:
PostalCode string maxLength:255
City:
City string maxLength:255
County:
County string maxLength:255
StateProvince:
StateProvince string maxLength:255
}
]
OtherPhones:
[
Any other phone numbers.
PhoneNumberDto {
Phone Number Dto.
Required: Number,Type
Type:
Type string maxLength:50
Number:
Number string maxLength:50
}
]
}
accountsPatch
Update a subset of an account's
properties

/api/Accounts/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Accounts/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;
import io.swagger.client.api.Ac
countsApi;

import java.io.File;

import java.util.*;

public class AccountsApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

AccountsApi apiInstance
= new AccountsApi();

String code = code_exam


ple; // String | Account code.
AccountPatch accountPat
ch = ; // AccountPatch | Accoun
t patch model.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.accountsPatch(code, ac
countPatch, authorization, acce
ptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
sApi#accountsPatch");

e.printStackTrace()
;

}
import io.swagger.client.api.Ac
countsApi;

public class AccountsApiExample


{

public static void main(Str


ing[] args) {

AccountsApi apiInstance
= new AccountsApi();

String code = code_exam


ple; // String | Account code.

AccountPatch accountPat
ch = ; // AccountPatch | Accoun
t patch model.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.accountsPatch(code, ac
countPatch, authorization, acce
ptLanguage, apiVersion);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Account
sApi#accountsPatch");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


Account code.

AccountPatch *accountPatch = ;
// Account patch model.

String *authorization = authori


zation_example; // access token
(optional)
String *acceptLanguage = accept
Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

AccountsApi *apiInstance = [[Ac


countsApi alloc] init];

// Update a subset of an accoun


t's properties

[apiInstance accountsPatchWith:
code

accountPatch:accountPatch

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

}
if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ccountsApi()

var code = code_example; // {St


ring} Account code.

var accountPatch = ; // {Accoun


tPatch} Account patch model.
var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.accountsPatch(code, account
Patch, opts, callback);

using System;

using System.Diagnostics;
using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class accountsPatchE


xample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew AccountsApi();

var code = code_exa


mple; // String | Account code
.

var accountPatch =
new AccountPatch(); // AccountP
atch | Account patch model.
var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Update a sub
set of an account's properties

Object result =
apiInstance.accountsPatch(code,
accountPatch, authorization, ac
ceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling AccountsAp
i.accountsPatch: " + e.Message
);

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\AccountsApi();

$code = code_example; // String


| Account code.

$accountPatch = ; // AccountPat
ch | Account patch model.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version
try {

$result = $api_instance->ac
countsPatch($code, $accountPatc
h, $authorization, $acceptLangu
age, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g AccountsApi->accountsPatch: '
, $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Account
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::AccountsApi->new();
my $code = code_example; # Stri
ng | Account code.

my $accountPatch = WWW::Swagger
Client::Object::AccountPatch->n
ew(); # AccountPatch | Account
patch model.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>accountsPatch(code => $code, a
ccountPatch => $accountPatch, a
uthorization => $authorization,
acceptLanguage => $acceptLangua
ge, apiVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g AccountsApi->accountsPatch: $
@\n";

}
from __future__ import print_st
atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ccountsApi()

code = code_example # String |


Account code.

accountPatch = # AccountPatch
| Account patch model.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Update a subset of an acc


ount's properties

api_response = api_instance
.accounts_patch(code, accountPa
tch, authorization=authorizatio
n, acceptLanguage=acceptLanguag
e, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng 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 * AccountPatch {

Account Patch Request


Country:
Country string maxLength:2
Currency:
Currency string maxLength:3
AccountType:
AccountType string maxLength:50
Email:
Email string maxLength:255
Prefix:
Prefix string maxLength:50
GivenName:
GivenName string maxLength:255
MiddleName:
MiddleName string maxLength:255
FamilyName:
FamilyName string maxLength:255
SecondFamilyName:
SecondFamilyName string maxLength:255
Suffix:
Suffix string maxLength:50
KnownAs:
KnownAs string maxLength:255
BirthDate:
BirthDate string (date-time)
Phone:
Phone string maxLength:50
Culture:
Culture string maxLength:50
SMS:
SMS string maxLength:255
CompanyName:
CompanyName string maxLength:255
Passport:
Passport string maxLength:255
Gender:
Gender string maxLength:50
TaxId:
TaxId string maxLength:255
JoinDate:
JoinDate string (date-time)
IdentityDocumentType:
IdentityDocumentType string maxLength:50
IdentityDocument:
IdentityDocument string maxLength:50
CostCenter:
CostCenter string maxLength:50
EmployeeCode:
EmployeeCode string maxLength:50
PlaceOfIssuance:
PlaceOfIssuance string maxLength:50
Nationality:
Nationality string maxLength:50
Race:
Race string maxLength:50
MaritalStatus:
MaritalStatus string maxLength:50
SpouseIdentityDocumentType:
SpouseIdentityDocumentType string maxLength:50
SpouseIdentityDocument:
SpouseIdentityDocument string maxLength:50
SpouseName:
SpouseName string maxLength:255
SpouseBirthDate:
SpouseBirthDate string (date-time)
BankName:
BankName string maxLength:255
BankAccountCode:
BankAccountCode string maxLength:255
BankAccountNumber:
BankAccountNumber string maxLength:255
LegalAddress:
AddressPatch {
Address Patch Model.
Required: Country
Line1:
Line1 string
Line2:
Line2 string
Country:
Country string
PostalCode:
PostalCode string
City:
City string
County:
County string
StateProvince:
StateProvince string
}
DefaultShippingAddress:
AddressPatch {
Address Patch Model.
Required: Country
Line1:
Line1 string
Line2:
Line2 string
Country:
Country string
PostalCode:
PostalCode string
City:
City string
County:
County string
StateProvince:
StateProvince string
}
OtherAddresses:
OtherAddresses[
{
Required: Country
Line1:
Line1 string maxLength:255
Line2:
Line2 string maxLength:255
Country:
Country string maxLength:2
PostalCode:
PostalCode string maxLength:255
City:
City string maxLength:255
County:
County string maxLength:255
StateProvince:
StateProvince string maxLength:255
}
]
OtherPhones:
OtherPhones[
{
Required: Number,Type
Type:
Type string maxLength:50
Number:
Number string maxLength:50
}
]
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 204 -
NoContent

ActivityCenterStatuses

activityCenterStatuses

GetAll
Get account's primary activity center
custom plan statuses

/api/ActivityCenterStatuses/{ac
countCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/ActivityCenterStatuse
s/{accountCode}?pageNumber=&pag
eSize=&sortType="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
tivityCenterStatusesApi;

import java.io.File;

import java.util.*;

public class ActivityCenterStat


usesApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ActivityCenterStatusesA
pi apiInstance = new ActivityCe
nterStatusesApi();

String accountCode = ac
countCode_example; // String |
The account code to retrieve

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.CustomPlanStatusDto resu
lt = apiInstance.activityCenter
StatusesGetAll(accountCode, pag
eNumber, pageSize, sortType, au
thorization, acceptLanguage, ap
iVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Activit
yCenterStatusesApi#activityCent
erStatusesGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Ac
tivityCenterStatusesApi;

public class ActivityCenterStat


usesApiExample {
public static void main(Str
ing[] args) {

ActivityCenterStatusesA
pi apiInstance = new ActivityCe
nterStatusesApi();

String accountCode = ac
countCode_example; // String |
The account code to retrieve

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.CustomPlanStatusDto resu
lt = apiInstance.activityCenter
StatusesGetAll(accountCode, pag
eNumber, pageSize, sortType, au
thorization, acceptLanguage, ap
iVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Activit
yCenterStatusesApi#activityCent
erStatusesGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *accountCode = accountCo
de_example; // The account code
to retrieve

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

ActivityCenterStatusesApi *apiI
nstance = [[ActivityCenterStatu
sesApi alloc] init];

// Get account's primary activi


ty center custom plan statuses
[apiInstance activityCenterStat
usesGetAllWith:accountCode

pageNumber:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(HateoasCollectionResponse.C
ustomPlanStatusDto output, NSEr
ror* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');
var defaultClient = JenkonRestA
piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ctivityCenterStatusesApi()

var accountCode = accountCode_e


xample; // {String} The account
code to retrieve

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'
var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.activityCenterStatusesGetAl
l(accountCode, pageNumber, page
Size, sortType, opts, callback)
;

using System;
using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class activityCenter


StatusesGetAllExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ActivityCenterStatusesApi();

var accountCode = a
ccountCode_example; // String
| The account code to retrieve
var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get account'
s primary activity center custo
m plan statuses

HateoasCollecti
onResponse.CustomPlanStatusDto
result = apiInstance.activityCe
nterStatusesGetAll(accountCode,
pageNumber, pageSize, sortType,
authorization, acceptLanguage,
apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ActivityCe
nterStatusesApi.activityCenterS
tatusesGetAll: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\ActivityCenterStatusesA
pi();

$accountCode = accountCode_exam
ple; // String | The account co
de to retrieve

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ac
tivityCenterStatusesGetAll($acc
ountCode, $pageNumber, $pageSiz
e, $sortType, $authorization, $
acceptLanguage, $apiVersion);

print_r($result);
} catch (Exception $e) {

echo 'Exception when callin


g ActivityCenterStatusesApi->ac
tivityCenterStatusesGetAll: ',
$e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Activit
yCenterStatusesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ActivityCenterStatusesA
pi->new();

my $accountCode = accountCode_e
xample; # String | The account
code to retrieve

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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>activityCenterStatusesGetAll(a
ccountCode => $accountCode, pag
eNumber => $pageNumber, pageSiz
e => $pageSize, sortType => $so
rtType, authorization => $autho
rization, acceptLanguage => $ac
ceptLanguage, apiVersion => $ap
iVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ActivityCenterStatusesApi->ac
tivityCenterStatusesGetAll: $@\
n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ctivityCenterStatusesApi()

accountCode = accountCode_examp
le # String | The account code
to retrieve

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)
pageSize = 56 # Integer | PageS
ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get account's primary act


ivity center custom plan status
es

api_response = api_instance
.activity_center_statuses_get_a
ll(accountCode, pageNumber, pag
eSize, sortType, authorization=
authorization, acceptLanguage=a
cceptLanguage, apiVersion=apiVe
rsion)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng ActivityCenterStatusesApi->a
ctivityCenterStatusesGetAll: %s
\n" % e)

Parameters
Path parameters
Name Description

accountCode* 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

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

Responses

Status: 200 - OK
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Custom plan status
Key:
string
The Key of the custom plan value
Type:
string
The {System.Type} name
corresponding to the type of
{System.Object} stored
Value:
string
The custom plan Value, represented
as a string regardless of Type
}
]
}
activityCenterStatuses

PatchAsync
Patch account's primary activity
center custom plan statuses
Provide only the keys and values for
custom plan statuses to update

/api/ActivityCenterStatuses/{ac
countCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/ActivityCenterStatu
ses/{accountCode}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;

import io.swagger.client.api.Ac
tivityCenterStatusesApi;

import java.io.File;

import java.util.*;

public class ActivityCenterStat


usesApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ActivityCenterStatusesA
pi apiInstance = new ActivityCe
nterStatusesApi();

String accountCode = ac
countCode_example; // String |
The account code to update

array[CustomPlanStatusD
to] customPlanStatuses = ; // a
rray[CustomPlanStatusDto] | Sub
set of {CustomPlanStatus} to up
date

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.activityCenterStatuses
PatchAsync(accountCode, customP
lanStatuses, authorization, acc
eptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Activit
yCenterStatusesApi#activityCent
erStatusesPatchAsync");

e.printStackTrace()
;

import io.swagger.client.api.Ac
tivityCenterStatusesApi;

public class ActivityCenterStat


usesApiExample {

public static void main(Str


ing[] args) {

ActivityCenterStatusesA
pi apiInstance = new ActivityCe
nterStatusesApi();

String accountCode = ac
countCode_example; // String |
The account code to update

array[CustomPlanStatusD
to] customPlanStatuses = ; // a
rray[CustomPlanStatusDto] | Sub
set of {CustomPlanStatus} to up
date

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.activityCenterStatuses
PatchAsync(accountCode, customP
lanStatuses, authorization, acc
eptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Activit
yCenterStatusesApi#activityCent
erStatusesPatchAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // The account code
to update

array[CustomPlanStatusDto] *cus
tomPlanStatuses = ; // Subset o
f {CustomPlanStatus} to update

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

ActivityCenterStatusesApi *apiI
nstance = [[ActivityCenterStatu
sesApi alloc] init];

// Patch account's primary acti


vity center custom plan statuse
s
[apiInstance activityCenterStat
usesPatchAsyncWith:accountCode

customPlanStatuses:customPl
anStatuses

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;
// Configure OAuth2 access toke
n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.A


ctivityCenterStatusesApi()

var accountCode = accountCode_e


xample; // {String} The account
code to update

var customPlanStatuses = ; // {
array[CustomPlanStatusDto]} Sub
set of {CustomPlanStatus} to up
date

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.activityCenterStatusesPatch
Async(accountCode, customPlanSt
atuses, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class activityCenter


StatusesPatchAsyncExample
{

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ActivityCenterStatusesApi();

var accountCode = a
ccountCode_example; // String
| The account code to update

var customPlanStatu
ses = new array[CustomPlanStatu
sDto](); // array[CustomPlanSta
tusDto] | Subset of {CustomPlan
Status} to update

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Patch accoun
t's primary activity center cus
tom plan statuses

Object result =
apiInstance.activityCenterStatu
sesPatchAsync(accountCode, cust
omPlanStatuses, authorization,
acceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ActivityCe
nterStatusesApi.activityCenterS
tatusesPatchAsync: " + e.Messag
e );

}
<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ActivityCenterStatusesA
pi();

$accountCode = accountCode_exam
ple; // String | The account co
de to update

$customPlanStatuses = ; // arra
y[CustomPlanStatusDto] | Subset
of {CustomPlanStatus} to update

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {
$result = $api_instance->ac
tivityCenterStatusesPatchAsync(
$accountCode, $customPlanStatus
es, $authorization, $acceptLang
uage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ActivityCenterStatusesApi->ac
tivityCenterStatusesPatchAsync:
', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Activit
yCenterStatusesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ActivityCenterStatusesA
pi->new();
my $accountCode = accountCode_e
xample; # String | The account
code to update

my $customPlanStatuses = [WWW::
SwaggerClient::Object::array[Cu
stomPlanStatusDto]->new()]; # a
rray[CustomPlanStatusDto] | Sub
set of {CustomPlanStatus} to up
date

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>activityCenterStatusesPatchAsy
nc(accountCode => $accountCode,
customPlanStatuses => $customPl
anStatuses, authorization => $a
uthorization, acceptLanguage =>
$acceptLanguage, apiVersion =>
$apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ActivityCenterStatusesApi->ac
tivityCenterStatusesPatchAsync:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.A
ctivityCenterStatusesApi()

accountCode = accountCode_examp
le # String | The account code
to update

customPlanStatuses = # array[C
ustomPlanStatusDto] | Subset of
{CustomPlanStatus} to update
authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch account's primary a


ctivity center custom plan stat
uses

api_response = api_instance
.activity_center_statuses_patch
_async(accountCode, customPlanS
tatuses, authorization=authoriz
ation, acceptLanguage=acceptLan
guage, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ActivityCenterStatusesApi->a
ctivityCenterStatusesPatchAsync
: %s\n" % e)

Parameters
Path parameters
Name Description

accountCode* String

The account code to update

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

customPlanStatuses [
*
undefined

Responses

Status: 200 - OK
• Schema
{
}

Carts

cartsAddPromotionCodes
Add promotion codes to the cart.

/api/Carts/{cartCode}/Promotion
Codes

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Carts/{cartCode}/Pro
motionCodes"

import io.swagger.client.*;
import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[String] promotion
Codes = ; // array[String] | Pr
omotion codes.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsAddPromotionCodes
(cartCode, promotionCodes, auth
orization, acceptLanguage, apiV
ersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsAddPromotionCodes");

e.printStackTrace()
;
}

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[String] promotion
Codes = ; // array[String] | Pr
omotion codes.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
Object result = api
Instance.cartsAddPromotionCodes
(cartCode, promotionCodes, auth
orization, acceptLanguage, apiV
ersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsAddPromotionCodes");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *cartCode = cartCode_exa


mple; // Cart code.
array[String] *promotionCodes =
; // Promotion codes.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Add promotion codes to the c


art.

[apiInstance cartsAddPromotionC
odesWith:cartCode

promotionCodes:promotionCod
es

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()
var cartCode = cartCode_example
; // {String} Cart code.

var promotionCodes = ; // {arra


y[String]} Promotion codes.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};
api.cartsAddPromotionCodes(cart
Code, promotionCodes, opts, cal
lback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsAddPromot


ionCodesExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();

var cartCode = cart


Code_example; // String | Cart
code.

var promotionCodes
= new array[String](); // array
[String] | Promotion codes.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Add promotio
n codes to the cart.

Object result =
apiInstance.cartsAddPromotionCo
des(cartCode, promotionCodes, a
uthorization, acceptLanguage, a
piVersion);

Debug.WriteLine
(result);
}

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsAddPromotionCodes: " + e.Me
ssage );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$cartCode = cartCode_example; /
/ String | Cart code.
$promotionCodes = ; // array[St
ring] | Promotion codes.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsAddPromotionCodes($cartCode,
$promotionCodes, $authorization
, $acceptLanguage, $apiVersion)
;

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsAddPromotionCo
des: ', $e->getMessage(), PHP_E
OL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $promotionCodes = [WWW::Swag
gerClient::Object::array[String
]->new()]; # array[String] | Pr
omotion codes.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsAddPromotionCodes(cartCod
e => $cartCode, promotionCodes
=> $promotionCodes, authorizati
on => $authorization, acceptLan
guage => $acceptLanguage, apiVe
rsion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsAddPromotionCo
des: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class
api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.

promotionCodes = # array[Strin
g] | Promotion codes.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Add promotion codes to th


e cart.

api_response = api_instance
.carts_add_promotion_codes(cart
Code, promotionCodes, authoriza
tion=authorization, acceptLangu
age=acceptLanguage, apiVersion=
apiVersion)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng CartsApi->cartsAddPromotionC
odes: %s\n" % e)

Parameters
Path parameters
Name Description

cartCode* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

promotionCodes * [

string
]

Responses

Status: 200 - OK
• Schema

{
}

Status: 204 -
NoContent

cartsCreateCart
Create a cart.

/api/Carts

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Carts"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

CartPost cartModel = ;
// CartPost | Cart model.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsCreateCart(cartMo
del, authorization, acceptLangu
age, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsCreateCart");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

CartPost cartModel = ;
// CartPost | Cart model.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
try {

Object result = api


Instance.cartsCreateCart(cartMo
del, authorization, acceptLangu
age, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsCreateCart");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

CartPost *cartModel = ; // Cart


model.
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Create a cart.

[apiInstance cartsCreateCartWit
h:cartModel

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

}
if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()

var cartModel = ; // {CartPost}


Cart model.

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsCreateCart(cartModel,
opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example

public class cartsCreateCar


tExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();

var cartModel = new


CartPost(); // CartPost | Cart
model.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a car
t.

Object result =
apiInstance.cartsCreateCart(car
tModel, authorization, acceptLa
nguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsCreateCart: " + e.Message )
;

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$cartModel = ; // CartPost | Ca
rt model.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsCreateCart($cartModel, $auth
orization, $acceptLanguage, $ap
iVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsCreateCart: ',
$e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartModel = WWW::SwaggerCli
ent::Object::CartPost->new(); #
CartPost | Cart model.
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsCreateCart(cartModel => $
cartModel, authorization => $au
thorization, acceptLanguage =>
$acceptLanguage, apiVersion =>
$apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsCreateCart: $@
\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

cartModel = # CartPost | Cart


model.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a cart.
api_response = api_instance
.carts_create_cart(cartModel, a
uthorization=authorization, acc
eptLanguage=acceptLanguage, api
Version=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsCreateCart: %
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

cartModel * CartPost {

Model to create a cart.


Required:
AccountType,ActivityCenter,CartType,OwnerActivityCenter
Account:
Account string minLength:1 maxLength:50
ActivityCenter:
ActivityCenter string minLength:1 maxLength:50
CartType:
CartType string minLength:1 maxLength:50
PrimaryCurrency:
PrimaryCurrency string minLength:3 maxLength:3
OwnerAccountType:
OwnerAccountType string minLength:1 maxLength:50
OwnerActivityCenter:
OwnerActivityCenter string minLength:1 maxLength:50
AccountType:
AccountType string minLength:1 maxLength:50
ActivityCenterAccountType:
ActivityCenterAccountType string minLength:1 maxLength:50
PromotionCodes:
PromotionCodes[
PromotionCode string minLength:1 maxLength:50
]
Address:
AddressDto {
Address Dto.
Required: Country
Line1:
Line1 string
Line2:
Line2 string
Country:
Country string
PostalCode:
PostalCode string
City:
City string
County:
County string
StateProvince:
StateProvince string
}
CarrierMethod:
CarrierMethod string minLength:1 maxLength:50
Enrollment:
Enrollment string minLength:1 maxLength:50
Required to create an enrollment cart.
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

cartsDelete
Delete a cart by code.

/api/Carts/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X DELETE "https://localho


st:44356/api/Carts/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

String code = code_exam


ple; // String | Cart code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsDelete(code, auth
orization, acceptLanguage, apiV
ersion);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsDelete");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

String code = code_exam


ple; // String | Cart code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
try {

Object result = api


Instance.cartsDelete(code, auth
orization, acceptLanguage, apiV
ersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsDelete");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


Cart code.
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Delete a cart by code.

[apiInstance cartsDeleteWith:co
de

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

}
if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()

var code = code_example; // {St


ring} Cart code.

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsDelete(code, opts, cal


lback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example

public class cartsDeleteExa


mple

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();

var code = code_exa


mple; // String | Cart code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Delete a car
t by code.

Object result =
apiInstance.cartsDelete(code, a
uthorization, acceptLanguage, a
piVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsDelete: " + e.Message );

<?php
require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$code = code_example; // String


| Cart code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsDelete($code, $authorization
, $acceptLanguage, $apiVersion)
;

print_r($result);

} catch (Exception $e) {


echo 'Exception when callin
g CartsApi->cartsDelete: ', $e-
>getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $code = code_example; # Stri


ng | Cart code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsDelete(code => $code, aut
horization => $authorization, a
cceptLanguage => $acceptLanguag
e, apiVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsDelete: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

code = code_example # String |


Cart code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Delete a cart by code.

api_response = api_instance
.carts_delete(code, authorizati
on=authorization, acceptLanguag
e=acceptLanguage, apiVersion=ap
iVersion)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng CartsApi->cartsDelete: %s\n"
% e)

Parameters
Path parameters
Name Description

code* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema
{
}

Status: 204 -
NoContent

cartsDeleteItem
Delete items from the cart.

/api/Carts/{cartCode}/Items

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X DELETE "https://localho


st:44356/api/Carts/{cartCode}/I
tems"

import io.swagger.client.*;
import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[String] items = ;
// array[String] | Items codes.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsDeleteItem(cartCo
de, items, authorization, accep
tLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsDeleteItem");

e.printStackTrace()
;

}
}

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[String] items = ;
// array[String] | Items codes.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsDeleteItem(cartCo
de, items, authorization, accep
tLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsDeleteItem");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *cartCode = cartCode_exa


mple; // Cart code.

array[String] *items = ; // Ite


ms codes.
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Delete items from the cart.

[apiInstance cartsDeleteItemWit
h:cartCode

items:items

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);
}

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()

var cartCode = cartCode_example


; // {String} Cart code.
var items = ; // {array[String]
} Items codes.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsDeleteItem(cartCode, i
tems, opts, callback);
using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsDeleteIte


mExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();
var cartCode = cart
Code_example; // String | Cart
code.

var items = new arr


ay[String](); // array[String]
| Items codes.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Delete items
from the cart.

Object result =
apiInstance.cartsDeleteItem(car
tCode, items, authorization, ac
ceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)
{

Debug.Print("Ex
ception when calling CartsApi.c
artsDeleteItem: " + e.Message )
;

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$cartCode = cartCode_example; /
/ String | Cart code.

$items = ; // array[String] | I
tems codes.
$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsDeleteItem($cartCode, $items
, $authorization, $acceptLangua
ge, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsDeleteItem: ',
$e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;
# Configure OAuth2 access token
for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $items = [WWW::SwaggerClient
::Object::array[String]->new()]
; # array[String] | Items codes
.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsDeleteItem(cartCode => $c
artCode, items => $items, autho
rization => $authorization, acc
eptLanguage => $acceptLanguage,
apiVersion => $apiVersion);

print Dumper($result);
};

if ($@) {

warn "Exception when callin


g CartsApi->cartsDeleteItem: $@
\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.
items = # array[String] | Item
s codes.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Delete items from the car


t.

api_response = api_instance
.carts_delete_item(cartCode, it
ems, authorization=authorizatio
n, acceptLanguage=acceptLanguag
e, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsDeleteItem: %
s\n" % e)

Parameters
Path parameters
Name Description

cartCode* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

items * [

string

Responses

Status: 200 - OK
• Schema
{
}

Status: 204 -
NoContent

cartsDeletePaymentsAsy

nc
Add payment to the cart

/api/Carts/{cartCode}/Payments

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X DELETE "https://localho


st:44356/api/Carts/{cartCode}/P
ayments"
import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[String] payments
= ; // array[String] | Payments
.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsDeletePaymentsAsy
nc(cartCode, payments, authoriz
ation, acceptLanguage, apiVersi
on);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsDeletePaymentsAsync");
e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[String] payments
= ; // array[String] | Payments
.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsDeletePaymentsAsy
nc(cartCode, payments, authoriz
ation, acceptLanguage, apiVersi
on);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsDeletePaymentsAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *cartCode = cartCode_exa
mple; // Cart code.

array[String] *payments = ; //
Payments.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Add payment to the cart

[apiInstance cartsDeletePayment
sAsyncWith:cartCode

payments:payments

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.C
artsApi()

var cartCode = cartCode_example


; // {String} Cart code.

var payments = ; // {array[Stri


ng]} Payments.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {
console.log('API called suc
cessfully. Returned data: ' + d
ata);

};

api.cartsDeletePaymentsAsync(ca
rtCode, payments, opts, callbac
k);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsDeletePay


mentsAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();

var cartCode = cart


Code_example; // String | Cart
code.

var payments = new


array[String](); // array[Strin
g] | Payments.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Add payment
to the cart

Object result =
apiInstance.cartsDeletePayments
Async(cartCode, payments, autho
rization, acceptLanguage, apiVe
rsion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsDeletePaymentsAsync: " + e.
Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\CartsApi();

$cartCode = cartCode_example; /
/ String | Cart code.

$payments = ; // array[String]
| Payments.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsDeletePaymentsAsync($cartCod
e, $payments, $authorization, $
acceptLanguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsDeletePayments
Async: ', $e->getMessage(), PHP
_EOL;

?>
use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $payments = [WWW::SwaggerCli
ent::Object::array[String]->new
()]; # array[String] | Payments
.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
eval {

my $result = $api_instance-
>cartsDeletePaymentsAsync(cartC
ode => $cartCode, payments => $
payments, authorization => $aut
horization, acceptLanguage => $
acceptLanguage, apiVersion => $
apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsDeletePayments
Async: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.

payments = # array[String] | P
ayments.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Add payment to the cart

api_response = api_instance
.carts_delete_payments_async(ca
rtCode, payments, authorization
=authorization, acceptLanguage=
acceptLanguage, apiVersion=apiV
ersion)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng CartsApi->cartsDeletePayment
sAsync: %s\n" % e)

Parameters
Path parameters
Name Description

cartCode* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

payments * [

string
]

Responses

Status: 200 - OK
• Schema

{
}

Status: 204 -
NoContent

cartsDeletePromotionCo

des
Delete cart's promotion codes.

/api/Carts/{cartCode}/Promotion
Codes

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X DELETE "https://localho


st:44356/api/Carts/{cartCode}/P
romotionCodes"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[String] promotion
Codes = ; // array[String] | Pr
omotion codes.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsDeletePromotionCo
des(cartCode, promotionCodes, a
uthorization, acceptLanguage, a
piVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsDeletePromotionCodes");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.
array[String] promotion
Codes = ; // array[String] | Pr
omotion codes.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsDeletePromotionCo
des(cartCode, promotionCodes, a
uthorization, acceptLanguage, a
piVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsDeletePromotionCodes");

e.printStackTrace()
;

}
Configuration *apiConfig = [Con
figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *cartCode = cartCode_exa


mple; // Cart code.

array[String] *promotionCodes =
; // Promotion codes.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Delete cart's promotion code


s.
[apiInstance cartsDeletePromoti
onCodesWith:cartCode

promotionCodes:promotionCod
es

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;
// Configure OAuth2 access toke
n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()

var cartCode = cartCode_example


; // {String} Cart code.

var promotionCodes = ; // {arra


y[String]} Promotion codes.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsDeletePromotionCodes(c
artCode, promotionCodes, opts,
callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsDeletePro


motionCodesExample

{
public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();

var cartCode = cart


Code_example; // String | Cart
code.

var promotionCodes
= new array[String](); // array
[String] | Promotion codes.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)
try

// Delete cart'
s promotion codes.

Object result =
apiInstance.cartsDeletePromotio
nCodes(cartCode, promotionCodes
, authorization, acceptLanguage
, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsDeletePromotionCodes: " + e
.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$cartCode = cartCode_example; /
/ String | Cart code.

$promotionCodes = ; // array[St
ring] | Promotion codes.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsDeletePromotionCodes($cartCo
de, $promotionCodes, $authoriza
tion, $acceptLanguage, $apiVers
ion);

print_r($result);

} catch (Exception $e) {


echo 'Exception when callin
g CartsApi->cartsDeletePromotio
nCodes: ', $e->getMessage(), PH
P_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $promotionCodes = [WWW::Swag
gerClient::Object::array[String
]->new()]; # array[String] | Pr
omotion codes.

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsDeletePromotionCodes(cart
Code => $cartCode, promotionCod
es => $promotionCodes, authoriz
ation => $authorization, accept
Language => $acceptLanguage, ap
iVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsDeletePromotio
nCodes: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.

promotionCodes = # array[Strin
g] | Promotion codes.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Delete cart's promotion c


odes.
api_response = api_instance
.carts_delete_promotion_codes(c
artCode, promotionCodes, author
ization=authorization, acceptLa
nguage=acceptLanguage, apiVersi
on=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsDeletePromoti
onCodes: %s\n" % e)

Parameters
Path parameters
Name Description

cartCode* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language
Api-Version String

Api-Version

Body parameters
Name Description

promotionCodes * [

string

Responses

Status: 200 - OK
• Schema

{
}

Status: 204 -
NoContent

cartsGetAll
Get all carts.

/api/Carts
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Carts?pageNumber=&pag
eSize=&sortType=&filters="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {


public static void main(Str
ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.SimpleCartDto result = a
piInstance.cartsGetAll(pageNumb
er, pageSize, sortType, authori
zation, acceptLanguage, apiVers
ion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
Integer pageSize = 56;
// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')
**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.SimpleCartDto result = a
piInstance.cartsGetAll(pageNumb
er, pageSize, sortType, authori
zation, acceptLanguage, apiVers
ion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Get all carts.

[apiInstance cartsGetAllWith:pa
geNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

filters:filters

completionHandler
: ^(HateoasCollectionResponse.S
impleCartDto output, NSError* e
rror) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()
var pageNumber = 56; // {Intege
r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

};

api.cartsGetAll(pageNumber, pag
eSize, sortType, opts, callback
);
using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsGetAllExa


mple

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get all cart


s.

HateoasCollecti
onResponse.SimpleCartDto result
= apiInstance.cartsGetAll(pageN
umber, pageSize, sortType, auth
orization, acceptLanguage, apiV
ersion, filters);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsGetAll: " + e.Message );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en
$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->ca
rtsGetAll($pageNumber, $pageSiz
e, $sortType, $authorization, $
acceptLanguage, $apiVersion, $f
ilters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsGetAll: ', $e-
>getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')
**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {

my $result = $api_instance-
>cartsGetAll(pageNumber => $pag
eNumber, pageSize => $pageSize,
sortType => $sortType, authoriz
ation => $authorization, accept
Language => $acceptLanguage, ap
iVersion => $apiVersion, filter
s => $filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsGetAll: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
filters = filters_example # Str
ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get all carts.

api_response = api_instance
.carts_get_all(pageNumber, page
Size, sortType, authorization=a
uthorization, acceptLanguage=ac
ceptLanguage, apiVersion=apiVer
sion, filters=filters)

pprint(api_response)
except ApiException as e:

print("Exception when calli


ng CartsApi->cartsGetAll: %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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
CartDto.
Code:
string
Cart Code.
Account:
string
Account code.
ActivityCenter:
string
Activity center code.
OwnerActivityCenter:
string
Owner activity center code.
OwnerCart:
string
OwnerCart.
Enrollment:
boolean
Enrollment.
ReturnOrder:
boolean
ReturnOrder.
Version:
integer (int32)
Version.
Link:
string
Link to full cart information.
}
]
}

cartsGetAllItems
Get all the items for an specific cart.

/api/Carts/{cartCode}/Items

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Carts/{cartCode}/Item
s"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.CartItemDto result = api
Instance.cartsGetAllItems(cartC
ode, authorization, acceptLangu
age, apiVersion);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsGetAllItems");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.CartItemDto result = api
Instance.cartsGetAllItems(cartC
ode, authorization, acceptLangu
age, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsGetAllItems");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *cartCode = cartCode_exa
mple; // Cart code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Get all the items for an spe


cific cart.

[apiInstance cartsGetAllItemsWi
th:cartCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(HateoasCollectionResponse.C
artItemDto output, NSError* err
or) {
if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()
var cartCode = cartCode_example
; // {String} Cart code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsGetAllItems(cartCode,
opts, callback);
using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsGetAllIte


msExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();
var cartCode = cart
Code_example; // String | Cart
code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get all the


items for an specific cart.

HateoasCollecti
onResponse.CartItemDto result =
apiInstance.cartsGetAllItems(ca
rtCode, authorization, acceptLa
nguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

{
Debug.Print("Ex
ception when calling CartsApi.c
artsGetAllItems: " + e.Message
);

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$cartCode = cartCode_example; /
/ String | Cart code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsGetAllItems($cartCode, $auth
orization, $acceptLanguage, $ap
iVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsGetAllItems: '
, $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsGetAllItems(cartCode => $
cartCode, authorization => $aut
horization, acceptLanguage => $
acceptLanguage, apiVersion => $
apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsGetAllItems: $
@\n";

from __future__ import print_st


atement
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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
try:

# Get all the items for an


specific cart.

api_response = api_instance
.carts_get_all_items(cartCode,
authorization=authorization, ac
ceptLanguage=acceptLanguage, ap
iVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsGetAllItems:
%s\n" % e)

Parameters
Path parameters
Name Description

cartCode* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String
Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
CartItemDto.
Code:
string
Code.
Plan:
string
Plan code.
PlanRule:
string
Rule code.
Offer:
string
Offer code.
Quantity:
integer (int32)
Quantity.
Product:
string
Product code.
PriceType:
string
Price type.
Currency:
string
Currency.
}
]
}
cartsGetAllPromotionCo

des
Get all the promotion codes for a
cart.

/api/Carts/{cartCode}/Promotion
Codes

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Carts/{cartCode}/Prom
otionCodes"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;
import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.'String' result = apiIns
tance.cartsGetAllPromotionCodes
(cartCode, authorization, accep
tLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsGetAllPromotionCodes");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;
public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.'String' result = apiIns
tance.cartsGetAllPromotionCodes
(cartCode, authorization, accep
tLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsGetAllPromotionCodes");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *cartCode = cartCode_exa


mple; // Cart code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)
CartsApi *apiInstance = [[Carts
Api alloc] init];

// Get all the promotion codes


for a cart.

[apiInstance cartsGetAllPromoti
onCodesWith:cartCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(HateoasCollectionResponse.'
String' output, NSError* error)
{

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()

var cartCode = cartCode_example


; // {String} Cart code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version
};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsGetAllPromotionCodes(c
artCode, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsGetAllPro


motionCodesExample
{

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();

var cartCode = cart


Code_example; // String | Cart
code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try
{

// Get all the


promotion codes for a cart.

HateoasCollecti
onResponse.'String' result = ap
iInstance.cartsGetAllPromotionC
odes(cartCode, authorization, a
cceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsGetAllPromotionCodes: " + e
.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$cartCode = cartCode_example; /
/ String | Cart code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsGetAllPromotionCodes($cartCo
de, $authorization, $acceptLang
uage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsGetAllPromotio
nCodes: ', $e->getMessage(), PH
P_EOL;

}
?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {
my $result = $api_instance-
>cartsGetAllPromotionCodes(cart
Code => $cartCode, authorizatio
n => $authorization, acceptLang
uage => $acceptLanguage, apiVer
sion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsGetAllPromotio
nCodes: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get all the promotion cod


es for a cart.

api_response = api_instance
.carts_get_all_promotion_codes(
cartCode, authorization=authori
zation, acceptLanguage=acceptLa
nguage, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsGetAllPromoti
onCodes: %s\n" % e)
Parameters
Path parameters
Name Description

cartCode* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
string
]
}

cartsGetCartByCode
Get cart by code.
/api/Carts/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Carts/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {


public static void main(Str
ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

String code = code_exam


ple; // String | Cart code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
CartDto result = ap
iInstance.cartsGetCartByCode(co
de, authorization, acceptLangua
ge, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsGetCartByCode");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

String code = code_exam


ple; // String | Cart code.
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

CartDto result = ap
iInstance.cartsGetCartByCode(co
de, authorization, acceptLangua
ge, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsGetCartByCode");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


Cart code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Get cart by code.

[apiInstance cartsGetCartByCode
With:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion
completionHandler
: ^(CartDto output, NSError* er
ror) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.C
artsApi()

var code = code_example; // {St


ring} Cart code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};
api.cartsGetCartByCode(code, op
ts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsGetCartBy


CodeExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();
var code = code_exa
mple; // String | Cart code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get cart by
code.

CartDto result
= apiInstance.cartsGetCartByCod
e(code, authorization, acceptLa
nguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsGetCartByCode: " + e.Messag
e );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$code = code_example; // String


| Cart code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsGetCartByCode($code, $author
ization, $acceptLanguage, $apiV
ersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsGetCartByCode:
', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $code = code_example; # Stri


ng | Cart code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsGetCartByCode(code => $co
de, authorization => $authoriza
tion, acceptLanguage => $accept
Language, apiVersion => $apiVer
sion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsGetCartByCode:
$@\n";

from __future__ import print_st


atement
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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

code = code_example # String |


Cart code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
try:

# Get cart by code.

api_response = api_instance
.carts_get_cart_by_code(code, a
uthorization=authorization, acc
eptLanguage=acceptLanguage, api
Version=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsGetCartByCode
: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String
Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema

{
CartDto.
Code:
string
Code.
Version:
integer (int32)
Version.
CartHash:
string
Hash, optimization, skip update
(flush cart cache).
PersistCart:
boolean
Persist Cart?.
AlternateCodes:
[
AlternateCodes.
{
CartAlternateCodeDto.
Cart:
string
Cart code
Type:
string
Alternate code type
Code:
string
Alternate code
EffectiveDate:
string (date-time)
alternate code effective date
}
]
Alias:
string
cart alias code.
ExternalReference:
string
Reference to order created outside
of j6 prior to this cart.
Address:
AddressDto {
Address Dto.
Required: Country
Line1:
Line1 string maxLength:255
Line2:
Line2 string maxLength:255
Country:
Country string maxLength:2
PostalCode:
PostalCode string maxLength:255
City:
City string maxLength:255
County:
County string maxLength:255
StateProvince:
StateProvince string maxLength:255
}
DefaultBillingAddress:
AddressDto {
Address Dto.
Required: Country
Line1:
Line1 string maxLength:255
Line2:
Line2 string maxLength:255
Country:
Country string maxLength:2
PostalCode:
PostalCode string maxLength:255
City:
City string maxLength:255
County:
County string maxLength:255
StateProvince:
StateProvince string maxLength:255
}
ActivityCenter:
string
The ActivityCenter code.
CartType:
string
Type of cart.
OrderType:
string
Type of cart.
ReturnOrder:
string
Order that this cart is derived from.
HideVolumes:
boolean
Determines whether or not volumes
should be hidden in the UI.
CarrierMethod:
string
The carrier and shipping method.
CarrierMethodLocation:
string
Gets or sets the pickup point code.
ContainsShippableItems:
boolean
Read only to determine if any
products are shippable.
CreditCardInformation:
string
The credit card information for
autoship
ReservedOrderCode:
string
The shipping instructions
ShippingInstructions:
{
ShippingInstructionsDto.
Comments:
string
Shipping comments such as
instructions.
DeliveryDaysMessage:
string
Historical delivery days message
storage per sales order
Name:
string
The name of the person on the
shipping information
Phone:
string
The shipping phone number
}
Account:
string
The Account, unless anonymous
ReasonCode:
{
ReasonCodeKeyDto.
ReasonCodeType:
string
ReasonCodeType
Category:
string
Category
Number:
string
Number
}
Items:
[
The items in the order.
{
CartItemDto.
Code:
string
Code.
Plan:
string
Plan code.
PlanRule:
string
Rule code.
Offer:
string
Offer code.
Quantity:
integer (int32)
Quantity.
Product:
string
Product code.
PriceType:
string
Price type.
Currency:
string
Currency.
}
]
Exchange:
{
ExchangeDto.
ExchangeRate:
{
ExchangeRateDto.
Code:
string
FromCurrency:
string
ToCurrency:
string
ExchangeRateType:
string
Rate:
number
EffectiveDate:
string
Source:
string
Rounding:
integer
}
EffectiveExchangeRate:
number (double)
EffectiveExchangeRate.
EffectiveDate:
string (date-time)
EffectiveDate.
}
Primary:
{
CartWalletManagerDto.
NetTotal:
{
MoneyDto.
Amount:
number
DisplayValue:
string
NegativeDisplayValue:
string
Currency:
string
Format:
string
}
FullExtendedPrice:
{
MoneyDto.
Amount:
number
DisplayValue:
string
NegativeDisplayValue:
string
Currency:
string
Format:
string
}
FullDiscountAmount:
{
MoneyDto.
Amount:
number
DisplayValue:
string
NegativeDisplayValue:
string
Currency:
string
Format:
string
}
NetTotalAmount:
number (double)
Net total amount.
Exchange:
{
ExchangeDto.
ExchangeRate:
{}
EffectiveExchangeRate:
number
EffectiveDate:
string
}
Currency:
string
Currency.
DefaultCurrencyFormat:
string
DefaultCurrencyFormat.
}
Local:
{
CartWalletManagerDto.
NetTotal:
{
MoneyDto.
Amount:
number
DisplayValue:
string
NegativeDisplayValue:
string
Currency:
string
Format:
string
}
FullExtendedPrice:
{
MoneyDto.
Amount:
number
DisplayValue:
string
NegativeDisplayValue:
string
Currency:
string
Format:
string
}
FullDiscountAmount:
{
MoneyDto.
Amount:
number
DisplayValue:
string
NegativeDisplayValue:
string
Currency:
string
Format:
string
}
NetTotalAmount:
number (double)
Net total amount.
Exchange:
{
ExchangeDto.
ExchangeRate:
{}
EffectiveExchangeRate:
number
EffectiveDate:
string
}
Currency:
string
Currency.
DefaultCurrencyFormat:
string
DefaultCurrencyFormat.
}
CreationDate:
string (date-time)
The date Code was created.
CreateAutoship:
boolean
Gets CreateAutoship boolean from
Code type.
Service:
boolean
Gets Service flag from cart type.
Award:
boolean
Gets Award flag from cart type.
AllowShipmentBatch:
boolean
Gets AllowShipmentBatch flag from
cart type.
Enrollment:
string
An optional reference to the
associated Enrollment.
Active:
boolean
An identifier showing if autoship cart
is active.
Frequency:
string
Autoship frequency.
NextShipDate:
string (date-time)
Holds the next ship date for
autoship.
EndDate:
string (date-time)
Autoship end date.
ApplicationSource:
string
Application were the cart was
created.
User:
string
User who created cart.
OwnerActivityCenter:
string
Activity center of account getting the
credit at time of cart creation.
OwnerAccountType:
string
AccountType of account getting the
credit at time of cart creation.
AccountType:
string
Account class of customer account
at time of cart creation.
ActivityCenterAccountType:
string
AccountType of the activity center at
time of cart creation.
OwnerCart:
string
Link to cart that this one will replace.
Event:
string
The code of any linked event.
PersistBalance:
boolean
Should the cart balance be
persisted; used by
EventCartRepository.
ModifiedDate:
string (date-time)
The date when this cart was last
modified.
EffectiveDate:
string (date-time)
The effective date of the Cart. If the
cart is associated with the Event, the
date is the EventDate. If the cart is
not associated with an Event, the
date is today.
Lock:
boolean
Locked.
CreateShipmentBatch:
boolean
CreateShipmentBatch flag that
specifies if Shipment Batch should
be created when order is submitted.
CreateInvoiceBatch:
boolean
CreateInvoiceBatch flag that
specifies if Invoice Batch should be
created when order is submitted.
Country:
string
The country associated with this
transaction.
SalesOrderIncentives:
[
The list of available Sales Order
Incentives.
{
CartIncentiveProductDto.
Plan:
string
The plan that granted the incentive
Rule:
string
The particular rule that granted the
incentive
CountEarned:
integer (int32)
The quantity granted
CountUsed:
integer (int32)
The quantity already used
PriceType:
string
The price type granted
Product:
string
The product granted
Removable:
boolean
If the offer can be declined
Visible:
boolean
If the offer is shown
IsReward:
boolean
If the offer is a reward
Cart:
string
The cart associated to this incentive.
UserDeclined:
boolean
If the user declined to accept this
incentive
Category:
string
Used to determine which summary
grid to display the incentive in.
Order:
integer (int32)
Display order for summary grids
Summarize:
boolean
If the incentive is summarized
OutOfStockWarning:
boolean
Out of stock warning
ExcludeCredit:
boolean
Exclude this from the credit, for
example this value - QV does not
count to party QV
AwardTrackingKey:
{
AwardTrackingKeyDto.
ActivityCenter:
string
ActivityCenter
IncentiveCode:
string
IncentiveCode
Level:
string
Level
Plan:
string
Plan
Period:
string
Period
AwardPeriod:
string
Award Period
Rule:
string
Rule
SubstituteKey:
string
Product
}
CartItemValue:
{
CartItemValueDto.
Plan:
string
Plan Code
Rule:
string
Rule name
CartItem:
string
CartItem
IncentiveCode:
string
Incentive code
Category:
string
Category to display incentive
ApplyTo:
string
ApplyTo, e.g. Price, TaxBase, or
Volumes
DiscountType:
string
DiscountType
Reduced:
boolean
Apply to reduce amount?
ApplyOrder:
integer (int32)
Order discount apply
Scale:
number (double)
Discount Scale
ExtendedPrice:
boolean
Part of ExtendedPrice?
IsReward:
boolean
Does this CartItemValue represent a
reward? (i.e. display in the sales
order reward column)
Flat:
boolean
Flat or percentage
Bonus:
boolean
the bonuses this value comes from
Quantity:
integer (int32)
Gets or sets the quantity.
AdvertisementOriginCode:
string
Advertisement Origin code
CalculateOnly:
boolean
Don't persist, this is just added for
computing, NotPersist make default
to persist
ExcludeCredit:
boolean
this value does not contribute to
credit
Amount:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
Discount:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
Exchange:
{
ExchangeDto.
ExchangeRate:
{
ExchangeRateDto.
Code:
string
Code.
FromCurrency:
string
FromCurrency.
ToCurrency:
string
ToCurrency.
ExchangeRateType:
string
ExchangeRateType.
Rate:
number (double)
Rate.
EffectiveDate:
string (date-time)
EffectiveDate.
Source:
string
Source.
Rounding:
integer (int32)
Rounding.
}
EffectiveExchangeRate:
number (double)
EffectiveExchangeRate.
EffectiveDate:
string (date-time)
EffectiveDate.
}
Currency:
string
Currency.
DefaultCurrencyFormat:
string
DefaultCurrencyFormat.
}
IndirectApplied:
boolean
If the plan should not direct execute
again this cart type, by plan
associate, keep this incentive
ReferentialPriceTracking:
{
Tracking of incentive codes for
referential price
IsReward:
boolean
Whether to display reward column
ApplyOrder:
integer (int32)
incentive apply order
IncentiveCode:
string
The user configured incentive code
Plan:
string
The plan associated with the
incentive code
Rule:
string
The rule associated with the
incentive code
AdvertisementOriginCode:
string
The advertisement origin code
}
AllowManualEntryForIncentives:
boolean
If manual entry for incentives is
allowed
IsDeclinable:
boolean
Whether this incentive is declinable
ProductIncentiveRuleOverride:
string
The product incentive rule override.
When this value is set to an existing
rule this incentive will reference it's
parent Rule.
ContributorRule:
string
The rule that contributed to the
award of this incentive
AutomaticRemoval:
boolean
Indicator for the system to
automatically adjust incentive item or
remove it if incentive falls below
threshold
AddedByIncentive:
boolean
Indicates whether this item was
added by an incentive
}
]
IncentiveSummaries:
[
Incentive summaries include
EarnedProduct,
EarnedCartDiscount, CartValue and
COA.
{
IncentiveSummaryDto.
Plan:
string
Plan
Rule:
string
Rule
Grid:
string
Grid
GridSequenceOrder:
integer (int32)
Grid sequence order
SequenceOrder:
integer (int32)
Sequence order
IncentiveDescription:
string
Incentive description
Earned:
string
Earned
Used:
string
Used
Remaining:
string
Remaining
Declined:
string
Declined
IsSummary:
boolean
Is summary
HasUsed:
boolean
HasUsed
HasEarned:
boolean
HasEarned
HasRemaining:
boolean
Has award not used
HasDeclined:
boolean
Has Declined
DiscountType:
string
Discount type
Currency:
string
Currency
IncentiveSummarySource:
string
Where this incentive summary
comes from
}
]
PriorLineItemValues:
[
Gets or sets the prior line item
values, comma delimited = code,
price-type, quantity.
string
]
IncentiveDiscounts:
[
Cart type discounts applicable to this
cart.
{
A discount produced from cart plan
rule.
Cart:
string
The cart to which the discount is
attached
Plan:
string
The plan that generated the discount
Rule:
string
The rule that generated the discount
Percent:
number (double)
percent value, computes by cart type
plan
PriceType:
string
Price type string, computes by cart
type plan
Currency:
string
Currency code, computes by cart
type plan
DiscountType:
string
Discount Type
Amount:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
}
]
CartUserDiscounts:
[
User applied discounts.
{
CartUserDiscountDto
Cart:
string
Cart code
User:
string
User who applied discount to cart
DiscountType:
string
Discount Type
Amount:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
}
]
PaymentTransactions:
[
Cart Payments.
{
PaymentTransactionDto.
PaymentMethod:
string
Payment Method Code
PaymentType:
string
Payment Type Code
PaymentTypeDesc:
string
Resourced Payment Type
Description
Date:
string (date-time)
Payment Date
User:
string
User making payment
Account:
string
Account for which payment is being
made
Enrollment:
string
Account for which payment is being
made
AccountName:
string
Account Name for which payment is
being made
ReferenceNumber:
string
Optional reference number
Authorized:
boolean
Authorized flag to specify if the
payment has been authorized
PaymentStatus:
string
PaymentStatus
PaymentStatusDesc:
string
Resourced Payment Status
Description
Lock:
boolean
Payment Lock
SinglePayment:
boolean
Single Payment
CreditLimit:
boolean
Credit Limit
CanEdit:
boolean
Flag to specify if transaction can be
edited
CanDelete:
boolean
Flag to specify if transaction can be
deleted
Posts:
[
Payment Posts
{
k__BackingField:
string
k__BackingField:
string
_currency:
string
k__BackingField:
{
_format:
string
_currency:
string
k__BackingField:
number (double)
k__BackingField:
string
IdentifierChanged:
{
Method:
{
}
Target:
{
}
}
}
k__BackingField:
{
_format:
string
_currency:
string
k__BackingField:
number (double)
k__BackingField:
string
IdentifierChanged:
{
Method:
{
}
Target:
{
}
}
}
k__BackingField:
integer (int32)
k__BackingField:
string (date-time)
k__BackingField:
boolean
_key:
string
k__BackingField:
integer (int32)
IdentifierChanged:
{
Method:
{
}
Target:
{
}
}
}
]
Refund:
boolean
True if this transaction was a refund
transaction
RefundTransactionCode:
string
Gets or sets the transaction code to
refund.
Comment:
string
hook for passing misc info with auth
request
Paid:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
CreditBalance:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
}
]
PayerIdOverride:
string
The overridden PayerId.
MerchantCountry:
string
The merchant country to use for
credit card transactions.
Advice:
[
List of Advice.
{
AdviceDetailDto.
ResourceText:
string
Resourced text explanation
ResourceKey:
string
Content key associated with
resourced text
DisplayOrder:
integer (int32)
The sequence to display this
message
Rule:
string
The rule that created this notification
Plan:
string
The plan that created this notification
AdviceType:
string
The type of advice
CartIncentiveProducts:
[
List of incentives associated with this
advice
{
CartIncentiveProductDto.
Plan:
string
The plan that granted the incentive
Rule:
string
The particular rule that granted the
incentive
CountEarned:
integer (int32)
The quantity granted
CountUsed:
integer (int32)
The quantity already used
PriceType:
string
The price type granted
Product:
string
The product granted
Removable:
boolean
If the offer can be declined
Visible:
boolean
If the offer is shown
IsReward:
boolean
If the offer is a reward
Cart:
string
The cart associated to this incentive.
UserDeclined:
boolean
If the user declined to accept this
incentive
Category:
string
Used to determine which summary
grid to display the incentive in.
Order:
integer (int32)
Display order for summary grids
Summarize:
boolean
If the incentive is summarized
OutOfStockWarning:
boolean
Out of stock warning
ExcludeCredit:
boolean
Exclude this from the credit, for
example this value - QV does not
count to party QV
AwardTrackingKey:
{
AwardTrackingKeyDto.
ActivityCenter:
string
ActivityCenter
IncentiveCode:
string
IncentiveCode
Level:
string
Level
Plan:
string
Plan
Period:
string
Period
AwardPeriod:
string
Award Period
Rule:
string
Rule
SubstituteKey:
string
Product
}
CartItemValue:
{
CartItemValueDto.
Plan:
string
Plan Code
Rule:
string
Rule name
CartItem:
string
CartItem
IncentiveCode:
string
Incentive code
Category:
string
Category to display incentive
ApplyTo:
string
ApplyTo, e.g. Price, TaxBase, or
Volumes
DiscountType:
string
DiscountType
Reduced:
boolean
Apply to reduce amount?
ApplyOrder:
integer (int32)
Order discount apply
Scale:
number (double)
Discount Scale
ExtendedPrice:
boolean
Part of ExtendedPrice?
IsReward:
boolean
Does this CartItemValue represent a
reward? (i.e. display in the sales
order reward column)
Flat:
boolean
Flat or percentage
Bonus:
boolean
the bonuses this value comes from
Quantity:
integer (int32)
Gets or sets the quantity.
AdvertisementOriginCode:
string
Advertisement Origin code
CalculateOnly:
boolean
Don't persist, this is just added for
computing, NotPersist make default
to persist
ExcludeCredit:
boolean
this value does not contribute to
credit
Amount:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
Discount:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
Exchange:
{
ExchangeDto.
ExchangeRate:
{
ExchangeRateDto.
Code:
string
Code.
FromCurrency:
string
FromCurrency.
ToCurrency:
string
ToCurrency.
ExchangeRateType:
string
ExchangeRateType.
Rate:
number (double)
Rate.
EffectiveDate:
string (date-time)
EffectiveDate.
Source:
string
Source.
Rounding:
integer (int32)
Rounding.
}
EffectiveExchangeRate:
number (double)
EffectiveExchangeRate.
EffectiveDate:
string (date-time)
EffectiveDate.
}
Currency:
string
Currency.
DefaultCurrencyFormat:
string
DefaultCurrencyFormat.
}
IndirectApplied:
boolean
If the plan should not direct execute
again this cart type, by plan
associate, keep this incentive
ReferentialPriceTracking:
{
Tracking of incentive codes for
referential price
IsReward:
boolean
Whether to display reward column
ApplyOrder:
integer (int32)
incentive apply order
IncentiveCode:
string
The user configured incentive code
Plan:
string
The plan associated with the
incentive code
Rule:
string
The rule associated with the
incentive code
AdvertisementOriginCode:
string
The advertisement origin code
}
AllowManualEntryForIncentives:
boolean
If manual entry for incentives is
allowed
IsDeclinable:
boolean
Whether this incentive is declinable
ProductIncentiveRuleOverride:
string
The product incentive rule override.
When this value is set to an existing
rule this incentive will reference it's
parent Rule.
ContributorRule:
string
The rule that contributed to the
award of this incentive
AutomaticRemoval:
boolean
Indicator for the system to
automatically adjust incentive item or
remove it if incentive falls below
threshold
AddedByIncentive:
boolean
Indicates whether this item was
added by an incentive
}
]
}
]
Availability:
[
List of Availability status.
{
Indication of accessibility/usability
k__BackingField:
string
k__BackingField:
boolean
k__BackingField:
string
k__BackingField:
string
k__BackingField:
string
k__BackingField:
string
k__BackingField:
string
k__BackingField:
string
k__BackingField:
string
k__BackingField:
[
{
key:
string
value:
{
}
}
]
k__BackingField:
string
k__BackingField:
string
k__BackingField:
string
}
]
HasError:
boolean
Indication of Availability errors.
GetDiscountTotals:
{
Returns a dictionary of discount
totals by discount type.
}
Values:
[
Computed values.
{
CartRuleValueDto.
Category:
string
Used to determine which summary
grid to display the incentive in.
Value:
string
The string representation of the
value.
Type:
string
The name of the data-type of the
value, drawn from a subset of SQL
types.
Plan:
string
The plan that calculated this value
Rule:
string
The rule that calculated this value
}
]
Balances:
[
Cash on account balances.
{
CartBalanceDto
Plan:
string
Plan
Rule:
string
Rule
AmountAvailable:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
Category:
string
Category
}
]
CustomerName:
string
Name of customer.
Warehouse:
string
Warehouse that will fulfill ordered
items.
MultipleWarehouse:
boolean
Indicates multiple Warehouses could
fulfill ordered items.
Empty:
boolean
Indication of cart is empty.
CartCoa:
{
CartCoaDto.
CartCode:
string
CartCode
Applicable:
boolean
Coa Applicable to this cart (Cart
type)
CartCoaState:
string
COA payment state
Balance:
{
MoneyDto.
Amount:
number
DisplayValue:
string
NegativeDisplayValue:
string
Currency:
string
Format:
string
}
FullAmount:
{
MoneyDto.
Amount:
number
DisplayValue:
string
NegativeDisplayValue:
string
Currency:
string
Format:
string
}
MaxApplicable:
{
MoneyDto.
Amount:
number
DisplayValue:
string
NegativeDisplayValue:
string
Currency:
string
Format:
string
}
OrderBalance:
{
MoneyDto.
Amount:
number
DisplayValue:
string
NegativeDisplayValue:
string
Currency:
string
Format:
string
}
Amount:
{
MoneyDto.
Amount:
number
DisplayValue:
string
NegativeDisplayValue:
string
Currency:
string
Format:
string
}
}
PaymentCurrency:
string
The currency intended to be used for
payment for this cart.
PriceTypeDescription:
string
Price Type Description.
DirectShip:
boolean
Indicates that a cart is being directly
shipped.
DeliveryMethod:
string
Gets or sets the delivery method.
AutoshipType:
boolean
Indicates if cart is an autoship type.
AwardsType:
boolean
Indicates if cart is an awards type.
CartPlanParameters:
{
string is key
PlanCode:ParameterName.
}
AwardTrackings:
[
Account active awards (awards
tracking).
{
AwardTrackingDto.
ActivityCenter:
string
ActivityCenter
IncentiveCode:
string
Incentive code
Level:
string
Level
Plan:
string
Plan
Period:
string
Period
AwardPeriod:
string
AwardPeriod
Rule:
string
Rule
SubstituteKey:
string
SubstituteKey
Products:
string
Products, comma separator string
PlanDescription:
string
The description for the Key plan
Quantity:
integer (int32)
Quantity
PriceType:
string
PriceType
QualifiedDate:
string (date-time)
QualifiedDate
QualifiedOrder:
string
Qualified order
AwardInBatchOrder:
string
Award in batch order, in case can't
award in order, then set this field
with order code, which indicate that
award will be process late in batch
AwardInBatchDate:
string (date-time)
Date after which the award should
be added to a batch
BatchPrizeOrder:
string
Sales order code that create in batch
AwardInOrder:
string
the order code the prize was added
BatchQualifiedOrder:
string
Order code where qualified and that
it is intended to be batched
ShippedDate:
string (date-time)
the date the order contains the prize
was shipped
StartDate:
string (date-time)
Award active start Date
EndDate:
string (date-time)
Award active end Date
LostDate:
string (date-time)
Date prize expired
Cumulative:
boolean
Cumulate?
EarningCode:
string
Earning Code
Currency:
string
Currency
Amount:
number (double)
Amount
OrderBatch:
string
Create order batch code
BatchCartType:
string
Cart type process this batch award
AdvertisementOriginCode:
string
Advertisement Origin Code
Batch:
boolean
Batch true if this is a batch award
UpdatingDispatchMethod:
boolean
This will be true if the element is
locked by Updating Dispatch Method
process.
}
]
Titles:
[
Account titles.
string
]
Exemptions:
[
Active exemption.
string
]
UserPromoCodes:
[
User entered promotion codes.
string
]
ActivityCenterStatus:
{
ActivityCenterStatusDto
ActivityCenter:
string
Activity Center code this class
extends
ModifiedDate:
string (date-time)
Last Date/time this object was
modified. Null means no change
since this feature was added.
Custom:
[
Custom extensions to the Activity
Center
{
Custom field extending
ActivityCenterStatus, AccountStatus,
or AccountDemographics
Key:
string
Column Name
Type:
string
Column Type
Value:
{
Column Value
}
ControlPath:
string
Control path
}
]
}
IncentiveGridDisplay:
{
Active exemption.
}
DefaultRowIncentiveSequence:
integer (int32)
DefaultRowIncentiveSequence.
Zone:
string
Account Zone.
PriorOrderCount:
integer (int32)
Count of prior orders
UserDeclinedIncentives:
string
User decline incentives.
Bonuses:
[
Cart item discount.
{
BonusDto
ActivityCenter:
string
ActivityCenter
IncentiveCode:
string
Incentive code
Plan:
string
Plan
Period:
string
Period
Rule:
string
Rule
DiscountType:
string
Discount Type
BonusStatus:
string
Bonus status
StartDate:
string (date-time)
Optional Start Date
ExpirationDate:
string (date-time)
Expiration Date
Amount:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
}
]
CheckItemAvailability:
boolean
cart empty or warehouse is not clear
identified, then no need to check cart
item error.
GridSummaries:
[
Collection of Grid Summary
information.
{
GridSummaryDto.
Code:
string
The identifying grid
Title:
string
A title for the grid
Display:
boolean
Should the grid be displayed, or
hidden?
SequenceOrder:
integer (int32)
The sequence in which the grid
should display relative to other grids
GridItemSummary:
[
GridItemSummaries
{
GridItemSummaryDto
Grid:
string
Grid code
Title:
string
Title
SubTitle:
string
SubTitle
Group:
integer (int32)
Group
SequenceOrder:
integer (int32)
The sequence in which the grid
should display relative to other grids
Adjust:
boolean
Adjust?
SubTotal:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
Total:
{
MoneyDto.
Amount:
number (double)
Amount.
DisplayValue:
string
Display value.
NegativeDisplayValue:
string
Negative display value.
Currency:
string
Currency.
Format:
string
Format.
}
}
]
}
]
BaseVolume:
[
List of BaseVolume summaries.
{
OfferBaseVolumeDto
VolumeCode:
string
Volume code.
Amount:
number (double)
Volume amount.
Description:
string
Used to hold display value for UI
Currency:
string
Currency.
IsDefault:
boolean
Read only indicator for
recommended BaseVolumeType
AmountString:
string
Read only localized amount string.
}
]
PublishContext:
{
PublishContextDto.
Offer:
{
offer code:offer currently cart item
point to
}
MostRecentOffers:
[
active offers for cart item, in case
use has permission or there are new
more recent offers, you can find from
this colections
{
Offer
ActivityCenter:
string
Activity center
Code:
string
Code
Country:
string
Country
Currency:
string
Currency
Product:
string
Product
StartDate:
string (date-time)
Start date
EndDate:
string (date-time)
End date
PriceType:
string
Price type
Price:
number (double)
Price
TaxBase:
number (double)
Tax base
CreditBase:
number (double)
Credit base
TaxInclusive:
boolean
Tax inclusive
Discountable:
boolean
Discountable
ReferentialPrice:
number (double)
Referential price
Flag1:
boolean
Flag1
PriceVolume:
[
Price volume
{
Offer volume
Required: Amount,VolumeCode
VolumeCode:
VolumeCode string minLength:1
maxLength:50
Amount:
Amount number (double)
(ex)minimum:true
}
]
}
]
OtherOffers:
[
Same as MostRecentOffers, but if
price type not allow changing, this is
empty
{
Offer
ActivityCenter:
string
Activity center
Code:
string
Code
Country:
string
Country
Currency:
string
Currency
Product:
string
Product
StartDate:
string (date-time)
Start date
EndDate:
string (date-time)
End date
PriceType:
string
Price type
Price:
number (double)
Price
TaxBase:
number (double)
Tax base
CreditBase:
number (double)
Credit base
TaxInclusive:
boolean
Tax inclusive
Discountable:
boolean
Discountable
ReferentialPrice:
number (double)
Referential price
Flag1:
boolean
Flag1
PriceVolume:
[
Price volume
{
Offer volume
Required: Amount,VolumeCode
VolumeCode:
VolumeCode string minLength:1
maxLength:50
Amount:
Amount number (double)
(ex)minimum:true
}
]
}
]
Products:
{
Products and component products
offer reference to, component
product are used in availability
checking
}
UserCanOverridePriceType:
boolean
User Can Override PriceType?
UserCanSelectPriceType:
boolean
User Can Select PriceType?
}
CustomData:
string
custom data, may need more though
to carry forward complicate customer
data.
ProductLifetimeQuantity:
[
Product Lifetime Quantity by cart
Account.
{
ProductLifetimeQuantityDto
Account:
string
Code for the associated Account
Count:
integer (int32)
Count of items ordered toward the
given product and price type
(product and price type are given in
the associated
ProductQuantityLimit).
}
]
PromoCodeStatus:
[
Promotion codes statuses to be
display in the UI.
{
PromoCodeMapDto
Code:
string
Code
Description:
string
Description
Status:
string
Status
StatusDescription:
string
StatusDescription
}
]
}
cartsGetCartItemByCode
Get an item for an specific cart.

/api/Carts/{cartCode}/Items/{it
emCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Carts/{cartCode}/Item
s/{itemCode}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;
import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

String itemCode = itemC


ode_example; // String | Item c
ode.
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

CartItemDto result
= apiInstance.cartsGetCartItemB
yCode(cartCode, itemCode, autho
rization, acceptLanguage, apiVe
rsion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsGetCartItemByCode");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;
public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

String itemCode = itemC


ode_example; // String | Item c
ode.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

CartItemDto result
= apiInstance.cartsGetCartItemB
yCode(cartCode, itemCode, autho
rization, acceptLanguage, apiVe
rsion);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsGetCartItemByCode");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *cartCode = cartCode_exa


mple; // Cart code.

String *itemCode = itemCode_exa


mple; // Item code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Get an item for an specific


cart.

[apiInstance cartsGetCartItemBy
CodeWith:cartCode

itemCode:itemCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(CartItemDto output, NSError
* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {
NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()

var cartCode = cartCode_example


; // {String} Cart code.

var itemCode = itemCode_example


; // {String} Item code.

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsGetCartItemByCode(cart
Code, itemCode, opts, callback)
;

using System;

using System.Diagnostics;

using IO.Swagger.Api;
using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsGetCartIt


emByCodeExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();

var cartCode = cart


Code_example; // String | Cart
code.

var itemCode = item


Code_example; // String | Item
code.
var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get an item
for an specific cart.

CartItemDto res
ult = apiInstance.cartsGetCartI
temByCode(cartCode, itemCode, a
uthorization, acceptLanguage, a
piVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsGetCartItemByCode: " + e.Me
ssage );
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$cartCode = cartCode_example; /
/ String | Cart code.

$itemCode = itemCode_example; /
/ String | Item code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsGetCartItemByCode($cartCode,
$itemCode, $authorization, $acc
eptLanguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsGetCartItemByC
ode: ', $e->getMessage(), PHP_E
OL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $itemCode = itemCode_example
; # String | Item code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsGetCartItemByCode(cartCod
e => $cartCode, itemCode => $it
emCode, authorization => $autho
rization, acceptLanguage => $ac
ceptLanguage, apiVersion => $ap
iVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsGetCartItemByC
ode: $@\n";
}

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.

itemCode = itemCode_example # S
tring | Item code.

authorization = authorization_e
xample # String | access token
(optional)
acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get an item for an specif


ic cart.

api_response = api_instance
.carts_get_cart_item_by_code(ca
rtCode, itemCode, authorization
=authorization, acceptLanguage=
acceptLanguage, apiVersion=apiV
ersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsGetCartItemBy
Code: %s\n" % e)

Parameters
Path parameters
Name Description

cartCode* String

Cart code.
Required

itemCode* String

Item code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema

{
CartItemDto.
Code:
string
Code.
Plan:
string
Plan code.
PlanRule:
string
Rule code.
Offer:
string
Offer code.
Quantity:
integer (int32)
Quantity.
Product:
string
Product code.
PriceType:
string
Price type.
Currency:
string
Currency.
}

cartsGetFreightAsync
Get cart Freight.

/api/Carts/{cartCode}/Freight

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Carts/{cartCode}/Frei
ght?culture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,
the defa
ult culture will be used.

try {

FreightDto result =
apiInstance.cartsGetFreightAsyn
c(cartCode, authorization, acce
ptLanguage, apiVersion, culture
);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsGetFreightAsync");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {
CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

FreightDto result =
apiInstance.cartsGetFreightAsyn
c(cartCode, authorization, acce
ptLanguage, apiVersion, culture
);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsGetFreightAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *cartCode = cartCode_exa


mple; // Cart code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)
String *culture = culture_examp
le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Get cart Freight.

[apiInstance cartsGetFreightAsy
ncWith:cartCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(FreightDto output, NSError*
error) {

if
(output) {

NSLog(@"%@", output);

}
if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()

var cartCode = cartCode_example


; // {String} Cart code.

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsGetFreightAsync(cartCo
de, opts, callback);
using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsGetFreigh


tAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();
var cartCode = cart
Code_example; // String | Cart
code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Get cart Fre


ight.

FreightDto resu
lt = apiInstance.cartsGetFreigh
tAsync(cartCode, authorization,
acceptLanguage, apiVersion, cul
ture);
Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsGetFreightAsync: " + e.Mess
age );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();
$cartCode = cartCode_example; /
/ String | Cart code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->ca
rtsGetFreightAsync($cartCode, $
authorization, $acceptLanguage,
$apiVersion, $culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsGetFreightAsyn
c: ', $e->getMessage(), PHP_EOL
;

}
?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>cartsGetFreightAsync(cartCode
=> $cartCode, authorization =>
$authorization, acceptLanguage
=> $acceptLanguage, apiVersion
=> $apiVersion, culture => $cul
ture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsGetFreightAsyn
c: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
try:

# Get cart Freight.

api_response = api_instance
.carts_get_freight_async(cartCo
de, authorization=authorization
, acceptLanguage=acceptLanguage
, apiVersion=apiVersion, cultur
e=culture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsGetFreightAsy
nc: %s\n" % e)

Parameters
Path parameters
Name Description

cartCode* String

Cart 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
• Schema

{
Cart freight.
Freight:
string
Freight.
Subtotals:
{
Subtotals.
}
OrderTotal:
MoneyModel {
Money.
Required: Amount,Currency
Amount:
Amount number (double)
Currency:
Currency string maxLength:3
}
FreightTaxBase:
MoneyModel {
Money.
Required: Amount,Currency
Amount:
Amount number (double)
Currency:
Currency string maxLength:3
}
FreightTaxPercentage:
number (double)
Freight Tax.
Balance:
MoneyModel {
Money.
Required: Amount,Currency
Amount:
Amount number (double)
Currency:
Currency string maxLength:3
}
ShippingOptions:
{
Shipping options.
}
Discounts:
[
Discounts.
{
FreightDiscountDto.
Code:
string
Discount code.
Type:
string
Discount type.
Amount:
MoneyModel {
Money.
Required: Amount,Currency
Amount:
Amount number (double)
Currency:
Currency string maxLength:3
}
}
]
}

cartsPatch
Patch a subset of properties of the
cart.

/api/Carts/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
curl -X PATCH "https://localhos
t:44356/api/Carts/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2
OAuth oauth2 = (OAuth)
defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

String code = code_exam


ple; // String | Cart code.

CartPatch model = ; //
CartPatch |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsPatch(code, model
, authorization, acceptLanguage
, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsPatch");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

String code = code_exam


ple; // String | Cart code.

CartPatch model = ; //
CartPatch |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsPatch(code, model
, authorization, acceptLanguage
, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsPatch");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *code = code_example; //
Cart code.

CartPatch *model = ; //

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Patch a subset of properties


of the cart.

[apiInstance cartsPatchWith:cod
e

model:model

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.C
artsApi()

var code = code_example; // {St


ring} Cart code.

var model = ; // {CartPatch}

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);
}

};

api.cartsPatch(code, model, opt


s, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsPatchExam


ple

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();

var code = code_exa


mple; // String | Cart code.

var model = new Car


tPatch(); // CartPatch |

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Patch a subs
et of properties of the cart.

Object result =
apiInstance.cartsPatch(code, mo
del, authorization, acceptLangu
age, apiVersion);

Debug.WriteLine
(result);

}
catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsPatch: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$code = code_example; // String


| Cart code.

$model = ; // CartPatch |
$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsPatch($code, $model, $author
ization, $acceptLanguage, $apiV
ersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsPatch: ', $e->
getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;
# Configure OAuth2 access token
for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $code = code_example; # Stri


ng | Cart code.

my $model = WWW::SwaggerClient:
:Object::CartPatch->new(); # Ca
rtPatch |

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsPatch(code => $code, mode
l => $model, authorization => $
authorization, acceptLanguage =
> $acceptLanguage, apiVersion =
> $apiVersion);

print Dumper($result);
};

if ($@) {

warn "Exception when callin


g CartsApi->cartsPatch: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

code = code_example # String |


Cart code.

model = # CartPatch |
authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch a subset of propert


ies of the cart.

api_response = api_instance
.carts_patch(code, model, autho
rization=authorization, acceptL
anguage=acceptLanguage, apiVers
ion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsPatch: %s\n"
% e)

Parameters
Path parameters
Name Description
code* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

model * CartPatch {

Subset of properties to patch a cart.


ExternalReference:
ExternalReference string
Address:
AddressPatch {
Address Patch Model.
Required: Country
Line1:
Line1 string
Line2:
Line2 string
Country:
Country string
PostalCode:
PostalCode string
City:
City string
County:
County string
StateProvince:
StateProvince string
}
DefaultBillingAddress:
AddressPatch {
Address Patch Model.
Required: Country
Line1:
Line1 string
Line2:
Line2 string
Country:
Country string
PostalCode:
PostalCode string
City:
City string
County:
County string
StateProvince:
StateProvince string
}
CarrierMethod:
CarrierMethod string maxLength:50
ShippingInstructions:
ShippingInstructionsPatch {
Shipping instruction information.
Comments:
Comments string
DeliveryDaysMessage:
DeliveryDaysMessage string
Name:
Name string
Phone:
Phone string
}
Warehouse:
Warehouse string maxLength:50
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 204 -
NoContent

cartsPatchCartItemByCo

de
Patch cart items properties.

/api/Carts/{cartCode}/Items

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Carts/{cartCode}/It
ems"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[CartItemPatch] ca
rtItems = ; // array[CartItemPa
tch] | Cart items.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
Object result = api
Instance.cartsPatchCartItemByCo
de(cartCode, cartItems, authori
zation, acceptLanguage, apiVers
ion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsPatchCartItemByCode");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();
String cartCode = cartC
ode_example; // String | Cart c
ode.

array[CartItemPatch] ca
rtItems = ; // array[CartItemPa
tch] | Cart items.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsPatchCartItemByCo
de(cartCode, cartItems, authori
zation, acceptLanguage, apiVers
ion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsPatchCartItemByCode");

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *cartCode = cartCode_exa


mple; // Cart code.

array[CartItemPatch] *cartItems
= ; // Cart items.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];
// Patch cart items properties.

[apiInstance cartsPatchCartItem
ByCodeWith:cartCode

cartItems:cartItems

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');
var defaultClient = JenkonRestA
piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()

var cartCode = cartCode_example


; // {String} Cart code.

var cartItems = ; // {array[Car


tItemPatch]} Cart items.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version
};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsPatchCartItemByCode(ca
rtCode, cartItems, opts, callba
ck);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

{
public class cartsPatchCart
ItemByCodeExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();

var cartCode = cart


Code_example; // String | Cart
code.

var cartItems = new


array[CartItemPatch](); // arra
y[CartItemPatch] | Cart items.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Patch cart i
tems properties.

Object result =
apiInstance.cartsPatchCartItemB
yCode(cartCode, cartItems, auth
orization, acceptLanguage, apiV
ersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsPatchCartItemByCode: " + e.
Message );

<?php
require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$cartCode = cartCode_example; /
/ String | Cart code.

$cartItems = ; // array[CartIte
mPatch] | Cart items.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsPatchCartItemByCode($cartCod
e, $cartItems, $authorization,
$acceptLanguage, $apiVersion);
print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsPatchCartItemB
yCode: ', $e->getMessage(), PHP
_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $cartItems = [WWW::SwaggerCl
ient::Object::array[CartItemPat
ch]->new()]; # array[CartItemPa
tch] | Cart items.
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsPatchCartItemByCode(cartC
ode => $cartCode, cartItems =>
$cartItems, authorization => $a
uthorization, acceptLanguage =>
$acceptLanguage, apiVersion =>
$apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsPatchCartItemB
yCode: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.

cartItems = # array[CartItemPa
tch] | Cart items.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
try:

# Patch cart items properti


es.

api_response = api_instance
.carts_patch_cart_item_by_code(
cartCode, cartItems, authorizat
ion=authorization, acceptLangua
ge=acceptLanguage, apiVersion=a
piVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsPatchCartItem
ByCode: %s\n" % e)

Parameters
Path parameters
Name Description

cartCode* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token
Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

cartItems * [

undefined

Responses

Status: 200 - OK
• Schema

{
}

Status: 204 -
NoContent

cartsPostItem
Add items to the cart.
/api/Carts/{cartCode}/Items

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Carts/{cartCode}/Ite
ms"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;
public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[CartItemPost] ite
ms = ; // array[CartItemPost] |
Cart items.

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsPostItem(cartCode
, items, authorization, acceptL
anguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsPostItem");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {


public static void main(Str
ing[] args) {

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[CartItemPost] ite
ms = ; // array[CartItemPost] |
Cart items.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsPostItem(cartCode
, items, authorization, acceptL
anguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsPostItem");
e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *cartCode = cartCode_exa


mple; // Cart code.

array[CartItemPost] *items = ;
// Cart items.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)
CartsApi *apiInstance = [[Carts
Api alloc] init];

// Add items to the cart.

[apiInstance cartsPostItemWith:
cartCode

items:items

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()

var cartCode = cartCode_example


; // {String} Cart code.

var items = ; // {array[CartIte


mPost]} Cart items.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsPostItem(cartCode, ite
ms, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class cartsPostItemE


xample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();

var cartCode = cart


Code_example; // String | Cart
code.

var items = new arr


ay[CartItemPost](); // array[Ca
rtItemPost] | Cart items.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Add items to
the cart.

Object result =
apiInstance.cartsPostItem(cartC
ode, items, authorization, acce
ptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsPostItem: " + e.Message );

}
<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$cartCode = cartCode_example; /
/ String | Cart code.

$items = ; // array[CartItemPos
t] | Cart items.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsPostItem($cartCode, $items,
$authorization, $acceptLanguage
, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsPostItem: ', $
e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $items = [WWW::SwaggerClient
::Object::array[CartItemPost]->
new()]; # array[CartItemPost] |
Cart items.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsPostItem(cartCode => $car
tCode, items => $items, authori
zation => $authorization, accep
tLanguage => $acceptLanguage, a
piVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsPostItem: $@\n
";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.

items = # array[CartItemPost]
| Cart items.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
try:

# Add items to the cart.

api_response = api_instance
.carts_post_item(cartCode, item
s, authorization=authorization,
acceptLanguage=acceptLanguage,
apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsPostItem: %s\
n" % e)

Parameters
Path parameters
Name Description

cartCode* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token
Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

items * [

undefined

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

cartsPostPaymentsAsync
Add payment to the cart
/api/Carts/{cartCode}/Payments

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Carts/{cartCode}/Pay
ments"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;
public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[PaymentTransactio
nPost] payments = ; // array[Pa
ymentTransactionPost] | Payment
s.

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsPostPaymentsAsync
(cartCode, payments, authorizat
ion, acceptLanguage, apiVersion
);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsPostPaymentsAsync");

e.printStackTrace()
;

import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {


public static void main(Str
ing[] args) {

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

array[PaymentTransactio
nPost] payments = ; // array[Pa
ymentTransactionPost] | Payment
s.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsPostPaymentsAsync
(cartCode, payments, authorizat
ion, acceptLanguage, apiVersion
);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsPostPaymentsAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *cartCode = cartCode_exa


mple; // Cart code.

array[PaymentTransactionPost] *
payments = ; // Payments.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)
String *apiVersion = apiVersion
_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Add payment to the cart

[apiInstance cartsPostPaymentsA
syncWith:cartCode

payments:payments

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);


}

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()

var cartCode = cartCode_example


; // {String} Cart code.

var payments = ; // {array[Paym


entTransactionPost]} Payments.

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsPostPaymentsAsync(cart
Code, payments, opts, callback)
;

using System;

using System.Diagnostics;

using IO.Swagger.Api;
using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class cartsPostPayme


ntsAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();

var cartCode = cart


Code_example; // String | Cart
code.

var payments = new


array[PaymentTransactionPost]()
; // array[PaymentTransactionPo
st] | Payments.
var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Add payment
to the cart

Object result =
apiInstance.cartsPostPaymentsAs
ync(cartCode, payments, authori
zation, acceptLanguage, apiVers
ion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsPostPaymentsAsync: " + e.Me
ssage );
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$cartCode = cartCode_example; /
/ String | Cart code.

$payments = ; // array[PaymentT
ransactionPost] | Payments.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsPostPaymentsAsync($cartCode,
$payments, $authorization, $acc
eptLanguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsPostPaymentsAs
ync: ', $e->getMessage(), PHP_E
OL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $payments = [WWW::SwaggerCli
ent::Object::array[PaymentTrans
actionPost]->new()]; # array[Pa
ymentTransactionPost] | Payment
s.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>cartsPostPaymentsAsync(cartCod
e => $cartCode, payments => $pa
yments, authorization => $autho
rization, acceptLanguage => $ac
ceptLanguage, apiVersion => $ap
iVersion);

print Dumper($result);

};

if ($@) {
warn "Exception when callin
g CartsApi->cartsPostPaymentsAs
ync: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.

payments = # array[PaymentTran
sactionPost] | Payments.
authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Add payment to the cart

api_response = api_instance
.carts_post_payments_async(cart
Code, payments, authorization=a
uthorization, acceptLanguage=ac
ceptLanguage, apiVersion=apiVer
sion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CartsApi->cartsPostPaymentsA
sync: %s\n" % e)

Parameters
Path parameters
Name Description
cartCode* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

payments * [

undefined

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

cartsSubmitCart
Submit a cart.

/api/Carts/{cartCode}/Submit

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Carts/{cartCode}/Sub
mit"

import io.swagger.client.*;

import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
rtsApi;

import java.io.File;

import java.util.*;

public class CartsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CartsApi apiInstance =
new CartsApi();
String cartCode = cartC
ode_example; // String | Cart c
ode.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsSubmitCart(cartCo
de, authorization, acceptLangua
ge, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsSubmitCart");

e.printStackTrace()
;

}
import io.swagger.client.api.Ca
rtsApi;

public class CartsApiExample {

public static void main(Str


ing[] args) {

CartsApi apiInstance =
new CartsApi();

String cartCode = cartC


ode_example; // String | Cart c
ode.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.cartsSubmitCart(cartCo
de, authorization, acceptLangua
ge, apiVersion);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling CartsAp
i#cartsSubmitCart");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *cartCode = cartCode_exa


mple; // Cart code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)
String *apiVersion = apiVersion
_example; // Api-Version (optio
nal) (default to 1.0)

CartsApi *apiInstance = [[Carts


Api alloc] init];

// Submit a cart.

[apiInstance cartsSubmitCartWit
h:cartCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}
}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


artsApi()

var cartCode = cartCode_example


; // {String} Cart code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.cartsSubmitCart(cartCode, o
pts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

{
public class cartsSubmitCar
tExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CartsApi();

var cartCode = cart


Code_example; // String | Cart
code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)
try

// Submit a car
t.

Object result =
apiInstance.cartsSubmitCart(car
tCode, authorization, acceptLan
guage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling CartsApi.c
artsSubmitCart: " + e.Message )
;

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CartsApi();

$cartCode = cartCode_example; /
/ String | Cart code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
rtsSubmitCart($cartCode, $autho
rization, $acceptLanguage, $api
Version);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CartsApi->cartsSubmitCart: ',
$e->getMessage(), PHP_EOL;
}

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::CartsAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CartsApi->new();

my $cartCode = cartCode_example
; # String | Cart code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
eval {

my $result = $api_instance-
>cartsSubmitCart(cartCode => $c
artCode, authorization => $auth
orization, acceptLanguage => $a
cceptLanguage, apiVersion => $a
piVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CartsApi->cartsSubmitCart: $@
\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.C
artsApi()

cartCode = cartCode_example # S
tring | Cart code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Submit a cart.

api_response = api_instance
.carts_submit_cart(cartCode, au
thorization=authorization, acce
ptLanguage=acceptLanguage, apiV
ersion=apiVersion)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng CartsApi->cartsSubmitCart: %
s\n" % e)

Parameters
Path parameters
Name Description

cartCode* String

Cart code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema
{
}

Status: 201 - Created

Categories

categoriesGetAll
Get data for Category entries

/api/Categories

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Categories?pageNumber
=&pageSize=&sortType=&culture=&
filters="
import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
tegoriesApi;

import java.io.File;

import java.util.*;

public class CategoriesApiExamp


le {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");
oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CategoriesApi apiInstan
ce = new CategoriesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.
String filters = filter
s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.CategoryDto result = api
Instance.categoriesGetAll(pageN
umber, pageSize, sortType, auth
orization, acceptLanguage, apiV
ersion, culture, filters);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Categor
iesApi#categoriesGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Ca
tegoriesApi;

public class CategoriesApiExamp


le {

public static void main(Str


ing[] args) {

CategoriesApi apiInstan
ce = new CategoriesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.CategoryDto result = api
Instance.categoriesGetAll(pageN
umber, pageSize, sortType, auth
orization, acceptLanguage, apiV
ersion, culture, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Categor
iesApi#categoriesGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,
the defa
ult culture will be used. (opti
onal) (default to en-US)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

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

// Get data for Category entrie


s
[apiInstance categoriesGetAllWi
th:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

filters:filters

completionHandler
: ^(HateoasCollectionResponse.C
ategoryDto output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


ategoriesApi()

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'
var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example, /
/ {String} Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')
**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

};

api.categoriesGetAll(pageNumber
, pageSize, sortType, opts, cal
lback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class categoriesGetA


llExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CategoriesApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)
var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get data for


Category entries

HateoasCollecti
onResponse.CategoryDto result =
apiInstance.categoriesGetAll(pa
geNumber, pageSize, sortType, a
uthorization, acceptLanguage, a
piVersion, culture, filters);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Categories
Api.categoriesGetAll: " + e.Mes
sage );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CategoriesApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {
$result = $api_instance->ca
tegoriesGetAll($pageNumber, $pa
geSize, $sortType, $authorizati
on, $acceptLanguage, $apiVersio
n, $culture, $filters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CategoriesApi->categoriesGetA
ll: ', $e->getMessage(), PHP_EO
L;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Categor
iesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CategoriesApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {

my $result = $api_instance-
>categoriesGetAll(pageNumber =>
$pageNumber, pageSize => $pageS
ize, sortType => $sortType, aut
horization => $authorization, a
cceptLanguage => $acceptLanguag
e, apiVersion => $apiVersion, c
ulture => $culture, filters =>
$filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CategoriesApi->categoriesGetA
ll: $@\n";
}

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
ategoriesApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get data for Category ent


ries

api_response = api_instance
.categories_get_all(pageNumber,
pageSize, sortType, authorizati
on=authorization, acceptLanguag
e=acceptLanguage, apiVersion=ap
iVersion, culture=culture, filt
ers=filters)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng CategoriesApi->categoriesGet
All: %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

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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Create category model.
Code:
string
Category Code.
Sequence:
integer (int32)
Sequence number.
Enabled:
boolean
Is enabled.
Parent:
string
Parent code.
Description:
string
Description.
LongDescription:
string
Long description.
}
]
}
categoriesGetByCategor

yCode
Get data for a category entry

/api/Categories/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Categories/{code}?cul
ture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;
import io.swagger.client.api.Ca
tegoriesApi;

import java.io.File;

import java.util.*;

public class CategoriesApiExamp


le {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CategoriesApi apiInstan
ce = new CategoriesApi();
String code = code_exam
ple; // String | The Category C
ode to retrieve

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

CategoryDto result
= apiInstance.categoriesGetByCa
tegoryCode(code, authorization,
acceptLanguage, apiVersion, cul
ture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Categor
iesApi#categoriesGetByCategoryC
ode");
e.printStackTrace()
;

import io.swagger.client.api.Ca
tegoriesApi;

public class CategoriesApiExamp


le {

public static void main(Str


ing[] args) {

CategoriesApi apiInstan
ce = new CategoriesApi();

String code = code_exam


ple; // String | The Category C
ode to retrieve

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
String culture = cultur
e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

CategoryDto result
= apiInstance.categoriesGetByCa
tegoryCode(code, authorization,
acceptLanguage, apiVersion, cul
ture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Categor
iesApi#categoriesGetByCategoryC
ode");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


The Category Code to retrieve

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

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

// Get data for a category entr


y
[apiInstance categoriesGetByCat
egoryCodeWith:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(CategoryDto output, NSError
* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;
// Configure OAuth2 access toke
n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


ategoriesApi()

var code = code_example; // {St


ring} The Category Code to retr
ieve

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.
};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.categoriesGetByCategoryCode
(code, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class categoriesGetB


yCategoryCodeExample
{

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CategoriesApi();

var code = code_exa


mple; // String | The Category
Code to retrieve

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Get data for


a category entry

CategoryDto res
ult = apiInstance.categoriesGet
ByCategoryCode(code, authorizat
ion, acceptLanguage, apiVersion
, culture);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Categories
Api.categoriesGetByCategoryCode
: " + e.Message );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CategoriesApi();

$code = code_example; // String


| The Category Code to retrieve

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.
try {

$result = $api_instance->ca
tegoriesGetByCategoryCode($code
, $authorization, $acceptLangua
ge, $apiVersion, $culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CategoriesApi->categoriesGetB
yCategoryCode: ', $e->getMessag
e(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Categor
iesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::CategoriesApi->new();

my $code = code_example; # Stri


ng | The Category Code to retri
eve

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>categoriesGetByCategoryCode(co
de => $code, authorization => $
authorization, acceptLanguage =
> $acceptLanguage, apiVersion =
> $apiVersion, culture => $cult
ure);

print Dumper($result);

};
if ($@) {

warn "Exception when callin


g CategoriesApi->categoriesGetB
yCategoryCode: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.C
ategoriesApi()

code = code_example # String |


The Category Code to retrieve
authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get data for a category e


ntry

api_response = api_instance
.categories_get_by_category_cod
e(code, authorization=authoriza
tion, acceptLanguage=acceptLang
uage, apiVersion=apiVersion, cu
lture=culture)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng CategoriesApi->categoriesGet
ByCategoryCode: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Category Code to retrieve

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
• Schema

{
Create category model.
Code:
string
Category Code.
Sequence:
integer (int32)
Sequence number.
Enabled:
boolean
Is enabled.
Parent:
string
Parent code.
Description:
string
Description.
LongDescription:
string
Long description.
}
categoriesPatchAsync
Patch an Category entry
Provide only the fields to modify,
leaving the others null

/api/Categories/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Categories/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
tegoriesApi;
import java.io.File;

import java.util.*;

public class CategoriesApiExamp


le {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CategoriesApi apiInstan
ce = new CategoriesApi();

String code = code_exam


ple; // String | The Category C
ode of the entry to patch
CategoryPatch categoryP
atch = ; // CategoryPatch | The
subset of Category fields to pa
tch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.categoriesPatchAsync(c
ode, categoryPatch, authorizati
on, acceptLanguage, apiVersion)
;

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Categor
iesApi#categoriesPatchAsync");

e.printStackTrace()
;

}
}

import io.swagger.client.api.Ca
tegoriesApi;

public class CategoriesApiExamp


le {

public static void main(Str


ing[] args) {

CategoriesApi apiInstan
ce = new CategoriesApi();

String code = code_exam


ple; // String | The Category C
ode of the entry to patch

CategoryPatch categoryP
atch = ; // CategoryPatch | The
subset of Category fields to pa
tch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
Object result = api
Instance.categoriesPatchAsync(c
ode, categoryPatch, authorizati
on, acceptLanguage, apiVersion)
;

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Categor
iesApi#categoriesPatchAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


The Category Code of the entry
to patch
CategoryPatch *categoryPatch =
; // The subset of Category fie
lds to patch

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

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

// Patch an Category entry

[apiInstance categoriesPatchAsy
ncWith:code

categoryPatch:categoryPatch

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


ategoriesApi()
var code = code_example; // {St
ring} The Category Code of the
entry to patch

var categoryPatch = ; // {Categ


oryPatch} The subset of Categor
y fields to patch

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

}
};

api.categoriesPatchAsync(code,
categoryPatch, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class categoriesPatc


hAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CategoriesApi();

var code = code_exa


mple; // String | The Category
Code of the entry to patch

var categoryPatch =
new CategoryPatch(); // Categor
yPatch | The subset of Category
fields to patch

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Patch an Cat
egory entry

Object result =
apiInstance.categoriesPatchAsyn
c(code, categoryPatch, authoriz
ation, acceptLanguage, apiVersi
on);

Debug.WriteLine
(result);
}

catch (Exception e)

Debug.Print("Ex
ception when calling Categories
Api.categoriesPatchAsync: " + e
.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CategoriesApi();

$code = code_example; // String


| The Category Code of the entr
y to patch
$categoryPatch = ; // CategoryP
atch | The subset of Category f
ields to patch

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ca
tegoriesPatchAsync($code, $cate
goryPatch, $authorization, $acc
eptLanguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g CategoriesApi->categoriesPatc
hAsync: ', $e->getMessage(), PH
P_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Categor
iesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CategoriesApi->new();

my $code = code_example; # Stri


ng | The Category Code of the e
ntry to patch

my $categoryPatch = WWW::Swagge
rClient::Object::CategoryPatch-
>new(); # CategoryPatch | The s
ubset of Category fields to pat
ch

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {
my $result = $api_instance-
>categoriesPatchAsync(code => $
code, categoryPatch => $categor
yPatch, authorization => $autho
rization, acceptLanguage => $ac
ceptLanguage, apiVersion => $ap
iVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g CategoriesApi->categoriesPatc
hAsync: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.C
ategoriesApi()

code = code_example # String |


The Category Code of the entry
to patch

categoryPatch = # CategoryPatc
h | The subset of Category fiel
ds to patch

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch an Category entry

api_response = api_instance
.categories_patch_async(code, c
ategoryPatch, authorization=aut
horization, acceptLanguage=acce
ptLanguage, apiVersion=apiVersi
on)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng CategoriesApi->categoriesPat
chAsync: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Category Code 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

categoryPatch * CategoryPatch {

Category patch model.


Sequence:
Sequence integer (int32)
Enabled:
Enabled boolean
Parent:
Parent string minLength:1 maxLength:50
}

Responses

Status: 200 - OK
• Schema

{
}

categoriesPostAsync
Create an Category entry

/api/Categories

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Categories"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ca
tegoriesApi;

import java.io.File;

import java.util.*;

public class CategoriesApiExamp


le {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

CategoriesApi apiInstan
ce = new CategoriesApi();

CategoryPost category =
; // CategoryPost | The {Catego
ry} data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.categor
iesPostAsync(category, authoriz
ation, acceptLanguage, apiVersi
on);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Categor
iesApi#categoriesPostAsync");

e.printStackTrace()
;

import io.swagger.client.api.Ca
tegoriesApi;

public class CategoriesApiExamp


le {

public static void main(Str


ing[] args) {

CategoriesApi apiInstan
ce = new CategoriesApi();

CategoryPost category =
; // CategoryPost | The {Catego
ry} data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

apiInstance.categor
iesPostAsync(category, authoriz
ation, acceptLanguage, apiVersi
on);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Categor
iesApi#categoriesPostAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
CategoryPost *category = ; // T
he {Category} data to create

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

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

// Create an Category entry

[apiInstance categoriesPostAsyn
cWith:category

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(NSError* error) {

if
(error) {

NSLog(@"Error: %@", error);


}

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.C


ategoriesApi()

var category = ; // {CategoryPo


st} The {Category} data to cre
ate

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully.');

};

api.categoriesPostAsync(categor
y, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class categoriesPost


AsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew CategoriesApi();

var category = new


CategoryPost(); // CategoryPost
| The {Category} data to creat
e

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create an Ca
tegory entry

apiInstance.cat
egoriesPostAsync(category, auth
orization, acceptLanguage, apiV
ersion);

catch (Exception e)

Debug.Print("Ex
ception when calling Categories
Api.categoriesPostAsync: " + e.
Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\CategoriesApi();

$category = ; // CategoryPost |
The {Category} data to create

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$api_instance->categoriesPo
stAsync($category, $authorizati
on, $acceptLanguage, $apiVersio
n);

} catch (Exception $e) {

echo 'Exception when callin


g CategoriesApi->categoriesPost
Async: ', $e->getMessage(), PHP
_EOL;
}

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Categor
iesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::CategoriesApi->new();

my $category = WWW::SwaggerClie
nt::Object::CategoryPost->new()
; # CategoryPost | The {Categor
y} data to create

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
eval {

$api_instance->categoriesPo
stAsync(category => $category,
authorization => $authorization
, acceptLanguage => $acceptLang
uage, apiVersion => $apiVersion
);

};

if ($@) {

warn "Exception when callin


g CategoriesApi->categoriesPost
Async: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.C
ategoriesApi()

category = # CategoryPost | Th
e {Category} data to create

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create an Category entry

api_instance.categories_pos
t_async(category, authorization
=authorization, acceptLanguage=
acceptLanguage, apiVersion=apiV
ersion)

except ApiException as e:

print("Exception when calli


ng CategoriesApi->categoriesPos
tAsync: %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

category * {

Model to create a category.


Code:
string
Category Code.
Sequence:
integer (int32)
Sequence number.
Enabled:
boolean
Is enabled.
Parent:
string
Parent code.
}
Responses

Status: 200 - OK

Exemptions

exemptionsGetAll
Get all exemptions for a specific
account.

/api/Accounts/{accountCode}/Exe
mptions

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Accounts/{accountCode
}/Exemptions?pageNumber=&pageSi
ze=&sortType=&filters="
import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ex
emptionsApi;

import java.io.File;

import java.util.*;

public class ExemptionsApiExamp


le {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");
oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ExemptionsApi apiInstan
ce = new ExemptionsApi();

String accountCode = ac
countCode_example; // String |
account code.

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s
**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.ExemptionDto result = ap
iInstance.exemptionsGetAll(acco
untCode, pageNumber, pageSize,
sortType, authorization, accept
Language, apiVersion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Exempti
onsApi#exemptionsGetAll");
e.printStackTrace()
;

import io.swagger.client.api.Ex
emptionsApi;

public class ExemptionsApiExamp


le {

public static void main(Str


ing[] args) {

ExemptionsApi apiInstan
ce = new ExemptionsApi();

String accountCode = ac
countCode_example; // String |
account code.

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {
HateoasCollectionRe
sponse.ExemptionDto result = ap
iInstance.exemptionsGetAll(acco
untCode, pageNumber, pageSize,
sortType, authorization, accept
Language, apiVersion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Exempti
onsApi#exemptionsGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // account code.
Integer *pageNumber = 56; // Pa
geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

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

// Get all exemptions for a spe


cific account.

[apiInstance exemptionsGetAllWi
th:accountCode

pageNumber:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

filters:filters

completionHandler
: ^(HateoasCollectionResponse.E
xemptionDto output, NSError* er
ror) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.E


xemptionsApi()
var accountCode = accountCode_e
xample; // {String} account cod
e.

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

}
};

api.exemptionsGetAll(accountCod
e, pageNumber, pageSize, sortTy
pe, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class exemptionsGetA


llExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ExemptionsApi();

var accountCode = a
ccountCode_example; // String
| account code.

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get all exem


ptions for a specific account.

HateoasCollecti
onResponse.ExemptionDto result
= apiInstance.exemptionsGetAll(
accountCode, pageNumber, pageSi
ze, sortType, authorization, ac
ceptLanguage, apiVersion, filte
rs);

Debug.WriteLine
(result);

}
catch (Exception e)

Debug.Print("Ex
ception when calling Exemptions
Api.exemptionsGetAll: " + e.Mes
sage );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ExemptionsApi();

$accountCode = accountCode_exam
ple; // String | account code.

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0
$pageSize = 56; // Integer | Pa
geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->ex
emptionsGetAll($accountCode, $p
ageNumber, $pageSize, $sortType
, $authorization, $acceptLangua
ge, $apiVersion, $filters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ExemptionsApi->exemptionsGetA
ll: ', $e->getMessage(), PHP_EO
L;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Exempti
onsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::ExemptionsApi->new();

my $accountCode = accountCode_e
xample; # String | account code
.

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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {

my $result = $api_instance-
>exemptionsGetAll(accountCode =
> $accountCode, pageNumber => $
pageNumber, pageSize => $pageSi
ze, sortType => $sortType, auth
orization => $authorization, ac
ceptLanguage => $acceptLanguage
, apiVersion => $apiVersion, fi
lters => $filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ExemptionsApi->exemptionsGetA
ll: $@\n";
}

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.E
xemptionsApi()

accountCode = accountCode_examp
le # String | account code.

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)
sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get all exemptions for a


specific account.

api_response = api_instance
.exemptions_get_all(accountCode
, pageNumber, pageSize, sortTyp
e, authorization=authorization,
acceptLanguage=acceptLanguage,
apiVersion=apiVersion, filters=
filters)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ExemptionsApi->exemptionsGet
All: %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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Exemption Dto
Code:
string
Task Code
ActivityCenter:
string
Activity Center Code
ExemptionCode:
string
Exemption Code
InternalComments:
string
Exemption InternalComments
StartDate:
string (date-time)
Exemption start date
EndDate:
string (date-time)
Exemption end date
}
]
}
exemptionsGetByCode
Get exemption for a specific
exemption code.

/api/Exemptions/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Exemptions/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ex
emptionsApi;
import java.io.File;

import java.util.*;

public class ExemptionsApiExamp


le {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ExemptionsApi apiInstan
ce = new ExemptionsApi();

String code = code_exam


ple; // String | exemption code
.
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

ExemptionDto result
= apiInstance.exemptionsGetByCo
de(code, authorization, acceptL
anguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Exempti
onsApi#exemptionsGetByCode");

e.printStackTrace()
;

import io.swagger.client.api.Ex
emptionsApi;
public class ExemptionsApiExamp
le {

public static void main(Str


ing[] args) {

ExemptionsApi apiInstan
ce = new ExemptionsApi();

String code = code_exam


ple; // String | exemption code
.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

ExemptionDto result
= apiInstance.exemptionsGetByCo
de(code, authorization, acceptL
anguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Exempti
onsApi#exemptionsGetByCode");
e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


exemption code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)
ExemptionsApi *apiInstance = [[
ExemptionsApi alloc] init];

// Get exemption for a specific


exemption code.

[apiInstance exemptionsGetByCod
eWith:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(ExemptionDto output, NSErro
r* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');
var defaultClient = JenkonRestA
piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.E


xemptionsApi()

var code = code_example; // {St


ring} exemption code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.exemptionsGetByCode(code, o
pts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class exemptionsGetB


yCodeExample

public void main()


{

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ExemptionsApi();

var code = code_exa


mple; // String | exemption co
de.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

{
// Get exemptio
n for a specific exemption code
.

ExemptionDto re
sult = apiInstance.exemptionsGe
tByCode(code, authorization, ac
ceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Exemptions
Api.exemptionsGetByCode: " + e.
Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ExemptionsApi();

$code = code_example; // String


| exemption code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ex
emptionsGetByCode($code, $autho
rization, $acceptLanguage, $api
Version);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ExemptionsApi->exemptionsGetB
yCode: ', $e->getMessage(), PHP
_EOL;

}
?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Exempti
onsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ExemptionsApi->new();

my $code = code_example; # Stri


ng | exemption code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {
my $result = $api_instance-
>exemptionsGetByCode(code => $c
ode, authorization => $authoriz
ation, acceptLanguage => $accep
tLanguage, apiVersion => $apiVe
rsion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ExemptionsApi->exemptionsGetB
yCode: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.E
xemptionsApi()

code = code_example # String |


exemption code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get exemption for a speci


fic exemption code.

api_response = api_instance
.exemptions_get_by_code(code, a
uthorization=authorization, acc
eptLanguage=acceptLanguage, api
Version=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ExemptionsApi->exemptionsGet
ByCode: %s\n" % e)
Parameters
Path parameters
Name Description

code* String

exemption code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema

{
Exemption Dto
Code:
string
Task Code
ActivityCenter:
string
Activity Center Code
ExemptionCode:
string
Exemption Code
InternalComments:
string
Exemption InternalComments
StartDate:
string (date-time)
Exemption start date
EndDate:
string (date-time)
Exemption end date
}

exemptionsPatch
Patch an existing volume.

/api/Exemptions/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Exemptions/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ex
emptionsApi;

import java.io.File;

import java.util.*;

public class ExemptionsApiExamp


le {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ExemptionsApi apiInstan
ce = new ExemptionsApi();

String code = code_exam


ple; // String | Exemption code
.

ExemptionPatch exemptio
nPatch = ; // ExemptionPatch |
Exemption patch.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.exemptionsPatch(code,
exemptionPatch, authorization,
acceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Exempti
onsApi#exemptionsPatch");

e.printStackTrace()
;

import io.swagger.client.api.Ex
emptionsApi;

public class ExemptionsApiExamp


le {

public static void main(Str


ing[] args) {

ExemptionsApi apiInstan
ce = new ExemptionsApi();

String code = code_exam


ple; // String | Exemption code
.
ExemptionPatch exemptio
nPatch = ; // ExemptionPatch |
Exemption patch.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.exemptionsPatch(code,
exemptionPatch, authorization,
acceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Exempti
onsApi#exemptionsPatch");

e.printStackTrace()
;

}
Configuration *apiConfig = [Con
figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


Exemption code.

ExemptionPatch *exemptionPatch
= ; // Exemption patch.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

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

// Patch an existing volume.


[apiInstance exemptionsPatchWit
h:code

exemptionPatch:exemptionPat
ch

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;
// Configure OAuth2 access toke
n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.E


xemptionsApi()

var code = code_example; // {St


ring} Exemption code.

var exemptionPatch = ; // {Exem


ptionPatch} Exemption patch.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.exemptionsPatch(code, exemp
tionPatch, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class exemptionsPatc


hExample

public void main()


{

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ExemptionsApi();

var code = code_exa


mple; // String | Exemption co
de.

var exemptionPatch
= new ExemptionPatch(); // Exem
ptionPatch | Exemption patch.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try
{

// Patch an exi
sting volume.

Object result =
apiInstance.exemptionsPatch(cod
e, exemptionPatch, authorizatio
n, acceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Exemptions
Api.exemptionsPatch: " + e.Mess
age );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ExemptionsApi();

$code = code_example; // String


| Exemption code.

$exemptionPatch = ; // Exemptio
nPatch | Exemption patch.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ex
emptionsPatch($code, $exemption
Patch, $authorization, $acceptL
anguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ExemptionsApi->exemptionsPatc
h: ', $e->getMessage(), PHP_EOL
;
}

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Exempti
onsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ExemptionsApi->new();

my $code = code_example; # Stri


ng | Exemption code.

my $exemptionPatch = WWW::Swagg
erClient::Object::ExemptionPatc
h->new(); # ExemptionPatch | Ex
emption patch.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>exemptionsPatch(code => $code,
exemptionPatch => $exemptionPat
ch, authorization => $authoriza
tion, acceptLanguage => $accept
Language, apiVersion => $apiVer
sion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ExemptionsApi->exemptionsPatc
h: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.E
xemptionsApi()

code = code_example # String |


Exemption code.

exemptionPatch = # ExemptionPa
tch | Exemption patch.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch an existing volume.

api_response = api_instance
.exemptions_patch(code, exempti
onPatch, authorization=authoriz
ation, acceptLanguage=acceptLan
guage, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ExemptionsApi->exemptionsPat
ch: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

Exemption code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

exemptionPatch * ExemptionPatch {

Subset of properties to patch a exemption.


Required: ExemptionCode,StartDate
ExemptionCode:
ExemptionCode string minLength:1 maxLength:50
InternalComments:
InternalComments string
StartDate:
StartDate string (date-time)
EndDate:
EndDate string (date-time)
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

exemptionsPost
Create a new exemption.

/api/Exemptions
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Exemptions"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ex
emptionsApi;

import java.io.File;

import java.util.*;

public class ExemptionsApiExamp


le {
public static void main(Str
ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ExemptionsApi apiInstan
ce = new ExemptionsApi();

ExemptionPost exemption
Post = ; // ExemptionPost | Exe
mption post.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
Object result = api
Instance.exemptionsPost(exempti
onPost, authorization, acceptLa
nguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Exempti
onsApi#exemptionsPost");

e.printStackTrace()
;

import io.swagger.client.api.Ex
emptionsApi;

public class ExemptionsApiExamp


le {

public static void main(Str


ing[] args) {

ExemptionsApi apiInstan
ce = new ExemptionsApi();
ExemptionPost exemption
Post = ; // ExemptionPost | Exe
mption post.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.exemptionsPost(exempti
onPost, authorization, acceptLa
nguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Exempti
onsApi#exemptionsPost");

e.printStackTrace()
;

}
Configuration *apiConfig = [Con
figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

ExemptionPost *exemptionPost =
; // Exemption post.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

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

// Create a new exemption.

[apiInstance exemptionsPostWith
:exemptionPost
authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];
oauth2.accessToken = "YOUR ACCE
SS TOKEN"

var api = new JenkonRestApiV1.E


xemptionsApi()

var exemptionPost = ; // {Exemp


tionPost} Exemption post.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {
console.log('API called suc
cessfully. Returned data: ' + d
ata);

};

api.exemptionsPost(exemptionPos
t, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class exemptionsPost


Example

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ExemptionsApi();

var exemptionPost =
new ExemptionPost(); // Exempti
onPost | Exemption post.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a new
exemption.

Object result =
apiInstance.exemptionsPost(exem
ptionPost, authorization, accep
tLanguage, apiVersion);

Debug.WriteLine
(result);
}

catch (Exception e)

Debug.Print("Ex
ception when calling Exemptions
Api.exemptionsPost: " + e.Messa
ge );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ExemptionsApi();

$exemptionPost = ; // Exemption
Post | Exemption post.
$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ex
emptionsPost($exemptionPost, $a
uthorization, $acceptLanguage,
$apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ExemptionsApi->exemptionsPost
: ', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Exempti
onsApi;
# Configure OAuth2 access token
for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ExemptionsApi->new();

my $exemptionPost = WWW::Swagge
rClient::Object::ExemptionPost-
>new(); # ExemptionPost | Exemp
tion post.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>exemptionsPost(exemptionPost =
> $exemptionPost, authorization
=> $authorization, acceptLangua
ge => $acceptLanguage, apiVersi
on => $apiVersion);

print Dumper($result);

};
if ($@) {

warn "Exception when callin


g ExemptionsApi->exemptionsPost
: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.E
xemptionsApi()

exemptionPost = # ExemptionPos
t | Exemption post.
authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a new exemption.

api_response = api_instance
.exemptions_post(exemptionPost,
authorization=authorization, ac
ceptLanguage=acceptLanguage, ap
iVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ExemptionsApi->exemptionsPos
t: %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

exemptionPost * ExemptionPost {

Exemption post request, new exemption


Required: ActivityCenter,ExemptionCode,StartDate
Code:
Code string maxLength:50
ActivityCenter:
ActivityCenter string minLength:1 maxLength:50
ExemptionCode:
ExemptionCode string minLength:1 maxLength:50
InternalComments:
InternalComments string
StartDate:
StartDate string (date-time)
EndDate:
EndDate string (date-time)
}

Responses

Status: 200 - OK
• Schema

{
}
Status: 201 - Created

Genealogy

genealogyGetByCode
Get the genealogy tree for an
account given a plan, period and
lineage.

/api/Genealogy/{account}/{plan}
/{period}/{lineage}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Genealogy/{account}/{
plan}/{period}/{lineage}?maxDep
th="
import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ge
nealogyApi;

import java.io.File;

import java.util.*;

public class GenealogyApiExampl


e {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");
oauth2.setAccessToken("
YOUR ACCESS TOKEN");

GenealogyApi apiInstanc
e = new GenealogyApi();

String account = accoun


t_example; // String | Account
Code.

String plan = plan_exam


ple; // String | Plan Code.

String period = period_


example; // String | Period Cod
e.

String lineage = lineag


e_example; // String | Lineage
Code.

Integer maxDepth = 56;


// Integer | Maximum tree depth
. If not specified it will defa
ult to 2.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
GenealogyDto result
= apiInstance.genealogyGetByCod
e(account, plan, period, lineag
e, maxDepth, authorization, acc
eptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Genealo
gyApi#genealogyGetByCode");

e.printStackTrace()
;

import io.swagger.client.api.Ge
nealogyApi;

public class GenealogyApiExampl


e {

public static void main(Str


ing[] args) {

GenealogyApi apiInstanc
e = new GenealogyApi();
String account = accoun
t_example; // String | Account
Code.

String plan = plan_exam


ple; // String | Plan Code.

String period = period_


example; // String | Period Cod
e.

String lineage = lineag


e_example; // String | Lineage
Code.

Integer maxDepth = 56;


// Integer | Maximum tree depth
. If not specified it will defa
ult to 2.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

GenealogyDto result
= apiInstance.genealogyGetByCod
e(account, plan, period, lineag
e, maxDepth, authorization, acc
eptLanguage, apiVersion);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Genealo
gyApi#genealogyGetByCode");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *account = account_examp


le; // Account Code.

String *plan = plan_example; //


Plan Code.

String *period = period_example


; // Period Code.

String *lineage = lineage_examp


le; // Lineage Code.
Integer *maxDepth = 56; // Maxi
mum tree depth. If not specifie
d it will default to 2. (option
al) (default to 2)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

GenealogyApi *apiInstance = [[G


enealogyApi alloc] init];

// Get the genealogy tree for a


n account given a plan, period
and lineage.

[apiInstance genealogyGetByCode
With:account

plan:plan

period:period

lineage:lineage

maxDepth:maxDepth

authorization:authorization
acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(GenealogyDto output, NSErro
r* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];
oauth2.accessToken = "YOUR ACCE
SS TOKEN"

var api = new JenkonRestApiV1.G


enealogyApi()

var account = account_example;


// {String} Account Code.

var plan = plan_example; // {St


ring} Plan Code.

var period = period_example; //


{String} Period Code.

var lineage = lineage_example;


// {String} Lineage Code.

var opts = {

'maxDepth': 56, // {Integer}


Maximum tree depth. If not spec
ified it will default to 2.

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.genealogyGetByCode(account,
plan, period, lineage, opts, ca
llback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example
{

public class genealogyGetBy


CodeExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew GenealogyApi();

var account = accou


nt_example; // String | Accoun
t Code.

var plan = plan_exa


mple; // String | Plan Code.

var period = period


_example; // String | Period C
ode.

var lineage = linea


ge_example; // String | Lineag
e Code.

var maxDepth = 56;


// Integer | Maximum tree depth
. If not specified it will defa
ult to 2. (optional) (default
to 2)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get the gene


alogy tree for an account given
a plan, period and lineage.

GenealogyDto re
sult = apiInstance.genealogyGet
ByCode(account, plan, period, l
ineage, maxDepth, authorization
, acceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

{
Debug.Print("Ex
ception when calling GenealogyA
pi.genealogyGetByCode: " + e.Me
ssage );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\GenealogyApi();

$account = account_example; //
String | Account Code.

$plan = plan_example; // String


| Plan Code.

$period = period_example; // St
ring | Period Code.
$lineage = lineage_example; //
String | Lineage Code.

$maxDepth = 56; // Integer | Ma


ximum tree depth. If not specif
ied it will default to 2.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ge
nealogyGetByCode($account, $pla
n, $period, $lineage, $maxDepth
, $authorization, $acceptLangua
ge, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g GenealogyApi->genealogyGetByC
ode: ', $e->getMessage(), PHP_E
OL;

?>

use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Genealo
gyApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::GenealogyApi->new();

my $account = account_example;
# String | Account Code.

my $plan = plan_example; # Stri


ng | Plan Code.

my $period = period_example; #
String | Period Code.

my $lineage = lineage_example;
# String | Lineage Code.

my $maxDepth = 56; # Integer |


Maximum tree depth. If not spec
ified it will default to 2.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>genealogyGetByCode(account =>
$account, plan => $plan, period
=> $period, lineage => $lineage
, maxDepth => $maxDepth, author
ization => $authorization, acce
ptLanguage => $acceptLanguage,
apiVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g GenealogyApi->genealogyGetByC
ode: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.G
enealogyApi()

account = account_example # Str


ing | Account Code.

plan = plan_example # String |


Plan Code.

period = period_example # Strin


g | Period Code.

lineage = lineage_example # Str


ing | Lineage Code.

maxDepth = 56 # Integer | Maxim


um tree depth. If not specified
it will default to 2. (optional
) (default to 2)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)
apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get the genealogy tree fo


r an account given a plan, peri
od and lineage.

api_response = api_instance
.genealogy_get_by_code(account,
plan, period, lineage, maxDepth
=maxDepth, authorization=author
ization, acceptLanguage=acceptL
anguage, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng GenealogyApi->genealogyGetBy
Code: %s\n" % e)

Parameters
Path parameters
Name Description

account* String

Account Code.

Required

plan* String
Plan Code.

Required

period* String

Period Code.

Required

lineage* String

Lineage Code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Query parameters
Name Description

maxDepth Integer (int32)

Maximum tree depth. If not specified it will default to 2.


Responses

Status: 200 - OK
• Schema

Inventories

inventoriesDeleteByCod

e
Delete an Inventory entry

/api/Inventories/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
curl -X DELETE "https://localho
st:44356/api/Inventories/{code}
"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.In
ventoriesApi;

import java.io.File;

import java.util.*;

public class InventoriesApiExam


ple {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2
OAuth oauth2 = (OAuth)
defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

InventoriesApi apiInsta
nce = new InventoriesApi();

String code = code_exam


ple; // String | The Inventory
Code to delete

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.inventoriesDeleteByCod
e(code, authorization, acceptLa
nguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Invento
riesApi#inventoriesDeleteByCode
");

e.printStackTrace()
;

import io.swagger.client.api.In
ventoriesApi;

public class InventoriesApiExam


ple {

public static void main(Str


ing[] args) {

InventoriesApi apiInsta
nce = new InventoriesApi();

String code = code_exam


ple; // String | The Inventory
Code to delete

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.inventoriesDeleteByCod
e(code, authorization, acceptLa
nguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Invento
riesApi#inventoriesDeleteByCode
");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *code = code_example; //
The Inventory Code to delete

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

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

// Delete an Inventory entry

[apiInstance inventoriesDeleteB
yCodeWith:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {
NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.I


nventoriesApi()

var code = code_example; // {St


ring} The Inventory Code to del
ete
var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.inventoriesDeleteByCode(cod
e, opts, callback);

using System;

using System.Diagnostics;
using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class inventoriesDel


eteByCodeExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew InventoriesApi();

var code = code_exa


mple; // String | The Inventor
y Code to delete

var authorization =
authorization_example; // Stri
ng | access token (optional)
var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Delete an In
ventory entry

Object result =
apiInstance.inventoriesDeleteBy
Code(code, authorization, accep
tLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Inventorie
sApi.inventoriesDeleteByCode: "
+ e.Message );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\InventoriesApi();

$code = code_example; // String


| The Inventory Code to delete

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->in
ventoriesDeleteByCode($code, $a
uthorization, $acceptLanguage,
$apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g InventoriesApi->inventoriesDe
leteByCode: ', $e->getMessage()
, PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Invento
riesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::InventoriesApi->new();

my $code = code_example; # Stri


ng | The Inventory Code to dele
te
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>inventoriesDeleteByCode(code =
> $code, authorization => $auth
orization, acceptLanguage => $a
cceptLanguage, apiVersion => $a
piVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g InventoriesApi->inventoriesDe
leteByCode: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.I
nventoriesApi()

code = code_example # String |


The Inventory Code to delete

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Delete an Inventory entry


api_response = api_instance
.inventories_delete_by_code(cod
e, authorization=authorization,
acceptLanguage=acceptLanguage,
apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng InventoriesApi->inventoriesD
eleteByCode: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Inventory Code to delete

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String
Api-Version

Responses

Status: 200 - OK
• Schema

{
}

Status: 204 -
NoContent

inventoriesGetAll
Get data for Inventory entries

/api/Inventories

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Inventories?pageNumbe
r=&pageSize=&sortType=&filters=
"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.In
ventoriesApi;

import java.io.File;

import java.util.*;

public class InventoriesApiExam


ple {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

InventoriesApi apiInsta
nce = new InventoriesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
String filters = filter
s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.InventoryDto result = ap
iInstance.inventoriesGetAll(pag
eNumber, pageSize, sortType, au
thorization, acceptLanguage, ap
iVersion, filters);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Invento
riesApi#inventoriesGetAll");

e.printStackTrace()
;

import io.swagger.client.api.In
ventoriesApi;

public class InventoriesApiExam


ple {

public static void main(Str


ing[] args) {

InventoriesApi apiInsta
nce = new InventoriesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
try {

HateoasCollectionRe
sponse.InventoryDto result = ap
iInstance.inventoriesGetAll(pag
eNumber, pageSize, sortType, au
thorization, acceptLanguage, ap
iVersion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Invento
riesApi#inventoriesGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
Integer *pageNumber = 56; // Pa
geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

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

// Get data for Inventory entri


es

[apiInstance inventoriesGetAllW
ith:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

filters:filters

completionHandler
: ^(HateoasCollectionResponse.I
nventoryDto output, NSError* er
ror) {
if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.I


nventoriesApi()
var pageNumber = 56; // {Intege
r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

};

api.inventoriesGetAll(pageNumbe
r, pageSize, sortType, opts, ca
llback);

using System;
using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class inventoriesGet


AllExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew InventoriesApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)
var pageSize = 56;
// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get data for


Inventory entries

HateoasCollecti
onResponse.InventoryDto result
= apiInstance.inventoriesGetAll
(pageNumber, pageSize, sortType
, authorization, acceptLanguage
, apiVersion, filters);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Inventorie
sApi.inventoriesGetAll: " + e.M
essage );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\InventoriesApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->in
ventoriesGetAll($pageNumber, $p
ageSize, $sortType, $authorizat
ion, $acceptLanguage, $apiVersi
on, $filters);

print_r($result);

} catch (Exception $e) {


echo 'Exception when callin
g InventoriesApi->inventoriesGe
tAll: ', $e->getMessage(), PHP_
EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Invento
riesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::InventoriesApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
eval {

my $result = $api_instance-
>inventoriesGetAll(pageNumber =
> $pageNumber, pageSize => $pag
eSize, sortType => $sortType, a
uthorization => $authorization,
acceptLanguage => $acceptLangua
ge, apiVersion => $apiVersion,
filters => $filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g InventoriesApi->inventoriesGe
tAll: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.I
nventoriesApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get data for Inventory en


tries

api_response = api_instance
.inventories_get_all(pageNumber
, pageSize, sortType, authoriza
tion=authorization, acceptLangu
age=acceptLanguage, apiVersion=
apiVersion, filters=filters)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng InventoriesApi->inventoriesG
etAll: %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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
The data for an item that can be
shipped
Code:
string
The unique external identifier for the
Inventory entry
Description:
string
Description of the Inventory entry
WarrantyTypeCode:
string
Code of the associated Warranty
Type
InternalCost:
number (double)
Internal Value (Average cost) for the
Inventory (intended for reporting)
InternalCostCurrency:
string
Currency Code associated with the
Internal Value (Average cost)
StandardCost:
number (double)
(Average cost) for the Inventory
StandardCostCurrency:
string
Currency Code associated with the
(Average cost)
InternalCorpCost:
number (double)
Internal Value (Average corp cost)
for the Inventory
InternalCorpCostCurrency:
string
Currency Code associated with the
Internal Value (Average corp cost)
StandardCorpCost:
number (double)
(Average corp cost) for the Inventory
StandardCorpCostCurrency:
string
Currency Code associated with the
(Average corp cost)
AssignedForAllotment:
boolean
Flag indicating whether the Inventory
is under lot control, meaning if lot #
is tracked and required
Family:
string
External code for the 1st and highest
level of product hierarchy
Category:
string
External code for 2nd level of the
product hierarchy
SubCategory:
string
External code for 3rd level of the
product hierarchy
Line:
string
External code for 4th level of the
product hierarchy
Range:
string
External code for 5th level of the
product hierarchy
Brand:
string
An alphanumeric code used to
define an additional characteristic of
a product
Medium:
string
An alphanumeric field used to
identify products communicated in a
certain special space in a catalog
Gender:
string
An alphanumeric field used to define
an additional characteristic of the
product
Type:
string
An alphanumeric field used to define
the type code
CountryOfOrigin:
string
Country Code to allow for optional
import/export cost calculation and
tax reporting based on country of
production vs. country of sale.
Weight:
number (double)
Per item Weight, measured in
WeightUnit
WeightUnit:
string
Unit of measure for Weight
}
]
}

inventoriesGetByCode
Get data for an Inventory entry

/api/Inventories/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
curl -X GET "https://localhost:
44356/api/Inventories/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.In
ventoriesApi;

import java.io.File;

import java.util.*;

public class InventoriesApiExam


ple {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2
OAuth oauth2 = (OAuth)
defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

InventoriesApi apiInsta
nce = new InventoriesApi();

String code = code_exam


ple; // String | The Inventory
Code to retrieve

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

InventoryDto result
= apiInstance.inventoriesGetByC
ode(code, authorization, accept
Language, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Invento
riesApi#inventoriesGetByCode");

e.printStackTrace()
;

import io.swagger.client.api.In
ventoriesApi;

public class InventoriesApiExam


ple {

public static void main(Str


ing[] args) {

InventoriesApi apiInsta
nce = new InventoriesApi();

String code = code_exam


ple; // String | The Inventory
Code to retrieve

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

InventoryDto result
= apiInstance.inventoriesGetByC
ode(code, authorization, accept
Language, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Invento
riesApi#inventoriesGetByCode");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *code = code_example; //
The Inventory Code to retrieve

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

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

// Get data for an Inventory en


try

[apiInstance inventoriesGetByCo
deWith:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(InventoryDto output, NSErro
r* error) {
if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.I


nventoriesApi()
var code = code_example; // {St
ring} The Inventory Code to ret
rieve

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.inventoriesGetByCode(code,
opts, callback);
using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class inventoriesGet


ByCodeExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew InventoriesApi();
var code = code_exa
mple; // String | The Inventor
y Code to retrieve

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get data for


an Inventory entry

InventoryDto re
sult = apiInstance.inventoriesG
etByCode(code, authorization, a
cceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Inventorie
sApi.inventoriesGetByCode: " +
e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\InventoriesApi();

$code = code_example; // String


| The Inventory Code to retriev
e

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->in
ventoriesGetByCode($code, $auth
orization, $acceptLanguage, $ap
iVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g InventoriesApi->inventoriesGe
tByCode: ', $e->getMessage(), P
HP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Invento
riesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::InventoriesApi->new();

my $code = code_example; # Stri


ng | The Inventory Code to retr
ieve

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>inventoriesGetByCode(code => $
code, authorization => $authori
zation, acceptLanguage => $acce
ptLanguage, apiVersion => $apiV
ersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g InventoriesApi->inventoriesGe
tByCode: $@\n";

}
from __future__ import print_st
atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.I
nventoriesApi()

code = code_example # String |


The Inventory Code to retrieve

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)
apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get data for an Inventory


entry

api_response = api_instance
.inventories_get_by_code(code,
authorization=authorization, ac
ceptLanguage=acceptLanguage, ap
iVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng InventoriesApi->inventoriesG
etByCode: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Inventory 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
• Schema

{
The data for an item that can be
shipped
Code:
string
The unique external identifier for the
Inventory entry
Description:
string
Description of the Inventory entry
WarrantyTypeCode:
string
Code of the associated Warranty
Type
InternalCost:
number (double)
Internal Value (Average cost) for the
Inventory (intended for reporting)
InternalCostCurrency:
string
Currency Code associated with the
Internal Value (Average cost)
StandardCost:
number (double)
(Average cost) for the Inventory
StandardCostCurrency:
string
Currency Code associated with the
(Average cost)
InternalCorpCost:
number (double)
Internal Value (Average corp cost)
for the Inventory
InternalCorpCostCurrency:
string
Currency Code associated with the
Internal Value (Average corp cost)
StandardCorpCost:
number (double)
(Average corp cost) for the Inventory
StandardCorpCostCurrency:
string
Currency Code associated with the
(Average corp cost)
AssignedForAllotment:
boolean
Flag indicating whether the Inventory
is under lot control, meaning if lot #
is tracked and required
Family:
string
External code for the 1st and highest
level of product hierarchy
Category:
string
External code for 2nd level of the
product hierarchy
SubCategory:
string
External code for 3rd level of the
product hierarchy
Line:
string
External code for 4th level of the
product hierarchy
Range:
string
External code for 5th level of the
product hierarchy
Brand:
string
An alphanumeric code used to
define an additional characteristic of
a product
Medium:
string
An alphanumeric field used to
identify products communicated in a
certain special space in a catalog
Gender:
string
An alphanumeric field used to define
an additional characteristic of the
product
Type:
string
An alphanumeric field used to define
the type code
CountryOfOrigin:
string
Country Code to allow for optional
import/export cost calculation and
tax reporting based on country of
production vs. country of sale.
Weight:
number (double)
Per item Weight, measured in
WeightUnit
WeightUnit:
string
Unit of measure for Weight
}

inventoriesPatchAsync
Patch an Inventory entry
Provide only the fields to modify,
leaving the others null

/api/Inventories/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Inventories/{code}"
import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.In
ventoriesApi;

import java.io.File;

import java.util.*;

public class InventoriesApiExam


ple {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");
oauth2.setAccessToken("
YOUR ACCESS TOKEN");

InventoriesApi apiInsta
nce = new InventoriesApi();

String code = code_exam


ple; // String | The Inventory
Code of the entry to patch

InventoryPatch inventor
yPatch = ; // InventoryPatch |
The subset of Inventory fields
to patch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.inventoriesPatchAsync(
code, inventoryPatch, authoriza
tion, acceptLanguage, apiVersio
n);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Invento
riesApi#inventoriesPatchAsync")
;

e.printStackTrace()
;

import io.swagger.client.api.In
ventoriesApi;

public class InventoriesApiExam


ple {

public static void main(Str


ing[] args) {

InventoriesApi apiInsta
nce = new InventoriesApi();

String code = code_exam


ple; // String | The Inventory
Code of the entry to patch

InventoryPatch inventor
yPatch = ; // InventoryPatch |
The subset of Inventory fields
to patch

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.inventoriesPatchAsync(
code, inventoryPatch, authoriza
tion, acceptLanguage, apiVersio
n);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Invento
riesApi#inventoriesPatchAsync")
;

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


The Inventory Code of the entry
to patch

InventoryPatch *inventoryPatch
= ; // The subset of Inventory
fields to patch

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

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

// Patch an Inventory entry

[apiInstance inventoriesPatchAs
yncWith:code
inventoryPatch:inventoryPat
ch

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2
var oauth2 = defaultClient.auth
entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.I


nventoriesApi()

var code = code_example; // {St


ring} The Inventory Code of the
entry to patch

var inventoryPatch = ; // {Inve


ntoryPatch} The subset of Inven
tory fields to patch

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.inventoriesPatchAsync(code,
inventoryPatch, opts, callback)
;

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class inventoriesPat


chAsyncExample

{
public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew InventoriesApi();

var code = code_exa


mple; // String | The Inventor
y Code of the entry to patch

var inventoryPatch
= new InventoryPatch(); // Inve
ntoryPatch | The subset of Inve
ntory fields to patch

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)
try

// Patch an Inv
entory entry

Object result =
apiInstance.inventoriesPatchAsy
nc(code, inventoryPatch, author
ization, acceptLanguage, apiVer
sion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Inventorie
sApi.inventoriesPatchAsync: " +
e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\InventoriesApi();

$code = code_example; // String


| The Inventory Code of the ent
ry to patch

$inventoryPatch = ; // Inventor
yPatch | The subset of Inventor
y fields to patch

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->in
ventoriesPatchAsync($code, $inv
entoryPatch, $authorization, $a
cceptLanguage, $apiVersion);

print_r($result);

} catch (Exception $e) {


echo 'Exception when callin
g InventoriesApi->inventoriesPa
tchAsync: ', $e->getMessage(),
PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Invento
riesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::InventoriesApi->new();

my $code = code_example; # Stri


ng | The Inventory Code of the
entry to patch

my $inventoryPatch = WWW::Swagg
erClient::Object::InventoryPatc
h->new(); # InventoryPatch | Th
e subset of Inventory fields to
patch
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>inventoriesPatchAsync(code =>
$code, inventoryPatch => $inven
toryPatch, authorization => $au
thorization, acceptLanguage =>
$acceptLanguage, apiVersion =>
$apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g InventoriesApi->inventoriesPa
tchAsync: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.I
nventoriesApi()

code = code_example # String |


The Inventory Code of the entry
to patch

inventoryPatch = # InventoryPa
tch | The subset of Inventory f
ields to patch

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
try:

# Patch an Inventory entry

api_response = api_instance
.inventories_patch_async(code,
inventoryPatch, authorization=a
uthorization, acceptLanguage=ac
ceptLanguage, apiVersion=apiVer
sion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng InventoriesApi->inventoriesP
atchAsync: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Inventory Code 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

inventoryPatch * InventoryPatch {

The data to Patch an Inventory entry


Description:
Description string maxLength:2000
WarrantyTypeCode:
WarrantyTypeCode string maxLength:50
AssignedForAllotment:
AssignedForAllotment boolean
Brand:
Brand string maxLength:255
Category:
Category string maxLength:255
CountryOfOrigin:
CountryOfOrigin string minLength:2 maxLength:2
Family:
Family string maxLength:255
Gender:
Gender string minLength:2 maxLength:2
Line:
Line string maxLength:255
Medium:
Medium string maxLength:255
Range:
Range string maxLength:255
SubCategory:
SubCategory string maxLength:255
Type:
Type string minLength:2 maxLength:2
Weight:
Weight number (double)
WeightUnit:
WeightUnit string maxLength:50
InternalCost:
MoneyModel {
Money.
Required: Amount,Currency
Amount:
Amount number
Currency:
Currency string
}
StandardCost:
MoneyModel {
Money.
Required: Amount,Currency
Amount:
Amount number
Currency:
Currency string
}
InternalCorpCost:
MoneyModel {
Money.
Required: Amount,Currency
Amount:
Amount number
Currency:
Currency string
}
StandardCorpCost:
MoneyModel {
Money.
Required: Amount,Currency
Amount:
Amount number
Currency:
Currency string
}
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 204 -
NoContent

inventoriesPostAsync
Create an Inventory entry

/api/Inventories

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Inventories"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.In
ventoriesApi;

import java.io.File;

import java.util.*;

public class InventoriesApiExam


ple {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

InventoriesApi apiInsta
nce = new InventoriesApi();

InventoryDto inventory
= ; // InventoryDto | The {Inve
ntory} data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.inventoriesPostAsync(i
nventory, authorization, accept
Language, apiVersion);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Invento
riesApi#inventoriesPostAsync");

e.printStackTrace()
;

import io.swagger.client.api.In
ventoriesApi;

public class InventoriesApiExam


ple {

public static void main(Str


ing[] args) {

InventoriesApi apiInsta
nce = new InventoriesApi();

InventoryDto inventory
= ; // InventoryDto | The {Inve
ntory} data to create

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.inventoriesPostAsync(i
nventory, authorization, accept
Language, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Invento
riesApi#inventoriesPostAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

InventoryDto *inventory = ; //
The {Inventory} data to create

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

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

// Create an Inventory entry

[apiInstance inventoriesPostAsy
ncWith:inventory

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.I


nventoriesApi()
var inventory = ; // {Inventory
Dto} The {Inventory} data to cr
eate

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.inventoriesPostAsync(invent
ory, opts, callback);
using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class inventoriesPos


tAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew InventoriesApi();

var inventory = new


InventoryDto(); // InventoryDto
| The {Inventory} data to creat
e

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create an In
ventory entry

Object result =
apiInstance.inventoriesPostAsyn
c(inventory, authorization, acc
eptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Inventorie
sApi.inventoriesPostAsync: " +
e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\InventoriesApi();

$inventory = ; // InventoryDto
| The {Inventory} data to creat
e

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->in
ventoriesPostAsync($inventory,
$authorization, $acceptLanguage
, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g InventoriesApi->inventoriesPo
stAsync: ', $e->getMessage(), P
HP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Invento
riesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::InventoriesApi->new();

my $inventory = WWW::SwaggerCli
ent::Object::InventoryDto->new(
); # InventoryDto | The {Invent
ory} data to create

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>inventoriesPostAsync(inventory
=> $inventory, authorization =>
$authorization, acceptLanguage
=> $acceptLanguage, apiVersion
=> $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g InventoriesApi->inventoriesPo
stAsync: $@\n";
}

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.I
nventoriesApi()

inventory = # InventoryDto | T
he {Inventory} data to create

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)
apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create an Inventory entry

api_response = api_instance
.inventories_post_async(invento
ry, authorization=authorization
, acceptLanguage=acceptLanguage
, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng InventoriesApi->inventoriesP
ostAsync: %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

inventory * {

The data for an item that can be shipped


Code:
string
The unique external identifier for the Inventory entry
Description:
string
Description of the Inventory entry
WarrantyTypeCode:
string
Code of the associated Warranty Type
InternalCost:
number (double)
Internal Value (Average cost) for the Inventory (intended for
reporting)
InternalCostCurrency:
string
Currency Code associated with the Internal Value (Average
cost)
StandardCost:
number (double)
(Average cost) for the Inventory
StandardCostCurrency:
string
Currency Code associated with the (Average cost)
InternalCorpCost:
number (double)
Internal Value (Average corp cost) for the Inventory
InternalCorpCostCurrency:
string
Currency Code associated with the Internal Value (Average
corp cost)
StandardCorpCost:
number (double)
(Average corp cost) for the Inventory
StandardCorpCostCurrency:
string
Currency Code associated with the (Average corp cost)
AssignedForAllotment:
boolean
Flag indicating whether the Inventory is under lot control,
meaning if lot # is tracked and required
Family:
string
External code for the 1st and highest level of product hierarchy
Category:
string
External code for 2nd level of the product hierarchy
SubCategory:
string
External code for 3rd level of the product hierarchy
Line:
string
External code for 4th level of the product hierarchy
Range:
string
External code for 5th level of the product hierarchy
Brand:
string
An alphanumeric code used to define an additional
characteristic of a product
Medium:
string
An alphanumeric field used to identify products communicated
in a certain special space in a catalog
Gender:
string
An alphanumeric field used to define an additional
characteristic of the product
Type:
string
An alphanumeric field used to define the type code
CountryOfOrigin:
string
Country Code to allow for optional import/export cost
calculation and tax reporting based on country of production
vs. country of sale.
Weight:
number (double)
Per item Weight, measured in WeightUnit
WeightUnit:
string
Unit of measure for Weight
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

Lineages

lineagesGetAll
Get data for Lineage entries

/api/Lineages

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Lineages?pageNumber=&
pageSize=&sortType=&culture=&fi
lters="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Li
neagesApi;

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

public class LineagesApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

LineagesApi apiInstance
= new LineagesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0
String sortType = sortT
ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.LineageDtoLink result =
apiInstance.lineagesGetAll(page
Number, pageSize, sortType, aut
horization, acceptLanguage, api
Version, culture, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Li
neagesApi;
public class LineagesApiExample
{

public static void main(Str


ing[] args) {

LineagesApi apiInstance
= new LineagesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.LineageDtoLink result =
apiInstance.lineagesGetAll(page
Number, pageSize, sortType, aut
horization, acceptLanguage, api
Version, culture, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)
Integer *pageSize = 56; // Page
Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

LineagesApi *apiInstance = [[Li


neagesApi alloc] init];

// Get data for Lineage entries

[apiInstance lineagesGetAllWith
:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

filters:filters
completionHandler
: ^(HateoasCollectionResponse.L
ineageDtoLink output, NSError*
error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.L
ineagesApi()

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example, /
/ {String} Culture, not require
d, but if present, it must be a
valid culture. If not specified
,
the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc
cessfully. Returned data: ' + d
ata);

};

api.lineagesGetAll(pageNumber,
pageSize, sortType, opts, callb
ack);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class lineagesGetAll


Example

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew LineagesApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,
the defa
ult culture will be used. (opti
onal) (default to en-US)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get data for


Lineage entries
HateoasCollecti
onResponse.LineageDtoLink resul
t = apiInstance.lineagesGetAll(
pageNumber, pageSize, sortType,
authorization, acceptLanguage,
apiVersion, culture, filters);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling LineagesAp
i.lineagesGetAll: " + e.Message
);

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\LineagesApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->li
neagesGetAll($pageNumber, $page
Size, $sortType, $authorization
, $acceptLanguage, $apiVersion,
$culture, $filters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g LineagesApi->lineagesGetAll:
', $e->getMessage(), PHP_EOL;

?>
use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Lineage
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::LineagesApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {
my $result = $api_instance-
>lineagesGetAll(pageNumber => $
pageNumber, pageSize => $pageSi
ze, sortType => $sortType, auth
orization => $authorization, ac
ceptLanguage => $acceptLanguage
, apiVersion => $apiVersion, cu
lture => $culture, filters => $
filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g LineagesApi->lineagesGetAll:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.L
ineagesApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
filters = filters_example # Str
ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get data for Lineage entr


ies

api_response = api_instance
.lineages_get_all(pageNumber, p
ageSize, sortType, authorizatio
n=authorization, acceptLanguage
=acceptLanguage, apiVersion=api
Version, culture=culture, filte
rs=filters)
pprint(api_response)

except ApiException as e:

print("Exception when calli


ng LineagesApi->lineagesGetAll:
%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

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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
LineageDto with Hateos Link
property.
Link:
string
Link to full lineage information.
Code:
string
Code.
Description:
string
Description
Enrolling:
boolean
Flag for enrolling lineage
EnrollingLineage:
string
The enrolling lineage associated with
this lineage, may be null. If set, this
lineage is used when processing
holding tanks and autoplacement.
RootActivityCenter:
string
The activity center at the root of the
lineage.
MaxWidth:
integer (int32)
Maximum width of the first level
downline, or -1 if there is no limit.
RootMaxWidth:
integer (int32)
Maximum width of the root node
downline, or -1 if there is no limit.
TerminateInPlace:
boolean
Flag indicating terminated activity
centers do not alter sponsorship
}
]
}

lineagesGetLineageByCo

de
Get data for a lineage entry
/api/Lineages/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Lineages/{code}?cultu
re="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Li
neagesApi;

import java.io.File;

import java.util.*;
public class LineagesApiExample
{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

LineagesApi apiInstance
= new LineagesApi();

String code = code_exam


ple; // String | The Lineage Co
de to retrieve

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

LineageDto result =
apiInstance.lineagesGetLineageB
yCode(code, authorization, acce
ptLanguage, apiVersion, culture
);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesGetLineageByCode")
;

e.printStackTrace()
;

}
import io.swagger.client.api.Li
neagesApi;

public class LineagesApiExample


{

public static void main(Str


ing[] args) {

LineagesApi apiInstance
= new LineagesApi();

String code = code_exam


ple; // String | The Lineage Co
de to retrieve

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {
LineageDto result =
apiInstance.lineagesGetLineageB
yCode(code, authorization, acce
ptLanguage, apiVersion, culture
);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesGetLineageByCode")
;

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


The Lineage Code to retrieve
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

LineagesApi *apiInstance = [[Li


neagesApi alloc] init];

// Get data for a lineage entry

[apiInstance lineagesGetLineage
ByCodeWith:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture
completionHandler
: ^(LineageDto output, NSError*
error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.L
ineagesApi()

var code = code_example; // {St


ring} The Lineage Code to retri
eve

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);
} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.lineagesGetLineageByCode(co
de, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class lineagesGetLin


eageByCodeExample

public void main()

{
// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew LineagesApi();

var code = code_exa


mple; // String | The Lineage
Code to retrieve

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
try

// Get data for


a lineage entry

LineageDto resu
lt = apiInstance.lineagesGetLin
eageByCode(code, authorization,
acceptLanguage, apiVersion, cul
ture);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling LineagesAp
i.lineagesGetLineageByCode: " +
e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\LineagesApi();

$code = code_example; // String


| The Lineage Code to retrieve

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->li
neagesGetLineageByCode($code, $
authorization, $acceptLanguage,
$apiVersion, $culture);
print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g LineagesApi->lineagesGetLinea
geByCode: ', $e->getMessage(),
PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Lineage
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::LineagesApi->new();

my $code = code_example; # Stri


ng | The Lineage Code to retrie
ve

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>lineagesGetLineageByCode(code
=> $code, authorization => $aut
horization, acceptLanguage => $
acceptLanguage, apiVersion => $
apiVersion, culture => $culture
);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g LineagesApi->lineagesGetLinea
geByCode: $@\n";

from __future__ import print_st


atement
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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.L
ineagesApi()

code = code_example # String |


The Lineage Code to retrieve

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
culture = culture_example # Str
ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get data for a lineage en


try

api_response = api_instance
.lineages_get_lineage_by_code(c
ode, authorization=authorizatio
n, acceptLanguage=acceptLanguag
e, apiVersion=apiVersion, cultu
re=culture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng LineagesApi->lineagesGetLine
ageByCode: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Lineage Code to retrieve


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
• Schema

{
LineageDto.
Code:
string
Code.
Description:
string
Description
Enrolling:
boolean
Flag for enrolling lineage
EnrollingLineage:
string
The enrolling lineage associated with
this lineage, may be null. If set, this
lineage is used when processing
holding tanks and autoplacement.
RootActivityCenter:
string
The activity center at the root of the
lineage.
MaxWidth:
integer (int32)
Maximum width of the first level
downline, or -1 if there is no limit.
RootMaxWidth:
integer (int32)
Maximum width of the root node
downline, or -1 if there is no limit.
TerminateInPlace:
boolean
Flag indicating terminated activity
centers do not alter sponsorship
}

lineagesGetLineagesByA

ccount
Get data for Lineage entries of a
specific Account

/api/Accounts/{accountCode}/Lin
eages

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Accounts/{accountCode
}/Lineages"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Li
neagesApi;
import java.io.File;

import java.util.*;

public class LineagesApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

LineagesApi apiInstance
= new LineagesApi();

String accountCode = ac
countCode_example; // String |
The Account Code.

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

CollectionResponse.
LineageAccountLinksDto result =
apiInstance.lineagesGetLineages
ByAccount(accountCode, authoriz
ation, acceptLanguage, apiVersi
on);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesGetLineagesByAccou
nt");

e.printStackTrace()
;

import io.swagger.client.api.Li
neagesApi;
public class LineagesApiExample
{

public static void main(Str


ing[] args) {

LineagesApi apiInstance
= new LineagesApi();

String accountCode = ac
countCode_example; // String |
The Account Code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

CollectionResponse.
LineageAccountLinksDto result =
apiInstance.lineagesGetLineages
ByAccount(accountCode, authoriz
ation, acceptLanguage, apiVersi
on);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Lineage
sApi#lineagesGetLineagesByAccou
nt");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // The Account Code
.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)
String *apiVersion = apiVersion
_example; // Api-Version (optio
nal) (default to 1.0)

LineagesApi *apiInstance = [[Li


neagesApi alloc] init];

// Get data for Lineage entries


of a specific Account

[apiInstance lineagesGetLineage
sByAccountWith:accountCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(CollectionResponse.LineageA
ccountLinksDto output, NSError*
error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);


}

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.L


ineagesApi()

var accountCode = accountCode_e


xample; // {String} The Account
Code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.lineagesGetLineagesByAccoun
t(accountCode, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class lineagesGetLin


eagesByAccountExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew LineagesApi();

var accountCode = a
ccountCode_example; // String
| The Account Code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get data for


Lineage entries of a specific A
ccount

CollectionRespo
nse.LineageAccountLinksDto resu
lt = apiInstance.lineagesGetLin
eagesByAccount(accountCode, aut
horization, acceptLanguage, api
Version);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling LineagesAp
i.lineagesGetLineagesByAccount:
" + e.Message );

}
<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\LineagesApi();

$accountCode = accountCode_exam
ple; // String | The Account Co
de.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->li
neagesGetLineagesByAccount($acc
ountCode, $authorization, $acce
ptLanguage, $apiVersion);
print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g LineagesApi->lineagesGetLinea
gesByAccount: ', $e->getMessage
(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Lineage
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::LineagesApi->new();

my $accountCode = accountCode_e
xample; # String | The Account
Code.

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>lineagesGetLineagesByAccount(a
ccountCode => $accountCode, aut
horization => $authorization, a
cceptLanguage => $acceptLanguag
e, apiVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g LineagesApi->lineagesGetLinea
gesByAccount: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.L
ineagesApi()

accountCode = accountCode_examp
le # String | The Account Code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get data for Lineage entr


ies of a specific Account

api_response = api_instance
.lineages_get_lineages_by_accou
nt(accountCode, authorization=a
uthorization, acceptLanguage=ac
ceptLanguage, apiVersion=apiVer
sion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng LineagesApi->lineagesGetLine
agesByAccount: %s\n" % e)

Parameters
Path parameters
Name Description

accountCode* String

The Account Code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version
Responses

Status: 200 - OK
• Schema

{
Collection response to be used by
Mediator
TotalCount:
integer (int32)
Total count
Items:
[
Items
{
LineageAccountLinksDto.
Lineage:
string
Lineage Code.
LineageLink:
string
Link to lineage information.
DownlineLink:
string
Link to downline Sponsor
information.
UplineLink:
string
Link to upline Sponsor information.
}
]
}
lineagesGetSponsorsByA

ccountDownline
Get data for Sponsor entries of a
specific Account in the specified
Lineage

/api/Accounts/{accountCode}/Lin
eages/{lineageCode}/Downline

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Accounts/{accountCode
}/Lineages/{lineageCode}/Downli
ne?pageNumber=&pageSize=&sortTy
pe="

import io.swagger.client.*;
import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Li
neagesApi;

import java.io.File;

import java.util.*;

public class LineagesApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");
LineagesApi apiInstance
= new LineagesApi();

String accountCode = ac
countCode_example; // String |
The Account Code.

String lineageCode = li
neageCode_example; // String |
The Lineage Code.

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.SponsorLinksDto result =
apiInstance.lineagesGetSponsors
ByAccountDownline(accountCode,
lineageCode, pageNumber, pageSi
ze, sortType, authorization, ac
ceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesGetSponsorsByAccou
ntDownline");

e.printStackTrace()
;

import io.swagger.client.api.Li
neagesApi;

public class LineagesApiExample


{

public static void main(Str


ing[] args) {

LineagesApi apiInstance
= new LineagesApi();
String accountCode = ac
countCode_example; // String |
The Account Code.

String lineageCode = li
neageCode_example; // String |
The Lineage Code.

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.SponsorLinksDto result =
apiInstance.lineagesGetSponsors
ByAccountDownline(accountCode,
lineageCode, pageNumber, pageSi
ze, sortType, authorization, ac
ceptLanguage, apiVersion);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesGetSponsorsByAccou
ntDownline");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // The Account Code
.

String *lineageCode = lineageCo


de_example; // The Lineage Code
.
Integer *pageNumber = 56; // Pa
geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

LineagesApi *apiInstance = [[Li


neagesApi alloc] init];

// Get data for Sponsor entries


of a specific Account in the sp
ecified Lineage

[apiInstance lineagesGetSponsor
sByAccountDownlineWith:accountC
ode

lineageCode:lineageCode
pageNumber:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(HateoasCollectionResponse.S
ponsorLinksDto output, NSError*
error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;
// Configure OAuth2 access toke
n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.L


ineagesApi()

var accountCode = accountCode_e


xample; // {String} The Account
Code.

var lineageCode = lineageCode_e


xample; // {String} The Lineage
Code.

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.lineagesGetSponsorsByAccoun
tDownline(accountCode, lineageC
ode, pageNumber, pageSize, sort
Type, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class lineagesGetSpo


nsorsByAccountDownlineExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew LineagesApi();
var accountCode = a
ccountCode_example; // String
| The Account Code.

var lineageCode = l
ineageCode_example; // String
| The Lineage Code.

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

{
// Get data for
Sponsor entries of a specific A
ccount in the specified Lineage

HateoasCollecti
onResponse.SponsorLinksDto resu
lt = apiInstance.lineagesGetSpo
nsorsByAccountDownline(accountC
ode, lineageCode, pageNumber, p
ageSize, sortType, authorizatio
n, acceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling LineagesAp
i.lineagesGetSponsorsByAccountD
ownline: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\LineagesApi();

$accountCode = accountCode_exam
ple; // String | The Account Co
de.

$lineageCode = lineageCode_exam
ple; // String | The Lineage Co
de.

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version
try {

$result = $api_instance->li
neagesGetSponsorsByAccountDownl
ine($accountCode, $lineageCode,
$pageNumber, $pageSize, $sortTy
pe, $authorization, $acceptLang
uage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g LineagesApi->lineagesGetSpons
orsByAccountDownline: ', $e->ge
tMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Lineage
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::LineagesApi->new();

my $accountCode = accountCode_e
xample; # String | The Account
Code.

my $lineageCode = lineageCode_e
xample; # String | The Lineage
Code.

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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>lineagesGetSponsorsByAccountDo
wnline(accountCode => $accountC
ode, lineageCode => $lineageCod
e, pageNumber => $pageNumber, p
ageSize => $pageSize, sortType
=> $sortType, authorization =>
$authorization, acceptLanguage
=> $acceptLanguage, apiVersion
=> $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g LineagesApi->lineagesGetSpons
orsByAccountDownline: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.L
ineagesApi()

accountCode = accountCode_examp
le # String | The Account Code.

lineageCode = lineageCode_examp
le # String | The Lineage Code.

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:
# Get data for Sponsor entr
ies of a specific Account in th
e specified Lineage

api_response = api_instance
.lineages_get_sponsors_by_accou
nt_downline(accountCode, lineag
eCode, pageNumber, pageSize, so
rtType, authorization=authoriza
tion, acceptLanguage=acceptLang
uage, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng LineagesApi->lineagesGetSpon
sorsByAccountDownline: %s\n" %
e)

Parameters
Path parameters
Name Description

accountCode* String

The Account Code.

Required

lineageCode* String

The Lineage Code.

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

Responses
Status: 200 - OK
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
LineageAccountLinksDto.
Account:
string
Account Code.
AccountLink:
string
Link to account information.
DownlineLink:
string
Link to downline Sponsor
information.
UplineLink:
string
Link to upline Sponsor information.
}
]
}

lineagesGetSponsorsByA

ccountUpline
Get data for Sponsor entry of a
specific Account in the specified
Lineage

/api/Accounts/{accountCode}/Lin
eages/{lineageCode}/Upline

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Accounts/{accountCode
}/Lineages/{lineageCode}/Upline
"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Li
neagesApi;

import java.io.File;

import java.util.*;

public class LineagesApiExample


{

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

LineagesApi apiInstance
= new LineagesApi();

String accountCode = ac
countCode_example; // String |
The Account Code.

String lineageCode = li
neageCode_example; // String |
The Lineage Code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
SponsorLinksDto res
ult = apiInstance.lineagesGetSp
onsorsByAccountUpline(accountCo
de, lineageCode, authorization,
acceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesGetSponsorsByAccou
ntUpline");

e.printStackTrace()
;

import io.swagger.client.api.Li
neagesApi;

public class LineagesApiExample


{

public static void main(Str


ing[] args) {

LineagesApi apiInstance
= new LineagesApi();
String accountCode = ac
countCode_example; // String |
The Account Code.

String lineageCode = li
neageCode_example; // String |
The Lineage Code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

SponsorLinksDto res
ult = apiInstance.lineagesGetSp
onsorsByAccountUpline(accountCo
de, lineageCode, authorization,
acceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesGetSponsorsByAccou
ntUpline");

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // The Account Code
.

String *lineageCode = lineageCo


de_example; // The Lineage Code
.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)
LineagesApi *apiInstance = [[Li
neagesApi alloc] init];

// Get data for Sponsor entry o


f a specific Account in the spe
cified Lineage

[apiInstance lineagesGetSponsor
sByAccountUplineWith:accountCod
e

lineageCode:lineageCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(SponsorLinksDto output, NSE
rror* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}
}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.L


ineagesApi()

var accountCode = accountCode_e


xample; // {String} The Account
Code.

var lineageCode = lineageCode_e


xample; // {String} The Lineage
Code.

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.lineagesGetSponsorsByAccoun
tUpline(accountCode, lineageCod
e, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;
using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class lineagesGetSpo


nsorsByAccountUplineExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew LineagesApi();

var accountCode = a
ccountCode_example; // String
| The Account Code.

var lineageCode = l
ineageCode_example; // String
| The Lineage Code.
var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get data for


Sponsor entry of a specific Acc
ount in the specified Lineage

SponsorLinksDto
result = apiInstance.lineagesGe
tSponsorsByAccountUpline(accoun
tCode, lineageCode, authorizati
on, acceptLanguage, apiVersion)
;

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling LineagesAp
i.lineagesGetSponsorsByAccountU
pline: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\LineagesApi();

$accountCode = accountCode_exam
ple; // String | The Account Co
de.

$lineageCode = lineageCode_exam
ple; // String | The Lineage Co
de.

$authorization = authorization_
example; // String | access tok
en
$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->li
neagesGetSponsorsByAccountUplin
e($accountCode, $lineageCode, $
authorization, $acceptLanguage,
$apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g LineagesApi->lineagesGetSpons
orsByAccountUpline: ', $e->getM
essage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Lineage
sApi;

# Configure OAuth2 access token


for authorization: oauth2
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::LineagesApi->new();

my $accountCode = accountCode_e
xample; # String | The Account
Code.

my $lineageCode = lineageCode_e
xample; # String | The Lineage
Code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>lineagesGetSponsorsByAccountUp
line(accountCode => $accountCod
e, lineageCode => $lineageCode,
authorization => $authorization
, acceptLanguage => $acceptLang
uage, apiVersion => $apiVersion
);

print Dumper($result);
};

if ($@) {

warn "Exception when callin


g LineagesApi->lineagesGetSpons
orsByAccountUpline: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.L
ineagesApi()

accountCode = accountCode_examp
le # String | The Account Code.
lineageCode = lineageCode_examp
le # String | The Lineage Code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get data for Sponsor entr


y of a specific Account in the
specified Lineage

api_response = api_instance
.lineages_get_sponsors_by_accou
nt_upline(accountCode, lineageC
ode, authorization=authorizatio
n, acceptLanguage=acceptLanguag
e, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng LineagesApi->lineagesGetSpon
sorsByAccountUpline: %s\n" % e)

Parameters
Path parameters
Name Description

accountCode* String

The Account Code.

Required

lineageCode* String

The Lineage Code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema

{
LineageAccountLinksDto.
Account:
string
Account Code.
AccountLink:
string
Link to account information.
DownlineLink:
string
Link to downline Sponsor
information.
UplineLink:
string
Link to upline Sponsor information.
}

lineagesPatchSponsorAs

ync
Change a Lineage sponsorship entry

/api/Accounts/{accountCode}/Lin
eages/{lineageCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Accounts/{accountCo
de}/Lineages/{lineageCode}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Li
neagesApi;

import java.io.File;

import java.util.*;

public class LineagesApiExample


{

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

LineagesApi apiInstance
= new LineagesApi();

String accountCode = ac
countCode_example; // String |
The account code

String lineageCode = li
neageCode_example; // String |
The lineage to join

LineageAccountPatchDto
lineageAccountPatch = ; // Line
ageAccountPatchDto | The {Linea
geAccountPatchDto} data to crea
te

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.lineagesPatchSponsorAs
ync(accountCode, lineageCode, l
ineageAccountPatch, authorizati
on, acceptLanguage, apiVersion)
;

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesPatchSponsorAsync"
);

e.printStackTrace()
;

import io.swagger.client.api.Li
neagesApi;

public class LineagesApiExample


{
public static void main(Str
ing[] args) {

LineagesApi apiInstance
= new LineagesApi();

String accountCode = ac
countCode_example; // String |
The account code

String lineageCode = li
neageCode_example; // String |
The lineage to join

LineageAccountPatchDto
lineageAccountPatch = ; // Line
ageAccountPatchDto | The {Linea
geAccountPatchDto} data to crea
te

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.lineagesPatchSponsorAs
ync(accountCode, lineageCode, l
ineageAccountPatch, authorizati
on, acceptLanguage, apiVersion)
;

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesPatchSponsorAsync"
);

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // The account code

String *lineageCode = lineageCo


de_example; // The lineage to j
oin

LineageAccountPatchDto *lineage
AccountPatch = ; // The {Lineag
eAccountPatchDto} data to creat
e
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

LineagesApi *apiInstance = [[Li


neagesApi alloc] init];

// Change a Lineage sponsorship


entry

[apiInstance lineagesPatchSpons
orAsyncWith:accountCode

lineageCode:lineageCode

lineageAccountPatch:lineage
AccountPatch

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.L


ineagesApi()
var accountCode = accountCode_e
xample; // {String} The account
code

var lineageCode = lineageCode_e


xample; // {String} The lineage
to join

var lineageAccountPatch = ; //
{LineageAccountPatchDto} The {L
ineageAccountPatchDto} data to
create

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);
} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.lineagesPatchSponsorAsync(a
ccountCode, lineageCode, lineag
eAccountPatch, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class lineagesPatchS


ponsorAsyncExample

public void main()

{
// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew LineagesApi();

var accountCode = a
ccountCode_example; // String
| The account code

var lineageCode = l
ineageCode_example; // String
| The lineage to join

var lineageAccountP
atch = new LineageAccountPatchD
to(); // LineageAccountPatchDto
| The {LineageAccountPatchDto}
data to create

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)
try

// Change a Lin
eage sponsorship entry

Object result =
apiInstance.lineagesPatchSponso
rAsync(accountCode, lineageCode
, lineageAccountPatch, authoriz
ation, acceptLanguage, apiVersi
on);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling LineagesAp
i.lineagesPatchSponsorAsync: "
+ e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\LineagesApi();

$accountCode = accountCode_exam
ple; // String | The account co
de

$lineageCode = lineageCode_exam
ple; // String | The lineage to
join

$lineageAccountPatch = ; // Lin
eageAccountPatchDto | The {Line
ageAccountPatchDto} data to cre
ate

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->li
neagesPatchSponsorAsync($accoun
tCode, $lineageCode, $lineageAc
countPatch, $authorization, $ac
ceptLanguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g LineagesApi->lineagesPatchSpo
nsorAsync: ', $e->getMessage(),
PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Lineage
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::LineagesApi->new();

my $accountCode = accountCode_e
xample; # String | The account
code
my $lineageCode = lineageCode_e
xample; # String | The lineage
to join

my $lineageAccountPatch = WWW::
SwaggerClient::Object::LineageA
ccountPatchDto->new(); # Lineag
eAccountPatchDto | The {Lineage
AccountPatchDto} data to create

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>lineagesPatchSponsorAsync(acco
untCode => $accountCode, lineag
eCode => $lineageCode, lineageA
ccountPatch => $lineageAccountP
atch, authorization => $authori
zation, acceptLanguage => $acce
ptLanguage, apiVersion => $apiV
ersion);

print Dumper($result);

};

if ($@) {
warn "Exception when callin
g LineagesApi->lineagesPatchSpo
nsorAsync: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.L
ineagesApi()

accountCode = accountCode_examp
le # String | The account code

lineageCode = lineageCode_examp
le # String | The lineage to jo
in
lineageAccountPatch = # Lineag
eAccountPatchDto | The {Lineage
AccountPatchDto} data to create

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Change a Lineage sponsors


hip entry

api_response = api_instance
.lineages_patch_sponsor_async(a
ccountCode, lineageCode, lineag
eAccountPatch, authorization=au
thorization, acceptLanguage=acc
eptLanguage, apiVersion=apiVers
ion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng LineagesApi->lineagesPatchSp
onsorAsync: %s\n" % e)

Parameters
Path parameters
Name Description

accountCode* String

The account code

Required

lineageCode* String

The lineage to join

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

lineageAccountPatch LineageAccountPatchDto {
*
LineageAccountPatchDto for APIs that will change a
Sponsor.
Required: Sponsor
Sponsor:
Sponsor string minLength:1 maxLength:50
}

Responses

Status: 200 - OK
• Schema

{
}

lineagesPostSponsorAsy

nc
Create a Lineage sponsorship entry

/api/Accounts/{accountCode}/Lin
eages/{lineageCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Accounts/{accountCod
e}/Lineages/{lineageCode}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Li
neagesApi;

import java.io.File;

import java.util.*;

public class LineagesApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

LineagesApi apiInstance
= new LineagesApi();

String accountCode = ac
countCode_example; // String |
The account code

String lineageCode = li
neageCode_example; // String |
The lineage to join

LineageAccountPostDto l
ineageAccountPost = ; // Lineag
eAccountPostDto | The {LineageA
ccountPostDto} data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
Object result = api
Instance.lineagesPostSponsorAsy
nc(accountCode, lineageCode, li
neageAccountPost, authorization
, acceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesPostSponsorAsync")
;

e.printStackTrace()
;

import io.swagger.client.api.Li
neagesApi;

public class LineagesApiExample


{

public static void main(Str


ing[] args) {

LineagesApi apiInstance
= new LineagesApi();
String accountCode = ac
countCode_example; // String |
The account code

String lineageCode = li
neageCode_example; // String |
The lineage to join

LineageAccountPostDto l
ineageAccountPost = ; // Lineag
eAccountPostDto | The {LineageA
ccountPostDto} data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.lineagesPostSponsorAsy
nc(accountCode, lineageCode, li
neageAccountPost, authorization
, acceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Lineage
sApi#lineagesPostSponsorAsync")
;
e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // The account code

String *lineageCode = lineageCo


de_example; // The lineage to j
oin

LineageAccountPostDto *lineageA
ccountPost = ; // The {LineageA
ccountPostDto} data to create

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)
String *apiVersion = apiVersion
_example; // Api-Version (optio
nal) (default to 1.0)

LineagesApi *apiInstance = [[Li


neagesApi alloc] init];

// Create a Lineage sponsorship


entry

[apiInstance lineagesPostSponso
rAsyncWith:accountCode

lineageCode:lineageCode

lineageAccountPost:lineageA
ccountPost

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {
NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.L


ineagesApi()

var accountCode = accountCode_e


xample; // {String} The account
code

var lineageCode = lineageCode_e


xample; // {String} The lineage
to join
var lineageAccountPost = ; // {
LineageAccountPostDto} The {Lin
eageAccountPostDto} data to cre
ate

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};
api.lineagesPostSponsorAsync(ac
countCode, lineageCode, lineage
AccountPost, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class lineagesPostSp


onsorAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew LineagesApi();

var accountCode = a
ccountCode_example; // String
| The account code

var lineageCode = l
ineageCode_example; // String
| The lineage to join

var lineageAccountP
ost = new LineageAccountPostDto
(); // LineageAccountPostDto |
The {LineageAccountPostDto} dat
a to create

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a Lin
eage sponsorship entry

Object result =
apiInstance.lineagesPostSponsor
Async(accountCode, lineageCode,
lineageAccountPost, authorizati
on, acceptLanguage, apiVersion)
;

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling LineagesAp
i.lineagesPostSponsorAsync: " +
e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\LineagesApi();

$accountCode = accountCode_exam
ple; // String | The account co
de

$lineageCode = lineageCode_exam
ple; // String | The lineage to
join

$lineageAccountPost = ; // Line
ageAccountPostDto | The {Lineag
eAccountPostDto} data to create

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->li
neagesPostSponsorAsync($account
Code, $lineageCode, $lineageAcc
ountPost, $authorization, $acce
ptLanguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g LineagesApi->lineagesPostSpon
sorAsync: ', $e->getMessage(),
PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Lineage
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::LineagesApi->new();

my $accountCode = accountCode_e
xample; # String | The account
code

my $lineageCode = lineageCode_e
xample; # String | The lineage
to join

my $lineageAccountPost = WWW::S
waggerClient::Object::LineageAc
countPostDto->new(); # LineageA
ccountPostDto | The {LineageAcc
ountPostDto} data to create
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>lineagesPostSponsorAsync(accou
ntCode => $accountCode, lineage
Code => $lineageCode, lineageAc
countPost => $lineageAccountPos
t, authorization => $authorizat
ion, acceptLanguage => $acceptL
anguage, apiVersion => $apiVers
ion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g LineagesApi->lineagesPostSpon
sorAsync: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.L
ineagesApi()

accountCode = accountCode_examp
le # String | The account code

lineageCode = lineageCode_examp
le # String | The lineage to jo
in

lineageAccountPost = # Lineage
AccountPostDto | The {LineageAc
countPostDto} data to create

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)
apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a Lineage sponsors


hip entry

api_response = api_instance
.lineages_post_sponsor_async(ac
countCode, lineageCode, lineage
AccountPost, authorization=auth
orization, acceptLanguage=accep
tLanguage, apiVersion=apiVersio
n)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng LineagesApi->lineagesPostSpo
nsorAsync: %s\n" % e)

Parameters
Path parameters
Name Description

accountCode* String

The account code

Required

lineageCode* String
The lineage to join

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

lineageAccountPost LineageAccountPostDto {
*
LineageAccountPostDto for APIs that will add a Sponsor.
Required: Sponsor
Sponsor:
Sponsor string minLength:1 maxLength:50
}

Responses

Status: 200 - OK
• Schema

{
}
Offers

offersGetAll
Get all offers

/api/Offers

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Offers?pageNumber=&pa
geSize=&sortType="

import io.swagger.client.*;

import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;

import io.swagger.client.api.Of
fersApi;

import java.io.File;

import java.util.*;

public class OffersApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

OffersApi apiInstance =
new OffersApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.OfferDto result = apiIns
tance.offersGetAll(pageNumber,
pageSize, sortType, authorizati
on, acceptLanguage, apiVersion)
;

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling OffersA
pi#offersGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Of
fersApi;

public class OffersApiExample {

public static void main(Str


ing[] args) {

OffersApi apiInstance =
new OffersApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.OfferDto result = apiIns
tance.offersGetAll(pageNumber,
pageSize, sortType, authorizati
on, acceptLanguage, apiVersion)
;

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling OffersA
pi#offersGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

OffersApi *apiInstance = [[Offe


rsApi alloc] init];
// Get all offers

[apiInstance offersGetAllWith:p
ageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(HateoasCollectionResponse.O
fferDto output, NSError* error)
{

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.O


ffersApi()

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'
var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.offersGetAll(pageNumber, pa
geSize, sortType, opts, callbac
k);

using System;

using System.Diagnostics;
using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class offersGetAllEx


ample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew OffersApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)
var pageSize = 56;
// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get all offe


rs

HateoasCollecti
onResponse.OfferDto result = ap
iInstance.offersGetAll(pageNumb
er, pageSize, sortType, authori
zation, acceptLanguage, apiVers
ion);

Debug.WriteLine
(result);
}

catch (Exception e)

Debug.Print("Ex
ception when calling OffersApi.
offersGetAll: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\OffersApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0
$pageSize = 56; // Integer | Pa
geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->of
fersGetAll($pageNumber, $pageSi
ze, $sortType, $authorization,
$acceptLanguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g OffersApi->offersGetAll: ', $
e->getMessage(), PHP_EOL;

?>

use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::OffersA
pi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::OffersApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
eval {

my $result = $api_instance-
>offersGetAll(pageNumber => $pa
geNumber, pageSize => $pageSize
, sortType => $sortType, author
ization => $authorization, acce
ptLanguage => $acceptLanguage,
apiVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g OffersApi->offersGetAll: $@\n
";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.O
ffersApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:
# Get all offers

api_response = api_instance
.offers_get_all(pageNumber, pag
eSize, sortType, authorization=
authorization, acceptLanguage=a
cceptLanguage, apiVersion=apiVe
rsion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng OffersApi->offersGetAll: %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
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

Responses

Status: 200 - OK
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Offer
ActivityCenter:
string
Activity center
Code:
string
Code
Country:
string
Country
Currency:
string
Currency
Product:
string
Product
StartDate:
string (date-time)
Start date
EndDate:
string (date-time)
End date
PriceType:
string
Price type
Price:
number (double)
Price
TaxBase:
number (double)
Tax base
CreditBase:
number (double)
Credit base
TaxInclusive:
boolean
Tax inclusive
Discountable:
boolean
Discountable
ReferentialPrice:
number (double)
Referential price
Flag1:
boolean
Flag1
PriceVolume:
[
Price volume
{
Offer volume
Required: Amount,VolumeCode
VolumeCode:
VolumeCode string minLength:1
maxLength:50
Amount:
Amount number (double)
(ex)minimum:true
}
]
}
]
}

offersGetByCode
Get offer by code

/api/Offers/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Offers/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;

import io.swagger.client.api.Of
fersApi;

import java.io.File;

import java.util.*;

public class OffersApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

OffersApi apiInstance =
new OffersApi();
String code = code_exam
ple; // String | Offer code

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

OfferDto result = a
piInstance.offersGetByCode(code
, authorization, acceptLanguage
, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling OffersA
pi#offersGetByCode");

e.printStackTrace()
;

}
import io.swagger.client.api.Of
fersApi;

public class OffersApiExample {

public static void main(Str


ing[] args) {

OffersApi apiInstance =
new OffersApi();

String code = code_exam


ple; // String | Offer code

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

OfferDto result = a
piInstance.offersGetByCode(code
, authorization, acceptLanguage
, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling OffersA
pi#offersGetByCode");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


Offer code

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)
OffersApi *apiInstance = [[Offe
rsApi alloc] init];

// Get offer by code

[apiInstance offersGetByCodeWit
h:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(OfferDto output, NSError* e
rror) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.O


ffersApi()

var code = code_example; // {St


ring} Offer code

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version
};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.offersGetByCode(code, opts,
callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class offersGetByCod


eExample
{

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew OffersApi();

var code = code_exa


mple; // String | Offer code

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

{
// Get offer by
code

OfferDto result
= apiInstance.offersGetByCode(c
ode, authorization, acceptLangu
age, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling OffersApi.
offersGetByCode: " + e.Message
);

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\OffersApi();

$code = code_example; // String


| Offer code

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->of
fersGetByCode($code, $authoriza
tion, $acceptLanguage, $apiVers
ion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g OffersApi->offersGetByCode: '
, $e->getMessage(), PHP_EOL;

}
?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::OffersA
pi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::OffersApi->new();

my $code = code_example; # Stri


ng | Offer code

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {
my $result = $api_instance-
>offersGetByCode(code => $code,
authorization => $authorization
, acceptLanguage => $acceptLang
uage, apiVersion => $apiVersion
);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g OffersApi->offersGetByCode: $
@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.O
ffersApi()

code = code_example # String |


Offer code

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get offer by code

api_response = api_instance
.offers_get_by_code(code, autho
rization=authorization, acceptL
anguage=acceptLanguage, apiVers
ion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng OffersApi->offersGetByCode:
%s\n" % e)
Parameters
Path parameters
Name Description

code* String

Offer code

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema

{
Offer
ActivityCenter:
string
Activity center
Code:
string
Code
Country:
string
Country
Currency:
string
Currency
Product:
string
Product
StartDate:
string (date-time)
Start date
EndDate:
string (date-time)
End date
PriceType:
string
Price type
Price:
number (double)
Price
TaxBase:
number (double)
Tax base
CreditBase:
number (double)
Credit base
TaxInclusive:
boolean
Tax inclusive
Discountable:
boolean
Discountable
ReferentialPrice:
number (double)
Referential price
Flag1:
boolean
Flag1
PriceVolume:
[
Price volume
{
Offer volume
Required: Amount,VolumeCode
VolumeCode:
VolumeCode string minLength:1
maxLength:50
Amount:
Amount number (double)
(ex)minimum:true
}
]
}

offersPatch
Update a subset of offer's properties

/api/Offers/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Offers/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Of
fersApi;

import java.io.File;

import java.util.*;

public class OffersApiExample {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

OffersApi apiInstance =
new OffersApi();

String code = code_exam


ple; // String |

OfferPatch offerPatch =
; // OfferPatch |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
Object result = api
Instance.offersPatch(code, offe
rPatch, authorization, acceptLa
nguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling OffersA
pi#offersPatch");

e.printStackTrace()
;

import io.swagger.client.api.Of
fersApi;

public class OffersApiExample {

public static void main(Str


ing[] args) {

OffersApi apiInstance =
new OffersApi();

String code = code_exam


ple; // String |
OfferPatch offerPatch =
; // OfferPatch |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.offersPatch(code, offe
rPatch, authorization, acceptLa
nguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling OffersA
pi#offersPatch");

e.printStackTrace()
;

}
Configuration *apiConfig = [Con
figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //

OfferPatch *offerPatch = ; //

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

OffersApi *apiInstance = [[Offe


rsApi alloc] init];

// Update a subset of offer's p


roperties
[apiInstance offersPatchWith:co
de

offerPatch:offerPatch

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;
// Configure OAuth2 access toke
n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.O


ffersApi()

var code = code_example; // {St


ring}

var offerPatch = ; // {OfferPat


ch}

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.offersPatch(code, offerPatc
h, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class offersPatchExa


mple

public void main()


{

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew OffersApi();

var code = code_exa


mple; // String |

var offerPatch = ne
w OfferPatch(); // OfferPatch |

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

{
// Update a sub
set of offer's properties

Object result =
apiInstance.offersPatch(code, o
fferPatch, authorization, accep
tLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling OffersApi.
offersPatch: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\OffersApi();

$code = code_example; // String


|

$offerPatch = ; // OfferPatch |

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->of
fersPatch($code, $offerPatch, $
authorization, $acceptLanguage,
$apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g OffersApi->offersPatch: ', $e
->getMessage(), PHP_EOL;

?>
use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::OffersA
pi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::OffersApi->new();

my $code = code_example; # Stri


ng |

my $offerPatch = WWW::SwaggerCl
ient::Object::OfferPatch->new()
; # OfferPatch |

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
eval {

my $result = $api_instance-
>offersPatch(code => $code, off
erPatch => $offerPatch, authori
zation => $authorization, accep
tLanguage => $acceptLanguage, a
piVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g OffersApi->offersPatch: $@\n"
;

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.O
ffersApi()

code = code_example # String |

offerPatch = # OfferPatch |

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Update a subset of offer'


s properties

api_response = api_instance
.offers_patch(code, offerPatch,
authorization=authorization, ac
ceptLanguage=acceptLanguage, ap
iVersion=apiVersion)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng OffersApi->offersPatch: %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

Body parameters
Name Description

offerPatch * OfferPatch {

Subset of properties to update an offer


PriceType:
PriceType string minLength:1 maxLength:50
Country:
Country string minLength:1 maxLength:50
Currency:
Currency string minLength:1 maxLength:50
Price:
Price number (double) (ex)minimum:true
StartDate:
StartDate string (date-time)
EndDate:
EndDate string (date-time)
TaxBase:
TaxBase number (double) (ex)minimum:true
CreditBase:
CreditBase number (double) (ex)minimum:true
TaxInclusive:
TaxInclusive boolean
Discountable:
Discountable boolean
ReferentialPrice:
ReferentialPrice boolean
Flag1:
Flag1 boolean
PriceVolume:
PriceVolume[
{
Required: Amount,VolumeCode
VolumeCode:
VolumeCode string minLength:1 maxLength:50
Amount:
Amount number (double) (ex)minimum:true
}
]
}

Responses

Status: 200 - OK
• Schema

{
}
offersPost
Create a new offer

/api/Offers

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Offers"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Of
fersApi;
import java.io.File;

import java.util.*;

public class OffersApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

OffersApi apiInstance =
new OffersApi();

OfferPost offer = ; //
OfferPost | Offer values

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.offersP
ost(offer, authorization, accep
tLanguage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling OffersA
pi#offersPost");

e.printStackTrace()
;

import io.swagger.client.api.Of
fersApi;

public class OffersApiExample {

public static void main(Str


ing[] args) {
OffersApi apiInstance =
new OffersApi();

OfferPost offer = ; //
OfferPost | Offer values

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.offersP
ost(offer, authorization, accep
tLanguage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling OffersA
pi#offersPost");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

OfferPost *offer = ; // Offer v


alues

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

OffersApi *apiInstance = [[Offe


rsApi alloc] init];

// Create a new offer

[apiInstance offersPostWith:off
er

authorization:authorization

acceptLanguage:acceptLangua
ge
apiVersion:apiVersion

completionHandler
: ^(NSError* error) {

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.O


ffersApi()

var offer = ; // {OfferPost} Of


fer values
var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully.');

};

api.offersPost(offer, opts, cal


lback);

using System;

using System.Diagnostics;
using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class offersPostExam


ple

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew OffersApi();

var offer = new Off


erPost(); // OfferPost | Offer
values

var authorization =
authorization_example; // Stri
ng | access token (optional)
var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a new
offer

apiInstance.off
ersPost(offer, authorization, a
cceptLanguage, apiVersion);

catch (Exception e)

Debug.Print("Ex
ception when calling OffersApi.
offersPost: " + e.Message );

<?php
require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\OffersApi();

$offer = ; // OfferPost | Offer


values

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$api_instance->offersPost($
offer, $authorization, $acceptL
anguage, $apiVersion);

} catch (Exception $e) {


echo 'Exception when callin
g OffersApi->offersPost: ', $e-
>getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::OffersA
pi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::OffersApi->new();

my $offer = WWW::SwaggerClient:
:Object::OfferPost->new(); # Of
ferPost | Offer values

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

$api_instance->offersPost(o
ffer => $offer, authorization =
> $authorization, acceptLanguag
e => $acceptLanguage, apiVersio
n => $apiVersion);

};

if ($@) {

warn "Exception when callin


g OffersApi->offersPost: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.O
ffersApi()

offer = # OfferPost | Offer va


lues

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a new offer

api_instance.offers_post(of
fer, authorization=authorizatio
n, acceptLanguage=acceptLanguag
e, apiVersion=apiVersion)

except ApiException as e:

print("Exception when calli


ng OffersApi->offersPost: %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

offer * {

Model to create an offer.


Required:
Code,Country,Currency,Price,PriceType,Product,StartDate,TaxBase
Code:
Code string minLength:1 maxLength:50
Product:
Product string minLength:1 maxLength:50
Currency:
Currency string minLength:1 maxLength:50
Country:
Country string minLength:1 maxLength:50
PriceType:
PriceType string minLength:1 maxLength:50
ActivityCenter:
ActivityCenter string minLength:1 maxLength:50
Price:
Price number (double)
TaxBase:
TaxBase number (double)
CreditBase:
CreditBase number (double)
StartDate:
StartDate string (date-time)
EndDate:
EndDate string (date-time)
ReferentialPrice:
ReferentialPrice number (double)
TaxInclusive:
TaxInclusive boolean
Flag1:
Flag1 boolean
Discountable:
Discountable boolean
PriceVolume:
PriceVolume[
{
Required: Amount,VolumeCode
VolumeCode:
VolumeCode string minLength:1 maxLength:50
Amount:
Amount number (double) (ex)minimum:true
}
]
}

Responses

Status: 200 - Returns


the location response
header with the new
resource
Orders

ordersGetAll
Get all orders for a specific account.

/api/Accounts/{accountCode}/Ord
ers

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Accounts/{accountCode
}/Orders?pageNumber=&pageSize=&
sortType=&culture=&filters="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;
import io.swagger.client.api.Or
dersApi;

import java.io.File;

import java.util.*;

public class OrdersApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

OrdersApi apiInstance =
new OrdersApi();

String accountCode = ac
countCode_example; // String |
Account code.
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.OrderSummaryDto result =
apiInstance.ordersGetAll(accoun
tCode, pageNumber, pageSize, so
rtType, authorization, acceptLa
nguage, apiVersion, culture, fi
lters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling OrdersA
pi#ordersGetAll");

e.printStackTrace()
;
}

import io.swagger.client.api.Or
dersApi;

public class OrdersApiExample {

public static void main(Str


ing[] args) {

OrdersApi apiInstance =
new OrdersApi();

String accountCode = ac
countCode_example; // String |
Account code.

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.OrderSummaryDto result =
apiInstance.ordersGetAll(accoun
tCode, pageNumber, pageSize, so
rtType, authorization, acceptLa
nguage, apiVersion, culture, fi
lters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling OrdersA
pi#ordersGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // Account code.

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
String *filters = filters_examp
le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

OrdersApi *apiInstance = [[Orde


rsApi alloc] init];

// Get all orders for a specifi


c account.

[apiInstance ordersGetAllWith:a
ccountCode

pageNumber:pageNumber
pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

filters:filters

completionHandler
: ^(HateoasCollectionResponse.O
rderSummaryDto output, NSError*
error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');
var defaultClient = JenkonRestA
piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.O


rdersApi()

var accountCode = accountCode_e


xample; // {String} Account cod
e.

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'
var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example, /
/ {String} Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

};

api.ordersGetAll(accountCode, p
ageNumber, 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 ordersGetAllEx


ample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew OrdersApi();

var accountCode = a
ccountCode_example; // String
| Account code.

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)
var pageSize = 56;
// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get all orde


rs for a specific account.

HateoasCollecti
onResponse.OrderSummaryDto resu
lt = apiInstance.ordersGetAll(a
ccountCode, pageNumber, pageSiz
e, sortType, authorization, acc
eptLanguage, apiVersion, cultur
e, filters);

Debug.WriteLine
(result);

}
catch (Exception e)

Debug.Print("Ex
ception when calling OrdersApi.
ordersGetAll: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\OrdersApi();

$accountCode = accountCode_exam
ple; // String | Account code.

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0
$pageSize = 56; // Integer | Pa
geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->or
dersGetAll($accountCode, $pageN
umber, $pageSize, $sortType, $a
uthorization, $acceptLanguage,
$apiVersion, $culture, $filters
);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g OrdersApi->ordersGetAll: ', $
e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::OrdersA
pi;
# Configure OAuth2 access token
for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::OrdersApi->new();

my $accountCode = accountCode_e
xample; # String | Account code
.

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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {

my $result = $api_instance-
>ordersGetAll(accountCode => $a
ccountCode, pageNumber => $page
Number, pageSize => $pageSize,
sortType => $sortType, authoriz
ation => $authorization, accept
Language => $acceptLanguage, ap
iVersion => $apiVersion, cultur
e => $culture, filters => $filt
ers);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g OrdersApi->ordersGetAll: $@\n
";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.O
rdersApi()

accountCode = accountCode_examp
le # String | Account code.

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,
the defa
ult culture will be used. (opti
onal) (default to en-US)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get all orders for a spec


ific account.

api_response = api_instance
.orders_get_all(accountCode, pa
geNumber, pageSize, sortType, a
uthorization=authorization, acc
eptLanguage=acceptLanguage, api
Version=apiVersion, culture=cul
ture, filters=filters)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng OrdersApi->ordersGetAll: %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

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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Simplified Order Dto for the Get All
method.
Number:
string
Order number.
Type:
string
Order type.
Date:
string (date-time)
Order date.
Event:
string
Order event.
TotalAmount:
number (double)
Order total amount.
TotalCurrency:
string
Order total currency.
Status:
string
Order status.
CustomerId:
string
Order customer ID.
CustomerName:
string
Order customer name.
Application:
string
Order application.
User:
string
Order user.
OrderDetails:
string
Hateoas reference to the order
details.
}
]
}

ordersGetOrderByCode
Get data for an Order entry.

/api/Orders/{orderCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
curl -X GET "https://localhost:
44356/api/Orders/{orderCode}?cu
lture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Or
dersApi;

import java.io.File;

import java.util.*;

public class OrdersApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2
OAuth oauth2 = (OAuth)
defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

OrdersApi apiInstance =
new OrdersApi();

String orderCode = orde


rCode_example; // String | Orde
r code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

OrderDto result = a
piInstance.ordersGetOrderByCode
(orderCode, authorization, acce
ptLanguage, apiVersion, culture
);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling OrdersA
pi#ordersGetOrderByCode");

e.printStackTrace()
;

import io.swagger.client.api.Or
dersApi;

public class OrdersApiExample {

public static void main(Str


ing[] args) {

OrdersApi apiInstance =
new OrdersApi();

String orderCode = orde


rCode_example; // String | Orde
r code.
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

OrderDto result = a
piInstance.ordersGetOrderByCode
(orderCode, authorization, acce
ptLanguage, apiVersion, culture
);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling OrdersA
pi#ordersGetOrderByCode");

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *orderCode = orderCode_e


xample; // Order code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
OrdersApi *apiInstance = [[Orde
rsApi alloc] init];

// Get data for an Order entry.

[apiInstance ordersGetOrderByCo
deWith:orderCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(OrderDto output, NSError* e
rror) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.O


rdersApi()

var orderCode = orderCode_examp


le; // {String} Order code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version
'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.ordersGetOrderByCode(orderC
ode, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class ordersGetOrder


ByCodeExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew OrdersApi();

var orderCode = ord


erCode_example; // String | Or
der code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Get data for


an Order entry.

OrderDto result
= apiInstance.ordersGetOrderByC
ode(orderCode, authorization, a
cceptLanguage, apiVersion, cult
ure);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling OrdersApi.
ordersGetOrderByCode: " + e.Mes
sage );
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\OrdersApi();

$orderCode = orderCode_example;
// String | Order code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version
$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->or
dersGetOrderByCode($orderCode,
$authorization, $acceptLanguage
, $apiVersion, $culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g OrdersApi->ordersGetOrderByCo
de: ', $e->getMessage(), PHP_EO
L;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::OrdersA
pi;

# Configure OAuth2 access token


for authorization: oauth2
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::OrdersApi->new();

my $orderCode = orderCode_examp
le; # String | Order code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>ordersGetOrderByCode(orderCode
=> $orderCode, authorization =>
$authorization, acceptLanguage
=> $acceptLanguage, apiVersion
=> $apiVersion, culture => $cul
ture);
print Dumper($result);

};

if ($@) {

warn "Exception when callin


g OrdersApi->ordersGetOrderByCo
de: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.O
rdersApi()
orderCode = orderCode_example #
String | Order code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get data for an Order ent


ry.

api_response = api_instance
.orders_get_order_by_code(order
Code, authorization=authorizati
on, acceptLanguage=acceptLangua
ge, apiVersion=apiVersion, cult
ure=culture)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng OrdersApi->ordersGetOrderByC
ode: %s\n" % e)

Parameters
Path parameters
Name Description

orderCode* String

Order 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
• Schema

{
Order
OrderNumber:
string
Activity center
InvoiceNumber:
string
Invoice Number
DistributorCode:
string
Distributor Code
DistributorName:
string
Distributor Name
CustomerName:
string
Customer Name
ReasonCode:
string
Reason Code
OrderType:
string
Order Type
EffectiveDate:
string (date-time)
Effective Date
ExpectedDeliveryDays:
string
Expected Delivery Days
EventCode:
string
Event Code
CurrentStatus:
string
Current Status
OrderComments:
[
Order Comments
{
Order Note Dto.
Note:
string
Note.
External:
boolean
External.
NoteType:
string
Note Type.
}
]
OrderMessages:
[
Order Messages
string
]
ShippingInformation:
{
Shipping Information Dto
ShipToName:
string
Name for Shipping
Address:
AddressDto {
Address Dto.
Required: Country
Line1:
Line1 string
Line2:
Line2 string
Country:
Country string
PostalCode:
PostalCode string
City:
City string
County:
County string
StateProvince:
StateProvince string
}
ShipToPhone:
string
Ship To Phone
ShippingMethod:
string
Shipping Method / Carrier
}
OrderStatuses:
[
Order Statuses (Sales Order Life
Cycle)
{
Order Status Dto
StatusCode:
string
Status Code
StatusDescription:
string
Status Description
StatusDate:
string (date-time)
Status Date
}
]
Payments:
[
Payments
{
Payment Dto
PaymentType:
string
Payment Type
Name:
string
Payment Name
Reference:
string
Reference
Date:
string (date-time)
Date
Amount:
number (double)
Amount
PaymentStatus:
string
Payment Status
}
]
Items:
[
Items
{
Order Item Dto.
ProductCode:
string
Product Code.
Quantity:
integer (int32)
Quantity.
Description:
string
Description.
IncentiveDescription:
string
Incentive Description.
BackOrder:
string
Back Order.
ExpectedDate:
string (date-time)
Expected Date.
PriceType:
string
Price Type.
UnitPrice:
number (double)
Unit Price.
ExtendedPrice:
number (double)
Extended Price.
Discount:
number (double)
Discount.
Subtotal:
number (double)
Subtotal.
}
]
Totals:
{
Totals Dto.
Subtotal:
number (double)
Subtotal.
SubtotalDiscount:
number (double)
Subtotal Discount.
Discount:
number (double)
Discount.
OrderNet:
number (double)
Order Net.
Tax:
number (double)
Tax.
Freight:
number (double)
Freight.
OrderTotal:
number (double)
Order Total.
}
Volumes:
[
Volumes
{
Volume Dto
Code:
string
Volume Code
Description:
string
Description
Amount:
number (double)
Amount
Currency:
string
Currency
}
]
Shipments:
[
Shipments
{
Shipment Dto
Reference:
string
Reference
CarrierMethod:
string
Carrier Method
ShipDate:
string (date-time)
Ship Date
Warehouse:
string
Warehouse
Items:
[
Shipment Items
{
Shipment Item Dto
Product:
string
Product.
StockNumber:
string
Stock Number.
Quantity:
integer (int32)
Quantity.
ActualQuantity:
integer (int32)
Actual Quantity.
TrackingCode:
string
Tracking Code.
}
]
}
]
Incentives:
[
Incentives
{
Order Incentive Dto.
IncentiveDescription:
string
Incentive Description.
Earned:
string
Earned.
Used:
string
Used.
}
]
}

ordersPost
Create a new sales order

/api/Orders

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Orders"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Or
dersApi;

import java.io.File;

import java.util.*;

public class OrdersApiExample {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

OrdersApi apiInstance =
new OrdersApi();

OrderPost order = ; //
OrderPost | Order

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.ordersP
ost(order, authorization, accep
tLanguage, apiVersion);
} catch (ApiException e
) {

System.err.println(
"Exception when calling OrdersA
pi#ordersPost");

e.printStackTrace()
;

import io.swagger.client.api.Or
dersApi;

public class OrdersApiExample {

public static void main(Str


ing[] args) {

OrdersApi apiInstance =
new OrdersApi();

OrderPost order = ; //
OrderPost | Order

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

apiInstance.ordersP
ost(order, authorization, accep
tLanguage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling OrdersA
pi#ordersPost");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

OrderPost *order = ; // Order


String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

OrdersApi *apiInstance = [[Orde


rsApi alloc] init];

// Create a new sales order

[apiInstance ordersPostWith:ord
er

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(NSError* error) {

if
(error) {

NSLog(@"Error: %@", error);

}
}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.O


rdersApi()

var order = ; // {OrderPost} Or


der

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully.');

};

api.ordersPost(order, opts, cal


lback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

{
public class ordersPostExam
ple

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew OrdersApi();

var order = new Ord


erPost(); // OrderPost | Order

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)
try

// Create a new
sales order

apiInstance.ord
ersPost(order, authorization, a
cceptLanguage, apiVersion);

catch (Exception e)

Debug.Print("Ex
ception when calling OrdersApi.
ordersPost: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\OrdersApi();

$order = ; // OrderPost | Order

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$api_instance->ordersPost($
order, $authorization, $acceptL
anguage, $apiVersion);

} catch (Exception $e) {

echo 'Exception when callin


g OrdersApi->ordersPost: ', $e-
>getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::OrdersA
pi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::OrdersApi->new();

my $order = WWW::SwaggerClient:
:Object::OrderPost->new(); # Or
derPost | Order

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

$api_instance->ordersPost(o
rder => $order, authorization =
> $authorization, acceptLanguag
e => $acceptLanguage, apiVersio
n => $apiVersion);

};
if ($@) {

warn "Exception when callin


g OrdersApi->ordersPost: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.O
rdersApi()

order = # OrderPost | Order

authorization = authorization_e
xample # String | access token
(optional)
acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a new sales order

api_instance.orders_post(or
der, authorization=authorizatio
n, acceptLanguage=acceptLanguag
e, apiVersion=apiVersion)

except ApiException as e:

print("Exception when calli


ng OrdersApi->ordersPost: %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

order OrderPost {
*
Order Post Request Model
Required:
Account,Carrier,Country,Currency,Items,OrderType,Reference,SalesOrderStatus,ShippingM
Reference:
Reference string minLength:1 maxLength:50
Country:
Country string minLength:1 maxLength:2
Currency:
Currency string minLength:1 maxLength:3
Account:
Account string minLength:1 maxLength:50
ActivityCenter:
ActivityCenter string minLength:1 maxLength:50
OrderType:
OrderType string minLength:1 maxLength:50
SalesOrderStatus:
SalesOrderStatus string minLength:1 maxLength:50
FreightTax:
FreightTax number (double)
Freight:
Freight number (double)
Payments:
Payments[
OrderPayment {
Sales Order Payment.
Required: Date,PaymentMethod,PaymentType
PaymentType:
PaymentType string minLength:1 maxLength:50
PaymentMethod:
PaymentMethod string minLength:1 maxLength:50
Date:
Date string (date-time)
CardType:
CardType string minLength:1 maxLength:32
MaskedCardNumber:
MaskedCardNumber string minLength:1 maxLength:32
NameOnCard:
NameOnCard string minLength:1 maxLength:128
ExpirationYear:
ExpirationYear string minLength:1 maxLength:16
ExpirationMonth:
ExpirationMonth string minLength:1 maxLength:16
AuthCode:
AuthCode string minLength:1 maxLength:32
PayerId:
PayerId string minLength:1 maxLength:256
Reference:
Reference string minLength:1 maxLength:64
ResponseMessage:
ResponseMessage string minLength:1 maxLength:256
ResponseNumber:
ResponseNumber string minLength:1 maxLength:32
AuthenticationDate:
AuthenticationDate string (date-time)
Amount:
Amount number (double)
}
]
Items:
Items[
OrderItemPost {
Order item.
Required: PriceType,Product,Quantity,Warehouse
Product:
Product string minLength:1 maxLength:50
PriceType:
PriceType string minLength:1 maxLength:50
Quantity:
Quantity integer (int32)
Warehouse:
Warehouse string minLength:1 maxLength:32
Price:
Price number (double)
Plan:
Plan string minLength:1 maxLength:50
Rule:
Rule string minLength:1 maxLength:50
IncentiveCode:
IncentiveCode string minLength:1 maxLength:50
AdvertisementOriginCode:
AdvertisementOriginCode string minLength:1 maxLength:50
CityTaxApplied:
CityTaxApplied boolean
CityTaxPercentage:
CityTaxPercentage number (double)
CountyTaxApplied:
CountyTaxApplied boolean
CountyTaxPercentage:
CountyTaxPercentage number (double)
LocalTaxApplied:
LocalTaxApplied boolean
LocalTaxPercentage:
LocalTaxPercentage number (double)
StateTaxApplied:
StateTaxApplied boolean
StateTaxPercentage:
StateTaxPercentage number (double)
CountryTaxApplied:
CountryTaxApplied boolean
CountryTaxPercentage:
CountryTaxPercentage number (double)
OtherTaxApplied:
OtherTaxApplied boolean
OtherTaxPercentage:
OtherTaxPercentage number (double)
CityTax:
CityTax number (double)
CountyTax:
CountyTax number (double)
LocalTax:
LocalTax number (double)
StateTax:
StateTax number (double)
CountryTax:
CountryTax number (double)
OtherTax:
OtherTax number (double)
}
]
Carrier:
Carrier string minLength:1 maxLength:50
ShippingMethod:
ShippingMethod string minLength:1 maxLength:50
ShippingAddress:
{
Required: Country
Line1:
Line1 string
Line2:
Line2 string
Country:
Country string
PostalCode:
PostalCode string
City:
City string
County:
County string
StateProvince:
StateProvince string
}
ShippingName:
ShippingName string minLength:1 maxLength:200
ShippingPhone:
ShippingPhone string minLength:1 maxLength:50
ShippingEmail:
ShippingEmail string minLength:1 maxLength:255
ShippingComments:
ShippingComments string minLength:1
FinishUser:
FinishUser string minLength:1 maxLength:50
CityTax:
CityTax number (double)
CountyTax:
CountyTax number (double)
LocalTax:
LocalTax number (double)
StateTax:
StateTax number (double)
CountryTax:
CountryTax number (double)
OtherTax:
OtherTax number (double)
}

Responses

Status: 200 - Returns


the location response
header with the new
resource

ProductQuantityLimits

productQuantityLimitsG

etAll
Get data for Product Quantity Limit
entries

/api/ProductQuantityLimits

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/ProductQuantityLimits
?keys=&pageNumber=&pageSize=&so
rtType=&filters="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Pr
oductQuantityLimitsApi;

import java.io.File;

import java.util.*;

public class ProductQuantityLim


itsApiExample {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ProductQuantityLimitsAp
i apiInstance = new ProductQuan
tityLimitsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

array[Object] keys = ;
// array[Object] | List of Keys
(Product, PriceType)
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {
HateoasCollectionRe
sponse.ProductQuantityLimitDto
result = apiInstance.productQua
ntityLimitsGetAll(pageNumber, p
ageSize, sortType, keys, author
ization, acceptLanguage, apiVer
sion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
QuantityLimitsApi#productQuanti
tyLimitsGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Pr
oductQuantityLimitsApi;

public class ProductQuantityLim


itsApiExample {

public static void main(Str


ing[] args) {
ProductQuantityLimitsAp
i apiInstance = new ProductQuan
tityLimitsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

array[Object] keys = ;
// array[Object] | List of Keys
(Product, PriceType)

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.ProductQuantityLimitDto
result = apiInstance.productQua
ntityLimitsGetAll(pageNumber, p
ageSize, sortType, keys, author
ization, acceptLanguage, apiVer
sion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
QuantityLimitsApi#productQuanti
tyLimitsGetAll");
e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

array[Object] *keys = ; // List


of Keys (Product, PriceType) (o
ptional)
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
ProductQuantityLimitsApi *apiIn
stance = [[ProductQuantityLimit
sApi alloc] init];

// Get data for Product Quantit


y Limit entries

[apiInstance productQuantityLim
itsGetAllWith:pageNumber

pageSize:pageSize

sortType:sortType

keys:keys

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

filters:filters

completionHandler
: ^(HateoasCollectionResponse.P
roductQuantityLimitDto output,
NSError* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {
NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.P


roductQuantityLimitsApi()

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'keys': , // {array[Object]}
List of Keys (Product, PriceTyp
e)

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

};

api.productQuantityLimitsGetAll
(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 productQuantit


yLimitsGetAllExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ProductQuantityLimitsApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var keys = new arra


y[Object](); // array[Object] |
List of Keys (Product, PriceTyp
e) (optional)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get data for


Product Quantity Limit entries

HateoasCollecti
onResponse.ProductQuantityLimit
Dto result = apiInstance.produc
tQuantityLimitsGetAll(pageNumbe
r, pageSize, sortType, keys, au
thorization, acceptLanguage, ap
iVersion, filters);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ProductQua
ntityLimitsApi.productQuantityL
imitsGetAll: " + e.Message );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ProductQuantityLimitsAp
i();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, a number greater than 0

$sortType = sortType_example; /
/ String | SortType, 0 or 'asc'
for 'Ascending' and 1 or 'desc'
for 'Descending'

$keys = ; // array[Object] | Li
st of Keys (Product, PriceType)
$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {
$result = $api_instance->pr
oductQuantityLimitsGetAll($page
Number, $pageSize, $sortType, $
keys, $authorization, $acceptLa
nguage, $apiVersion, $filters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ProductQuantityLimitsApi->pro
ductQuantityLimitsGetAll: ', $e
->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Product
QuantityLimitsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ProductQuantityLimitsAp
i->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $keys = []; # array[Object]


| List of Keys (Product, PriceT
ype)

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {

my $result = $api_instance-
>productQuantityLimitsGetAll(pa
geNumber => $pageNumber, pageSi
ze => $pageSize, sortType => $s
ortType, keys => $keys, authori
zation => $authorization, accep
tLanguage => $acceptLanguage, a
piVersion => $apiVersion, filte
rs => $filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ProductQuantityLimitsApi->pro
ductQuantityLimitsGetAll: $@\n"
;

from __future__ import print_st


atement
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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.P
roductQuantityLimitsApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

keys = # array[Object] | List


of Keys (Product, PriceType) (o
ptional)
authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:

# Get data for Product Quan


tity Limit entries

api_response = api_instance
.product_quantity_limits_get_al
l(pageNumber, pageSize, sortTyp
e, keys=keys, authorization=aut
horization, acceptLanguage=acce
ptLanguage, apiVersion=apiVersi
on, filters=filters)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ProductQuantityLimitsApi->pr
oductQuantityLimitsGetAll: %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

keys array[Object]

List of Keys (Product, PriceType)

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Product Quantity Limit Dto.
Product:
string
Product code.
PriceType:
string
Price type code.
QuantityLimit:
integer (int32)
Quantity Limit
LifetimeQuantityLimit:
integer (int32)
Lifetime quantity limit.
PeriodLimitCalendar:
string
Period limit calendar code.
PeriodLimit:
integer (int32)
Period limit.
}
]
}

productQuantityLimitsP

atch
Patch a Product Quantity Limit entry
/api/ProductQuantityLimits/{pro
ductCode}/{priceTypeCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/ProductQuantityLimi
ts/{productCode}/{priceTypeCode
}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Pr
oductQuantityLimitsApi;

import java.io.File;

import java.util.*;
public class ProductQuantityLim
itsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ProductQuantityLimitsAp
i apiInstance = new ProductQuan
tityLimitsApi();

String productCode = pr
oductCode_example; // String |
The Product Code of the entry t
o patch

String priceTypeCode =
priceTypeCode_example; // Strin
g | The Price Type of the entry
to patch
ProductQuantityLimitPat
ch patch = ; // ProductQuantity
LimitPatch | The subset of Prod
uct Quantity Limit fields to pa
tch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.productQuantityLimitsP
atch(productCode, priceTypeCode
, patch, authorization, acceptL
anguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
QuantityLimitsApi#productQuanti
tyLimitsPatch");

e.printStackTrace()
;

}
}

import io.swagger.client.api.Pr
oductQuantityLimitsApi;

public class ProductQuantityLim


itsApiExample {

public static void main(Str


ing[] args) {

ProductQuantityLimitsAp
i apiInstance = new ProductQuan
tityLimitsApi();

String productCode = pr
oductCode_example; // String |
The Product Code of the entry t
o patch

String priceTypeCode =
priceTypeCode_example; // Strin
g | The Price Type of the entry
to patch

ProductQuantityLimitPat
ch patch = ; // ProductQuantity
LimitPatch | The subset of Prod
uct Quantity Limit fields to pa
tch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.productQuantityLimitsP
atch(productCode, priceTypeCode
, patch, authorization, acceptL
anguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
QuantityLimitsApi#productQuanti
tyLimitsPatch");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *productCode = productCo


de_example; // The Product Code
of the entry to patch

String *priceTypeCode = priceTy


peCode_example; // The Price Ty
pe of the entry to patch

ProductQuantityLimitPatch *patc
h = ; // The subset of Product
Quantity Limit fields to patch

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

ProductQuantityLimitsApi *apiIn
stance = [[ProductQuantityLimit
sApi alloc] init];

// Patch a Product Quantity Lim


it entry

[apiInstance productQuantityLim
itsPatchWith:productCode
priceTypeCode:priceTypeCode

patch:patch

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;
// Configure OAuth2 access toke
n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.P


roductQuantityLimitsApi()

var productCode = productCode_e


xample; // {String} The Product
Code of the entry to patch

var priceTypeCode = priceTypeCo


de_example; // {String} The Pri
ce Type of the entry to patch

var patch = ; // {ProductQuanti


tyLimitPatch} The subset of Pro
duct Quantity Limit fields to p
atch

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.productQuantityLimitsPatch(
productCode, priceTypeCode, pat
ch, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class productQuantit


yLimitsPatchExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ProductQuantityLimitsApi();

var productCode = p
roductCode_example; // String
| The Product Code of the entry
to patch

var priceTypeCode =
priceTypeCode_example; // Stri
ng | The Price Type of the entr
y to patch

var patch = new Pro


ductQuantityLimitPatch(); // Pr
oductQuantityLimitPatch | The s
ubset of Product Quantity Limit
fields to patch

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Patch a Prod
uct Quantity Limit entry

Object result =
apiInstance.productQuantityLimi
tsPatch(productCode, priceTypeC
ode, patch, authorization, acce
ptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ProductQua
ntityLimitsApi.productQuantityL
imitsPatch: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ProductQuantityLimitsAp
i();

$productCode = productCode_exam
ple; // String | The Product Co
de of the entry to patch

$priceTypeCode = priceTypeCode_
example; // String | The Price
Type of the entry to patch

$patch = ; // ProductQuantityLi
mitPatch | The subset of Produc
t Quantity Limit fields to patc
h

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->pr
oductQuantityLimitsPatch($produ
ctCode, $priceTypeCode, $patch,
$authorization, $acceptLanguage
, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ProductQuantityLimitsApi->pro
ductQuantityLimitsPatch: ', $e-
>getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Product
QuantityLimitsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ProductQuantityLimitsAp
i->new();

my $productCode = productCode_e
xample; # String | The Product
Code of the entry to patch

my $priceTypeCode = priceTypeCo
de_example; # String | The Pric
e Type of the entry to patch

my $patch = WWW::SwaggerClient:
:Object::ProductQuantityLimitPa
tch->new(); # ProductQuantityLi
mitPatch | The subset of Produc
t Quantity Limit fields to patc
h

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
eval {

my $result = $api_instance-
>productQuantityLimitsPatch(pro
ductCode => $productCode, price
TypeCode => $priceTypeCode, pat
ch => $patch, authorization =>
$authorization, acceptLanguage
=> $acceptLanguage, apiVersion
=> $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ProductQuantityLimitsApi->pro
ductQuantityLimitsPatch: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.P
roductQuantityLimitsApi()

productCode = productCode_examp
le # String | The Product Code
of the entry to patch

priceTypeCode = priceTypeCode_e
xample # String | The Price Typ
e of the entry to patch

patch = # ProductQuantityLimit
Patch | The subset of Product Q
uantity Limit fields to patch

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch a Product Quantity


Limit entry
api_response = api_instance
.product_quantity_limits_patch(
productCode, priceTypeCode, pat
ch, authorization=authorization
, acceptLanguage=acceptLanguage
, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ProductQuantityLimitsApi->pr
oductQuantityLimitsPatch: %s\n"
% e)

Parameters
Path parameters
Name Description

productCode* String

The Product Code of the entry to patch

Required

priceTypeCode* String

The Price Type 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

patch * {

Product quantity limit patch model.


QuantityLimit:
QuantityLimit integer (ex)minimum:true
LifetimeQuantityLimit:
LifetimeQuantityLimit integer (ex)minimum:true
PeriodLimitCalendar:
PeriodLimitCalendar string minLength:1 maxLength:50
PeriodLimit:
PeriodLimit integer (ex)minimum:true
}

Responses

Status: 200 - OK
• Schema

{
}
productQuantityLimitsP

ostAsync
Create a Product Quantity Limit entry

/api/ProductQuantityLimits

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/ProductQuantityLimit
s"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Pr
oductQuantityLimitsApi;
import java.io.File;

import java.util.*;

public class ProductQuantityLim


itsApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ProductQuantityLimitsAp
i apiInstance = new ProductQuan
tityLimitsApi();

ProductQuantityLimitDto
productQuantityLimit = ; // Pro
ductQuantityLimitDto | The {pro
ductQuantityLimit} data to cre
ate

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

ProductQuantityLimi
tDto result = apiInstance.produ
ctQuantityLimitsPostAsync(produ
ctQuantityLimit, authorization,
acceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
QuantityLimitsApi#productQuanti
tyLimitsPostAsync");

e.printStackTrace()
;

}
import io.swagger.client.api.Pr
oductQuantityLimitsApi;

public class ProductQuantityLim


itsApiExample {

public static void main(Str


ing[] args) {

ProductQuantityLimitsAp
i apiInstance = new ProductQuan
tityLimitsApi();

ProductQuantityLimitDto
productQuantityLimit = ; // Pro
ductQuantityLimitDto | The {pro
ductQuantityLimit} data to cre
ate

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

ProductQuantityLimi
tDto result = apiInstance.produ
ctQuantityLimitsPostAsync(produ
ctQuantityLimit, authorization,
acceptLanguage, apiVersion);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
QuantityLimitsApi#productQuanti
tyLimitsPostAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

ProductQuantityLimitDto *produc
tQuantityLimit = ; // The {prod
uctQuantityLimit} data to crea
te

String *authorization = authori


zation_example; // access token
(optional)
String *acceptLanguage = accept
Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

ProductQuantityLimitsApi *apiIn
stance = [[ProductQuantityLimit
sApi alloc] init];

// Create a Product Quantity Li


mit entry

[apiInstance productQuantityLim
itsPostAsyncWith:productQuantit
yLimit

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(ProductQuantityLimitDto out
put, NSError* error) {

if
(output) {

NSLog(@"%@", output);

}
if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.P


roductQuantityLimitsApi()

var productQuantityLimit = ; //
{ProductQuantityLimitDto} The {
productQuantityLimit} data to
create

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.productQuantityLimitsPostAs
ync(productQuantityLimit, opts,
callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;
using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class productQuantit


yLimitsPostAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ProductQuantityLimitsApi();

var productQuantity
Limit = new ProductQuantityLimi
tDto(); // ProductQuantityLimit
Dto | The {productQuantityLimit
} data to create

var authorization =
authorization_example; // Stri
ng | access token (optional)
var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a Pro
duct Quantity Limit entry

ProductQuantity
LimitDto result = apiInstance.p
roductQuantityLimitsPostAsync(p
roductQuantityLimit, authorizat
ion, acceptLanguage, apiVersion
);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ProductQua
ntityLimitsApi.productQuantityL
imitsPostAsync: " + e.Message )
;

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ProductQuantityLimitsAp
i();

$productQuantityLimit = ; // Pr
oductQuantityLimitDto | The {pr
oductQuantityLimit} data to cr
eate

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version
try {

$result = $api_instance->pr
oductQuantityLimitsPostAsync($p
roductQuantityLimit, $authoriza
tion, $acceptLanguage, $apiVers
ion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ProductQuantityLimitsApi->pro
ductQuantityLimitsPostAsync: ',
$e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Product
QuantityLimitsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::ProductQuantityLimitsAp
i->new();

my $productQuantityLimit = WWW:
:SwaggerClient::Object::Product
QuantityLimitDto->new(); # Prod
uctQuantityLimitDto | The {prod
uctQuantityLimit} data to crea
te

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>productQuantityLimitsPostAsync
(productQuantityLimit => $produ
ctQuantityLimit, authorization
=> $authorization, acceptLangua
ge => $acceptLanguage, apiVersi
on => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ProductQuantityLimitsApi->pro
ductQuantityLimitsPostAsync: $@
\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.P
roductQuantityLimitsApi()

productQuantityLimit = # Produ
ctQuantityLimitDto | The {produ
ctQuantityLimit} data to creat
e

authorization = authorization_e
xample # String | access token
(optional)
acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a Product Quantity


Limit entry

api_response = api_instance
.product_quantity_limits_post_a
sync(productQuantityLimit, auth
orization=authorization, accept
Language=acceptLanguage, apiVer
sion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ProductQuantityLimitsApi->pr
oductQuantityLimitsPostAsync: %
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

productQuantityLimit {
*
Product Quantity Limit Dto.
Product:
string
Product code.
PriceType:
string
Price type code.
QuantityLimit:
integer (int32)
Quantity Limit
LifetimeQuantityLimit:
integer (int32)
Lifetime quantity limit.
PeriodLimitCalendar:
string
Period limit calendar code.
PeriodLimit:
integer (int32)
Period limit.
}

Responses
Status: 200 - OK
• Schema

{
Product Quantity Limit Dto.
Product:
string
Product code.
PriceType:
string
Price type code.
QuantityLimit:
integer (int32)
Quantity Limit
LifetimeQuantityLimit:
integer (int32)
Lifetime quantity limit.
PeriodLimitCalendar:
string
Period limit calendar code.
PeriodLimit:
integer (int32)
Period limit.
}

Products

productsGetAll
Get data for Product entries
/api/Products

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Products?searchCriter
ia=&productType=&onlyActive=&pa
geNumber=&pageSize=&sortType=&c
ulture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Pr
oductsApi;

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

public class ProductsApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ProductsApi apiInstance
= new ProductsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0
String sortType = sortT
ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String searchCriteria =
searchCriteria_example; // Stri
ng | The criteria to use for se
arching. It searches by code an
d name/description

String productType = pr
oductType_example; // String |
Value to filter results by the
Product Type

Boolean onlyActive = tr
ue; // Boolean | Value to show
only active products or all of
them in the results

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.
try {

HateoasCollectionRe
sponse.ProductDto result = apiI
nstance.productsGetAll(pageNumb
er, pageSize, sortType, searchC
riteria, productType, onlyActiv
e, authorization, acceptLanguag
e, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
sApi#productsGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Pr
oductsApi;

public class ProductsApiExample


{

public static void main(Str


ing[] args) {
ProductsApi apiInstance
= new ProductsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String searchCriteria =
searchCriteria_example; // Stri
ng | The criteria to use for se
arching. It searches by code an
d name/description

String productType = pr
oductType_example; // String |
Value to filter results by the
Product Type

Boolean onlyActive = tr
ue; // Boolean | Value to show
only active products or all of
them in the results

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

HateoasCollectionRe
sponse.ProductDto result = apiI
nstance.productsGetAll(pageNumb
er, pageSize, sortType, searchC
riteria, productType, onlyActiv
e, authorization, acceptLanguag
e, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
sApi#productsGetAll");

e.printStackTrace()
;

}
Configuration *apiConfig = [Con
figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *searchCriteria = search


Criteria_example; // The criter
ia to use for searching. It sea
rches by code and name/descript
ion (optional)

String *productType = productTy


pe_example; // Value to filter
results by the Product Type (op
tional)

Boolean *onlyActive = true; //


Value to show only active produ
cts or all of them in the resul
ts (optional)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

ProductsApi *apiInstance = [[Pr


oductsApi alloc] init];

// Get data for Product entries

[apiInstance productsGetAllWith
:pageNumber

pageSize:pageSize

sortType:sortType

searchCriteria:searchCriter
ia
productType:productType

onlyActive:onlyActive

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(HateoasCollectionResponse.P
roductDto output, NSError* erro
r) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;
// Configure OAuth2 access toke
n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.P


roductsApi()

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'searchCriteria': searchCrite
ria_example, // {String} The cr
iteria to use for searching. It
searches by code and name/descr
iption

'productType': productType_ex
ample, // {String} Value to fil
ter results by the Product Type

'onlyActive': true, // {Boole


an} Value to show only active p
roducts or all of them in the r
esults

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {
console.log('API called suc
cessfully. Returned data: ' + d
ata);

};

api.productsGetAll(pageNumber,
pageSize, sortType, opts, callb
ack);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class productsGetAll


Example

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ProductsApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var searchCriteria
= searchCriteria_example; // S
tring | The criteria to use for
searching. It searches by code
and name/description (optional)

var productType = p
roductType_example; // String
| Value to filter results by th
e Product Type (optional)

var onlyActive = tr
ue; // Boolean | Value to show
only active products or all of
them in the results (optional)

var authorization =
authorization_example; // Stri
ng | access token (optional)
var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Get data for


Product entries

HateoasCollecti
onResponse.ProductDto result =
apiInstance.productsGetAll(page
Number, pageSize, sortType, sea
rchCriteria, productType, onlyA
ctive, authorization, acceptLan
guage, apiVersion, culture);

Debug.WriteLine
(result);

catch (Exception e)
{

Debug.Print("Ex
ception when calling ProductsAp
i.productsGetAll: " + e.Message
);

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ProductsApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, a number greater than 0
$sortType = sortType_example; /
/ String | SortType, 0 or 'asc'
for 'Ascending' and 1 or 'desc'
for 'Descending'

$searchCriteria = searchCriteri
a_example; // String | The crit
eria to use for searching. It s
earches by code and name/descri
ption

$productType = productType_exam
ple; // String | Value to filte
r results by the Product Type

$onlyActive = true; // Boolean


| Value to show only active pro
ducts or all of them in the res
ults

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {
$result = $api_instance->pr
oductsGetAll($pageNumber, $page
Size, $sortType, $searchCriteri
a, $productType, $onlyActive, $
authorization, $acceptLanguage,
$apiVersion, $culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ProductsApi->productsGetAll:
', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Product
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ProductsApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $searchCriteria = searchCrit
eria_example; # String | The cr
iteria to use for searching. It
searches by code and name/descr
iption

my $productType = productType_e
xample; # String | Value to fil
ter results by the Product Type

my $onlyActive = true; # Boolea


n | Value to show only active p
roducts or all of them in the r
esults

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>productsGetAll(pageNumber => $
pageNumber, pageSize => $pageSi
ze, sortType => $sortType, sear
chCriteria => $searchCriteria,
productType => $productType, on
lyActive => $onlyActive, author
ization => $authorization, acce
ptLanguage => $acceptLanguage,
apiVersion => $apiVersion, cult
ure => $culture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ProductsApi->productsGetAll:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.P
roductsApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

searchCriteria = searchCriteria
_example # String | The criteri
a to use for searching. It sear
ches by code and name/descripti
on (optional)
productType = productType_examp
le # String | Value to filter r
esults by the Product Type (opt
ional)

onlyActive = true # Boolean | V


alue to show only active produc
ts or all of them in the result
s (optional)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get data for Product entr


ies

api_response = api_instance
.products_get_all(pageNumber, p
ageSize, sortType, searchCriter
ia=searchCriteria, productType=
productType, onlyActive=onlyAct
ive, authorization=authorizatio
n, acceptLanguage=acceptLanguag
e, apiVersion=apiVersion, cultu
re=culture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ProductsApi->productsGetAll:
%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

searchCriteria String
The criteria to use for searching. It searches by code and
name/description

productType String

Value to filter results by the Product Type

onlyActive Boolean

Value to show only active products or all of them in the results

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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Product.
Code:
string
Product Code.
Name:
string
Name.
Description:
string
Description.
ProductType:
string
Product Type.
Active:
boolean
Active?.
TaxType:
string
Tax Type.
Countries:
[
Product Countries.
string
]
CategoryCodes:
[
Product Categories.
string
]
InventoryCode:
string
Inventory Code. pack/fee may not
have inventory.
ProductResources:
[
Product resources.
{
Type Resource (ResourceModel with
type)
Required: Culture,Type,Value
Culture:
Culture string minLength:1
maxLength:50
Value:
Value string
Type:
Type string minLength:1
maxLength:50
}
]
ProductAlternateCodes:
[
Product alternate codes.
{
Product Alternate Code
AlternateCode:
AlternateCode string minLength:1
maxLength:50
AlternateCodeType:
AlternateCodeType string
minLength:1 maxLength:50
}
]
Products:
[
Product components (kit/packs
support).
ProductComponentDto {
Product component.
Required:
Percentage,PriceType,Product,Quan
tity
Product:
Product string minLength:1
maxLength:50
Quantity:
Quantity integer (ex)minimum:true
Percentage:
Percentage number
(ex)minimum:true
PriceType:
PriceType string minLength:1
maxLength:50
}
]
ShowImageInCart:
boolean
Indicates whether or not the
product's image will appear in carts.
}
]
}

productsGetByProductCo

de
Get data for a Product entry

/api/Products/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Products/{code}?cultu
re="
import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Pr
oductsApi;

import java.io.File;

import java.util.*;

public class ProductsApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");
oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ProductsApi apiInstance
= new ProductsApi();

String code = code_exam


ple; // String | The Product Co
de to retrieve

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

ProductDto result =
apiInstance.productsGetByProduc
tCode(code, authorization, acce
ptLanguage, apiVersion, culture
);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
sApi#productsGetByProductCode")
;

e.printStackTrace()
;

import io.swagger.client.api.Pr
oductsApi;

public class ProductsApiExample


{

public static void main(Str


ing[] args) {

ProductsApi apiInstance
= new ProductsApi();

String code = code_exam


ple; // String | The Product Co
de to retrieve

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

ProductDto result =
apiInstance.productsGetByProduc
tCode(code, authorization, acce
ptLanguage, apiVersion, culture
);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
sApi#productsGetByProductCode")
;

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


The Product Code to retrieve

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
ProductsApi *apiInstance = [[Pr
oductsApi alloc] init];

// Get data for a Product entry

[apiInstance productsGetByProdu
ctCodeWith:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(ProductDto output, NSError*
error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.P


roductsApi()

var code = code_example; // {St


ring} The Product Code to retri
eve

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version
'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.productsGetByProductCode(co
de, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class productsGetByP


roductCodeExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ProductsApi();

var code = code_exa


mple; // String | The Product
Code to retrieve

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Get data for


a Product entry

ProductDto resu
lt = apiInstance.productsGetByP
roductCode(code, authorization,
acceptLanguage, apiVersion, cul
ture);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ProductsAp
i.productsGetByProductCode: " +
e.Message );
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ProductsApi();

$code = code_example; // String


| The Product Code to retrieve

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version
$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->pr
oductsGetByProductCode($code, $
authorization, $acceptLanguage,
$apiVersion, $culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ProductsApi->productsGetByPro
ductCode: ', $e->getMessage(),
PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Product
sApi;

# Configure OAuth2 access token


for authorization: oauth2
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ProductsApi->new();

my $code = code_example; # Stri


ng | The Product Code to retrie
ve

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>productsGetByProductCode(code
=> $code, authorization => $aut
horization, acceptLanguage => $
acceptLanguage, apiVersion => $
apiVersion, culture => $culture
);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ProductsApi->productsGetByPro
ductCode: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class
api_instance = swagger_client.P
roductsApi()

code = code_example # String |


The Product Code to retrieve

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get data for a Product en


try

api_response = api_instance
.products_get_by_product_code(c
ode, authorization=authorizatio
n, acceptLanguage=acceptLanguag
e, apiVersion=apiVersion, cultu
re=culture)

pprint(api_response)
except ApiException as e:

print("Exception when calli


ng ProductsApi->productsGetByPr
oductCode: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Product Code to retrieve

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
• Schema

{
Product.
Code:
string
Product Code.
Name:
string
Name.
Description:
string
Description.
ProductType:
string
Product Type.
Active:
boolean
Active?.
TaxType:
string
Tax Type.
Countries:
[
Product Countries.
string
]
CategoryCodes:
[
Product Categories.
string
]
InventoryCode:
string
Inventory Code. pack/fee may not
have inventory.
ProductResources:
[
Product resources.
{
Type Resource (ResourceModel with
type)
Required: Culture,Type,Value
Culture:
Culture string minLength:1
maxLength:50
Value:
Value string
Type:
Type string minLength:1
maxLength:50
}
]
ProductAlternateCodes:
[
Product alternate codes.
{
Product Alternate Code
AlternateCode:
AlternateCode string minLength:1
maxLength:50
AlternateCodeType:
AlternateCodeType string
minLength:1 maxLength:50
}
]
Products:
[
Product components (kit/packs
support).
ProductComponentDto {
Product component.
Required:
Percentage,PriceType,Product,Quan
tity
Product:
Product string minLength:1
maxLength:50
Quantity:
Quantity integer (ex)minimum:true
Percentage:
Percentage number
(ex)minimum:true
PriceType:
PriceType string minLength:1
maxLength:50
}
]
ShowImageInCart:
boolean
Indicates whether or not the
product's image will appear in carts.
}

productsPatchAsync
Patch a Product entry
Provide only the fields to modify

/api/Products/{code}
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Products/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Pr
oductsApi;

import java.io.File;

import java.util.*;

public class ProductsApiExample


{
public static void main(Str
ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ProductsApi apiInstance
= new ProductsApi();

String code = code_exam


ple; // String | The Product Co
de of the entry to patch

ProductPatch productPat
ch = ; // ProductPatch | The su
bset of Product fields to patch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.productsPatchAsync(cod
e, productPatch, authorization,
acceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
sApi#productsPatchAsync");

e.printStackTrace()
;

import io.swagger.client.api.Pr
oductsApi;

public class ProductsApiExample


{

public static void main(Str


ing[] args) {
ProductsApi apiInstance
= new ProductsApi();

String code = code_exam


ple; // String | The Product Co
de of the entry to patch

ProductPatch productPat
ch = ; // ProductPatch | The su
bset of Product fields to patch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.productsPatchAsync(cod
e, productPatch, authorization,
acceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
sApi#productsPatchAsync");

e.printStackTrace()
;
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


The Product Code of the entry t
o patch

ProductPatch *productPatch = ;
// The subset of Product fields
to patch

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)
ProductsApi *apiInstance = [[Pr
oductsApi alloc] init];

// Patch a Product entry

[apiInstance productsPatchAsync
With:code

productPatch:productPatch

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.P


roductsApi()

var code = code_example; // {St


ring} The Product Code of the e
ntry to patch

var productPatch = ; // {Produc


tPatch} The subset of Product f
ields to patch

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.productsPatchAsync(code, pr
oductPatch, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class productsPatchA


syncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ProductsApi();

var code = code_exa


mple; // String | The Product
Code of the entry to patch

var productPatch =
new ProductPatch(); // ProductP
atch | The subset of Product fi
elds to patch

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Patch a Prod
uct entry

Object result =
apiInstance.productsPatchAsync(
code, productPatch, authorizati
on, acceptLanguage, apiVersion)
;

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ProductsAp
i.productsPatchAsync: " + e.Mes
sage );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ProductsApi();

$code = code_example; // String


| The Product Code of the entry
to patch

$productPatch = ; // ProductPat
ch | The subset of Product fiel
ds to patch

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version
try {

$result = $api_instance->pr
oductsPatchAsync($code, $produc
tPatch, $authorization, $accept
Language, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ProductsApi->productsPatchAsy
nc: ', $e->getMessage(), PHP_EO
L;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Product
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ProductsApi->new();
my $code = code_example; # Stri
ng | The Product Code of the en
try to patch

my $productPatch = WWW::Swagger
Client::Object::ProductPatch->n
ew(); # ProductPatch | The subs
et of Product fields to patch

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>productsPatchAsync(code => $co
de, productPatch => $productPat
ch, authorization => $authoriza
tion, acceptLanguage => $accept
Language, apiVersion => $apiVer
sion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ProductsApi->productsPatchAsy
nc: $@\n";
}

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.P
roductsApi()

code = code_example # String |


The Product Code of the entry t
o patch

productPatch = # ProductPatch
| The subset of Product fields
to patch

authorization = authorization_e
xample # String | access token
(optional)
acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch a Product entry

api_response = api_instance
.products_patch_async(code, pro
ductPatch, authorization=author
ization, acceptLanguage=acceptL
anguage, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ProductsApi->productsPatchAs
ync: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Product Code 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

productPatch * {

Subset of properties to patch a Product.


Active:
Active boolean
TaxType:
TaxType string minLength:1 maxLength:50
Countries:
Countries[
string minLength:1 maxLength:2
]
CategoryCodes:
CategoryCodes[
string minLength:1 maxLength:50
]
ProductAlternateCodes:
ProductAlternateCodes[
{
AlternateCode:
AlternateCode string minLength:1 maxLength:50
AlternateCodeType:
AlternateCodeType string minLength:1 maxLength:50
}
]
Products:
Products[
{
Required: Percentage,PriceType,Product,Quantity
Product:
Product string minLength:1 maxLength:50
Quantity:
Quantity integer (ex)minimum:true
Percentage:
Percentage number (ex)minimum:true
PriceType:
PriceType string minLength:1 maxLength:50
}
]
ShowImageInCart:
ShowImageInCart boolean
}

Responses

Status: 200 - OK
• Schema

{
}

productsPostAsync
Create an Product entry
/api/Products

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Products"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Pr
oductsApi;

import java.io.File;

import java.util.*;
public class ProductsApiExample
{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ProductsApi apiInstance
= new ProductsApi();

ProductDto product = ;
// ProductDto | The {Product}
data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

array[ProductDto] r
esult = apiInstance.productsPos
tAsync(product, authorization,
acceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
sApi#productsPostAsync");

e.printStackTrace()
;

import io.swagger.client.api.Pr
oductsApi;

public class ProductsApiExample


{

public static void main(Str


ing[] args) {
ProductsApi apiInstance
= new ProductsApi();

ProductDto product = ;
// ProductDto | The {Product}
data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

array[ProductDto] r
esult = apiInstance.productsPos
tAsync(product, authorization,
acceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Product
sApi#productsPostAsync");

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

ProductDto *product = ; // The


{Product} data to create

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

ProductsApi *apiInstance = [[Pr


oductsApi alloc] init];

// Create an Product entry


[apiInstance productsPostAsyncW
ith:product

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(array[ProductDto] output, N
SError* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2
var oauth2 = defaultClient.auth
entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.P


roductsApi()

var product = ; // {ProductDto}


The {Product} data to create

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {
console.log('API called suc
cessfully. Returned data: ' + d
ata);

};

api.productsPostAsync(product,
opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class productsPostAs


yncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ProductsApi();

var product = new P


roductDto(); // ProductDto | Th
e {Product} data to create

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create an Pr
oduct entry

array[ProductDt
o] result = apiInstance.product
sPostAsync(product, authorizati
on, acceptLanguage, apiVersion)
;
Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ProductsAp
i.productsPostAsync: " + e.Mess
age );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ProductsApi();
$product = ; // ProductDto | Th
e {Product} data to create

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->pr
oductsPostAsync($product, $auth
orization, $acceptLanguage, $ap
iVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ProductsApi->productsPostAsyn
c: ', $e->getMessage(), PHP_EOL
;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Product
sApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ProductsApi->new();

my $product = WWW::SwaggerClien
t::Object::ProductDto->new(); #
ProductDto | The {Product} dat
a to create

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>productsPostAsync(product => $
product, authorization => $auth
orization, acceptLanguage => $a
cceptLanguage, apiVersion => $a
piVersion);
print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ProductsApi->productsPostAsyn
c: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.P
roductsApi()
product = # ProductDto | The {
Product} data to create

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create an Product entry

api_response = api_instance
.products_post_async(product, a
uthorization=authorization, acc
eptLanguage=acceptLanguage, api
Version=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ProductsApi->productsPostAsy
nc: %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

product * {

Product.
Code:
string
Product Code.
Name:
string
Name.
Description:
string
Description.
ProductType:
string
Product Type.
Active:
boolean
Active?.
TaxType:
string
Tax Type.
Countries:
[
Product Countries.
string
]
CategoryCodes:
[
Product Categories.
string
]
InventoryCode:
string
Inventory Code. pack/fee may not have inventory.
ProductResources:
[
Product resources.
{
Type Resource (ResourceModel with type)
Required: Culture,Type,Value
Culture:
Culture string minLength:1 maxLength:50
Value:
Value string
Type:
Type string minLength:1 maxLength:50
}
]
ProductAlternateCodes:
[
Product alternate codes.
{
Product Alternate Code
AlternateCode:
AlternateCode string minLength:1 maxLength:50
AlternateCodeType:
AlternateCodeType string minLength:1 maxLength:50
}
]
Products:
[
Product components (kit/packs support).
ProductComponentDto {
Product component.
Required: Percentage,PriceType,Product,Quantity
Product:
Product string minLength:1 maxLength:50
Quantity:
Quantity integer (ex)minimum:true
Percentage:
Percentage number (ex)minimum:true
PriceType:
PriceType string minLength:1 maxLength:50
}
]
ShowImageInCart:
boolean
Indicates whether or not the product's image will appear in
carts.
}

Responses

Status: 200 - OK
• Schema

[
undefined
]

Resources

resourcesDeleteByCode
Delete a non-default resource entry

/api/Resources/{context}/{name}
/{property}/{resourceSet}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X DELETE "https://localho


st:44356/api/Resources/{context
}/{name}/{property}/{resourceSe
t}?culture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Re
sourcesApi;
import java.io.File;

import java.util.*;

public class ResourcesApiExampl


e {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ResourcesApi apiInstanc
e = new ResourcesApi();

String context = contex


t_example; // String | Context

String name = name_exam


ple; // String | Name
String property = prope
rty_example; // String | Proper
ty

String resourceSet = re
sourceSet_example; // String |
Resource Set

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

Object result = api


Instance.resourcesDeleteByCode(
context, name, property, resour
ceSet, authorization, acceptLan
guage, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Resourc
esApi#resourcesDeleteByCode");

e.printStackTrace()
;

import io.swagger.client.api.Re
sourcesApi;

public class ResourcesApiExampl


e {

public static void main(Str


ing[] args) {

ResourcesApi apiInstanc
e = new ResourcesApi();

String context = contex


t_example; // String | Context

String name = name_exam


ple; // String | Name

String property = prope


rty_example; // String | Proper
ty

String resourceSet = re
sourceSet_example; // String |
Resource Set
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

Object result = api


Instance.resourcesDeleteByCode(
context, name, property, resour
ceSet, authorization, acceptLan
guage, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Resourc
esApi#resourcesDeleteByCode");

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *context = context_examp


le; // Context

String *name = name_example; //


Name

String *property = property_exa


mple; // Property

String *resourceSet = resourceS


et_example; // Resource Set

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)
String *culture = culture_examp
le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

ResourcesApi *apiInstance = [[R


esourcesApi alloc] init];

// Delete a non-default resourc


e entry

[apiInstance resourcesDeleteByC
odeWith:context

name:name

property:property

resourceSet:resourceSet

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {
NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.R


esourcesApi()

var context = context_example;


// {String} Context
var name = name_example; // {St
ring} Name

var property = property_example


; // {String} Property

var resourceSet = resourceSet_e


xample; // {String} Resource Se
t

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.resourcesDeleteByCode(conte
xt, name, property, resourceSet
, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class resourcesDelet


eByCodeExample

{
public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ResourcesApi();

var context = conte


xt_example; // String | Contex
t

var name = name_exa


mple; // String | Name

var property = prop


erty_example; // String | Prop
erty

var resourceSet = r
esourceSet_example; // String
| Resource Set

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Delete a non
-default resource entry

Object result =
apiInstance.resourcesDeleteByCo
de(context, name, property, res
ourceSet, authorization, accept
Language, apiVersion, culture);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ResourcesA
pi.resourcesDeleteByCode: " + e
.Message );
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ResourcesApi();

$context = context_example; //
String | Context

$name = name_example; // String


| Name

$property = property_example; /
/ String | Property

$resourceSet = resourceSet_exam
ple; // String | Resource Set

$authorization = authorization_
example; // String | access tok
en
$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->re
sourcesDeleteByCode($context, $
name, $property, $resourceSet,
$authorization, $acceptLanguage
, $apiVersion, $culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ResourcesApi->resourcesDelete
ByCode: ', $e->getMessage(), PH
P_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Resourc
esApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ResourcesApi->new();

my $context = context_example;
# String | Context

my $name = name_example; # Stri


ng | Name

my $property = property_example
; # String | Property

my $resourceSet = resourceSet_e
xample; # String | Resource Set

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>resourcesDeleteByCode(context
=> $context, name => $name, pro
perty => $property, resourceSet
=> $resourceSet, authorization
=> $authorization, acceptLangua
ge => $acceptLanguage, apiVersi
on => $apiVersion, culture => $
culture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ResourcesApi->resourcesDelete
ByCode: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.R
esourcesApi()

context = context_example # Str


ing | Context

name = name_example # String |


Name

property = property_example # S
tring | Property

resourceSet = resourceSet_examp
le # String | Resource Set

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
culture = culture_example # Str
ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Delete a non-default reso


urce entry

api_response = api_instance
.resources_delete_by_code(conte
xt, name, property, resourceSet
, authorization=authorization,
acceptLanguage=acceptLanguage,
apiVersion=apiVersion, culture=
culture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ResourcesApi->resourcesDelet
eByCode: %s\n" % e)

Parameters
Path parameters
Name Description

context* String
Context

Required

name* String

Name

Required

property* String

Property

Required

resourceSet* String

Resource Set

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
• Schema

{
}

resourcesGetAll
Get all filtered resources

/api/Resources

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Resources?context=&na
me=&property=&resourceSet=&valu
e=&pageNumber=&pageSize=&sortTy
pe=&culture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Re
sourcesApi;

import java.io.File;

import java.util.*;

public class ResourcesApiExampl


e {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ResourcesApi apiInstanc
e = new ResourcesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String context = contex


t_example; // String | Context
search criteria

String name = name_exam


ple; // String | Name search cr
iteria

String property = prope


rty_example; // String | Proper
ty search criteria
String resourceSet = re
sourceSet_example; // String |
ResourceSet search criteria

String value = value_ex


ample; // String | Value search
criteria

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

HateoasCollectionRe
sponse.ResourceDto result = api
Instance.resourcesGetAll(pageNu
mber, pageSize, sortType, conte
xt, name, property, resourceSet
, value, authorization, acceptL
anguage, apiVersion, culture);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Resourc
esApi#resourcesGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Re
sourcesApi;

public class ResourcesApiExampl


e {

public static void main(Str


ing[] args) {

ResourcesApi apiInstanc
e = new ResourcesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String context = contex


t_example; // String | Context
search criteria

String name = name_exam


ple; // String | Name search cr
iteria

String property = prope


rty_example; // String | Proper
ty search criteria

String resourceSet = re
sourceSet_example; // String |
ResourceSet search criteria

String value = value_ex


ample; // String | Value search
criteria

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,
the defa
ult culture will be used.

try {

HateoasCollectionRe
sponse.ResourceDto result = api
Instance.resourcesGetAll(pageNu
mber, pageSize, sortType, conte
xt, name, property, resourceSet
, value, authorization, acceptL
anguage, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Resourc
esApi#resourcesGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *context = context_examp


le; // Context search criteria
(optional)

String *name = name_example; //


Name search criteria (optional)

String *property = property_exa


mple; // Property search criter
ia (optional)

String *resourceSet = resourceS


et_example; // ResourceSet sear
ch criteria (optional)

String *value = value_example;


// Value search criteria (optio
nal)

String *authorization = authori


zation_example; // access token
(optional)
String *acceptLanguage = accept
Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

ResourcesApi *apiInstance = [[R


esourcesApi alloc] init];

// Get all filtered resources

[apiInstance resourcesGetAllWit
h:pageNumber

pageSize:pageSize

sortType:sortType

context:context

name:name

property:property

resourceSet:resourceSet

value:value
authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(HateoasCollectionResponse.R
esourceDto output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2
var oauth2 = defaultClient.auth
entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.R


esourcesApi()

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'context': context_example, /
/ {String} Context search crite
ria

'name': name_example, // {Str


ing} Name search criteria
'property': property_example,
// {String} Property search cri
teria

'resourceSet': resourceSet_ex
ample, // {String} ResourceSet
search criteria

'value': value_example, // {S
tring} Value search criteria

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {
console.log('API called suc
cessfully. Returned data: ' + d
ata);

};

api.resourcesGetAll(pageNumber,
pageSize, sortType, opts, callb
ack);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class resourcesGetAl


lExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ResourcesApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var context = conte


xt_example; // String | Contex
t search criteria (optional)

var name = name_exa


mple; // String | Name search
criteria (optional)

var property = prop


erty_example; // String | Prop
erty search criteria (optional)

var resourceSet = r
esourceSet_example; // String
| ResourceSet search criteria (
optional)
var value = value_e
xample; // String | Value sear
ch criteria (optional)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Get all filt


ered resources

HateoasCollecti
onResponse.ResourceDto result =
apiInstance.resourcesGetAll(pag
eNumber, pageSize, sortType, co
ntext, name, property, resource
Set, value, authorization, acce
ptLanguage, apiVersion, culture
);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ResourcesA
pi.resourcesGetAll: " + e.Messa
ge );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\ResourcesApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, a number greater than 0

$sortType = sortType_example; /
/ String | SortType, 0 or 'asc'
for 'Ascending' and 1 or 'desc'
for 'Descending'

$context = context_example; //
String | Context search criteri
a

$name = name_example; // String


| Name search criteria

$property = property_example; /
/ String | Property search crit
eria

$resourceSet = resourceSet_exam
ple; // String | ResourceSet se
arch criteria

$value = value_example; // Stri


ng | Value search criteria

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version
$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->re
sourcesGetAll($pageNumber, $pag
eSize, $sortType, $context, $na
me, $property, $resourceSet, $v
alue, $authorization, $acceptLa
nguage, $apiVersion, $culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ResourcesApi->resourcesGetAll
: ', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Resourc
esApi;
# Configure OAuth2 access token
for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ResourcesApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $context = context_example;
# String | Context search crite
ria

my $name = name_example; # Stri


ng | Name search criteria

my $property = property_example
; # String | Property search cr
iteria

my $resourceSet = resourceSet_e
xample; # String | ResourceSet
search criteria

my $value = value_example; # St
ring | Value search criteria
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>resourcesGetAll(pageNumber =>
$pageNumber, pageSize => $pageS
ize, sortType => $sortType, con
text => $context, name => $name
, property => $property, resour
ceSet => $resourceSet, value =>
$value, authorization => $autho
rization, acceptLanguage => $ac
ceptLanguage, apiVersion => $ap
iVersion, culture => $culture);

print Dumper($result);

};

if ($@) {
warn "Exception when callin
g ResourcesApi->resourcesGetAll
: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.R
esourcesApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)
sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

context = context_example # Str


ing | Context search criteria (
optional)

name = name_example # String |


Name search criteria (optional)

property = property_example # S
tring | Property search criteri
a (optional)

resourceSet = resourceSet_examp
le # String | ResourceSet searc
h criteria (optional)

value = value_example # String


| Value search criteria (option
al)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,
the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get all filtered resource


s

api_response = api_instance
.resources_get_all(pageNumber,
pageSize, sortType, context=con
text, name=name, property=prope
rty, resourceSet=resourceSet, v
alue=value, authorization=autho
rization, acceptLanguage=accept
Language, apiVersion=apiVersion
, culture=culture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ResourcesApi->resourcesGetAl
l: %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

context String

Context search criteria

name String

Name search criteria

property String

Property search criteria

resourceSet String

ResourceSet search criteria

value String

Value search criteria

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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Context:
string
Context
Name:
string
Name
Property:
string
Property
Culture:
string
Culture
ResourceSet:
string
ResourceSet
Value:
string
ResourceSet
}
]
}
resourcesGetByKey
Get resource by key
(Context.Name.Property).

/api/Resources/{context}/{name}
/{property}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Resources/{context}/{
name}/{property}?defaultWhenNot
Found=&resourceSet=&culture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;
import io.swagger.client.api.Re
sourcesApi;

import java.io.File;

import java.util.*;

public class ResourcesApiExampl


e {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ResourcesApi apiInstanc
e = new ResourcesApi();

String context = contex


t_example; // String | Context.
String name = name_exam
ple; // String | Name.

String property = prope


rty_example; // String | Proper
ty.

Boolean defaultWhenNotF
ound = true; // Boolean | Flag
that indicates if a default val
ue should be returned if resour
ce not found in the DB.

String resourceSet = re
sourceSet_example; // String |
Resource Set (if not specified
"default" will be used).

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

ResourceDto result
= apiInstance.resourcesGetByKey
(context, name, property, defau
ltWhenNotFound, resourceSet, au
thorization, acceptLanguage, ap
iVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Resourc
esApi#resourcesGetByKey");

e.printStackTrace()
;

import io.swagger.client.api.Re
sourcesApi;

public class ResourcesApiExampl


e {

public static void main(Str


ing[] args) {

ResourcesApi apiInstanc
e = new ResourcesApi();

String context = contex


t_example; // String | Context.
String name = name_exam
ple; // String | Name.

String property = prope


rty_example; // String | Proper
ty.

Boolean defaultWhenNotF
ound = true; // Boolean | Flag
that indicates if a default val
ue should be returned if resour
ce not found in the DB.

String resourceSet = re
sourceSet_example; // String |
Resource Set (if not specified
"default" will be used).

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

ResourceDto result
= apiInstance.resourcesGetByKey
(context, name, property, defau
ltWhenNotFound, resourceSet, au
thorization, acceptLanguage, ap
iVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Resourc
esApi#resourcesGetByKey");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *context = context_examp


le; // Context.
String *name = name_example; //
Name.

String *property = property_exa


mple; // Property.

Boolean *defaultWhenNotFound =
true; // Flag that indicates if
a default value should be retur
ned if resource not found in th
e DB. (optional) (default to fa
lse)

String *resourceSet = resourceS


et_example; // Resource Set (if
not specified "default" will be
used). (optional) (default to d
efault)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
ResourcesApi *apiInstance = [[R
esourcesApi alloc] init];

// Get resource by key (Context


.Name.Property).

[apiInstance resourcesGetByKeyW
ith:context

name:name

property:property

defaultWhenNotFound:default
WhenNotFound

resourceSet:resourceSet

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(ResourceDto output, NSError
* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {
NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.R


esourcesApi()

var context = context_example;


// {String} Context.

var name = name_example; // {St


ring} Name.
var property = property_example
; // {String} Property.

var opts = {

'defaultWhenNotFound': true,
// {Boolean} Flag that indicate
s if a default value should be
returned if resource not found
in the DB.

'resourceSet': resourceSet_ex
ample, // {String} Resource Set
(if not specified "default" wil
l be used).

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {
if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.resourcesGetByKey(context,
name, property, opts, callback)
;

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class resourcesGetBy


KeyExample

public void main()

{
// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ResourcesApi();

var context = conte


xt_example; // String | Contex
t.

var name = name_exa


mple; // String | Name.

var property = prop


erty_example; // String | Prop
erty.

var defaultWhenNotF
ound = true; // Boolean | Flag
that indicates if a default val
ue should be returned if resour
ce not found in the DB. (option
al) (default to false)

var resourceSet = r
esourceSet_example; // String
| Resource Set (if not specifie
d "default" will be used). (opt
ional) (default to default)

var authorization =
authorization_example; // Stri
ng | access token (optional)
var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Get resource
by key (Context.Name.Property).

ResourceDto res
ult = apiInstance.resourcesGetB
yKey(context, name, property, d
efaultWhenNotFound, resourceSet
, authorization, acceptLanguage
, apiVersion, culture);

Debug.WriteLine
(result);

catch (Exception e)
{

Debug.Print("Ex
ception when calling ResourcesA
pi.resourcesGetByKey: " + e.Mes
sage );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ResourcesApi();

$context = context_example; //
String | Context.

$name = name_example; // String


| Name.

$property = property_example; /
/ String | Property.
$defaultWhenNotFound = true; //
Boolean | Flag that indicates i
f a default value should be ret
urned if resource not found in
the DB.

$resourceSet = resourceSet_exam
ple; // String | Resource Set (
if not specified "default" will
be used).

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->re
sourcesGetByKey($context, $name
, $property, $defaultWhenNotFou
nd, $resourceSet, $authorizatio
n, $acceptLanguage, $apiVersion
, $culture);

print_r($result);
} catch (Exception $e) {

echo 'Exception when callin


g ResourcesApi->resourcesGetByK
ey: ', $e->getMessage(), PHP_EO
L;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Resourc
esApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ResourcesApi->new();

my $context = context_example;
# String | Context.

my $name = name_example; # Stri


ng | Name.

my $property = property_example
; # String | Property.
my $defaultWhenNotFound = true;
# Boolean | Flag that indicates
if a default value should be re
turned if resource not found in
the DB.

my $resourceSet = resourceSet_e
xample; # String | Resource Set
(if not specified "default" wil
l be used).

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>resourcesGetByKey(context => $
context, name => $name, propert
y => $property, defaultWhenNotF
ound => $defaultWhenNotFound, r
esourceSet => $resourceSet, aut
horization => $authorization, a
cceptLanguage => $acceptLanguag
e, apiVersion => $apiVersion, c
ulture => $culture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ResourcesApi->resourcesGetByK
ey: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class
api_instance = swagger_client.R
esourcesApi()

context = context_example # Str


ing | Context.

name = name_example # String |


Name.

property = property_example # S
tring | Property.

defaultWhenNotFound = true # Bo
olean | Flag that indicates if
a default value should be retur
ned if resource not found in th
e DB. (optional) (default to fa
lse)

resourceSet = resourceSet_examp
le # String | Resource Set (if
not specified "default" will be
used). (optional) (default to d
efault)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,
the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get resource by key (Cont


ext.Name.Property).

api_response = api_instance
.resources_get_by_key(context,
name, property, defaultWhenNotF
ound=defaultWhenNotFound, resou
rceSet=resourceSet, authorizati
on=authorization, acceptLanguag
e=acceptLanguage, apiVersion=ap
iVersion, culture=culture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ResourcesApi->resourcesGetBy
Key: %s\n" % e)

Parameters
Path parameters
Name Description

context* String

Context.

Required
name* String

Name.

Required

property* String

Property.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Query parameters
Name Description

defaultWhenNotFound Boolean

Flag that indicates if a default value should be returned if


resource not found in the DB.

resourceSet String

Resource Set (if not specified "default" will be used).


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
• Schema

{
Context:
string
Context
Name:
string
Name
Property:
string
Property
Culture:
string
Culture
ResourceSet:
string
ResourceSet
Value:
string
ResourceSet
}
resourcesPatch
Update the value of a non-default
resource

/api/Resources/{context}/{name}
/{property}/{resourceSet}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Resources/{context}
/{name}/{property}/{resourceSet
}?culture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Re
sourcesApi;
import java.io.File;

import java.util.*;

public class ResourcesApiExampl


e {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ResourcesApi apiInstanc
e = new ResourcesApi();

String context = contex


t_example; // String | Context

String name = name_exam


ple; // String | Name
String property = prope
rty_example; // String | Proper
ty

String resourceSet = re
sourceSet_example; // String |
Resource Set

ResourcePatch value = ;
// ResourcePatch | The resource
value

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

Object result = api


Instance.resourcesPatch(context
, name, property, resourceSet,
value, authorization, acceptLan
guage, apiVersion, culture);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Resourc
esApi#resourcesPatch");

e.printStackTrace()
;

import io.swagger.client.api.Re
sourcesApi;

public class ResourcesApiExampl


e {

public static void main(Str


ing[] args) {

ResourcesApi apiInstanc
e = new ResourcesApi();

String context = contex


t_example; // String | Context

String name = name_exam


ple; // String | Name

String property = prope


rty_example; // String | Proper
ty
String resourceSet = re
sourceSet_example; // String |
Resource Set

ResourcePatch value = ;
// ResourcePatch | The resource
value

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

Object result = api


Instance.resourcesPatch(context
, name, property, resourceSet,
value, authorization, acceptLan
guage, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Resourc
esApi#resourcesPatch");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *context = context_examp


le; // Context

String *name = name_example; //


Name

String *property = property_exa


mple; // Property

String *resourceSet = resourceS


et_example; // Resource Set

ResourcePatch *value = ; // The


resource value
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

ResourcesApi *apiInstance = [[R


esourcesApi alloc] init];

// Update the value of a non-de


fault resource

[apiInstance resourcesPatchWith
:context

name:name

property:property

resourceSet:resourceSet

value:value
authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2
var oauth2 = defaultClient.auth
entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.R


esourcesApi()

var context = context_example;


// {String} Context

var name = name_example; // {St


ring} Name

var property = property_example


; // {String} Property

var resourceSet = resourceSet_e


xample; // {String} Resource Se
t

var value = ; // {ResourcePatch


} The resource value

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};
api.resourcesPatch(context, nam
e, property, resourceSet, value
, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class resourcesPatch


Example

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ResourcesApi();

var context = conte


xt_example; // String | Contex
t

var name = name_exa


mple; // String | Name

var property = prop


erty_example; // String | Prop
erty

var resourceSet = r
esourceSet_example; // String
| Resource Set

var value = new Res


ourcePatch(); // ResourcePatch
| The resource value

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,
the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Update the v
alue of a non-default resource

Object result =
apiInstance.resourcesPatch(cont
ext, name, property, resourceSe
t, value, authorization, accept
Language, apiVersion, culture);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ResourcesA
pi.resourcesPatch: " + e.Messag
e );

<?php
require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ResourcesApi();

$context = context_example; //
String | Context

$name = name_example; // String


| Name

$property = property_example; /
/ String | Property

$resourceSet = resourceSet_exam
ple; // String | Resource Set

$value = ; // ResourcePatch | T
he resource value

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version
$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->re
sourcesPatch($context, $name, $
property, $resourceSet, $value,
$authorization, $acceptLanguage
, $apiVersion, $culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ResourcesApi->resourcesPatch:
', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Resourc
esApi;

# Configure OAuth2 access token


for authorization: oauth2
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ResourcesApi->new();

my $context = context_example;
# String | Context

my $name = name_example; # Stri


ng | Name

my $property = property_example
; # String | Property

my $resourceSet = resourceSet_e
xample; # String | Resource Set

my $value = WWW::SwaggerClient:
:Object::ResourcePatch->new();
# ResourcePatch | The resource
value

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,
the defa
ult culture will be used.

eval {

my $result = $api_instance-
>resourcesPatch(context => $con
text, name => $name, property =
> $property, resourceSet => $re
sourceSet, value => $value, aut
horization => $authorization, a
cceptLanguage => $acceptLanguag
e, apiVersion => $apiVersion, c
ulture => $culture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ResourcesApi->resourcesPatch:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.R
esourcesApi()

context = context_example # Str


ing | Context

name = name_example # String |


Name

property = property_example # S
tring | Property

resourceSet = resourceSet_examp
le # String | Resource Set

value = # ResourcePatch | The


resource value

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
culture = culture_example # Str
ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Update the value of a non


-default resource

api_response = api_instance
.resources_patch(context, name,
property, resourceSet, value, a
uthorization=authorization, acc
eptLanguage=acceptLanguage, api
Version=apiVersion, culture=cul
ture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ResourcesApi->resourcesPatch
: %s\n" % e)

Parameters
Path parameters
Name Description

context* String
Context

Required

name* String

Name

Required

property* String

Property

Required

resourceSet* String

Resource Set

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

value * {

Value to update for a resource


Value:
Value string
}
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
• Schema

{
}

resourcesPost
Create a new resource

/api/Resources
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Resources"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Re
sourcesApi;

import java.io.File;

import java.util.*;

public class ResourcesApiExampl


e {
public static void main(Str
ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ResourcesApi apiInstanc
e = new ResourcesApi();

ResourceDto resource =
; // ResourceDto | Resource val
ues

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
apiInstance.resourc
esPost(resource, authorization,
acceptLanguage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Resourc
esApi#resourcesPost");

e.printStackTrace()
;

import io.swagger.client.api.Re
sourcesApi;

public class ResourcesApiExampl


e {

public static void main(Str


ing[] args) {

ResourcesApi apiInstanc
e = new ResourcesApi();

ResourceDto resource =
; // ResourceDto | Resource val
ues
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.resourc
esPost(resource, authorization,
acceptLanguage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Resourc
esApi#resourcesPost");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

ResourceDto *resource = ; // Re
source values

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

ResourcesApi *apiInstance = [[R


esourcesApi alloc] init];

// Create a new resource

[apiInstance resourcesPostWith:
resource

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(NSError* error) {
if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.R


esourcesApi()

var resource = ; // {ResourceDt


o} Resource values

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully.');

};

api.resourcesPost(resource, opt
s, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example

public class resourcesPostE


xample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ResourcesApi();

var resource = new


ResourceDto(); // ResourceDto |
Resource values

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a new
resource

apiInstance.res
ourcesPost(resource, authorizat
ion, acceptLanguage, apiVersion
);

catch (Exception e)

Debug.Print("Ex
ception when calling ResourcesA
pi.resourcesPost: " + e.Message
);

<?php
require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ResourcesApi();

$resource = ; // ResourceDto |
Resource values

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$api_instance->resourcesPos
t($resource, $authorization, $a
cceptLanguage, $apiVersion);

} catch (Exception $e) {


echo 'Exception when callin
g ResourcesApi->resourcesPost:
', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Resourc
esApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ResourcesApi->new();

my $resource = WWW::SwaggerClie
nt::Object::ResourceDto->new();
# ResourceDto | Resource values

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

$api_instance->resourcesPos
t(resource => $resource, author
ization => $authorization, acce
ptLanguage => $acceptLanguage,
apiVersion => $apiVersion);

};

if ($@) {

warn "Exception when callin


g ResourcesApi->resourcesPost:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.R
esourcesApi()

resource = # ResourceDto | Res


ource values

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a new resource

api_instance.resources_post
(resource, authorization=author
ization, acceptLanguage=acceptL
anguage, apiVersion=apiVersion)

except ApiException as e:
print("Exception when calli
ng ResourcesApi->resourcesPost:
%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

resource * {

Context:

string

Context
Name:
string
Name
Property:
string
Property
Culture:
string
Culture
ResourceSet:
string
ResourceSet
Value:
string
ResourceSet
}

Responses

Status: 200 - Returns


the location response
header with the new
resource

Shipments

shipmentsConfirmSelect

ed
Ship Confirm Selected Packslips.

/api/Shipments/ConfirmSelected
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Shipments/ConfirmSel
ected"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Sh
ipmentsApi;

import java.io.File;

import java.util.*;

public class ShipmentsApiExampl


e {
public static void main(Str
ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ShipmentsApi apiInstanc
e = new ShipmentsApi();

ConfirmShipmentsModel m
odel = ; // ConfirmShipmentsMod
el |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
try {

apiInstance.shipmen
tsConfirmSelected(model, author
ization, acceptLanguage, apiVer
sion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsConfirmSelected"
);

e.printStackTrace()
;

import io.swagger.client.api.Sh
ipmentsApi;

public class ShipmentsApiExampl


e {

public static void main(Str


ing[] args) {

ShipmentsApi apiInstanc
e = new ShipmentsApi();
ConfirmShipmentsModel m
odel = ; // ConfirmShipmentsMod
el |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.shipmen
tsConfirmSelected(model, author
ization, acceptLanguage, apiVer
sion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsConfirmSelected"
);

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

ConfirmShipmentsModel *model =
; //

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

ShipmentsApi *apiInstance = [[S


hipmentsApi alloc] init];

// Ship Confirm Selected Packsl


ips.

[apiInstance shipmentsConfirmSe
lectedWith:model

authorization:authorization
acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(NSError* error) {

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.S


hipmentsApi()
var model = ; // {ConfirmShipme
ntsModel}

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully.');

};

api.shipmentsConfirmSelected(mo
del, opts, callback);

using System;
using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class shipmentsConfi


rmSelectedExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ShipmentsApi();

var model = new Con


firmShipmentsModel(); // Confir
mShipmentsModel |
var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Ship Confirm
Selected Packslips.

apiInstance.shi
pmentsConfirmSelected(model, au
thorization, acceptLanguage, ap
iVersion);

catch (Exception e)

Debug.Print("Ex
ception when calling ShipmentsA
pi.shipmentsConfirmSelected: "
+ e.Message );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ShipmentsApi();

$model = ; // ConfirmShipmentsM
odel |

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {
$api_instance->shipmentsCon
firmSelected($model, $authoriza
tion, $acceptLanguage, $apiVers
ion);

} catch (Exception $e) {

echo 'Exception when callin


g ShipmentsApi->shipmentsConfir
mSelected: ', $e->getMessage(),
PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Shipmen
tsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ShipmentsApi->new();

my $model = WWW::SwaggerClient:
:Object::ConfirmShipmentsModel-
>new(); # ConfirmShipmentsModel
|
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

$api_instance->shipmentsCon
firmSelected(model => $model, a
uthorization => $authorization,
acceptLanguage => $acceptLangua
ge, apiVersion => $apiVersion);

};

if ($@) {

warn "Exception when callin


g ShipmentsApi->shipmentsConfir
mSelected: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.S
hipmentsApi()

model = # ConfirmShipmentsMode
l |

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Ship Confirm Selected Pac


kslips.

api_instance.shipments_conf
irm_selected(model, authorizati
on=authorization, acceptLanguag
e=acceptLanguage, apiVersion=ap
iVersion)

except ApiException as e:

print("Exception when calli


ng ShipmentsApi->shipmentsConfi
rmSelected: %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 * ConfirmShipmentsModel {

ConfirmShipmentsModel.
Required: ShipDate,Warehouse
Warehouse:
Warehouse string minLength:1 maxLength:50
ShipDate:
ShipDate string (date)
Carrier:
Carrier string minLength:1 maxLength:50
ShippingMethod:
ShippingMethod string minLength:1 maxLength:50
StartDate:
StartDate string (date)
EndDate:
EndDate string (date)
Batch:
Batch string minLength:1 maxLength:50
}

Responses

Status: 200 - OK

shipmentsConfirmSingle

ByOrder
Ship Confirm a Single Packslip.

/api/Orders/{orderCode}/Shipmen
ts/{shipmentCode}/ConfirmSingle

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Orders/{orderCode}/S
hipments/{shipmentCode}/Confirm
Single"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Sh
ipmentsApi;

import java.io.File;

import java.util.*;

public class ShipmentsApiExampl


e {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ShipmentsApi apiInstanc
e = new ShipmentsApi();

String orderCode = orde


rCode_example; // String |

String shipmentCode = s
hipmentCode_example; // String
|

ShipmentModel shipmentM
odel = ; // ShipmentModel |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.shipmen
tsConfirmSingleByOrder(orderCod
e, shipmentCode, shipmentModel,
authorization, acceptLanguage,
apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsConfirmSingleByO
rder");

e.printStackTrace()
;

import io.swagger.client.api.Sh
ipmentsApi;

public class ShipmentsApiExampl


e {

public static void main(Str


ing[] args) {

ShipmentsApi apiInstanc
e = new ShipmentsApi();

String orderCode = orde


rCode_example; // String |

String shipmentCode = s
hipmentCode_example; // String
|
ShipmentModel shipmentM
odel = ; // ShipmentModel |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.shipmen
tsConfirmSingleByOrder(orderCod
e, shipmentCode, shipmentModel,
authorization, acceptLanguage,
apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsConfirmSingleByO
rder");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *orderCode = orderCode_e


xample; //

String *shipmentCode = shipment


Code_example; //

ShipmentModel *shipmentModel =
; //

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

ShipmentsApi *apiInstance = [[S


hipmentsApi alloc] init];

// Ship Confirm a Single Packsl


ip.
[apiInstance shipmentsConfirmSi
ngleByOrderWith:orderCode

shipmentCode:shipmentCode

shipmentModel:shipmentModel

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(NSError* error) {

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];
oauth2.accessToken = "YOUR ACCE
SS TOKEN"

var api = new JenkonRestApiV1.S


hipmentsApi()

var orderCode = orderCode_examp


le; // {String}

var shipmentCode = shipmentCode


_example; // {String}

var shipmentModel = ; // {Shipm


entModel}

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully.');

};

api.shipmentsConfirmSingleByOrd
er(orderCode, shipmentCode, shi
pmentModel, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class shipmentsConfi


rmSingleByOrderExample

public void main()


{

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ShipmentsApi();

var orderCode = ord


erCode_example; // String |

var shipmentCode =
shipmentCode_example; // Strin
g |

var shipmentModel =
new ShipmentModel(); // Shipmen
tModel |

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)
try

// Ship Confirm
a Single Packslip.

apiInstance.shi
pmentsConfirmSingleByOrder(orde
rCode, shipmentCode, shipmentMo
del, authorization, acceptLangu
age, apiVersion);

catch (Exception e)

Debug.Print("Ex
ception when calling ShipmentsA
pi.shipmentsConfirmSingleByOrde
r: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ShipmentsApi();

$orderCode = orderCode_example;
// String |

$shipmentCode = shipmentCode_ex
ample; // String |

$shipmentModel = ; // ShipmentM
odel |

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$api_instance->shipmentsCon
firmSingleByOrder($orderCode, $
shipmentCode, $shipmentModel, $
authorization, $acceptLanguage,
$apiVersion);

} catch (Exception $e) {

echo 'Exception when callin


g ShipmentsApi->shipmentsConfir
mSingleByOrder: ', $e->getMessa
ge(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Shipmen
tsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ShipmentsApi->new();

my $orderCode = orderCode_examp
le; # String |

my $shipmentCode = shipmentCode
_example; # String |

my $shipmentModel = WWW::Swagge
rClient::Object::ShipmentModel-
>new(); # ShipmentModel |

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

$api_instance->shipmentsCon
firmSingleByOrder(orderCode =>
$orderCode, shipmentCode => $sh
ipmentCode, shipmentModel => $s
hipmentModel, authorization =>
$authorization, acceptLanguage
=> $acceptLanguage, apiVersion
=> $apiVersion);

};

if ($@) {

warn "Exception when callin


g ShipmentsApi->shipmentsConfir
mSingleByOrder: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.S
hipmentsApi()

orderCode = orderCode_example #
String |

shipmentCode = shipmentCode_exa
mple # String |

shipmentModel = # ShipmentMode
l |

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:
# Ship Confirm a Single Pac
kslip.

api_instance.shipments_conf
irm_single_by_order(orderCode,
shipmentCode, shipmentModel, au
thorization=authorization, acce
ptLanguage=acceptLanguage, apiV
ersion=apiVersion)

except ApiException as e:

print("Exception when calli


ng ShipmentsApi->shipmentsConfi
rmSingleByOrder: %s\n" % e)

Parameters
Path parameters
Name Description

orderCode* String

Required

shipmentCode* String

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String
Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

shipmentModel * ShipmentModel {

ShipmentModel.
Required: ShipmentDate,TotalQuantityShipped
ShipmentDate:
ShipmentDate string (date)
TotalQuantityShipped:
TotalQuantityShipped integer (int32)
Items:
Items[
ShipmentItemModel {
ShipmentItemModel.
Required: Product,ShipQuantities
Product:
Product string minLength:1 maxLength:50
ShipQuantities:
ShipQuantities integer (int32)
}
]
}

Responses

Status: 200 - OK
shipmentsConfirmSingle

ByPackslip
Ship Confirm a Single Packslip.

/api/Shipments/{code}/ConfirmSi
ngle

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Shipments/{code}/Con
firmSingle"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;
import io.swagger.client.api.Sh
ipmentsApi;

import java.io.File;

import java.util.*;

public class ShipmentsApiExampl


e {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ShipmentsApi apiInstanc
e = new ShipmentsApi();

String code = code_exam


ple; // String |
ShipmentModel shipmentM
odel = ; // ShipmentModel |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.shipmen
tsConfirmSingleByPackslip(code,
shipmentModel, authorization, a
cceptLanguage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsConfirmSingleByP
ackslip");

e.printStackTrace()
;

import io.swagger.client.api.Sh
ipmentsApi;
public class ShipmentsApiExampl
e {

public static void main(Str


ing[] args) {

ShipmentsApi apiInstanc
e = new ShipmentsApi();

String code = code_exam


ple; // String |

ShipmentModel shipmentM
odel = ; // ShipmentModel |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

apiInstance.shipmen
tsConfirmSingleByPackslip(code,
shipmentModel, authorization, a
cceptLanguage, apiVersion);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsConfirmSingleByP
ackslip");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //

ShipmentModel *shipmentModel =
; //

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)
String *apiVersion = apiVersion
_example; // Api-Version (optio
nal) (default to 1.0)

ShipmentsApi *apiInstance = [[S


hipmentsApi alloc] init];

// Ship Confirm a Single Packsl


ip.

[apiInstance shipmentsConfirmSi
ngleByPackslipWith:code

shipmentModel:shipmentModel

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(NSError* error) {

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');
var defaultClient = JenkonRestA
piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.S


hipmentsApi()

var code = code_example; // {St


ring}

var shipmentModel = ; // {Shipm


entModel}

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version
};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully.');

};

api.shipmentsConfirmSingleByPac
kslip(code, shipmentModel, opts
, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class shipmentsConfi


rmSingleByPackslipExample
{

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ShipmentsApi();

var code = code_exa


mple; // String |

var shipmentModel =
new ShipmentModel(); // Shipmen
tModel |

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)
try

// Ship Confirm
a Single Packslip.

apiInstance.shi
pmentsConfirmSingleByPackslip(c
ode, shipmentModel, authorizati
on, acceptLanguage, apiVersion)
;

catch (Exception e)

Debug.Print("Ex
ception when calling ShipmentsA
pi.shipmentsConfirmSingleByPack
slip: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ShipmentsApi();

$code = code_example; // String


|

$shipmentModel = ; // ShipmentM
odel |

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$api_instance->shipmentsCon
firmSingleByPackslip($code, $sh
ipmentModel, $authorization, $a
cceptLanguage, $apiVersion);

} catch (Exception $e) {

echo 'Exception when callin


g ShipmentsApi->shipmentsConfir
mSingleByPackslip: ', $e->getMe
ssage(), PHP_EOL;

}
?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Shipmen
tsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ShipmentsApi->new();

my $code = code_example; # Stri


ng |

my $shipmentModel = WWW::Swagge
rClient::Object::ShipmentModel-
>new(); # ShipmentModel |

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
eval {

$api_instance->shipmentsCon
firmSingleByPackslip(code => $c
ode, shipmentModel => $shipment
Model, authorization => $author
ization, acceptLanguage => $acc
eptLanguage, apiVersion => $api
Version);

};

if ($@) {

warn "Exception when callin


g ShipmentsApi->shipmentsConfir
mSingleByPackslip: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.S
hipmentsApi()

code = code_example # String |

shipmentModel = # ShipmentMode
l |

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Ship Confirm a Single Pac


kslip.

api_instance.shipments_conf
irm_single_by_packslip(code, sh
ipmentModel, authorization=auth
orization, acceptLanguage=accep
tLanguage, apiVersion=apiVersio
n)

except ApiException as e:
print("Exception when calli
ng ShipmentsApi->shipmentsConfi
rmSingleByPackslip: %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

Body parameters
Name Description

shipmentModel * ShipmentModel {

ShipmentModel.
Required: ShipmentDate,TotalQuantityShipped
ShipmentDate:
ShipmentDate string (date)
TotalQuantityShipped:
TotalQuantityShipped integer (int32)
Items:
Items[
ShipmentItemModel {
ShipmentItemModel.
Required: Product,ShipQuantities
Product:
Product string minLength:1 maxLength:50
ShipQuantities:
ShipQuantities integer (int32)
}
]
}

Responses

Status: 200 - OK

shipmentsGetAll
Get all the shipments.

/api/Shipments

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Shipments?pageNumber=
&pageSize=&sortType=&filters="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Sh
ipmentsApi;

import java.io.File;

import java.util.*;

public class ShipmentsApiExampl


e {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ShipmentsApi apiInstanc
e = new ShipmentsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
String filters = filter
s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.ShipmentDetail result =
apiInstance.shipmentsGetAll(pag
eNumber, pageSize, sortType, au
thorization, acceptLanguage, ap
iVersion, filters);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Sh
ipmentsApi;

public class ShipmentsApiExampl


e {

public static void main(Str


ing[] args) {

ShipmentsApi apiInstanc
e = new ShipmentsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
try {

HateoasCollectionRe
sponse.ShipmentDetail result =
apiInstance.shipmentsGetAll(pag
eNumber, pageSize, sortType, au
thorization, acceptLanguage, ap
iVersion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
Integer *pageNumber = 56; // Pa
geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

ShipmentsApi *apiInstance = [[S


hipmentsApi alloc] init];

// Get all the shipments.

[apiInstance shipmentsGetAllWit
h:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

filters:filters

completionHandler
: ^(HateoasCollectionResponse.S
hipmentDetail output, NSError*
error) {
if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.S


hipmentsApi()
var pageNumber = 56; // {Intege
r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

};

api.shipmentsGetAll(pageNumber,
pageSize, sortType, opts, callb
ack);

using System;
using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class shipmentsGetAl


lExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ShipmentsApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)
var pageSize = 56;
// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get all the


shipments.

HateoasCollecti
onResponse.ShipmentDetail resul
t = apiInstance.shipmentsGetAll
(pageNumber, pageSize, sortType
, authorization, acceptLanguage
, apiVersion, filters);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ShipmentsA
pi.shipmentsGetAll: " + e.Messa
ge );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ShipmentsApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->sh
ipmentsGetAll($pageNumber, $pag
eSize, $sortType, $authorizatio
n, $acceptLanguage, $apiVersion
, $filters);

print_r($result);

} catch (Exception $e) {


echo 'Exception when callin
g ShipmentsApi->shipmentsGetAll
: ', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Shipmen
tsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ShipmentsApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {
my $result = $api_instance-
>shipmentsGetAll(pageNumber =>
$pageNumber, pageSize => $pageS
ize, sortType => $sortType, aut
horization => $authorization, a
cceptLanguage => $acceptLanguag
e, apiVersion => $apiVersion, f
ilters => $filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ShipmentsApi->shipmentsGetAll
: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.S
hipmentsApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get all the shipments.

api_response = api_instance
.shipments_get_all(pageNumber,
pageSize, sortType, authorizati
on=authorization, acceptLanguag
e=acceptLanguage, apiVersion=ap
iVersion, filters=filters)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ShipmentsApi->shipmentsGetAl
l: %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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
ShipmentDto.
Code:
string
Shipment code.
SalesOrder:
string
Sales Order Code.
ShipDate:
string (date-time)
Ship Date.
Reference:
string
Reference.
TransacionDate:
string (date-time)
Transaction Date
ShipEmployee:
string
Ship Employee.
Warehouse:
string
Warehouse.
CarrierMethod:
string
CarrierMethod.
Finalized:
boolean
Finalized.
RequiresBackOrder:
boolean
Requires Back Order.
IsBackOrder:
boolean
Is Back Order.
Items:
[
Items.
{
ShipmentItemDto.
Code:
string
Code.
QuantityShipped:
integer (int32)
Quantity Shipped.
OriginalQuantityShipped:
integer (int32)
Original Quantity Shipped.
InventoryShipped:
integer (int32)
Inventory Shipped.
BackorderExpected:
string
Backorder Expected.
TrackingNumbers:
string
Tracking Numbers.
OutOfBox:
boolean
Out Of Box.
LotInfos:
[
Lot Information.
{
ShipmentItemLotInfoDto.
LotNumber:
string
Lot Number.
QuantityShipped:
integer (int32)
Quantity of shipment items in this lot.
}
]
}
]
}
]
}

shipmentsGetByCode
Get a shipment by code.

/api/Shipments/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Shipments/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Sh
ipmentsApi;

import java.io.File;

import java.util.*;

public class ShipmentsApiExampl


e {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ShipmentsApi apiInstanc
e = new ShipmentsApi();

String code = code_exam


ple; // String | Code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

ShipmentDetail resu
lt = apiInstance.shipmentsGetBy
Code(code, authorization, accep
tLanguage, apiVersion);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsGetByCode");

e.printStackTrace()
;

import io.swagger.client.api.Sh
ipmentsApi;

public class ShipmentsApiExampl


e {

public static void main(Str


ing[] args) {

ShipmentsApi apiInstanc
e = new ShipmentsApi();

String code = code_exam


ple; // String | Code.

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

ShipmentDetail resu
lt = apiInstance.shipmentsGetBy
Code(code, authorization, accep
tLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsGetByCode");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


Code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

ShipmentsApi *apiInstance = [[S


hipmentsApi alloc] init];

// Get a shipment by code.

[apiInstance shipmentsGetByCode
With:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(ShipmentDetail output, NSEr
ror* error) {
if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.S


hipmentsApi()
var code = code_example; // {St
ring} Code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.shipmentsGetByCode(code, op
ts, callback);
using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class shipmentsGetBy


CodeExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ShipmentsApi();

var code = code_exa


mple; // String | Code.
var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get a shipme
nt by code.

ShipmentDetail
result = apiInstance.shipmentsG
etByCode(code, authorization, a
cceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ShipmentsA
pi.shipmentsGetByCode: " + e.Me
ssage );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ShipmentsApi();

$code = code_example; // String


| Code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {
$result = $api_instance->sh
ipmentsGetByCode($code, $author
ization, $acceptLanguage, $apiV
ersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ShipmentsApi->shipmentsGetByC
ode: ', $e->getMessage(), PHP_E
OL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Shipmen
tsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ShipmentsApi->new();

my $code = code_example; # Stri


ng | Code.
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>shipmentsGetByCode(code => $co
de, authorization => $authoriza
tion, acceptLanguage => $accept
Language, apiVersion => $apiVer
sion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ShipmentsApi->shipmentsGetByC
ode: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.S
hipmentsApi()

code = code_example # String |


Code.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get a shipment by code.


api_response = api_instance
.shipments_get_by_code(code, au
thorization=authorization, acce
ptLanguage=acceptLanguage, apiV
ersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ShipmentsApi->shipmentsGetBy
Code: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

Code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String
Api-Version

Responses

Status: 200 - OK
• Schema

{
ShipmentDto.
Code:
string
Shipment code.
SalesOrder:
string
Sales Order Code.
ShipDate:
string (date-time)
Ship Date.
Reference:
string
Reference.
TransacionDate:
string (date-time)
Transaction Date
ShipEmployee:
string
Ship Employee.
Warehouse:
string
Warehouse.
CarrierMethod:
string
CarrierMethod.
Finalized:
boolean
Finalized.
RequiresBackOrder:
boolean
Requires Back Order.
IsBackOrder:
boolean
Is Back Order.
Items:
[
Items.
{
ShipmentItemDto.
Code:
string
Code.
QuantityShipped:
integer (int32)
Quantity Shipped.
OriginalQuantityShipped:
integer (int32)
Original Quantity Shipped.
InventoryShipped:
integer (int32)
Inventory Shipped.
BackorderExpected:
string
Backorder Expected.
TrackingNumbers:
string
Tracking Numbers.
OutOfBox:
boolean
Out Of Box.
LotInfos:
[
Lot Information.
{
ShipmentItemLotInfoDto.
LotNumber:
string
Lot Number.
QuantityShipped:
integer (int32)
Quantity of shipment items in this lot.
}
]
}
]
}

shipmentsPost
Create a shipment.

/api/Shipments

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Shipments"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Sh
ipmentsApi;

import java.io.File;

import java.util.*;

public class ShipmentsApiExampl


e {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2
OAuth oauth2 = (OAuth)
defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

ShipmentsApi apiInstanc
e = new ShipmentsApi();

CreateShipmentModel shi
pment = ; // CreateShipmentMode
l |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.shipmentsPost(shipment
, authorization, acceptLanguage
, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsPost");

e.printStackTrace()
;

import io.swagger.client.api.Sh
ipmentsApi;

public class ShipmentsApiExampl


e {

public static void main(Str


ing[] args) {

ShipmentsApi apiInstanc
e = new ShipmentsApi();

CreateShipmentModel shi
pment = ; // CreateShipmentMode
l |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.shipmentsPost(shipment
, authorization, acceptLanguage
, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsPost");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
CreateShipmentModel *shipment =
; //

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

ShipmentsApi *apiInstance = [[S


hipmentsApi alloc] init];

// Create a shipment.

[apiInstance shipmentsPostWith:
shipment

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {
NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.S


hipmentsApi()

var shipment = ; // {CreateShip


mentModel}
var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.shipmentsPost(shipment, opt
s, callback);

using System;

using System.Diagnostics;
using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class shipmentsPostE


xample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew ShipmentsApi();

var shipment = new


CreateShipmentModel(); // Creat
eShipmentModel |

var authorization =
authorization_example; // Stri
ng | access token (optional)
var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a shi
pment.

Object result =
apiInstance.shipmentsPost(shipm
ent, authorization, acceptLangu
age, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling ShipmentsA
pi.shipmentsPost: " + e.Message
);

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\ShipmentsApi();

$shipment = ; // CreateShipment
Model |

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->sh
ipmentsPost($shipment, $authori
zation, $acceptLanguage, $apiVe
rsion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g ShipmentsApi->shipmentsPost:
', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Shipmen
tsApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::ShipmentsApi->new();

my $shipment = WWW::SwaggerClie
nt::Object::CreateShipmentModel
->new(); # CreateShipmentModel
|
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>shipmentsPost(shipment => $shi
pment, authorization => $author
ization, acceptLanguage => $acc
eptLanguage, apiVersion => $api
Version);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g ShipmentsApi->shipmentsPost:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.S
hipmentsApi()

shipment = # CreateShipmentMod
el |

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a shipment.
api_response = api_instance
.shipments_post(shipment, autho
rization=authorization, acceptL
anguage=acceptLanguage, apiVers
ion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng ShipmentsApi->shipmentsPost:
%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

shipment * CreateShipmentModel {

CreateShipmentModel
Required: Type,Warehouse
Type:
Type string
Enum: SalesOrder , Date , Backorder
Warehouse:
Warehouse string minLength:1 maxLength:50
SalesOrder:
SalesOrder string minLength:1 maxLength:50
StartDate:
StartDate string (date-time)
EndDate:
EndDate string (date-time)
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

SponsorRules

sponsorRulesGetByAccou

ntCode
Get by account code
/api/SponsorRules/{accountCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/SponsorRules/{account
Code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Sp
onsorRulesApi;

import java.io.File;

import java.util.*;
public class SponsorRulesApiExa
mple {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

SponsorRulesApi apiInst
ance = new SponsorRulesApi();

String accountCode = ac
countCode_example; // String |
Account code

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

ResponseSponsorRule
s result = apiInstance.sponsorR
ulesGetByAccountCode(accountCod
e, authorization, acceptLanguag
e, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Sponsor
RulesApi#sponsorRulesGetByAccou
ntCode");

e.printStackTrace()
;

import io.swagger.client.api.Sp
onsorRulesApi;

public class SponsorRulesApiExa


mple {
public static void main(Str
ing[] args) {

SponsorRulesApi apiInst
ance = new SponsorRulesApi();

String accountCode = ac
countCode_example; // String |
Account code

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

ResponseSponsorRule
s result = apiInstance.sponsorR
ulesGetByAccountCode(accountCod
e, authorization, acceptLanguag
e, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Sponsor
RulesApi#sponsorRulesGetByAccou
ntCode");

e.printStackTrace()
;
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // Account code

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

SponsorRulesApi *apiInstance =
[[SponsorRulesApi alloc] init];
// Get by account code

[apiInstance sponsorRulesGetByA
ccountCodeWith:accountCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(ResponseSponsorRules output
, NSError* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;
// Configure OAuth2 access toke
n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.S


ponsorRulesApi()

var accountCode = accountCode_e


xample; // {String} Account cod
e

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {
console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.sponsorRulesGetByAccountCod
e(accountCode, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class sponsorRulesGe


tByAccountCodeExample

public void main()

{
// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew SponsorRulesApi();

var accountCode = a
ccountCode_example; // String
| Account code

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get by accou
nt code

ResponseSponsor
Rules result = apiInstance.spon
sorRulesGetByAccountCode(accoun
tCode, authorization, acceptLan
guage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling SponsorRul
esApi.sponsorRulesGetByAccountC
ode: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\SponsorRulesApi();

$accountCode = accountCode_exam
ple; // String | Account code

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->sp
onsorRulesGetByAccountCode($acc
ountCode, $authorization, $acce
ptLanguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g SponsorRulesApi->sponsorRules
GetByAccountCode: ', $e->getMes
sage(), PHP_EOL;

?>

use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Sponsor
RulesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::SponsorRulesApi->new();

my $accountCode = accountCode_e
xample; # String | Account code

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>sponsorRulesGetByAccountCode(a
ccountCode => $accountCode, aut
horization => $authorization, a
cceptLanguage => $acceptLanguag
e, apiVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g SponsorRulesApi->sponsorRules
GetByAccountCode: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class
api_instance = swagger_client.S
ponsorRulesApi()

accountCode = accountCode_examp
le # String | Account code

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get by account code

api_response = api_instance
.sponsor_rules_get_by_account_c
ode(accountCode, authorization=
authorization, acceptLanguage=a
cceptLanguage, apiVersion=apiVe
rsion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng SponsorRulesApi->sponsorRule
sGetByAccountCode: %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

Responses

Status: 200 - OK
• Schema

{
Response Sponsor Rules
SponsorInformation:
{
Sponsor Information
AccountCode:
string
Account Code
PostCode:
string
Post Code
FirstName:
string
First Name
LastName:
string
Last Name
}
SponsorRules:
[
Sponsor Rules
{
Sponsor Rule
Country:
string
Country
AccountTypes:
[
Account Types
string
]
}
]
}

sponsorRulesGetByCount

ryPostcodeName
Get by country postcode or/and
name

/api/SponsorRules

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/SponsorRules?countryC
ode=&postalCode=&firstName=&las
tName=&pageNumber=&pageSize=&so
rtType="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Sp
onsorRulesApi;
import java.io.File;

import java.util.*;

public class SponsorRulesApiExa


mple {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

SponsorRulesApi apiInst
ance = new SponsorRulesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0
String sortType = sortT
ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String countryCode = co
untryCode_example; // String |

String postalCode = pos


talCode_example; // String |

String firstName = firs


tName_example; // String |

String lastName = lastN


ame_example; // String |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.ResponseSponsorRules res
ult = apiInstance.sponsorRulesG
etByCountryPostcodeName(pageNum
ber, pageSize, sortType, countr
yCode, postalCode, firstName, l
astName, authorization, acceptL
anguage, apiVersion);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Sponsor
RulesApi#sponsorRulesGetByCount
ryPostcodeName");

e.printStackTrace()
;

import io.swagger.client.api.Sp
onsorRulesApi;

public class SponsorRulesApiExa


mple {

public static void main(Str


ing[] args) {

SponsorRulesApi apiInst
ance = new SponsorRulesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0
String sortType = sortT
ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String countryCode = co
untryCode_example; // String |

String postalCode = pos


talCode_example; // String |

String firstName = firs


tName_example; // String |

String lastName = lastN


ame_example; // String |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.ResponseSponsorRules res
ult = apiInstance.sponsorRulesG
etByCountryPostcodeName(pageNum
ber, pageSize, sortType, countr
yCode, postalCode, firstName, l
astName, authorization, acceptL
anguage, apiVersion);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Sponsor
RulesApi#sponsorRulesGetByCount
ryPostcodeName");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *countryCode = countryCo


de_example; // (optional)

String *postalCode = postalCode


_example; // (optional)

String *firstName = firstName_e


xample; // (optional)

String *lastName = lastName_exa


mple; // (optional)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

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

// Get by country postcode or/a


nd name

[apiInstance sponsorRulesGetByC
ountryPostcodeNameWith:pageNumb
er

pageSize:pageSize
sortType:sortType

countryCode:countryCode

postalCode:postalCode

firstName:firstName

lastName:lastName

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(HateoasCollectionResponse.R
esponseSponsorRules output, NSE
rror* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');
var defaultClient = JenkonRestA
piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.S


ponsorRulesApi()

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {
'countryCode': countryCode_ex
ample, // {String}

'postalCode': postalCode_exam
ple, // {String}

'firstName': firstName_exampl
e, // {String}

'lastName': lastName_example,
// {String}

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};
api.sponsorRulesGetByCountryPos
tcodeName(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 sponsorRulesGe


tByCountryPostcodeNameExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew SponsorRulesApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var countryCode = c
ountryCode_example; // String
| (optional)

var postalCode = po
stalCode_example; // String |
(optional)

var firstName = fir


stName_example; // String | (
optional)

var lastName = last


Name_example; // String | (op
tional)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get by count
ry postcode or/and name

HateoasCollecti
onResponse.ResponseSponsorRules
result = apiInstance.sponsorRul
esGetByCountryPostcodeName(page
Number, pageSize, sortType, cou
ntryCode, postalCode, firstName
, lastName, authorization, acce
ptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling SponsorRul
esApi.sponsorRulesGetByCountryP
ostcodeName: " + e.Message );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\SponsorRulesApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, a number greater than 0

$sortType = sortType_example; /
/ String | SortType, 0 or 'asc'
for 'Ascending' and 1 or 'desc'
for 'Descending'

$countryCode = countryCode_exam
ple; // String |

$postalCode = postalCode_exampl
e; // String |

$firstName = firstName_example;
// String |
$lastName = lastName_example; /
/ String |

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->sp
onsorRulesGetByCountryPostcodeN
ame($pageNumber, $pageSize, $so
rtType, $countryCode, $postalCo
de, $firstName, $lastName, $aut
horization, $acceptLanguage, $a
piVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g SponsorRulesApi->sponsorRules
GetByCountryPostcodeName: ', $e
->getMessage(), PHP_EOL;

?>

use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Sponsor
RulesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::SponsorRulesApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $countryCode = countryCode_e
xample; # String |

my $postalCode = postalCode_exa
mple; # String |

my $firstName = firstName_examp
le; # String |
my $lastName = lastName_example
; # String |

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>sponsorRulesGetByCountryPostco
deName(pageNumber => $pageNumbe
r, pageSize => $pageSize, sortT
ype => $sortType, countryCode =
> $countryCode, postalCode => $
postalCode, firstName => $first
Name, lastName => $lastName, au
thorization => $authorization,
acceptLanguage => $acceptLangua
ge, apiVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g SponsorRulesApi->sponsorRules
GetByCountryPostcodeName: $@\n"
;

}
from __future__ import print_st
atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.S
ponsorRulesApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)
countryCode = countryCode_examp
le # String | (optional)

postalCode = postalCode_example
# String | (optional)

firstName = firstName_example #
String | (optional)

lastName = lastName_example # S
tring | (optional)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get by country postcode o


r/and name

api_response = api_instance
.sponsor_rules_get_by_country_p
ostcode_name(pageNumber, pageSi
ze, sortType, countryCode=count
ryCode, postalCode=postalCode,
firstName=firstName, lastName=l
astName, authorization=authoriz
ation, acceptLanguage=acceptLan
guage, apiVersion=apiVersion)

pprint(api_response)
except ApiException as e:

print("Exception when calli


ng SponsorRulesApi->sponsorRule
sGetByCountryPostcodeName: %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

countryCode String

postalCode String

firstName String

lastName String

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

Responses

Status: 200 - OK
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Response Sponsor Rules
SponsorInformation:
{
Sponsor Information
AccountCode:
string
Account Code
PostCode:
string
Post Code
FirstName:
string
First Name
LastName:
string
Last Name
}
SponsorRules:
[
Sponsor Rules
{
Sponsor Rule
Country:
string
Country
AccountTypes:
[
Account Types
string
]
}
]
}
]
}

Stocks

stocksGetAll
Get data for Stock entries

/api/Stocks

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Stocks?keys=&pageNumb
er=&pageSize=&sortType="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.St
ocksApi;

import java.io.File;

import java.util.*;

public class StocksApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

StocksApi apiInstance =
new StocksApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

array[Object] keys = ;
// array[Object] | Stock keys

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.StockDto result = apiIns
tance.stocksGetAll(pageNumber,
pageSize, sortType, keys, autho
rization, acceptLanguage, apiVe
rsion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling StocksA
pi#stocksGetAll");

e.printStackTrace()
;

import io.swagger.client.api.St
ocksApi;

public class StocksApiExample {


public static void main(Str
ing[] args) {

StocksApi apiInstance =
new StocksApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

array[Object] keys = ;
// array[Object] | Stock keys

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

HateoasCollectionRe
sponse.StockDto result = apiIns
tance.stocksGetAll(pageNumber,
pageSize, sortType, keys, autho
rization, acceptLanguage, apiVe
rsion);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling StocksA
pi#stocksGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)
String *sortType = sortType_exa
mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

array[Object] *keys = ; // Stoc


k keys (optional)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

StocksApi *apiInstance = [[Stoc


ksApi alloc] init];

// Get data for Stock entries

[apiInstance stocksGetAllWith:p
ageNumber

pageSize:pageSize

sortType:sortType

keys:keys

authorization:authorization
acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(HateoasCollectionResponse.S
tockDto output, NSError* error)
{

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];
oauth2.accessToken = "YOUR ACCE
SS TOKEN"

var api = new JenkonRestApiV1.S


tocksApi()

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'keys': , // {array[Object]}
Stock keys

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.stocksGetAll(pageNumber, pa
geSize, sortType, opts, callbac
k);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example
{

public class stocksGetAllEx


ample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew StocksApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)
var keys = new arra
y[Object](); // array[Object] |
Stock keys (optional)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get data for


Stock entries

HateoasCollecti
onResponse.StockDto result = ap
iInstance.stocksGetAll(pageNumb
er, pageSize, sortType, keys, a
uthorization, acceptLanguage, a
piVersion);

Debug.WriteLine
(result);

catch (Exception e)

{
Debug.Print("Ex
ception when calling StocksApi.
stocksGetAll: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\StocksApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, a number greater than 0

$sortType = sortType_example; /
/ String | SortType, 0 or 'asc'
for 'Ascending' and 1 or 'desc'
for 'Descending'
$keys = ; // array[Object] | St
ock keys

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->st
ocksGetAll($pageNumber, $pageSi
ze, $sortType, $keys, $authoriz
ation, $acceptLanguage, $apiVer
sion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g StocksApi->stocksGetAll: ', $
e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::StocksA
pi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::StocksApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $keys = []; # array[Object]


| Stock keys

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
eval {

my $result = $api_instance-
>stocksGetAll(pageNumber => $pa
geNumber, pageSize => $pageSize
, sortType => $sortType, keys =
> $keys, authorization => $auth
orization, acceptLanguage => $a
cceptLanguage, apiVersion => $a
piVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g StocksApi->stocksGetAll: $@\n
";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.S
tocksApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

keys = # array[Object] | Stock


keys (optional)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
try:

# Get data for Stock entrie


s

api_response = api_instance
.stocks_get_all(pageNumber, pag
eSize, sortType, keys=keys, aut
horization=authorization, accep
tLanguage=acceptLanguage, apiVe
rsion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng StocksApi->stocksGetAll: %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

keys array[Object]

Stock keys

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

Responses

Status: 200 - OK
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Stock Dto.
Warehouse:
string
Warehouse.
Inventory:
string
Inventory.
StartingQuantity:
integer (int32)
StartingQuantity.
BackOrderDate:
string (date-time)
BackOrderDate.
BackOrder:
boolean
BackOrder.
TrackQuantity:
boolean
TrackQuantity.
Bay:
string
Bay.
Bin:
string
Bin.
BackOrderAllowed:
boolean
Back Order Allowed.
StandardCost:
number (double)
Standard Cost.
StandardCostCurrency:
string
Standard Cost Currency.
ReorderAmount:
integer (int32)
Reorder amount..
RegularStockAmount:
integer (int32)
Regular Stock Amount.
Active:
boolean
Active.
}
]
}

stocksPatchAsync
Patch a Stock entry
Provide only the fields to modify,
leaving the others null

/api/Stocks

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Stocks?inventoryCod
e=&warehouseCode="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.St
ocksApi;
import java.io.File;

import java.util.*;

public class StocksApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

StocksApi apiInstance =
new StocksApi();

String inventoryCode =
inventoryCode_example; // Strin
g | The Inventory Code of the e
ntry to patch

String warehouseCode =
warehouseCode_example; // Strin
g | The Warehouse Code of the e
ntry to patch

StockPatch stockPatch =
; // StockPatch | The subset of
Stock fields to patch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.stocksPatchAsync(inven
toryCode, warehouseCode, stockP
atch, authorization, acceptLang
uage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling StocksA
pi#stocksPatchAsync");

e.printStackTrace()
;

}
}

import io.swagger.client.api.St
ocksApi;

public class StocksApiExample {

public static void main(Str


ing[] args) {

StocksApi apiInstance =
new StocksApi();

String inventoryCode =
inventoryCode_example; // Strin
g | The Inventory Code of the e
ntry to patch

String warehouseCode =
warehouseCode_example; // Strin
g | The Warehouse Code of the e
ntry to patch

StockPatch stockPatch =
; // StockPatch | The subset of
Stock fields to patch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
try {

Object result = api


Instance.stocksPatchAsync(inven
toryCode, warehouseCode, stockP
atch, authorization, acceptLang
uage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling StocksA
pi#stocksPatchAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *inventoryCode = invento
ryCode_example; // The Inventor
y Code of the entry to patch

String *warehouseCode = warehou


seCode_example; // The Warehous
e Code of the entry to patch

StockPatch *stockPatch = ; // T
he subset of Stock fields to pa
tch

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

StocksApi *apiInstance = [[Stoc


ksApi alloc] init];

// Patch a Stock entry

[apiInstance stocksPatchAsyncWi
th:inventoryCode

warehouseCode:warehouseCode

stockPatch:stockPatch

authorization:authorization
acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];
oauth2.accessToken = "YOUR ACCE
SS TOKEN"

var api = new JenkonRestApiV1.S


tocksApi()

var inventoryCode = inventoryCo


de_example; // {String} The Inv
entory Code of the entry to pat
ch

var warehouseCode = warehouseCo


de_example; // {String} The War
ehouse Code of the entry to pat
ch

var stockPatch = ; // {StockPat


ch} The subset of Stock fields
to patch

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version
};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.stocksPatchAsync(inventoryC
ode, warehouseCode, stockPatch,
opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

{
public class stocksPatchAsy
ncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew StocksApi();

var inventoryCode =
inventoryCode_example; // Stri
ng | The Inventory Code of the
entry to patch

var warehouseCode =
warehouseCode_example; // Stri
ng | The Warehouse Code of the
entry to patch

var stockPatch = ne
w StockPatch(); // StockPatch |
The subset of Stock fields to p
atch

var authorization =
authorization_example; // Stri
ng | access token (optional)
var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Patch a Stoc
k entry

Object result =
apiInstance.stocksPatchAsync(in
ventoryCode, warehouseCode, sto
ckPatch, authorization, acceptL
anguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling StocksApi.
stocksPatchAsync: " + e.Message
);

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\StocksApi();

$inventoryCode = inventoryCode_
example; // String | The Invent
ory Code of the entry to patch

$warehouseCode = warehouseCode_
example; // String | The Wareho
use Code of the entry to patch

$stockPatch = ; // StockPatch |
The subset of Stock fields to p
atch

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->st
ocksPatchAsync($inventoryCode,
$warehouseCode, $stockPatch, $a
uthorization, $acceptLanguage,
$apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g StocksApi->stocksPatchAsync:
', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::StocksA
pi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::StocksApi->new();

my $inventoryCode = inventoryCo
de_example; # String | The Inve
ntory Code of the entry to patc
h

my $warehouseCode = warehouseCo
de_example; # String | The Ware
house Code of the entry to patc
h

my $stockPatch = WWW::SwaggerCl
ient::Object::StockPatch->new()
; # StockPatch | The subset of
Stock fields to patch

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>stocksPatchAsync(inventoryCode
=> $inventoryCode, warehouseCod
e => $warehouseCode, stockPatch
=> $stockPatch, authorization =
> $authorization, acceptLanguag
e => $acceptLanguage, apiVersio
n => $apiVersion);
print Dumper($result);

};

if ($@) {

warn "Exception when callin


g StocksApi->stocksPatchAsync:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.S
tocksApi()
inventoryCode = inventoryCode_e
xample # String | The Inventory
Code of the entry to patch

warehouseCode = warehouseCode_e
xample # String | The Warehouse
Code of the entry to patch

stockPatch = # StockPatch | Th
e subset of Stock fields to pat
ch

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch a Stock entry

api_response = api_instance
.stocks_patch_async(inventoryCo
de, warehouseCode, stockPatch,
authorization=authorization, ac
ceptLanguage=acceptLanguage, ap
iVersion=apiVersion)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng StocksApi->stocksPatchAsync:
%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

stockPatch * StockPatch {

Stock Patch.
BackOrderDate:
BackOrderDate string (date-time)
BackOrder:
BackOrder boolean
TrackQuantity:
TrackQuantity boolean
Bay:
Bay string minLength:1 maxLength:50
Bin:
Bin string minLength:1 maxLength:50
BackOrderAllowed:
BackOrderAllowed boolean
StandardCost:
MoneyModel {
Money.
Required: Amount,Currency
Amount:
Amount number
Currency:
Currency string
}
ReorderAmount:
ReorderAmount integer (ex)minimum:true
RegularStockAmount:
RegularStockAmount integer (ex)minimum:true
Active:
Active boolean
}
Query parameters
Name Description

inventoryCode* String

The Inventory Code of the entry to patch

Required

warehouseCode* String

The Warehouse Code of the entry to patch

Required

Responses

Status: 200 - OK
• Schema
{
}

stocksPostAdjustmentsA

sync
Create a Stock Adjustment entry

/api/Stocks/Adjustments

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Stocks/Adjustments"

import io.swagger.client.*;

import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;

import io.swagger.client.api.St
ocksApi;

import java.io.File;

import java.util.*;

public class StocksApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

StocksApi apiInstance =
new StocksApi();
StockAdjustment stockAd
justment = ; // StockAdjustment
| The {Stock} adjustment data t
o create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.stocksPostAdjustmentsA
sync(stockAdjustment, authoriza
tion, acceptLanguage, apiVersio
n);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling StocksA
pi#stocksPostAdjustmentsAsync")
;

e.printStackTrace()
;

}
}

import io.swagger.client.api.St
ocksApi;

public class StocksApiExample {

public static void main(Str


ing[] args) {

StocksApi apiInstance =
new StocksApi();

StockAdjustment stockAd
justment = ; // StockAdjustment
| The {Stock} adjustment data t
o create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.stocksPostAdjustmentsA
sync(stockAdjustment, authoriza
tion, acceptLanguage, apiVersio
n);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling StocksA
pi#stocksPostAdjustmentsAsync")
;

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

StockAdjustment *stockAdjustmen
t = ; // The {Stock} adjustment
data to create

String *authorization = authori


zation_example; // access token
(optional)
String *acceptLanguage = accept
Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

StocksApi *apiInstance = [[Stoc


ksApi alloc] init];

// Create a Stock Adjustment en


try

[apiInstance stocksPostAdjustme
ntsAsyncWith:stockAdjustment

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {
NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.S


tocksApi()

var stockAdjustment = ; // {Sto


ckAdjustment} The {Stock} adjus
tment data to create

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.stocksPostAdjustmentsAsync(
stockAdjustment, opts, callback
);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class stocksPostAdju


stmentsAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew StocksApi();

var stockAdjustment
= new StockAdjustment(); // Sto
ckAdjustment | The {Stock} adju
stment data to create

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a Sto
ck Adjustment entry

Object result =
apiInstance.stocksPostAdjustmen
tsAsync(stockAdjustment, author
ization, acceptLanguage, apiVer
sion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling StocksApi.
stocksPostAdjustmentsAsync: " +
e.Message );

}
<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\StocksApi();

$stockAdjustment = ; // StockAd
justment | The {Stock} adjustme
nt data to create

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->st
ocksPostAdjustmentsAsync($stock
Adjustment, $authorization, $ac
ceptLanguage, $apiVersion);
print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g StocksApi->stocksPostAdjustme
ntsAsync: ', $e->getMessage(),
PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::StocksA
pi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::StocksApi->new();

my $stockAdjustment = WWW::Swag
gerClient::Object::StockAdjustm
ent->new(); # StockAdjustment |
The {Stock} adjustment data to
create
my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>stocksPostAdjustmentsAsync(sto
ckAdjustment => $stockAdjustmen
t, authorization => $authorizat
ion, acceptLanguage => $acceptL
anguage, apiVersion => $apiVers
ion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g StocksApi->stocksPostAdjustme
ntsAsync: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.S
tocksApi()

stockAdjustment = # StockAdjus
tment | The {Stock} adjustment
data to create

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:
# Create a Stock Adjustment
entry

api_response = api_instance
.stocks_post_adjustments_async(
stockAdjustment, authorization=
authorization, acceptLanguage=a
cceptLanguage, apiVersion=apiVe
rsion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng StocksApi->stocksPostAdjustm
entsAsync: %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
stockAdjustment * {

Stock Adjustment
Required: ActivityCode,DocumentNumber,Warehouse
ActivityCode:
ActivityCode string minLength:1 maxLength:50
Comment:
Comment string minLength:1 maxLength:4000
DocumentNumber:
DocumentNumber string minLength:1 maxLength:50
Warehouse:
Warehouse string minLength:1 maxLength:50
Items:
Items[
StockAdjustmentItem {
Stock Adjustment Item
Required: Adjustment,Inventory
Adjustment:
Adjustment integer
Inventory:
Inventory string minLength:1 maxLength:50
}
]
}

Responses

Status: 200 - OK
• Schema

{
}
stocksPostAsync
Create a Stock entry

/api/Stocks

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Stocks"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.St
ocksApi;

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

public class StocksApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

StocksApi apiInstance =
new StocksApi();

StockDto stock = ; // S
tockDto | The {Stock} data to c
reate

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.stocksPostAsync(stock,
authorization, acceptLanguage,
apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling StocksA
pi#stocksPostAsync");

e.printStackTrace()
;

import io.swagger.client.api.St
ocksApi;

public class StocksApiExample {


public static void main(Str
ing[] args) {

StocksApi apiInstance =
new StocksApi();

StockDto stock = ; // S
tockDto | The {Stock} data to c
reate

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.stocksPostAsync(stock,
authorization, acceptLanguage,
apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling StocksA
pi#stocksPostAsync");

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

StockDto *stock = ; // The {Sto


ck} data to create

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

StocksApi *apiInstance = [[Stoc


ksApi alloc] init];

// Create a Stock entry


[apiInstance stocksPostAsyncWit
h:stock

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2
var oauth2 = defaultClient.auth
entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.S


tocksApi()

var stock = ; // {StockDto} The


{Stock} data to create

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {
console.log('API called suc
cessfully. Returned data: ' + d
ata);

};

api.stocksPostAsync(stock, opts
, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class stocksPostAsyn


cExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew StocksApi();

var stock = new Sto


ckDto(); // StockDto | The {Sto
ck} data to create

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a Sto
ck entry

Object result =
apiInstance.stocksPostAsync(sto
ck, authorization, acceptLangua
ge, apiVersion);

Debug.WriteLine
(result);
}

catch (Exception e)

Debug.Print("Ex
ception when calling StocksApi.
stocksPostAsync: " + e.Message
);

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\StocksApi();

$stock = ; // StockDto | The {S


tock} data to create
$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->st
ocksPostAsync($stock, $authoriz
ation, $acceptLanguage, $apiVer
sion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g StocksApi->stocksPostAsync: '
, $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::StocksA
pi;
# Configure OAuth2 access token
for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::StocksApi->new();

my $stock = WWW::SwaggerClient:
:Object::StockDto->new(); # Sto
ckDto | The {Stock} data to cre
ate

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>stocksPostAsync(stock => $stoc
k, authorization => $authorizat
ion, acceptLanguage => $acceptL
anguage, apiVersion => $apiVers
ion);

print Dumper($result);

};
if ($@) {

warn "Exception when callin


g StocksApi->stocksPostAsync: $
@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.S
tocksApi()

stock = # StockDto | The {Stoc


k} data to create
authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a Stock entry

api_response = api_instance
.stocks_post_async(stock, autho
rization=authorization, acceptL
anguage=acceptLanguage, apiVers
ion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng StocksApi->stocksPostAsync:
%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

stock * {

Stock Dto.
Warehouse:
string
Warehouse.
Inventory:
string
Inventory.
StartingQuantity:
integer (int32)
StartingQuantity.
BackOrderDate:
string (date-time)
BackOrderDate.
BackOrder:
boolean
BackOrder.
TrackQuantity:
boolean
TrackQuantity.
Bay:
string
Bay.
Bin:
string
Bin.
BackOrderAllowed:
boolean
Back Order Allowed.
StandardCost:
number (double)
Standard Cost.
StandardCostCurrency:
string
Standard Cost Currency.
ReorderAmount:
integer (int32)
Reorder amount..
RegularStockAmount:
integer (int32)
Regular Stock Amount.
Active:
boolean
Active.
}

Responses

Status: 200 - OK
• Schema

{
}
Tasks

tasksGetAll
Get all tasks for a specific account.

/api/Accounts/{accountCode}/Tas
ks

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Accounts/{accountCode
}/Tasks?pageNumber=&pageSize=&s
ortType=&filters="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;
import io.swagger.client.api.Ta
sksApi;

import java.io.File;

import java.util.*;

public class TasksApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

TasksApi apiInstance =
new TasksApi();

String accountCode = ac
countCode_example; // String |
account code.
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.TaskDto result = apiInst
ance.tasksGetAll(accountCode, p
ageNumber, pageSize, sortType,
authorization, acceptLanguage,
apiVersion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling TasksAp
i#tasksGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Ta
sksApi;
public class TasksApiExample {

public static void main(Str


ing[] args) {

TasksApi apiInstance =
new TasksApi();

String accountCode = ac
countCode_example; // String |
account code.

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
String filters = filter
s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.TaskDto result = apiInst
ance.tasksGetAll(accountCode, p
ageNumber, pageSize, sortType,
authorization, acceptLanguage,
apiVersion, filters);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling TasksAp
i#tasksGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // account code.

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)
String *sortType = sortType_exa
mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

TasksApi *apiInstance = [[Tasks


Api alloc] init];

// Get all tasks for a specific


account.

[apiInstance tasksGetAllWith:ac
countCode

pageNumber:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

filters:filters

completionHandler
: ^(HateoasCollectionResponse.T
askDto output, NSError* error)
{

if
(output) {

NSLog(@"%@", output);
}

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.T


asksApi()

var accountCode = accountCode_e


xample; // {String} account cod
e.
var pageNumber = 56; // {Intege
r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

};

api.tasksGetAll(accountCode, pa
geNumber, pageSize, sortType, o
pts, callback);

using System;
using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class tasksGetAllExa


mple

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew TasksApi();

var accountCode = a
ccountCode_example; // String
| account code.
var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get all task


s for a specific account.

HateoasCollecti
onResponse.TaskDto result = api
Instance.tasksGetAll(accountCod
e, pageNumber, pageSize, sortTy
pe, authorization, acceptLangua
ge, apiVersion, filters);

Debug.WriteLine
(result);

catch (Exception e)

{
Debug.Print("Ex
ception when calling TasksApi.t
asksGetAll: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\TasksApi();

$accountCode = accountCode_exam
ple; // String | account code.

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
try {

$result = $api_instance->ta
sksGetAll($accountCode, $pageNu
mber, $pageSize, $sortType, $au
thorization, $acceptLanguage, $
apiVersion, $filters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g TasksApi->tasksGetAll: ', $e-
>getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::TasksAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::TasksApi->new();

my $accountCode = accountCode_e
xample; # String | account code
.

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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {

my $result = $api_instance-
>tasksGetAll(accountCode => $ac
countCode, pageNumber => $pageN
umber, pageSize => $pageSize, s
ortType => $sortType, authoriza
tion => $authorization, acceptL
anguage => $acceptLanguage, api
Version => $apiVersion, filters
=> $filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g TasksApi->tasksGetAll: $@\n";

from __future__ import print_st


atement
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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.T
asksApi()

accountCode = accountCode_examp
le # String | account code.

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)
authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:

# Get all tasks for a speci


fic account.

api_response = api_instance
.tasks_get_all(accountCode, pag
eNumber, pageSize, sortType, au
thorization=authorization, acce
ptLanguage=acceptLanguage, apiV
ersion=apiVersion, filters=filt
ers)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng TasksApi->tasksGetAll: %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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Task Dto
Code:
string
Task Code
Account:
string
Account Code
Summary:
string
Task summary
Details:
string
Task Details
Source:
string
Task source
Created:
string (date-time)
Task created date
Read:
string (date-time)
Task read date
Completed:
string (date-time)
Task completed date
}
]
}
tasksGetByCode
Get specific task for a specific task
code.

/api/Tasks/{taskCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Tasks/{taskCode}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ta
sksApi;
import java.io.File;

import java.util.*;

public class TasksApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

TasksApi apiInstance =
new TasksApi();

String taskCode = taskC


ode_example; // String | task c
ode.
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

TaskDto result = ap
iInstance.tasksGetByCode(taskCo
de, authorization, acceptLangua
ge, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling TasksAp
i#tasksGetByCode");

e.printStackTrace()
;

import io.swagger.client.api.Ta
sksApi;
public class TasksApiExample {

public static void main(Str


ing[] args) {

TasksApi apiInstance =
new TasksApi();

String taskCode = taskC


ode_example; // String | task c
ode.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

TaskDto result = ap
iInstance.tasksGetByCode(taskCo
de, authorization, acceptLangua
ge, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling TasksAp
i#tasksGetByCode");
e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *taskCode = taskCode_exa


mple; // task code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)
TasksApi *apiInstance = [[Tasks
Api alloc] init];

// Get specific task for a spec


ific task code.

[apiInstance tasksGetByCodeWith
:taskCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(TaskDto output, NSError* er
ror) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');
var defaultClient = JenkonRestA
piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.T


asksApi()

var taskCode = taskCode_example


; // {String} task code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.tasksGetByCode(taskCode, op
ts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class tasksGetByCode


Example

public void main()


{

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew TasksApi();

var taskCode = task


Code_example; // String | task
code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get specific
task for a specific task code.
TaskDto result
= apiInstance.tasksGetByCode(ta
skCode, authorization, acceptLa
nguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling TasksApi.t
asksGetByCode: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\TasksApi();

$taskCode = taskCode_example; /
/ String | task code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ta
sksGetByCode($taskCode, $author
ization, $acceptLanguage, $apiV
ersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g TasksApi->tasksGetByCode: ',
$e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::TasksAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::TasksApi->new();

my $taskCode = taskCode_example
; # String | task code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>tasksGetByCode(taskCode => $ta
skCode, authorization => $autho
rization, acceptLanguage => $ac
ceptLanguage, apiVersion => $ap
iVersion);

print Dumper($result);
};

if ($@) {

warn "Exception when callin


g TasksApi->tasksGetByCode: $@\
n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.T
asksApi()

taskCode = taskCode_example # S
tring | task code.
authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get specific task for a s


pecific task code.

api_response = api_instance
.tasks_get_by_code(taskCode, au
thorization=authorization, acce
ptLanguage=acceptLanguage, apiV
ersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng TasksApi->tasksGetByCode: %s
\n" % e)

Parameters
Path parameters
Name Description
taskCode* String

task code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema

{
Task Dto
Code:
string
Task Code
Account:
string
Account Code
Summary:
string
Task summary
Details:
string
Task Details
Source:
string
Task source
Created:
string (date-time)
Task created date
Read:
string (date-time)
Task read date
Completed:
string (date-time)
Task completed date
}

tasksPost
Create a new task.

/api/Tasks

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Tasks"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ta
sksApi;

import java.io.File;

import java.util.*;

public class TasksApiExample {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

TasksApi apiInstance =
new TasksApi();

TaskModel model = ; //
TaskModel | Task model.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.tasksPost(model, autho
rization, acceptLanguage, apiVe
rsion);

System.out.println(
result);

} catch (ApiException e
) {
System.err.println(
"Exception when calling TasksAp
i#tasksPost");

e.printStackTrace()
;

import io.swagger.client.api.Ta
sksApi;

public class TasksApiExample {

public static void main(Str


ing[] args) {

TasksApi apiInstance =
new TasksApi();

TaskModel model = ; //
TaskModel | Task model.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
try {

Object result = api


Instance.tasksPost(model, autho
rization, acceptLanguage, apiVe
rsion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling TasksAp
i#tasksPost");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

TaskModel *model = ; // Task mo


del.
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

TasksApi *apiInstance = [[Tasks


Api alloc] init];

// Create a new task.

[apiInstance tasksPostWith:mode
l

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

}
if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.T


asksApi()

var model = ; // {TaskModel} Ta


sk model.

var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.tasksPost(model, opts, call


back);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example

public class tasksPostExamp


le

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew TasksApi();

var model = new Tas


kModel(); // TaskModel | Task m
odel.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a new
task.

Object result =
apiInstance.tasksPost(model, au
thorization, acceptLanguage, ap
iVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling TasksApi.t
asksPost: " + e.Message );

}
<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\TasksApi();

$model = ; // TaskModel | Task


model.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ta
sksPost($model, $authorization,
$acceptLanguage, $apiVersion);

print_r($result);
} catch (Exception $e) {

echo 'Exception when callin


g TasksApi->tasksPost: ', $e->g
etMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::TasksAp
i;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::TasksApi->new();

my $model = WWW::SwaggerClient:
:Object::TaskModel->new(); # Ta
skModel | Task model.

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>tasksPost(model => $model, aut
horization => $authorization, a
cceptLanguage => $acceptLanguag
e, apiVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g TasksApi->tasksPost: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.T
asksApi()

model = # TaskModel | Task mod


el.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a new task.

api_response = api_instance
.tasks_post(model, authorizatio
n=authorization, acceptLanguage
=acceptLanguage, apiVersion=api
Version)
pprint(api_response)

except ApiException as e:

print("Exception when calli


ng TasksApi->tasksPost: %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 * TaskModel {

Task post request, new task


Required: Account,Created,Source,Summary
Account:
Account string minLength:1 maxLength:50
Summary:
Summary string minLength:1 maxLength:255
Details:
Details string
Source:
Source string minLength:1 maxLength:50
Created:
Created string (date-time)
Read:
Read string (date-time)
Completed:
Completed string (date-time)
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

Tickets

ticketsGetAll
Get data for Ticket entries

/api/Tickets
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Tickets?pageNumber=&p
ageSize=&sortType=&culture=&fil
ters="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ti
cketsApi;

import java.io.File;

import java.util.*;

public class TicketsApiExample


{
public static void main(Str
ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

TicketsApi apiInstance
= new TicketsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'
String filters = filter
s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
String culture = cultur
e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

HateoasCollectionRe
sponse.TicketDtoLink result = a
piInstance.ticketsGetAll(pageNu
mber, pageSize, sortType, filte
rs, authorization, acceptLangua
ge, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Ti
cketsApi;
public class TicketsApiExample
{

public static void main(Str


ing[] args) {

TicketsApi apiInstance
= new TicketsApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

HateoasCollectionRe
sponse.TicketDtoLink result = a
piInstance.ticketsGetAll(pageNu
mber, pageSize, sortType, filte
rs, authorization, acceptLangua
ge, apiVersion, culture);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)
String *sortType = sortType_exa
mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)
String *apiVersion = apiVersion
_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

TicketsApi *apiInstance = [[Tic


ketsApi alloc] init];

// Get data for Ticket entries

[apiInstance ticketsGetAllWith:
pageNumber

pageSize:pageSize

sortType:sortType

filters:filters

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(HateoasCollectionResponse.T
icketDtoLink output, NSError* e
rror) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.T


icketsApi()
var pageNumber = 56; // {Intege
r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')
**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {
console.log('API called suc
cessfully. Returned data: ' + d
ata);

};

api.ticketsGetAll(pageNumber, p
ageSize, sortType, filters, opt
s, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class ticketsGetAllE


xample

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew TicketsApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Get data for


Ticket entries
HateoasCollecti
onResponse.TicketDtoLink result
= apiInstance.ticketsGetAll(pag
eNumber, pageSize, sortType, fi
lters, authorization, acceptLan
guage, apiVersion, culture);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling TicketsApi
.ticketsGetAll: " + e.Message )
;

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\TicketsApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, a number greater than 0

$sortType = sortType_example; /
/ String | SortType, 0 or 'asc'
for 'Ascending' and 1 or 'desc'
for 'Descending'

$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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->ti
cketsGetAll($pageNumber, $pageS
ize, $sortType, $filters, $auth
orization, $acceptLanguage, $ap
iVersion, $culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g TicketsApi->ticketsGetAll: ',
$e->getMessage(), PHP_EOL;

?>

use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Tickets
Api;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::TicketsApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {
my $result = $api_instance-
>ticketsGetAll(pageNumber => $p
ageNumber, pageSize => $pageSiz
e, sortType => $sortType, filte
rs => $filters, authorization =
> $authorization, acceptLanguag
e => $acceptLanguage, apiVersio
n => $apiVersion, culture => $c
ulture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g TicketsApi->ticketsGetAll: $@
\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.T
icketsApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')
**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get data for Ticket entri


es

api_response = api_instance
.tickets_get_all(pageNumber, pa
geSize, sortType, filters, auth
orization=authorization, accept
Language=acceptLanguage, apiVer
sion=apiVersion, culture=cultur
e)
pprint(api_response)

except ApiException as e:

print("Exception when calli


ng TicketsApi->ticketsGetAll: %
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

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

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 |**!│=**| ✘ | ✓ | ✘ | ✘ |

Required

Responses

Status: 200 - OK
• Schema
{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
TicketDto with Hateos Link property.
Link:
string
Link to full ticket information.
Code:
string
Code.
User:
string
The user the ticket is for.
Account:
string
The account the ticket is from.
AccountName:
string
Account name
TicketType:
string
Ticket Type
TicketTypeDescription:
string
Ticket Type Description
TicketStatus:
string
Ticket Status
TicketStatusDescription:
string
Ticket Status Description
TicketDate:
string (date-time)
This is the date provided by the
integration system. It takes priority
over CreatedDate . If there is no
integration system, this is the same
value as CreatedDate

CreatedDate:
string (date-time)
This is the date the ticket was
created by j6. If there is an
integration system, TicketDate takes
priority. If there is no integration,
TicketDate holds the same value.
Either way, use TicketDate

ContactDate:
string (date-time)
This is the date the customer
contacted our client.
Description:
string
Description, or Title, of the ticket.
ReasonCodeType:
string
Reason Code Type
ReasonCodeCategory:
string
Reason Code Category
ReasonCodeNumber:
string
Reason Code Number
ReasonCodeDescription:
string
Reason Code Description
TicketNotes:
[
Entered notes
{
TicketDto.
Code:
string
Note Code.
User:
string
The User that entered the note.
NoteDate:
string (date-time)
Date of the note.
ModifiedDate:
string (date-time)
Date of the last modification.
Note:
string
Note text.
}
]
}
]
}

ticketsGetByAccount
Get data for Ticket entries of a
specific Account

/api/Accounts/{accountCode}/Tic
kets

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Accounts/{accountCode
}/Tickets?pageNumber=&pageSize=
&sortType=&culture="

import io.swagger.client.*;
import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ti
cketsApi;

import java.io.File;

import java.util.*;

public class TicketsApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");
TicketsApi apiInstance
= new TicketsApi();

String accountCode = ac
countCode_example; // String |
The Account Code.

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {
HateoasCollectionRe
sponse.TicketDtoLink result = a
piInstance.ticketsGetByAccount(
accountCode, pageNumber, pageSi
ze, sortType, authorization, ac
ceptLanguage, apiVersion, cultu
re);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsGetByAccount");

e.printStackTrace()
;

import io.swagger.client.api.Ti
cketsApi;

public class TicketsApiExample


{

public static void main(Str


ing[] args) {

TicketsApi apiInstance
= new TicketsApi();
String accountCode = ac
countCode_example; // String |
The Account Code.

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

HateoasCollectionRe
sponse.TicketDtoLink result = a
piInstance.ticketsGetByAccount(
accountCode, pageNumber, pageSi
ze, sortType, authorization, ac
ceptLanguage, apiVersion, cultu
re);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsGetByAccount");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // The Account Code
.
Integer *pageNumber = 56; // Pa
geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

TicketsApi *apiInstance = [[Tic


ketsApi alloc] init];
// Get data for Ticket entries
of a specific Account

[apiInstance ticketsGetByAccoun
tWith:accountCode

pageNumber:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(HateoasCollectionResponse.T
icketDtoLink output, NSError* e
rror) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}
}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.T


icketsApi()

var accountCode = accountCode_e


xample; // {String} The Account
Code.

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {
console.log('API called suc
cessfully. Returned data: ' + d
ata);

};

api.ticketsGetByAccount(account
Code, pageNumber, pageSize, sor
tType, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class ticketsGetByAc


countExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew TicketsApi();

var accountCode = a
ccountCode_example; // String
| The Account Code.

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)
var culture = cultu
re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Get data for


Ticket entries of a specific Ac
count

HateoasCollecti
onResponse.TicketDtoLink result
= apiInstance.ticketsGetByAccou
nt(accountCode, pageNumber, pag
eSize, sortType, authorization,
acceptLanguage, apiVersion, cul
ture);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling TicketsApi
.ticketsGetByAccount: " + e.Mes
sage );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\TicketsApi();

$accountCode = accountCode_exam
ple; // String | The Account Co
de.

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->ti
cketsGetByAccount($accountCode,
$pageNumber, $pageSize, $sortTy
pe, $authorization, $acceptLang
uage, $apiVersion, $culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g TicketsApi->ticketsGetByAccou
nt: ', $e->getMessage(), PHP_EO
L;

?>
use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Tickets
Api;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::TicketsApi->new();

my $accountCode = accountCode_e
xample; # String | The Account
Code.

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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>ticketsGetByAccount(accountCod
e => $accountCode, pageNumber =
> $pageNumber, pageSize => $pag
eSize, sortType => $sortType, a
uthorization => $authorization,
acceptLanguage => $acceptLangua
ge, apiVersion => $apiVersion,
culture => $culture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g TicketsApi->ticketsGetByAccou
nt: $@\n";

}
from __future__ import print_st
atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.T
icketsApi()

accountCode = accountCode_examp
le # String | The Account Code.

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get data for Ticket entri


es of a specific Account

api_response = api_instance
.tickets_get_by_account(account
Code, pageNumber, pageSize, sor
tType, authorization=authorizat
ion, acceptLanguage=acceptLangu
age, apiVersion=apiVersion, cul
ture=culture)

pprint(api_response)
except ApiException as e:

print("Exception when calli


ng TicketsApi->ticketsGetByAcco
unt: %s\n" % e)

Parameters
Path parameters
Name Description

accountCode* String

The 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

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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
TicketDto with Hateos Link property.
Link:
string
Link to full ticket information.
Code:
string
Code.
User:
string
The user the ticket is for.
Account:
string
The account the ticket is from.
AccountName:
string
Account name
TicketType:
string
Ticket Type
TicketTypeDescription:
string
Ticket Type Description
TicketStatus:
string
Ticket Status
TicketStatusDescription:
string
Ticket Status Description
TicketDate:
string (date-time)
This is the date provided by the
integration system. It takes priority
over CreatedDate . If there is no
integration system, this is the same
value as CreatedDate

CreatedDate:
string (date-time)
This is the date the ticket was
created by j6. If there is an
integration system, TicketDate takes
priority. If there is no integration,
TicketDate holds the same value.
Either way, use TicketDate

ContactDate:
string (date-time)
This is the date the customer
contacted our client.
Description:
string
Description, or Title, of the ticket.
ReasonCodeType:
string
Reason Code Type
ReasonCodeCategory:
string
Reason Code Category
ReasonCodeNumber:
string
Reason Code Number
ReasonCodeDescription:
string
Reason Code Description
TicketNotes:
[
Entered notes
{
TicketDto.
Code:
string
Note Code.
User:
string
The User that entered the note.
NoteDate:
string (date-time)
Date of the note.
ModifiedDate:
string (date-time)
Date of the last modification.
Note:
string
Note text.
}
]
}
]
}

ticketsGetTicketByCode
Get data for a ticket entry

/api/Tickets/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Tickets/{code}?cultur
e="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ti
cketsApi;

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

public class TicketsApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

TicketsApi apiInstance
= new TicketsApi();

String code = code_exam


ple; // String | The Ticket Cod
e to retrieve

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

TicketDto result =
apiInstance.ticketsGetTicketByC
ode(code, authorization, accept
Language, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsGetTicketByCode");

e.printStackTrace()
;

}
import io.swagger.client.api.Ti
cketsApi;

public class TicketsApiExample


{

public static void main(Str


ing[] args) {

TicketsApi apiInstance
= new TicketsApi();

String code = code_exam


ple; // String | The Ticket Cod
e to retrieve

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {
TicketDto result =
apiInstance.ticketsGetTicketByC
ode(code, authorization, accept
Language, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsGetTicketByCode");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


The Ticket Code to retrieve
String *authorization = authori
zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

TicketsApi *apiInstance = [[Tic


ketsApi alloc] init];

// Get data for a ticket entry

[apiInstance ticketsGetTicketBy
CodeWith:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture
completionHandler
: ^(TicketDto output, NSError*
error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.T
icketsApi()

var code = code_example; // {St


ring} The Ticket Code to retrie
ve

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);
} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.ticketsGetTicketByCode(code
, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class ticketsGetTick


etByCodeExample

public void main()

{
// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew TicketsApi();

var code = code_exa


mple; // String | The Ticket C
ode to retrieve

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
try

// Get data for


a ticket entry

TicketDto resul
t = apiInstance.ticketsGetTicke
tByCode(code, authorization, ac
ceptLanguage, apiVersion, cultu
re);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling TicketsApi
.ticketsGetTicketByCode: " + e.
Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\TicketsApi();

$code = code_example; // String


| The Ticket Code to retrieve

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->ti
cketsGetTicketByCode($code, $au
thorization, $acceptLanguage, $
apiVersion, $culture);
print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g TicketsApi->ticketsGetTicketB
yCode: ', $e->getMessage(), PHP
_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Tickets
Api;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::TicketsApi->new();

my $code = code_example; # Stri


ng | The Ticket Code to retriev
e

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>ticketsGetTicketByCode(code =>
$code, authorization => $author
ization, acceptLanguage => $acc
eptLanguage, apiVersion => $api
Version, culture => $culture);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g TicketsApi->ticketsGetTicketB
yCode: $@\n";

from __future__ import print_st


atement
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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.T
icketsApi()

code = code_example # String |


The Ticket Code to retrieve

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
culture = culture_example # Str
ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get data for a ticket ent


ry

api_response = api_instance
.tickets_get_ticket_by_code(cod
e, authorization=authorization,
acceptLanguage=acceptLanguage,
apiVersion=apiVersion, culture=
culture)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng TicketsApi->ticketsGetTicket
ByCode: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Ticket Code to retrieve


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
• Schema

{
TicketDto.
Code:
string
Code.
User:
string
The user the ticket is for.
Account:
string
The account the ticket is from.
AccountName:
string
Account name
TicketType:
string
Ticket Type
TicketTypeDescription:
string
Ticket Type Description
TicketStatus:
string
Ticket Status
TicketStatusDescription:
string
Ticket Status Description
TicketDate:
string (date-time)
This is the date provided by the
integration system. It takes priority
over CreatedDate . If there is no
integration system, this is the same
value as CreatedDate

CreatedDate:
string (date-time)
This is the date the ticket was
created by j6. If there is an
integration system, TicketDate takes
priority. If there is no integration,
TicketDate holds the same value.
Either way, use TicketDate

ContactDate:
string (date-time)
This is the date the customer
contacted our client.
Description:
string
Description, or Title, of the ticket.
ReasonCodeType:
string
Reason Code Type
ReasonCodeCategory:
string
Reason Code Category
ReasonCodeNumber:
string
Reason Code Number
ReasonCodeDescription:
string
Reason Code Description
TicketNotes:
[
Entered notes
{
TicketDto.
Code:
string
Note Code.
User:
string
The User that entered the note.
NoteDate:
string (date-time)
Date of the note.
ModifiedDate:
string (date-time)
Date of the last modification.
Note:
string
Note text.
}
]
}

ticketsPatchAsync
Patch a Ticket entry
Provide only the fields to modify,
leaving the others null

/api/Tickets/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Tickets/{code}"

import io.swagger.client.*;
import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ti
cketsApi;

import java.io.File;

import java.util.*;

public class TicketsApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");
TicketsApi apiInstance
= new TicketsApi();

String code = code_exam


ple; // String | The Ticket Cod
e of the entry to patch

TicketPatch ticketPatch
= ; // TicketPatch | The subset
of Ticket fields to patch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.ticketsPatchAsync(code
, ticketPatch, authorization, a
cceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsPatchAsync");

e.printStackTrace()
;
}

import io.swagger.client.api.Ti
cketsApi;

public class TicketsApiExample


{

public static void main(Str


ing[] args) {

TicketsApi apiInstance
= new TicketsApi();

String code = code_exam


ple; // String | The Ticket Cod
e of the entry to patch

TicketPatch ticketPatch
= ; // TicketPatch | The subset
of Ticket fields to patch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version
try {

Object result = api


Instance.ticketsPatchAsync(code
, ticketPatch, authorization, a
cceptLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsPatchAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *code = code_example; //
The Ticket Code of the entry to
patch

TicketPatch *ticketPatch = ; //
The subset of Ticket fields to
patch

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

TicketsApi *apiInstance = [[Tic


ketsApi alloc] init];

// Patch a Ticket entry

[apiInstance ticketsPatchAsyncW
ith:code

ticketPatch:ticketPatch

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.T
icketsApi()

var code = code_example; // {St


ring} The Ticket Code of the en
try to patch

var ticketPatch = ; // {TicketP


atch} The subset of Ticket fiel
ds to patch

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {
console.log('API called suc
cessfully. Returned data: ' + d
ata);

};

api.ticketsPatchAsync(code, tic
ketPatch, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class ticketsPatchAs


yncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew TicketsApi();

var code = code_exa


mple; // String | The Ticket C
ode of the entry to patch

var ticketPatch = n
ew TicketPatch(); // TicketPatc
h | The subset of Ticket fields
to patch

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Patch a Tick
et entry

Object result =
apiInstance.ticketsPatchAsync(c
ode, ticketPatch, authorization
, acceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling TicketsApi
.ticketsPatchAsync: " + e.Messa
ge );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\TicketsApi();

$code = code_example; // String


| The Ticket Code of the entry
to patch

$ticketPatch = ; // TicketPatch
| The subset of Ticket fields t
o patch

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ti
cketsPatchAsync($code, $ticketP
atch, $authorization, $acceptLa
nguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g TicketsApi->ticketsPatchAsync
: ', $e->getMessage(), PHP_EOL;

?>
use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Tickets
Api;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::TicketsApi->new();

my $code = code_example; # Stri


ng | The Ticket Code of the ent
ry to patch

my $ticketPatch = WWW::SwaggerC
lient::Object::TicketPatch->new
(); # TicketPatch | The subset
of Ticket fields to patch

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
eval {

my $result = $api_instance-
>ticketsPatchAsync(code => $cod
e, ticketPatch => $ticketPatch,
authorization => $authorization
, acceptLanguage => $acceptLang
uage, apiVersion => $apiVersion
);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g TicketsApi->ticketsPatchAsync
: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.T
icketsApi()

code = code_example # String |


The Ticket Code of the entry to
patch

ticketPatch = # TicketPatch |
The subset of Ticket fields to
patch

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch a Ticket entry

api_response = api_instance
.tickets_patch_async(code, tick
etPatch, authorization=authoriz
ation, acceptLanguage=acceptLan
guage, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng TicketsApi->ticketsPatchAsyn
c: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Ticket Code 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

ticketPatch * TicketPatch {

Ticket Patch.
User:
User string minLength:1 maxLength:50
Account:
Account string minLength:1 maxLength:50
TicketType:
TicketType string minLength:1 maxLength:50
TicketStatus:
TicketStatus string minLength:1 maxLength:50
TicketDate:
TicketDate string (date-time)
Description:
Description string maxLength:200
ReasonCodeType:
ReasonCodeType string minLength:1 maxLength:255
ReasonCodeCategory:
ReasonCodeCategory string minLength:1 maxLength:255
ReasonCodeNumber:
ReasonCodeNumber string minLength:1 maxLength:255
Note:
Note string minLength:1
}

Responses

Status: 200 - OK
• Schema

{
}
ticketsPostAsync
Create a Ticket entry

/api/Tickets

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Tickets"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ti
cketsApi;

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

public class TicketsApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

TicketsApi apiInstance
= new TicketsApi();

TicketPostDto ticketPos
t = ; // TicketPostDto | The {T
icketPostDto} data to create

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.ticketsPostAsync(ticke
tPost, authorization, acceptLan
guage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsPostAsync");

e.printStackTrace()
;

import io.swagger.client.api.Ti
cketsApi;

public class TicketsApiExample


{
public static void main(Str
ing[] args) {

TicketsApi apiInstance
= new TicketsApi();

TicketPostDto ticketPos
t = ; // TicketPostDto | The {T
icketPostDto} data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.ticketsPostAsync(ticke
tPost, authorization, acceptLan
guage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsPostAsync");

e.printStackTrace()
;
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

TicketPostDto *ticketPost = ; /
/ The {TicketPostDto} data to c
reate

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

TicketsApi *apiInstance = [[Tic


ketsApi alloc] init];
// Create a Ticket entry

[apiInstance ticketsPostAsyncWi
th:ticketPost

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;
// Configure OAuth2 access toke
n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.T


icketsApi()

var ticketPost = ; // {TicketPo


stDto} The {TicketPostDto} data
to create

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {
if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.ticketsPostAsync(ticketPost
, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class ticketsPostAsy


ncExample

public void main()

{
// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew TicketsApi();

var ticketPost = ne
w TicketPostDto(); // TicketPos
tDto | The {TicketPostDto} data
to create

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a Tic
ket entry
Object result =
apiInstance.ticketsPostAsync(ti
cketPost, authorization, accept
Language, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling TicketsApi
.ticketsPostAsync: " + e.Messag
e );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\TicketsApi();

$ticketPost = ; // TicketPostDt
o | The {TicketPostDto} data to
create

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->ti
cketsPostAsync($ticketPost, $au
thorization, $acceptLanguage, $
apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g TicketsApi->ticketsPostAsync:
', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Tickets
Api;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::TicketsApi->new();

my $ticketPost = WWW::SwaggerCl
ient::Object::TicketPostDto->ne
w(); # TicketPostDto | The {Tic
ketPostDto} data to create

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>ticketsPostAsync(ticketPost =>
$ticketPost, authorization => $
authorization, acceptLanguage =
> $acceptLanguage, apiVersion =
> $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g TicketsApi->ticketsPostAsync:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class
api_instance = swagger_client.T
icketsApi()

ticketPost = # TicketPostDto |
The {TicketPostDto} data to cre
ate

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a Ticket entry

api_response = api_instance
.tickets_post_async(ticketPost,
authorization=authorization, ac
ceptLanguage=acceptLanguage, ap
iVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng TicketsApi->ticketsPostAsync
: %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

ticketPost TicketPostDto {
*
TicketPostDto for APIs that specify the Account.
Required:
Account,ReasonCodeCategory,ReasonCodeNumber,ReasonCodeType,TicketType
Account:
Account string minLength:1 maxLength:50
Code:
Code string minLength:1 maxLength:50
TicketType:
TicketType string minLength:1 maxLength:50
Description:
Description string maxLength:200
ReasonCodeType:
ReasonCodeType string minLength:1 maxLength:255
ReasonCodeCategory:
ReasonCodeCategory string minLength:1 maxLength:255
ReasonCodeNumber:
ReasonCodeNumber string minLength:1 maxLength:255
Note:
Note string minLength:1
}

Responses

Status: 200 - OK
• Schema

{
}

ticketsPostTicksForAcc

ountAsync
Create a Ticket entry

/api/Accounts/{accountCode}/Tic
kets

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Accounts/{accountCod
e}/Tickets"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Ti
cketsApi;

import java.io.File;

import java.util.*;

public class TicketsApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

TicketsApi apiInstance
= new TicketsApi();

String accountCode = ac
countCode_example; // String |
The account the ticket is from

TicketAccountPostDto ti
cketAccountPost = ; // TicketAc
countPostDto | The {TicketAccou
ntPostDto} data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.ticketsPostTicksForAcc
ountAsync(accountCode, ticketAc
countPost, authorization, accep
tLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsPostTicksForAccountA
sync");

e.printStackTrace()
;

import io.swagger.client.api.Ti
cketsApi;

public class TicketsApiExample


{

public static void main(Str


ing[] args) {

TicketsApi apiInstance
= new TicketsApi();

String accountCode = ac
countCode_example; // String |
The account the ticket is from
TicketAccountPostDto ti
cketAccountPost = ; // TicketAc
countPostDto | The {TicketAccou
ntPostDto} data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.ticketsPostTicksForAcc
ountAsync(accountCode, ticketAc
countPost, authorization, accep
tLanguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Tickets
Api#ticketsPostTicksForAccountA
sync");

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // The account the
ticket is from

TicketAccountPostDto *ticketAcc
ountPost = ; // The {TicketAcco
untPostDto} data to create

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

TicketsApi *apiInstance = [[Tic


ketsApi alloc] init];
// Create a Ticket entry

[apiInstance ticketsPostTicksFo
rAccountAsyncWith:accountCode

ticketAccountPost:ticketAcc
ountPost

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');
var defaultClient = JenkonRestA
piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.T


icketsApi()

var accountCode = accountCode_e


xample; // {String} The account
the ticket is from

var ticketAccountPost = ; // {T
icketAccountPostDto} The {Ticke
tAccountPostDto} data to create

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.ticketsPostTicksForAccountA
sync(accountCode, ticketAccount
Post, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example
{

public class ticketsPostTic


ksForAccountAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew TicketsApi();

var accountCode = a
ccountCode_example; // String
| The account the ticket is fro
m

var ticketAccountPo
st = new TicketAccountPostDto()
; // TicketAccountPostDto | The
{TicketAccountPostDto} data to
create

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a Tic
ket entry

Object result =
apiInstance.ticketsPostTicksFor
AccountAsync(accountCode, ticke
tAccountPost, authorization, ac
ceptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling TicketsApi
.ticketsPostTicksForAccountAsyn
c: " + e.Message );

}
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\TicketsApi();

$accountCode = accountCode_exam
ple; // String | The account th
e ticket is from

$ticketAccountPost = ; // Ticke
tAccountPostDto | The {TicketAc
countPostDto} data to create

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version
try {

$result = $api_instance->ti
cketsPostTicksForAccountAsync($
accountCode, $ticketAccountPost
, $authorization, $acceptLangua
ge, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g TicketsApi->ticketsPostTicksF
orAccountAsync: ', $e->getMessa
ge(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Tickets
Api;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::TicketsApi->new();
my $accountCode = accountCode_e
xample; # String | The account
the ticket is from

my $ticketAccountPost = WWW::Sw
aggerClient::Object::TicketAcco
untPostDto->new(); # TicketAcco
untPostDto | The {TicketAccount
PostDto} data to create

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>ticketsPostTicksForAccountAsyn
c(accountCode => $accountCode,
ticketAccountPost => $ticketAcc
ountPost, authorization => $aut
horization, acceptLanguage => $
acceptLanguage, apiVersion => $
apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g TicketsApi->ticketsPostTicksF
orAccountAsync: $@\n";
}

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.T
icketsApi()

accountCode = accountCode_examp
le # String | The account the t
icket is from

ticketAccountPost = # TicketAc
countPostDto | The {TicketAccou
ntPostDto} data to create

authorization = authorization_e
xample # String | access token
(optional)
acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a Ticket entry

api_response = api_instance
.tickets_post_ticks_for_account
_async(accountCode, ticketAccou
ntPost, authorization=authoriza
tion, acceptLanguage=acceptLang
uage, apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng TicketsApi->ticketsPostTicks
ForAccountAsync: %s\n" % e)

Parameters
Path parameters
Name Description

accountCode* String

The account the ticket is from


Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description

ticketAccountPost TicketAccountPostDto {
*
TicketAccountPostDto for APIs that will automatically add the Account.
Required:
ReasonCodeCategory,ReasonCodeNumber,ReasonCodeType,TicketType
Code:
Code string minLength:1 maxLength:50
TicketType:
TicketType string minLength:1 maxLength:50
Description:
Description string maxLength:200
ReasonCodeType:
ReasonCodeType string minLength:1 maxLength:255
ReasonCodeCategory:
ReasonCodeCategory string minLength:1 maxLength:255
ReasonCodeNumber:
ReasonCodeNumber string minLength:1 maxLength:255
Note:
Note string minLength:1
}

Responses

Status: 200 - OK
• Schema

{
}

Uplines

uplinesGetAsync
Get uplines by account code and
lineage code

/api/Uplines/{accountCode}/{lin
eageCode}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Uplines/{accountCode}
/{lineageCode}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Up
linesApi;

import java.io.File;

import java.util.*;

public class UplinesApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

UplinesApi apiInstance
= new UplinesApi();

String accountCode = ac
countCode_example; // String |
Account code

String lineageCode = li
neageCode_example; // String |
Lineage code

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

array[UplineDto] re
sult = apiInstance.uplinesGetAs
ync(accountCode, lineageCode, a
uthorization, acceptLanguage, a
piVersion);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Uplines
Api#uplinesGetAsync");

e.printStackTrace()
;

import io.swagger.client.api.Up
linesApi;

public class UplinesApiExample


{

public static void main(Str


ing[] args) {

UplinesApi apiInstance
= new UplinesApi();

String accountCode = ac
countCode_example; // String |
Account code

String lineageCode = li
neageCode_example; // String |
Lineage code
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

array[UplineDto] re
sult = apiInstance.uplinesGetAs
ync(accountCode, lineageCode, a
uthorization, acceptLanguage, a
piVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Uplines
Api#uplinesGetAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *accountCode = accountCo


de_example; // Account code

String *lineageCode = lineageCo


de_example; // Lineage code

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

UplinesApi *apiInstance = [[Upl


inesApi alloc] init];

// Get uplines by account code


and lineage code

[apiInstance uplinesGetAsyncWit
h:accountCode
lineageCode:lineageCode

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(array[UplineDto] output, NS
Error* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2
var oauth2 = defaultClient.auth
entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.U


plinesApi()

var accountCode = accountCode_e


xample; // {String} Account cod
e

var lineageCode = lineageCode_e


xample; // {String} Lineage cod
e

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.uplinesGetAsync(accountCode
, lineageCode, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class uplinesGetAsyn


cExample

public void main()


{

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew UplinesApi();

var accountCode = a
ccountCode_example; // String
| Account code

var lineageCode = l
ineageCode_example; // String
| Lineage code

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try
{

// Get uplines
by account code and lineage cod
e

array[UplineDto
] result = apiInstance.uplinesG
etAsync(accountCode, lineageCod
e, authorization, acceptLanguag
e, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling UplinesApi
.uplinesGetAsync: " + e.Message
);

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\UplinesApi();

$accountCode = accountCode_exam
ple; // String | Account code

$lineageCode = lineageCode_exam
ple; // String | Lineage code

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->up
linesGetAsync($accountCode, $li
neageCode, $authorization, $acc
eptLanguage, $apiVersion);

print_r($result);

} catch (Exception $e) {


echo 'Exception when callin
g UplinesApi->uplinesGetAsync:
', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Uplines
Api;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::UplinesApi->new();

my $accountCode = accountCode_e
xample; # String | Account code

my $lineageCode = lineageCode_e
xample; # String | Lineage code

my $authorization = authorizati
on_example; # String | access t
oken
my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>uplinesGetAsync(accountCode =>
$accountCode, lineageCode => $l
ineageCode, authorization => $a
uthorization, acceptLanguage =>
$acceptLanguage, apiVersion =>
$apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g UplinesApi->uplinesGetAsync:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.U
plinesApi()

accountCode = accountCode_examp
le # String | Account code

lineageCode = lineageCode_examp
le # String | Lineage code

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get uplines by account co


de and lineage code
api_response = api_instance
.uplines_get_async(accountCode,
lineageCode, authorization=auth
orization, acceptLanguage=accep
tLanguage, apiVersion=apiVersio
n)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng UplinesApi->uplinesGetAsync:
%s\n" % e)

Parameters
Path parameters
Name Description

accountCode* String

Account code

Required

lineageCode* String

Lineage code

Required

Header parameters
Name Description

Authorization String

access token
Accept-Language String

Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema

[
undefined
]

Volumes

volumesGetAll
Get all volumes.

/api/Volumes

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Volumes?pageNumber=&p
ageSize=&sortType=&filters="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Vo
lumesApi;

import java.io.File;

import java.util.*;

public class VolumesApiExample


{

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

VolumesApi apiInstance
= new VolumesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.VolumeDto result = apiIn
stance.volumesGetAll(pageNumber
, pageSize, sortType, authoriza
tion, acceptLanguage, apiVersio
n, filters);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Volumes
Api#volumesGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Vo
lumesApi;

public class VolumesApiExample


{

public static void main(Str


ing[] args) {

VolumesApi apiInstance
= new VolumesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0
String sortType = sortT
ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.VolumeDto result = apiIn
stance.volumesGetAll(pageNumber
, pageSize, sortType, authoriza
tion, acceptLanguage, apiVersio
n, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Volumes
Api#volumesGetAll");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
Integer *pageNumber = 56; // Pa
geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

VolumesApi *apiInstance = [[Vol


umesApi alloc] init];

// Get all volumes.

[apiInstance volumesGetAllWith:
pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

filters:filters

completionHandler
: ^(HateoasCollectionResponse.V
olumeDto output, NSError* error
) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.V


olumesApi()
var pageNumber = 56; // {Intege
r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

};

api.volumesGetAll(pageNumber, p
ageSize, sortType, opts, callba
ck);
using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class volumesGetAllE


xample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew VolumesApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var filters = filte


rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get all volu


mes.

HateoasCollecti
onResponse.VolumeDto result = a
piInstance.volumesGetAll(pageNu
mber, pageSize, sortType, autho
rization, acceptLanguage, apiVe
rsion, filters);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling VolumesApi
.volumesGetAll: " + e.Message )
;
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\VolumesApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en
$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->vo
lumesGetAll($pageNumber, $pageS
ize, $sortType, $authorization,
$acceptLanguage, $apiVersion, $
filters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g VolumesApi->volumesGetAll: ',
$e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Volumes
Api;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::VolumesApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')
**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {

my $result = $api_instance-
>volumesGetAll(pageNumber => $p
ageNumber, pageSize => $pageSiz
e, sortType => $sortType, autho
rization => $authorization, acc
eptLanguage => $acceptLanguage,
apiVersion => $apiVersion, filt
ers => $filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g VolumesApi->volumesGetAll: $@
\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.V
olumesApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
filters = filters_example # Str
ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get all volumes.

api_response = api_instance
.volumes_get_all(pageNumber, pa
geSize, sortType, authorization
=authorization, acceptLanguage=
acceptLanguage, apiVersion=apiV
ersion, filters=filters)

pprint(api_response)
except ApiException as e:

print("Exception when calli


ng VolumesApi->volumesGetAll: %
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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
Volume Dto.
Code:
string
Volume code.
ActivityCenter:
string
The activity center that receives
credit for the transaction. In previous
versions of j6, this was an Account
field.
BaseVolumes:
[
The components of the transaction
that specify what amounts of actual
volume are associated with this
transaction - for instance, $50 of
commission-able volume, $75 of
qualifying volume, $100 retail
volume.
{
BaseVolumeDto.
Volume:
string
Base volume type.
Amount:
MoneyModel {
Money.
Required: Amount,Currency
Amount:
Amount number (double)
Currency:
Currency string maxLength:3
}
}
]
VolumeType:
string
An identifying code that determines
how this transaction should be
processed by the system. For
example, if volumes from sales at a
conference should be treated
differently from volumes from a web
site. In previous versions of j6, this
was known as VolumeType.
CreationDate:
string (date-time)
The date on which the transaction
was received by j6.
VolumeDate:
string (date-time)
The date on which the volume event
(sales order, e.g.) occurred.
Country:
string
The country in which the event
occurred.
Model:
boolean
True if this is for modeling purposes
only, should be false for real volume.
Hold:
boolean
True if this transaction should not be
processed at this time, should be
false to be available to process
immediately.
Adjusts:
string
The Code of another volume
transaction that this volume
transaction is an adjustment for.
Only applies if this is an adjustment.
EffectiveDate:
string (date-time)
The date on which the volume can
be considered for commissions. This
may be later than the volume date if
the volume date falls in a closed
period, but it cannot be earlier than
the volume date.
ChangeDate:
string (date-time)
The date on which this volume (or its
base volumes) were modified.
Notes:
string
Notes related to the Volume. These
could appear on statements.
InternalComments:
string
Internal Comments related to the
Volume. These are for employee use
only.
Independent:
boolean
Independent volume is not
adjustable.
}
]
}

volumesGetAllByOrder
Get all volumes by order code.

/api/Orders/{orderCode}/volumes

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Orders/{orderCode}/vo
lumes?pageNumber=&pageSize=&sor
tType=&filters="
import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Vo
lumesApi;

import java.io.File;

import java.util.*;

public class VolumesApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");
oauth2.setAccessToken("
YOUR ACCESS TOKEN");

VolumesApi apiInstance
= new VolumesApi();

String orderCode = orde


rCode_example; // String | Orde
r code.

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s
**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.SalesOrderVolumeSummaryD
to result = apiInstance.volumes
GetAllByOrder(orderCode, pageNu
mber, pageSize, sortType, autho
rization, acceptLanguage, apiVe
rsion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Volumes
Api#volumesGetAllByOrder");
e.printStackTrace()
;

import io.swagger.client.api.Vo
lumesApi;

public class VolumesApiExample


{

public static void main(Str


ing[] args) {

VolumesApi apiInstance
= new VolumesApi();

String orderCode = orde


rCode_example; // String | Orde
r code.

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {
HateoasCollectionRe
sponse.SalesOrderVolumeSummaryD
to result = apiInstance.volumes
GetAllByOrder(orderCode, pageNu
mber, pageSize, sortType, autho
rization, acceptLanguage, apiVe
rsion, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Volumes
Api#volumesGetAllByOrder");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *orderCode = orderCode_e
xample; // Order code.

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

VolumesApi *apiInstance = [[Vol


umesApi alloc] init];

// Get all volumes by order cod


e.

[apiInstance volumesGetAllByOrd
erWith:orderCode

pageNumber:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

filters:filters
completionHandler
: ^(HateoasCollectionResponse.S
alesOrderVolumeSummaryDto outpu
t, NSError* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.V
olumesApi()

var orderCode = orderCode_examp


le; // {String} Order code.

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);
}

};

api.volumesGetAllByOrder(orderC
ode, pageNumber, pageSize, sort
Type, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class volumesGetAllB


yOrderExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew VolumesApi();

var orderCode = ord


erCode_example; // String | Or
der code.

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var filters = filte


rs_example; // String | # Filt
ers
**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get all volu


mes by order code.

HateoasCollecti
onResponse.SalesOrderVolumeSumm
aryDto result = apiInstance.vol
umesGetAllByOrder(orderCode, pa
geNumber, pageSize, sortType, a
uthorization, acceptLanguage, a
piVersion, filters);
Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling VolumesApi
.volumesGetAllByOrder: " + e.Me
ssage );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\VolumesApi();
$orderCode = orderCode_example;
// String | Order code.

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->vo
lumesGetAllByOrder($orderCode,
$pageNumber, $pageSize, $sortTy
pe, $authorization, $acceptLang
uage, $apiVersion, $filters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g VolumesApi->volumesGetAllByOr
der: ', $e->getMessage(), PHP_E
OL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Volumes
Api;
# Configure OAuth2 access token
for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::VolumesApi->new();

my $orderCode = orderCode_examp
le; # String | Order code.

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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {

my $result = $api_instance-
>volumesGetAllByOrder(orderCode
=> $orderCode, pageNumber => $p
ageNumber, pageSize => $pageSiz
e, sortType => $sortType, autho
rization => $authorization, acc
eptLanguage => $acceptLanguage,
apiVersion => $apiVersion, filt
ers => $filters);

print Dumper($result);

};

if ($@) {
warn "Exception when callin
g VolumesApi->volumesGetAllByOr
der: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.V
olumesApi()

orderCode = orderCode_example #
String | Order code.

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)
pageSize = 56 # Integer | PageS
ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

filters = filters_example # Str


ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')
**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get all volumes by order


code.

api_response = api_instance
.volumes_get_all_by_order(order
Code, pageNumber, pageSize, sor
tType, authorization=authorizat
ion, acceptLanguage=acceptLangu
age, apiVersion=apiVersion, fil
ters=filters)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng VolumesApi->volumesGetAllByO
rder: %s\n" % e)

Parameters
Path parameters
Name Description

orderCode* String

Order code.
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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
SalesOrderVolumeSummary Dto.
Code:
string
Code.
Description:
string
Description.
Hide:
boolean
Hide.
Amount:
number (double)
Amount.
Currency:
string
Currency.
PriceTypeDescription:
string
Price type description.
}
]
}
volumesGetByCode
Get volume by code.

/api/Volumes/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Volumes/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Vo
lumesApi;
import java.io.File;

import java.util.*;

public class VolumesApiExample


{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

VolumesApi apiInstance
= new VolumesApi();

String code = code_exam


ple; // String | Volume code.
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.volumesGetByCode(code,
authorization, acceptLanguage,
apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Volumes
Api#volumesGetByCode");

e.printStackTrace()
;

import io.swagger.client.api.Vo
lumesApi;
public class VolumesApiExample
{

public static void main(Str


ing[] args) {

VolumesApi apiInstance
= new VolumesApi();

String code = code_exam


ple; // String | Volume code.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.volumesGetByCode(code,
authorization, acceptLanguage,
apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Volumes
Api#volumesGetByCode");
e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


Volume code.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)
VolumesApi *apiInstance = [[Vol
umesApi alloc] init];

// Get volume by code.

[apiInstance volumesGetByCodeWi
th:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');
var defaultClient = JenkonRestA
piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.V


olumesApi()

var code = code_example; // {St


ring} Volume code.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};
var callback = function(error,
data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.volumesGetByCode(code, opts
, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class volumesGetByCo


deExample

public void main()


{

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew VolumesApi();

var code = code_exa


mple; // String | Volume code.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Get volume b
y code.
Object result =
apiInstance.volumesGetByCode(co
de, authorization, acceptLangua
ge, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling VolumesApi
.volumesGetByCode: " + e.Messag
e );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\VolumesApi();

$code = code_example; // String


| Volume code.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->vo
lumesGetByCode($code, $authoriz
ation, $acceptLanguage, $apiVer
sion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g VolumesApi->volumesGetByCode:
', $e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Volumes
Api;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::VolumesApi->new();

my $code = code_example; # Stri


ng | Volume code.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>volumesGetByCode(code => $code
, authorization => $authorizati
on, acceptLanguage => $acceptLa
nguage, apiVersion => $apiVersi
on);

print Dumper($result);
};

if ($@) {

warn "Exception when callin


g VolumesApi->volumesGetByCode:
$@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.V
olumesApi()

code = code_example # String |


Volume code.
authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Get volume by code.

api_response = api_instance
.volumes_get_by_code(code, auth
orization=authorization, accept
Language=acceptLanguage, apiVer
sion=apiVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng VolumesApi->volumesGetByCode
: %s\n" % e)

Parameters
Path parameters
Name Description

code* String
Volume code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Responses

Status: 200 - OK
• Schema

{
}

volumesPatch
Patch an existing volume.
/api/Volumes/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Volumes/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Vo
lumesApi;

import java.io.File;

import java.util.*;
public class VolumesApiExample
{

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

VolumesApi apiInstance
= new VolumesApi();

String code = code_exam


ple; // String | Volume code.

VolumePatch model = ; /
/ VolumePatch | Volume model.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.volumesPatch(code, mod
el, authorization, acceptLangua
ge, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Volumes
Api#volumesPatch");

e.printStackTrace()
;

import io.swagger.client.api.Vo
lumesApi;

public class VolumesApiExample


{

public static void main(Str


ing[] args) {
VolumesApi apiInstance
= new VolumesApi();

String code = code_exam


ple; // String | Volume code.

VolumePatch model = ; /
/ VolumePatch | Volume model.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.volumesPatch(code, mod
el, authorization, acceptLangua
ge, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Volumes
Api#volumesPatch");

e.printStackTrace()
;

}
}

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


Volume code.

VolumePatch *model = ; // Volum


e model.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

VolumesApi *apiInstance = [[Vol


umesApi alloc] init];
// Patch an existing volume.

[apiInstance volumesPatchWith:c
ode

model:model

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');
var defaultClient = JenkonRestA
piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.V


olumesApi()

var code = code_example; // {St


ring} Volume code.

var model = ; // {VolumePatch}


Volume model.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version
};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.volumesPatch(code, model, o
pts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class volumesPatchEx


ample
{

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew VolumesApi();

var code = code_exa


mple; // String | Volume code.

var model = new Vol


umePatch(); // VolumePatch | Vo
lume model.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)
try

// Patch an exi
sting volume.

Object result =
apiInstance.volumesPatch(code,
model, authorization, acceptLan
guage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling VolumesApi
.volumesPatch: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\VolumesApi();

$code = code_example; // String


| Volume code.

$model = ; // VolumePatch | Vol


ume model.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->vo
lumesPatch($code, $model, $auth
orization, $acceptLanguage, $ap
iVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g VolumesApi->volumesPatch: ',
$e->getMessage(), PHP_EOL;
}

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Volumes
Api;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::VolumesApi->new();

my $code = code_example; # Stri


ng | Volume code.

my $model = WWW::SwaggerClient:
:Object::VolumePatch->new(); #
VolumePatch | Volume model.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>volumesPatch(code => $code, mo
del => $model, authorization =>
$authorization, acceptLanguage
=> $acceptLanguage, apiVersion
=> $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g VolumesApi->volumesPatch: $@\
n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.V
olumesApi()

code = code_example # String |


Volume code.

model = # VolumePatch | Volume


model.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch an existing volume.

api_response = api_instance
.volumes_patch(code, model, aut
horization=authorization, accep
tLanguage=acceptLanguage, apiVe
rsion=apiVersion)
pprint(api_response)

except ApiException as e:

print("Exception when calli


ng VolumesApi->volumesPatch: %s
\n" % e)

Parameters
Path parameters
Name Description

code* String

Volume code.

Required

Header parameters
Name Description

Authorization String

access token

Accept-Language String

Accept-Language

Api-Version String

Api-Version

Body parameters
Name Description
model * VolumePatch {

Subset of properties to patch a volume.


Required: Hold
Hold:
Hold boolean
InternalComments:
InternalComments string
Notes:
Notes string maxLength:255
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

volumesPost
Create a new volume.

/api/Volumes
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Volumes"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Vo
lumesApi;

import java.io.File;

import java.util.*;

public class VolumesApiExample


{
public static void main(Str
ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

VolumesApi apiInstance
= new VolumesApi();

VolumePost model = ; //
VolumePost | Volume model.

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
Object result = api
Instance.volumesPost(model, aut
horization, acceptLanguage, api
Version);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Volumes
Api#volumesPost");

e.printStackTrace()
;

import io.swagger.client.api.Vo
lumesApi;

public class VolumesApiExample


{

public static void main(Str


ing[] args) {

VolumesApi apiInstance
= new VolumesApi();

VolumePost model = ; //
VolumePost | Volume model.
String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.volumesPost(model, aut
horization, acceptLanguage, api
Version);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Volumes
Api#volumesPost");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];
// Configure OAuth2 access toke
n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

VolumePost *model = ; // Volume


model.

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

VolumesApi *apiInstance = [[Vol


umesApi alloc] init];

// Create a new volume.

[apiInstance volumesPostWith:mo
del

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"
var api = new JenkonRestApiV1.V
olumesApi()

var model = ; // {VolumePost} V


olume model.

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};
api.volumesPost(model, opts, ca
llback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class volumesPostExa


mple

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew VolumesApi();
var model = new Vol
umePost(); // VolumePost | Volu
me model.

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Create a new
volume.

Object result =
apiInstance.volumesPost(model,
authorization, acceptLanguage,
apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

{
Debug.Print("Ex
ception when calling VolumesApi
.volumesPost: " + e.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\VolumesApi();

$model = ; // VolumePost | Volu


me model.

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage
$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->vo
lumesPost($model, $authorizatio
n, $acceptLanguage, $apiVersion
);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g VolumesApi->volumesPost: ', $
e->getMessage(), PHP_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Volumes
Api;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::VolumesApi->new();

my $model = WWW::SwaggerClient:
:Object::VolumePost->new(); # V
olumePost | Volume model.

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>volumesPost(model => $model, a
uthorization => $authorization,
acceptLanguage => $acceptLangua
ge, apiVersion => $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g VolumesApi->volumesPost: $@\n
";

from __future__ import print_st


atement
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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.V
olumesApi()

model = # VolumePost | Volume


model.

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
try:

# Create a new volume.

api_response = api_instance
.volumes_post(model, authorizat
ion=authorization, acceptLangua
ge=acceptLanguage, apiVersion=a
piVersion)

pprint(api_response)

except ApiException as e:

print("Exception when calli


ng VolumesApi->volumesPost: %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 * VolumePost {

Volume Post Request, new volume or adjust exsiting volume .


Required:
ActivityCenter,Code,Country,EffectiveDate,VolumeDate,VolumeType
Code:
Code string maxLength:50
Adjusts:
Adjusts string maxLength:50
Reference original volume record for adjustments.
ActivityCenter:
ActivityCenter string minLength:1 maxLength:50
The Account code of an existing Account.
Country:
Country string minLength:1 maxLength:2
EffectiveDate:
EffectiveDate string (date-time)
VolumeDate:
VolumeDate string (date-time)
InternalComments:
InternalComments string
Notes:
Notes string maxLength:255
Model:
Model boolean
Hold:
Hold boolean
VolumeType:
VolumeType string minLength:1 maxLength:50
BaseVolumes:
BaseVolumes[ (0..∞) ♦
BaseVolumeRequest {
BaseVolumeRequest.
Required: Amount,Volume
Volume:
Volume string minLength:1 maxLength:50
Amount:
{
Required: Amount,Currency
Amount:
Amount number (double)
Currency:
Currency string maxLength:3
}
}
]
}

Responses

Status: 200 - OK
• Schema

{
}

Status: 201 - Created

Warehouses

warehousesGetAll
Get data for Warehouse entries

/api/Warehouses

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X GET "https://localhost:


44356/api/Warehouses?pageNumber
=&pageSize=&sortType=&culture=&
filters="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Wa
rehousesApi;

import java.io.File;

import java.util.*;

public class WarehousesApiExamp


le {

public static void main(Str


ing[] args) {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

WarehousesApi apiInstan
ce = new WarehousesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
String apiVersion = api
Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

String filters = filter


s_example; // String | # Filter
s

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
try {

HateoasCollectionRe
sponse.WarehouseDto result = ap
iInstance.warehousesGetAll(page
Number, pageSize, sortType, aut
horization, acceptLanguage, api
Version, culture, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Warehou
sesApi#warehousesGetAll");

e.printStackTrace()
;

import io.swagger.client.api.Wa
rehousesApi;

public class WarehousesApiExamp


le {

public static void main(Str


ing[] args) {
WarehousesApi apiInstan
ce = new WarehousesApi();

Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0

Integer pageSize = 56;


// Integer | PageSize, a number
greater than 0

String sortType = sortT


ype_example; // String | SortTy
pe, 0 or 'asc' for 'Ascending'
and 1 or 'desc' for 'Descending
'

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

String filters = filter


s_example; // String | # Filter
s
**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

HateoasCollectionRe
sponse.WarehouseDto result = ap
iInstance.warehousesGetAll(page
Number, pageSize, sortType, aut
horization, acceptLanguage, api
Version, culture, filters);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Warehou
sesApi#warehousesGetAll");
e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

Integer *pageNumber = 56; // Pa


geNumber, a number greater than
or equal to 0 (default to 1)

Integer *pageSize = 56; // Page


Size, a number greater than 0 (
default to 25)

String *sortType = sortType_exa


mple; // SortType, 0 or 'asc' f
or 'Ascending' and 1 or 'desc'
for 'Descending' (default to as
c)

String *authorization = authori


zation_example; // access token
(optional)
String *acceptLanguage = accept
Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

String *filters = filters_examp


le; // # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

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

// Get data for Warehouse entri


es

[apiInstance warehousesGetAllWi
th:pageNumber

pageSize:pageSize

sortType:sortType

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

filters:filters

completionHandler
: ^(HateoasCollectionResponse.W
arehouseDto output, NSError* er
ror) {

if
(output) {

NSLog(@"%@", output);
}

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.W


arehousesApi()

var pageNumber = 56; // {Intege


r} 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 'a
sc' for 'Ascending' and 1 or 'd
esc' for 'Descending'

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version

'culture': culture_example, /
/ {String} Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| 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 suc


cessfully. Returned data: ' + d
ata);

};
api.warehousesGetAll(pageNumber
, pageSize, sortType, opts, cal
lback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class warehousesGetA


llExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew WarehousesApi();

var pageNumber = 56
; // Integer | PageNumber, a n
umber greater than or equal to
0 (default to 1)

var pageSize = 56;


// Integer | PageSize, a number
greater than 0 (default to 25)

var sortType = sort


Type_example; // String | Sort
Type, 0 or 'asc' for 'Ascending
' and 1 or 'desc' for 'Descendi
ng' (default to asc)

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
var filters = filte
rs_example; // String | # Filt
ers

**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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try

// Get data for


Warehouse entries

HateoasCollecti
onResponse.WarehouseDto result
= apiInstance.warehousesGetAll(
pageNumber, pageSize, sortType,
authorization, acceptLanguage,
apiVersion, culture, filters);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Warehouses
Api.warehousesGetAll: " + e.Mes
sage );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\WarehousesApi();

$pageNumber = 56; // Integer |


PageNumber, a number greater th
an or equal to 0

$pageSize = 56; // Integer | Pa


geSize, 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 tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

try {

$result = $api_instance->wa
rehousesGetAll($pageNumber, $pa
geSize, $sortType, $authorizati
on, $acceptLanguage, $apiVersio
n, $culture, $filters);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g WarehousesApi->warehousesGetA
ll: ', $e->getMessage(), PHP_EO
L;

?>

use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Warehou
sesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::WarehousesApi->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 'as
c' for 'Ascending' and 1 or 'de
sc' for 'Descending'

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version
my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |

| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |

eval {

my $result = $api_instance-
>warehousesGetAll(pageNumber =>
$pageNumber, pageSize => $pageS
ize, sortType => $sortType, aut
horization => $authorization, a
cceptLanguage => $acceptLanguag
e, apiVersion => $apiVersion, c
ulture => $culture, filters =>
$filters);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g WarehousesApi->warehousesGetA
ll: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.W
arehousesApi()

pageNumber = 56 # Integer | Pag


eNumber, a number greater than
or equal to 0 (default to 1)

pageSize = 56 # Integer | PageS


ize, a number greater than 0 (d
efault to 25)

sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
filters = filters_example # Str
ing | # 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 (L
astName NOT LIKE '%a' AND Start
Date == '20200607')

**Supported operators:**

| Operators | Sign |
Number | String | Char | DateTi
me |

| ------------------ | ----- |
------ | ------ | ---- | ------
-- |

| Equal |**==** |
✓ | ✓ | ✓ | ✓ |

| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |

| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |

| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |

| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |

| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |

| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |

| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |

| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |

| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |

| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)

try:

# Get data for Warehouse en


tries

api_response = api_instance
.warehouses_get_all(pageNumber,
pageSize, sortType, authorizati
on=authorization, acceptLanguag
e=acceptLanguage, apiVersion=ap
iVersion, culture=culture, filt
ers=filters)
pprint(api_response)

except ApiException as e:

print("Exception when calli


ng WarehousesApi->warehousesGet
All: %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

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

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
• Schema

{
HATEOAS collection response
PageNumber:
integer (int32)
Page number
PageSize:
integer (int32)
Page size
TotalCount:
integer (int32)
Total count
First:
string
First page url
Previous:
string
Previous page url, will be null if not
exist
Next:
string
Next page url, will be null if not exist
Last:
string
Last page url
Items:
[
Items
{
WarehouseDto.
Code:
string
Code.
Name:
string
Code.
Countries:
[
Countries.
string
]
ActivityCenter:
string
Activity center code.
FulfillmentWarehouse:
string
Fulfillment Warehouse.
FromWarehouse:
string
From Warehouse.
Resources:
[
Resources.
ResourceModel {
Resource Model
Required: Culture,Value
Culture:
Culture string minLength:1
maxLength:50
Value:
Value string
}
]
Active:
boolean
Active.
Line1:
string
Line1.
Line2:
string
Line2.
PostalCode:
string
Postal Code.
City:
string
City.
StateProvince:
string
StateProvince.
Country:
string
Country.
WarehouseType:
string
Warehouse Type.
}
]
}

warehousesGetByCode
Get data for a warehouse entry

/api/Warehouses/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
curl -X GET "https://localhost:
44356/api/Warehouses/{code}?cul
ture="

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Wa
rehousesApi;

import java.io.File;

import java.util.*;

public class WarehousesApiExamp


le {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2
OAuth oauth2 = (OAuth)
defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

WarehousesApi apiInstan
ce = new WarehousesApi();

String code = code_exam


ple; // String | The Category C
ode to retrieve

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

WarehouseDto result
= apiInstance.warehousesGetByCo
de(code, authorization, acceptL
anguage, apiVersion, culture);
System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Warehou
sesApi#warehousesGetByCode");

e.printStackTrace()
;

import io.swagger.client.api.Wa
rehousesApi;

public class WarehousesApiExamp


le {

public static void main(Str


ing[] args) {

WarehousesApi apiInstan
ce = new WarehousesApi();

String code = code_exam


ple; // String | The Category C
ode to retrieve

String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

String culture = cultur


e_example; // String | Culture,
not required, but if present, i
t must be a valid culture. If n
ot specified,

the defa
ult culture will be used.

try {

WarehouseDto result
= apiInstance.warehousesGetByCo
de(code, authorization, acceptL
anguage, apiVersion, culture);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Warehou
sesApi#warehousesGetByCode");

e.printStackTrace()
;

}
Configuration *apiConfig = [Con
figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


The Category Code to retrieve

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

String *culture = culture_examp


le; // Culture, not required, b
ut if present, it must be a val
id culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)
WarehousesApi *apiInstance = [[
WarehousesApi alloc] init];

// Get data for a warehouse ent


ry

[apiInstance warehousesGetByCod
eWith:code

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

culture:culture

completionHandler
: ^(WarehouseDto output, NSErro
r* error) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.W


arehousesApi()

var code = code_example; // {St


ring} The Category Code to retr
ieve

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple, // {String} Api-Version
'culture': culture_example //
{String} Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.warehousesGetByCode(code, o
pts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;
namespace Example

public class warehousesGetB


yCodeExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew WarehousesApi();

var code = code_exa


mple; // String | The Category
Code to retrieve

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)
var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

var culture = cultu


re_example; // String | Cultur
e, not required, but if present
, it must be a valid culture. I
f not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try

// Get data for


a warehouse entry

WarehouseDto re
sult = apiInstance.warehousesGe
tByCode(code, authorization, ac
ceptLanguage, apiVersion, cultu
re);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Warehouses
Api.warehousesGetByCode: " + e.
Message );
}

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\WarehousesApi();

$code = code_example; // String


| The Category Code to retrieve

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version
$culture = culture_example; //
String | Culture, not required,
but if present, it must be a va
lid culture. If not specified,

the defa
ult culture will be used.

try {

$result = $api_instance->wa
rehousesGetByCode($code, $autho
rization, $acceptLanguage, $api
Version, $culture);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g WarehousesApi->warehousesGetB
yCode: ', $e->getMessage(), PHP
_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Warehou
sesApi;

# Configure OAuth2 access token


for authorization: oauth2
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::WarehousesApi->new();

my $code = code_example; # Stri


ng | The Category Code to retri
eve

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

my $culture = culture_example;
# String | Culture, not require
d, but if present, it must be a
valid culture. If not specified
,

the defa
ult culture will be used.

eval {

my $result = $api_instance-
>warehousesGetByCode(code => $c
ode, authorization => $authoriz
ation, acceptLanguage => $accep
tLanguage, apiVersion => $apiVe
rsion, culture => $culture);
print Dumper($result);

};

if ($@) {

warn "Exception when callin


g WarehousesApi->warehousesGetB
yCode: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.W
arehousesApi()
code = code_example # String |
The Category Code to retrieve

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

culture = culture_example # Str


ing | Culture, not required, bu
t if present, it must be a vali
d culture. If not specified,

the defa
ult culture will be used. (opti
onal) (default to en-US)

try:

# Get data for a warehouse


entry

api_response = api_instance
.warehouses_get_by_code(code, a
uthorization=authorization, acc
eptLanguage=acceptLanguage, api
Version=apiVersion, culture=cul
ture)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng WarehousesApi->warehousesGet
ByCode: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Category Code to retrieve

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
• Schema

{
WarehouseDto.
Code:
string
Code.
Name:
string
Code.
Countries:
[
Countries.
string
]
ActivityCenter:
string
Activity center code.
FulfillmentWarehouse:
string
Fulfillment Warehouse.
FromWarehouse:
string
From Warehouse.
Resources:
[
Resources.
ResourceModel {
Resource Model
Required: Culture,Value
Culture:
Culture string minLength:1
maxLength:50
Value:
Value string
}
]
Active:
boolean
Active.
Line1:
string
Line1.
Line2:
string
Line2.
PostalCode:
string
Postal Code.
City:
string
City.
StateProvince:
string
StateProvince.
Country:
string
Country.
WarehouseType:
string
Warehouse Type.
}
warehousesPatchAsync
Patch a Warehouse entry
Provide only the fields to modify,
leaving the others null

/api/Warehouses/{code}

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X PATCH "https://localhos


t:44356/api/Warehouses/{code}"

import io.swagger.client.*;

import io.swagger.client.auth.*
;

import io.swagger.client.model.
*;

import io.swagger.client.api.Wa
rehousesApi;
import java.io.File;

import java.util.*;

public class WarehousesApiExamp


le {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

WarehousesApi apiInstan
ce = new WarehousesApi();

String code = code_exam


ple; // String | The Warehouse
Code of the entry to patch
WarehousePatch warehous
ePatch = ; // WarehousePatch |
The subset of Warehouse fields
to patch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.warehousesPatchAsync(c
ode, warehousePatch, authorizat
ion, acceptLanguage, apiVersion
);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Warehou
sesApi#warehousesPatchAsync");

e.printStackTrace()
;

}
}

import io.swagger.client.api.Wa
rehousesApi;

public class WarehousesApiExamp


le {

public static void main(Str


ing[] args) {

WarehousesApi apiInstan
ce = new WarehousesApi();

String code = code_exam


ple; // String | The Warehouse
Code of the entry to patch

WarehousePatch warehous
ePatch = ; // WarehousePatch |
The subset of Warehouse fields
to patch

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {
Object result = api
Instance.warehousesPatchAsync(c
ode, warehousePatch, authorizat
ion, acceptLanguage, apiVersion
);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Warehou
sesApi#warehousesPatchAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

String *code = code_example; //


The Warehouse Code of the entry
to patch
WarehousePatch *warehousePatch
= ; // The subset of Warehouse
fields to patch

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)

String *apiVersion = apiVersion


_example; // Api-Version (optio
nal) (default to 1.0)

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

// Patch a Warehouse entry

[apiInstance warehousesPatchAsy
ncWith:code

warehousePatch:warehousePat
ch

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.W


arehousesApi()
var code = code_example; // {St
ring} The Warehouse Code of the
entry to patch

var warehousePatch = ; // {Ware


housePatch} The subset of Wareh
ouse fields to patch

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language

'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

}
};

api.warehousesPatchAsync(code,
warehousePatch, opts, callback)
;

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

public class warehousesPatc


hAsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew WarehousesApi();

var code = code_exa


mple; // String | The Warehous
e Code of the entry to patch

var warehousePatch
= new WarehousePatch(); // Ware
housePatch | The subset of Ware
house fields to patch

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)

try

// Patch a Ware
house entry

Object result =
apiInstance.warehousesPatchAsyn
c(code, warehousePatch, authori
zation, acceptLanguage, apiVers
ion);

Debug.WriteLine
(result);
}

catch (Exception e)

Debug.Print("Ex
ception when calling Warehouses
Api.warehousesPatchAsync: " + e
.Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');

// Configure OAuth2 access toke


n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\WarehousesApi();

$code = code_example; // String


| The Warehouse Code of the ent
ry to patch
$warehousePatch = ; // Warehous
ePatch | The subset of Warehous
e fields to patch

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->wa
rehousesPatchAsync($code, $ware
housePatch, $authorization, $ac
ceptLanguage, $apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g WarehousesApi->warehousesPatc
hAsync: ', $e->getMessage(), PH
P_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Warehou
sesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::WarehousesApi->new();

my $code = code_example; # Stri


ng | The Warehouse Code of the
entry to patch

my $warehousePatch = WWW::Swagg
erClient::Object::WarehousePatc
h->new(); # WarehousePatch | Th
e subset of Warehouse fields to
patch

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language

my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {
my $result = $api_instance-
>warehousesPatchAsync(code => $
code, warehousePatch => $wareho
usePatch, authorization => $aut
horization, acceptLanguage => $
acceptLanguage, apiVersion => $
apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g WarehousesApi->warehousesPatc
hAsync: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class

api_instance = swagger_client.W
arehousesApi()

code = code_example # String |


The Warehouse Code of the entry
to patch

warehousePatch = # WarehousePa
tch | The subset of Warehouse f
ields to patch

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Patch a Warehouse entry

api_response = api_instance
.warehouses_patch_async(code, w
arehousePatch, authorization=au
thorization, acceptLanguage=acc
eptLanguage, apiVersion=apiVers
ion)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng WarehousesApi->warehousesPat
chAsync: %s\n" % e)

Parameters
Path parameters
Name Description

code* String

The Warehouse Code 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

warehousePatch * WarehousePatch {

Warehouse Patch.
Name:
Name string minLength:1 maxLength:50
Countries:
Countries[
string minLength:1 maxLength:2
]
ActivityCenter:
ActivityCenter string minLength:1 maxLength:50
FulfillmentWarehouse:
FulfillmentWarehouse string minLength:1 maxLength:50
FromWarehouse:
FromWarehouse string minLength:1 maxLength:50
Resources:
Resources[
{
Required: Culture,Value
Culture:
Culture string minLength:1 maxLength:50
Value:
Value string
}
]
Active:
Active boolean
Line1:
Line1 string minLength:1 maxLength:255
Line2:
Line2 string minLength:1 maxLength:255
PostalCode:
PostalCode string minLength:1 maxLength:255
City:
City string minLength:1 maxLength:255
StateProvince:
StateProvince string minLength:1 maxLength:255
Country:
Country string minLength:1 maxLength:2
}

Responses

Status: 200 - OK
• Schema

{
}

warehousesPostAsync
Create a Warehouse entry

/api/Warehouses

Usage and SDK


Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python

curl -X POST "https://localhost


:44356/api/Warehouses"

import io.swagger.client.*;

import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;

import io.swagger.client.api.Wa
rehousesApi;

import java.io.File;

import java.util.*;

public class WarehousesApiExamp


le {

public static void main(Str


ing[] args) {

ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();

// Configure OAuth2 acc


ess token for authorization: oa
uth2

OAuth oauth2 = (OAuth)


defaultClient.getAuthentication
("oauth2");

oauth2.setAccessToken("
YOUR ACCESS TOKEN");

WarehousesApi apiInstan
ce = new WarehousesApi();
WarehouseDto warehouse
= ; // WarehouseDto | The {Ware
house} data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.warehousesPostAsync(wa
rehouse, authorization, acceptL
anguage, apiVersion);

System.out.println(
result);

} catch (ApiException e
) {

System.err.println(
"Exception when calling Warehou
sesApi#warehousesPostAsync");

e.printStackTrace()
;

}
import io.swagger.client.api.Wa
rehousesApi;

public class WarehousesApiExamp


le {

public static void main(Str


ing[] args) {

WarehousesApi apiInstan
ce = new WarehousesApi();

WarehouseDto warehouse
= ; // WarehouseDto | The {Ware
house} data to create

String authorization =
authorization_example; // Strin
g | access token

String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language

String apiVersion = api


Version_example; // String | Ap
i-Version

try {

Object result = api


Instance.warehousesPostAsync(wa
rehouse, authorization, acceptL
anguage, apiVersion);

System.out.println(
result);
} catch (ApiException e
) {

System.err.println(
"Exception when calling Warehou
sesApi#warehousesPostAsync");

e.printStackTrace()
;

Configuration *apiConfig = [Con


figuration sharedConfig];

// Configure OAuth2 access toke


n for authorization: (authentic
ation scheme: oauth2)

[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];

WarehouseDto *warehouse = ; //
The {Warehouse} data to create

String *authorization = authori


zation_example; // access token
(optional)

String *acceptLanguage = accept


Language_example; // Accept-Lan
guage (optional) (default to en
-US)
String *apiVersion = apiVersion
_example; // Api-Version (optio
nal) (default to 1.0)

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

// Create a Warehouse entry

[apiInstance warehousesPostAsyn
cWith:warehouse

authorization:authorization

acceptLanguage:acceptLangua
ge

apiVersion:apiVersion

completionHandler
: ^(Object output, NSError* err
or) {

if
(output) {

NSLog(@"%@", output);

if
(error) {

NSLog(@"Error: %@", error);

}
}];

var JenkonRestApiV1 = require('


jenkon_rest_api_v1');

var defaultClient = JenkonRestA


piV1.ApiClient.instance;

// Configure OAuth2 access toke


n for authorization: oauth2

var oauth2 = defaultClient.auth


entications['oauth2'];

oauth2.accessToken = "YOUR ACCE


SS TOKEN"

var api = new JenkonRestApiV1.W


arehousesApi()

var warehouse = ; // {Warehouse


Dto} The {Warehouse} data to cr
eate

var opts = {

'authorization': authorizatio
n_example, // {String} access t
oken

'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version

};

var callback = function(error,


data, response) {

if (error) {

console.error(error);

} else {

console.log('API called suc


cessfully. Returned data: ' + d
ata);

};

api.warehousesPostAsync(warehou
se, opts, callback);

using System;

using System.Diagnostics;

using IO.Swagger.Api;

using IO.Swagger.Client;

using IO.Swagger.Model;

namespace Example

{
public class warehousesPost
AsyncExample

public void main()

// Configure OAuth2
access token for authorization:
oauth2

Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";

var apiInstance = n
ew WarehousesApi();

var warehouse = new


WarehouseDto(); // WarehouseDto
| The {Warehouse} data to creat
e

var authorization =
authorization_example; // Stri
ng | access token (optional)

var acceptLanguage
= acceptLanguage_example; // S
tring | Accept-Language (option
al) (default to en-US)

var apiVersion = ap
iVersion_example; // String |
Api-Version (optional) (defaul
t to 1.0)
try

// Create a War
ehouse entry

Object result =
apiInstance.warehousesPostAsync
(warehouse, authorization, acce
ptLanguage, apiVersion);

Debug.WriteLine
(result);

catch (Exception e)

Debug.Print("Ex
ception when calling Warehouses
Api.warehousesPostAsync: " + e.
Message );

<?php

require_once(__DIR__ . '/vendor
/autoload.php');
// Configure OAuth2 access toke
n for authorization: oauth2

Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Swagger\Cli


ent\Api\WarehousesApi();

$warehouse = ; // WarehouseDto
| The {Warehouse} data to creat
e

$authorization = authorization_
example; // String | access tok
en

$acceptLanguage = acceptLanguag
e_example; // String | Accept-L
anguage

$apiVersion = apiVersion_exampl
e; // String | Api-Version

try {

$result = $api_instance->wa
rehousesPostAsync($warehouse, $
authorization, $acceptLanguage,
$apiVersion);

print_r($result);

} catch (Exception $e) {

echo 'Exception when callin


g WarehousesApi->warehousesPost
Async: ', $e->getMessage(), PHP
_EOL;

?>

use Data::Dumper;

use WWW::SwaggerClient::Configu
ration;

use WWW::SwaggerClient::Warehou
sesApi;

# Configure OAuth2 access token


for authorization: oauth2

$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';

my $api_instance = WWW::Swagger
Client::WarehousesApi->new();

my $warehouse = WWW::SwaggerCli
ent::Object::WarehouseDto->new(
); # WarehouseDto | The {Wareho
use} data to create

my $authorization = authorizati
on_example; # String | access t
oken

my $acceptLanguage = acceptLang
uage_example; # String | Accept
-Language
my $apiVersion = apiVersion_exa
mple; # String | Api-Version

eval {

my $result = $api_instance-
>warehousesPostAsync(warehouse
=> $warehouse, authorization =>
$authorization, acceptLanguage
=> $acceptLanguage, apiVersion
=> $apiVersion);

print Dumper($result);

};

if ($@) {

warn "Exception when callin


g WarehousesApi->warehousesPost
Async: $@\n";

from __future__ import print_st


atement

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.ac
cess_token = 'YOUR_ACCESS_TOKEN
'

# create an instance of the API


class

api_instance = swagger_client.W
arehousesApi()

warehouse = # WarehouseDto | T
he {Warehouse} data to create

authorization = authorization_e
xample # String | access token
(optional)

acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)

apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)

try:

# Create a Warehouse entry

api_response = api_instance
.warehouses_post_async(warehous
e, authorization=authorization,
acceptLanguage=acceptLanguage,
apiVersion=apiVersion)

pprint(api_response)

except ApiException as e:
print("Exception when calli
ng WarehousesApi->warehousesPos
tAsync: %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

warehouse * {

WarehouseDto.
Code:
string
Code.
Name:
string
Code.
Countries:
[
Countries.
string
]
ActivityCenter:
string
Activity center code.
FulfillmentWarehouse:
string
Fulfillment Warehouse.
FromWarehouse:
string
From Warehouse.
Resources:
[
Resources.
ResourceModel {
Resource Model
Required: Culture,Value
Culture:
Culture string minLength:1 maxLength:50
Value:
Value string
}
]
Active:
boolean
Active.
Line1:
string
Line1.
Line2:
string
Line2.
PostalCode:
string
Postal Code.
City:
string
City.
StateProvince:
string
StateProvince.
Country:
string
Country.
WarehouseType:
string
Warehouse Type.
}

Responses

Status: 200 - OK
• Schema

{
}

You might also like