Professional Documents
Culture Documents
JoT API v2.1
JoT API v2.1
JoT API v2.1
• 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
AccountDocumentNotes
notesDeleteNotes
Get account notes by document
code.
/api/Accounts/{accountCode}/Doc
uments/{documentCode}/Notes
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.*;
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 {
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
DocumentNotesApi#notesDeleteNot
es");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
array[String] *notesCodes = ; /
/
AccountDocumentNotesApi *apiIns
tance = [[AccountDocumentNotesA
pi alloc] init];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
DocumentNotesApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
pprint(api_response)
except ApiException as 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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**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;
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
**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];
[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) {
}];
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
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
// 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 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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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');
$accountCode = accountCode_exam
ple; // String |
$documentCode = documentCode_ex
ample; // String |
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
DocumentNotesApi;
$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 $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:**
**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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.A
ccountDocumentNotesApi()
accountCode = accountCode_examp
le # String |
documentCode = documentCode_exa
mple # String |
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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
Required
pageSize* Integer
Required
sortType* String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;
import io.swagger.client.api.Ac
countDocumentNotesApi;
import java.io.File;
import java.util.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
AccountDocumentNotesApi
apiInstance = new AccountDocume
ntNotesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
AccountDocumentNotesApi *apiIns
tance = [[AccountDocumentNotesA
pi alloc] init];
[apiInstance notesGetByCodeWith
:code
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(NoteDto output, NSError* er
ror) {
if
(output) {
NSLog(@"%@", output);
}
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
api.notesGetByCode(code, opts,
callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountDocumentNotesApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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) {
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
DocumentNotesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::AccountDocumentNotesApi
->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.A
ccountDocumentNotesApi()
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:
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:
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
DocumentNotesApi#notesPatchNote
s");
e.printStackTrace()
;
import io.swagger.client.api.Ac
countDocumentNotesApi;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
DocumentNotesApi#notesPatchNote
s");
e.printStackTrace()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
array[NotePatch] *notes = ; //
[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) {
}
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
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 ($@) {
import time
import swagger_client
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:
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:
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
{
}
notesPostNotes
Create document notes for an
specific document and account code.
/api/Accounts/{accountCode}/Doc
uments/{documentCode}/Notes
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.*;
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 {
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
DocumentNotesApi#notesPostNotes
");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
array[NotePost] *notes = ; //
AccountDocumentNotesApi *apiIns
tance = [[AccountDocumentNotesA
pi alloc] init];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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 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');
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);
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
DocumentNotesApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
pprint(api_response)
except ApiException as 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
{
}
AccountDocuments
accountDocumentsDelete
DocumentAsync
Delete a document.
/api/Documents/{documentCode}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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 {
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsDe
leteDocumentAsync");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
DocumentsApi;
$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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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
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.*;
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
the defa
ult culture will be used.
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
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
the defa
ult culture will be used.
**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];
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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];
[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) {
}];
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
}
};
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
// 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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
DocumentsApi;
$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:**
**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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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;
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
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()
;
the defa
ult culture will be used. (opti
onal) (default to en-US)
AccountDocumentsApi *apiInstanc
e = [[AccountDocumentsApi alloc
] init];
[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) {
}];
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 {
};
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 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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
DocumentsApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try:
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:
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
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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;
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 {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
DocumentsApi#accountDocumentsPa
tchAsync");
e.printStackTrace()
;
AccountDocumentPatch *documentP
atch = ; // The subset of docum
ent fields to patch.
AccountDocumentsApi *apiInstanc
e = [[AccountDocumentsApi alloc
] init];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
console.error(error);
} else {
};
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
{
// 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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
DocumentsApi;
$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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
Parameters
Path parameters
Name Description
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
documentPatch * {
Responses
Status: 200 - OK
• Schema
{
}
Status: 204 -
NoContent
accountDocumentsPost
Create an account document.
/api/Accounts/{accountCode}/Doc
uments
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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;
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
AccountDocumentPost *accountDoc
ument = ; // Account document.
String *authorization = authori
zation_example; // access token
(optional)
AccountDocumentsApi *apiInstanc
e = [[AccountDocumentsApi alloc
] init];
[apiInstance accountDocumentsPo
stWith:accountCode
accountDocument:accountDocu
ment
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(NSError* error) {
if
(error) {
NSLog(@"Error: %@", error);
}];
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
DocumentsApi;
$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 ($@) {
}
from __future__ import print_st
atement
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
api_instance.account_docume
nts_post(accountCode, accountDo
cument, authorization=authoriza
tion, acceptLanguage=acceptLang
uage, apiVersion=apiVersion)
except ApiException as 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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
the defa
ult culture will be used.
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
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
the defa
ult culture will be used.
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *accountCode = accountCo
de_example; // Account code.
the defa
ult culture will be used. (opti
onal) (default to en-US)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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];
[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) {
}];
'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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
NotebooksApi;
$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:**
**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 ($@) {
import time
import swagger_client
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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 {
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
AccountNotebooksApi *apiInstanc
e = [[AccountNotebooksApi alloc
] init];
[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) {
}];
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.
};
if (error) {
console.error(error);
} else {
};
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
{
// 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)
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
NotebooksApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try:
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:
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
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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;
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
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()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
AccountNotebookPost *accountNot
ebook = ; // Account notebook.
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) {
}];
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 {
};
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
// 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');
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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
NotebooksApi;
$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 ($@) {
import time
import swagger_client
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:
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
AccountPhoneNumbers
accountPhonesGetAll
Get all the phones for an specific
account.
/api/Accounts/{accountCode}/Pho
neNumbers
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.*;
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
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;
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
AccountPhoneNumbersApi *apiInst
ance = [[AccountPhoneNumbersApi
alloc] init];
[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) {
}];
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.
};
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
// 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)
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');
$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) {
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
PhoneNumbersApi;
$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 ($@) {
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
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
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}
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 {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();
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
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;
AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
AccountPhoneNumbersApi *apiInst
ance = [[AccountPhoneNumbersApi
alloc] init];
[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) {
}];
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.
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountPhoneNumbersApi();
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)
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');
$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) {
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
PhoneNumbersApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::AccountPhoneNumbersApi-
>new();
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 ($@) {
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.A
ccountPhoneNumbersApi()
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:
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:
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
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}
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.*;
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();
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 {
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;
AccountPhoneNumbersApi
apiInstance = new AccountPhoneN
umbersApi();
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
PhoneNumbersApi#accountPhonesPa
tchAsync");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
AccountPhonePatch *accountPhone
Patch = ; // The subset of acco
unt phone fields to patch.
AccountPhoneNumbersApi *apiInst
ance = [[AccountPhoneNumbersApi
alloc] init];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountPhoneNumbersApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
PhoneNumbersApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::AccountPhoneNumbersApi-
>new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.A
ccountPhoneNumbersApi()
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:
pprint(api_response)
except ApiException as 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
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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 {
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
AccountPhonePost *accountPhone
= ; // Account phone values
AccountPhoneNumbersApi *apiInst
ance = [[AccountPhoneNumbersApi
alloc] init];
[apiInstance accountPhonesPostW
ith:accountCode
accountPhone:accountPhone
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(NSError* error) {
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
PhoneNumbersApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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 {
Responses
AccountTitles
accountTitlesGetAll
Get all the titles for an specific
account.
/api/Accounts/{code}/Titles
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 {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
AccountTitlesApi apiIns
tance = new AccountTitlesApi();
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
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;
AccountTitlesApi apiIns
tance = new AccountTitlesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
AccountTitlesApi *apiInstance =
[[AccountTitlesApi alloc] init]
;
[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) {
}];
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.
};
if (error) {
console.error(error);
} else {
};
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
{
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountTitlesApi();
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
TitlesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::AccountTitlesApi->new()
;
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 ($@) {
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.A
ccountTitlesApi()
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:
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:
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
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
AccountTitlesApi apiIns
tance = new AccountTitlesApi();
AccountTitlePatch accou
ntTitle = ; // AccountTitlePatc
h | Account title.
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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;
AccountTitlesApi apiIns
tance = new AccountTitlesApi();
String titleCodeGroup =
titleCodeGroup_example; // Stri
ng | Title code group.
AccountTitlePatch accou
ntTitle = ; // AccountTitlePatc
h | Account title.
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
TitlesApi#accountTitlesPatch");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
AccountTitlePatch *accountTitle
= ; // Account title.
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) {
}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountTitlesApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
TitlesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::AccountTitlesApi->new()
;
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.A
ccountTitlesApi()
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:
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:
Parameters
Path parameters
Name Description
code* String
Account code.
Required
titleCodeGroup* String
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 * {
Status: 200 - OK
• Schema
{
}
Accounts
accountsCreate
Create a new Account.
/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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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;
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance accountsCreateWith
:model
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
}
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
api.accountsCreate(model, opts,
callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
sApi;
$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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.A
ccountsApi()
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:
pprint(api_response)
except ApiException as 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
{
}
accountsGetAll
Get data for Account entries.
/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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
AccountsApi apiInstance
= new AccountsApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
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
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
AccountsApi apiInstance
= new AccountsApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
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
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
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) {
}];
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 |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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 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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\AccountsApi();
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
sApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::AccountsApi->new();
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:**
**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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.A
ccountsApi()
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)
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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
excludeTerminated Boolean
Exclude Terminated.
additionalDetails Boolean
pageNumber* Integer
Required
pageSize* Integer
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 |**>** | ✓ | ✘ | ✘ |
✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓ | |
LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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
{
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
AccountsApi apiInstance
= new AccountsApi();
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;
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(AccountDto output, NSError*
error) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
{
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountsApi();
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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\AccountsApi();
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
sApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::AccountsApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
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
{
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
AccountsApi apiInstance
= new AccountsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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;
AccountsApi apiInstance
= new AccountsApi();
AccountPatch accountPat
ch = ; // AccountPatch | Accoun
t patch model.
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
} catch (ApiException e
) {
System.err.println(
"Exception when calling Account
sApi#accountsPatch");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
AccountPatch *accountPatch = ;
// Account patch model.
[apiInstance accountsPatchWith:
code
accountPatch:accountPatch
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
}
if
(error) {
}];
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew AccountsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Account
sApi;
$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 ($@) {
}
from __future__ import print_st
atement
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.A
ccountsApi()
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:
api_response = api_instance
.accounts_patch(code, accountPa
tch, authorization=authorizatio
n, acceptLanguage=acceptLanguag
e, apiVersion=apiVersion)
pprint(api_response)
except ApiException as 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 {
Responses
Status: 200 - OK
• Schema
{
}
Status: 204 -
NoContent
ActivityCenterStatuses
activityCenterStatuses
GetAll
Get account's primary activity center
custom plan statuses
/api/ActivityCenterStatuses/{ac
countCode}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
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
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;
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *accountCode = accountCo
de_example; // The account code
to retrieve
ActivityCenterStatusesApi *apiI
nstance = [[ActivityCenterStatu
sesApi alloc] init];
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) {
}];
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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 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');
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
$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) {
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Activit
yCenterStatusesApi;
$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 $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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.A
ctivityCenterStatusesApi()
accountCode = accountCode_examp
le # String | The account code
to retrieve
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:
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
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
Required
sortType* String
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Activit
yCenterStatusesApi#activityCent
erStatusesPatchAsync");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
array[CustomPlanStatusDto] *cus
tomPlanStatuses = ; // Subset o
f {CustomPlanStatus} to update
ActivityCenterStatusesApi *apiI
nstance = [[ActivityCenterStatu
sesApi alloc] init];
customPlanStatuses:customPl
anStatuses
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
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 {
};
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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Activit
yCenterStatusesApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
Parameters
Path parameters
Name Description
accountCode* String
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
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
try {
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;
CartsApi apiInstance =
new CartsApi();
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
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
try {
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;
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
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsCreateCart");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
// 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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
api.cartsCreateCart(cartModel,
opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.C
artsApi()
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:
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 {
Responses
Status: 200 - OK
• Schema
{
}
cartsDelete
Delete a cart by code.
/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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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;
CartsApi apiInstance =
new CartsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsDelete");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance cartsDeleteWith:co
de
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
}
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::CartsApi->new();
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 ($@) {
import time
import swagger_client
api_instance = swagger_client.C
artsApi()
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:
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
array[String] items = ;
// array[String] | Items codes.
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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;
CartsApi apiInstance =
new CartsApi();
array[String] items = ;
// array[String] | Items codes.
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsDeleteItem");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
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
import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;
import io.swagger.client.api.Ca
rtsApi;
import java.io.File;
import java.util.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
array[String] payments
= ; // array[String] | Payments
.
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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;
CartsApi apiInstance =
new CartsApi();
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 {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsDeletePaymentsAsync");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *cartCode = cartCode_exa
mple; // Cart code.
array[String] *payments = ; //
Payments.
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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');
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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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 ($@) {
import time
import swagger_client
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:
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
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
try {
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;
CartsApi apiInstance =
new CartsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsDeletePromotionCodes");
e.printStackTrace()
;
}
Configuration *apiConfig = [Con
figuration sharedConfig];
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
array[String] *promotionCodes =
; // Promotion codes.
promotionCodes:promotionCod
es
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
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 {
};
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 void main()
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
pprint(api_response)
except ApiException as 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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
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 authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
| 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()
;
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
[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) {
}];
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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 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)
**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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::CartsApi->new();
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:**
| 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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.C
artsApi()
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
Required
pageSize* Integer
Required
sortType* String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
CartsApi apiInstance =
new CartsApi();
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *cartCode = cartCode_exa
mple; // Cart code.
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
api.cartsGetAllItems(cartCode,
opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// 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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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 ($@) {
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
api_response = api_instance
.carts_get_all_items(cartCode,
authorization=authorization, ac
ceptLanguage=acceptLanguage, ap
iVersion=apiVersion)
pprint(api_response)
except ApiException as 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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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 {
CartsApi apiInstance =
new CartsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance cartsGetAllPromoti
onCodesWith:cartCode
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(HateoasCollectionResponse.'
String' output, NSError* error)
{
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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
{
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');
$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);
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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 ($@) {
import time
import swagger_client
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:
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:
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
CartsApi apiInstance =
new CartsApi();
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance cartsGetCartByCode
With:code
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(CartDto output, NSError* er
ror) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::CartsApi->new();
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 ($@) {
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.C
artsApi()
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:
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:
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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 {
CartsApi apiInstance =
new CartsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[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 opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
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
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.*;
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
[apiInstance cartsGetFreightAsy
ncWith:cartCode
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
culture:culture
completionHandler
: ^(FreightDto output, NSError*
error) {
if
(output) {
NSLog(@"%@", output);
}
if
(error) {
}];
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.
};
if (error) {
console.error(error);
} else {
};
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
// 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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try:
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:
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
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
CartPatch model = ; //
CartPatch |
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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;
CartsApi apiInstance =
new CartsApi();
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 {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsPatch");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *code = code_example; //
Cart code.
CartPatch *model = ; //
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
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 $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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.C
artsApi()
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:
api_response = api_instance
.carts_patch(code, model, autho
rization=authorization, acceptL
anguage=acceptLanguage, apiVers
ion=apiVersion)
pprint(api_response)
except ApiException as 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 {
Responses
Status: 200 - OK
• Schema
{
}
Status: 204 -
NoContent
cartsPatchCartItemByCo
de
Patch cart items properties.
/api/Carts/{cartCode}/Items
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.*;
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
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
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsPatchCartItemByCode");
e.printStackTrace()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
array[CartItemPatch] *cartItems
= ; // Cart items.
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
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
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 {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
array[CartItemPost] ite
ms = ; // array[CartItemPost] |
Cart items.
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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;
CartsApi apiInstance =
new CartsApi();
array[CartItemPost] ite
ms = ; // array[CartItemPost] |
Cart items.
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsPostItem");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
array[CartItemPost] *items = ;
// Cart items.
[apiInstance cartsPostItemWith:
cartCode
items:items
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
api_response = api_instance
.carts_post_item(cartCode, item
s, authorization=authorization,
acceptLanguage=acceptLanguage,
apiVersion=apiVersion)
pprint(api_response)
except ApiException as 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
{
}
cartsPostPaymentsAsync
Add payment to the cart
/api/Carts/{cartCode}/Payments
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 {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CartsApi apiInstance =
new CartsApi();
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
try {
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;
CartsApi apiInstance =
new CartsApi();
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsPostPaymentsAsync");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
array[PaymentTransactionPost] *
payments = ; // Payments.
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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";
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
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
{
}
cartsSubmitCart
Submit a cart.
/api/Carts/{cartCode}/Submit
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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;
CartsApi apiInstance =
new CartsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling CartsAp
i#cartsSubmitCart");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
// 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) {
}
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CartsApi();
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::CartsAp
i;
$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 ($@) {
import time
import swagger_client
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
{
}
Categories
categoriesGetAll
Get data for Category entries
/api/Categories
import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;
import io.swagger.client.api.Ca
tegoriesApi;
import java.io.File;
import java.util.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
CategoriesApi apiInstan
ce = new CategoriesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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:**
**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;
CategoriesApi apiInstan
ce = new CategoriesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
the defa
ult culture will be used.
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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];
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) {
}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');
'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:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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 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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Categor
iesApi;
$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 $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:**
**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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.C
ategoriesApi()
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
Required
pageSize* Integer
Required
sortType* String
Required
culture String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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;
CategoriesApi apiInstan
ce = new CategoriesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
CategoriesApi *apiInstance = [[
CategoriesApi alloc] init];
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
culture:culture
completionHandler
: ^(CategoryDto output, NSError
* error) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
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.
};
if (error) {
console.error(error);
} else {
};
api.categoriesGetByCategoryCode
(code, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CategoriesApi();
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Categor
iesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::CategoriesApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.C
ategoriesApi()
acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)
apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try:
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
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
CategoriesApi apiInstan
ce = new CategoriesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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;
CategoriesApi apiInstan
ce = new CategoriesApi();
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
CategoriesApi *apiInstance = [[
CategoriesApi alloc] init];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
}
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CategoriesApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Categor
iesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::CategoriesApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class
api_instance = swagger_client.C
ategoriesApi()
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:
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
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 {
Responses
Status: 200 - OK
• Schema
{
}
categoriesPostAsync
Create an Category entry
/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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
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
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;
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
CategoryPost *category = ; // T
he {Category} data to create
CategoriesApi *apiInstance = [[
CategoriesApi alloc] init];
[apiInstance categoriesPostAsyn
cWith:category
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(NSError* error) {
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew CategoriesApi();
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Categor
iesApi;
$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 ($@) {
import time
import swagger_client
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:
api_instance.categories_pos
t_async(category, authorization
=authorization, acceptLanguage=
acceptLanguage, apiVersion=apiV
ersion)
except ApiException as e:
Authorization String
access token
Accept-Language String
Accept-Language
Api-Version String
Api-Version
Body parameters
Name Description
category * {
Status: 200 - OK
Exemptions
exemptionsGetAll
Get all exemptions for a specific
account.
/api/Accounts/{accountCode}/Exe
mptions
import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;
import io.swagger.client.api.Ex
emptionsApi;
import java.io.File;
import java.util.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
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
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
**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];
[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) {
}];
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
}
};
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
// 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 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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$accountCode = accountCode_exam
ple; // String | account code.
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Exempti
onsApi;
$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 $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:**
**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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.E
xemptionsApi()
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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
Required
pageSize* Integer
Required
sortType* String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ExemptionsApi apiInstan
ce = new ExemptionsApi();
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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 {
ExemptionsApi apiInstan
ce = new ExemptionsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance exemptionsGetByCod
eWith:code
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(ExemptionDto output, NSErro
r* error) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
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 {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ExemptionsApi();
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');
$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);
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Exempti
onsApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::ExemptionsApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class
api_instance = swagger_client.E
xemptionsApi()
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:
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:
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ExemptionsApi apiInstan
ce = new ExemptionsApi();
ExemptionPatch exemptio
nPatch = ; // ExemptionPatch |
Exemption patch.
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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;
ExemptionsApi apiInstan
ce = new ExemptionsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Exempti
onsApi#exemptionsPatch");
e.printStackTrace()
;
}
Configuration *apiConfig = [Con
figuration sharedConfig];
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
ExemptionPatch *exemptionPatch
= ; // Exemption patch.
ExemptionsApi *apiInstance = [[
ExemptionsApi alloc] init];
exemptionPatch:exemptionPat
ch
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
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 {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ExemptionsApi();
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Exempti
onsApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::ExemptionsApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.E
xemptionsApi()
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:
api_response = api_instance
.exemptions_patch(code, exempti
onPatch, authorization=authoriz
ation, acceptLanguage=acceptLan
guage, apiVersion=apiVersion)
pprint(api_response)
except ApiException as 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 {
Responses
Status: 200 - OK
• Schema
{
}
exemptionsPost
Create a new exemption.
/api/Exemptions
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Exempti
onsApi#exemptionsPost");
e.printStackTrace()
;
}
Configuration *apiConfig = [Con
figuration sharedConfig];
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
ExemptionPost *exemptionPost =
; // Exemption post.
ExemptionsApi *apiInstance = [[
ExemptionsApi alloc] init];
[apiInstance exemptionsPostWith
:exemptionPost
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
api_response = api_instance
.exemptions_post(exemptionPost,
authorization=authorization, ac
ceptLanguage=acceptLanguage, ap
iVersion=apiVersion)
pprint(api_response)
except ApiException as 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 {
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}
import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;
import io.swagger.client.api.Ge
nealogyApi;
import java.io.File;
import java.util.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
GenealogyApi apiInstanc
e = new GenealogyApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
GenealogyApi apiInstanc
e = new GenealogyApi();
String account = accoun
t_example; // String | Account
Code.
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
{
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew GenealogyApi();
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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$account = account_example; //
String | Account Code.
$period = period_example; // St
ring | Period Code.
$lineage = lineage_example; //
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->ge
nealogyGetByCode($account, $pla
n, $period, $lineage, $maxDepth
, $authorization, $acceptLangua
ge, $apiVersion);
print_r($result);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Genealo
gyApi;
$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 $period = period_example; #
String | Period Code.
my $lineage = lineage_example;
# 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-
>genealogyGetByCode(account =>
$account, plan => $plan, period
=> $period, lineage => $lineage
, maxDepth => $maxDepth, author
ization => $authorization, acce
ptLanguage => $acceptLanguage,
apiVersion => $apiVersion);
print Dumper($result);
};
if ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.G
enealogyApi()
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:
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:
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
Status: 200 - OK
• Schema
Inventories
inventoriesDeleteByCod
e
Delete an Inventory entry
/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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
InventoriesApi apiInsta
nce = new InventoriesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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;
InventoriesApi apiInsta
nce = new InventoriesApi();
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 {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Invento
riesApi#inventoriesDeleteByCode
");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *code = code_example; //
The Inventory Code to delete
InventoriesApi *apiInstance = [
[InventoriesApi alloc] init];
[apiInstance inventoriesDeleteB
yCodeWith:code
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew InventoriesApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Invento
riesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::InventoriesApi->new();
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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.I
nventoriesApi()
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:
pprint(api_response)
except ApiException as 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
{
}
Status: 204 -
NoContent
inventoriesGetAll
Get data for Inventory entries
/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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
InventoriesApi apiInsta
nce = new InventoriesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
InventoriesApi apiInsta
nce = new InventoriesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
Integer *pageNumber = 56; // Pa
geNumber, a number greater than
or equal to 0 (default to 1)
**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];
[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) {
}];
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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 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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Invento
riesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::InventoriesApi->new();
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:**
**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 ($@) {
import time
import swagger_client
api_instance = swagger_client.I
nventoriesApi()
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)
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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
Required
pageSize* Integer
Required
sortType* String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
InventoriesApi apiInsta
nce = new InventoriesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
InventoriesApi apiInsta
nce = new InventoriesApi();
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *code = code_example; //
The Inventory Code to retrieve
InventoriesApi *apiInstance = [
[InventoriesApi alloc] init];
[apiInstance inventoriesGetByCo
deWith:code
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(InventoryDto output, NSErro
r* error) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
api.inventoriesGetByCode(code,
opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// 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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Invento
riesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::InventoriesApi->new();
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 ($@) {
}
from __future__ import print_st
atement
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.I
nventoriesApi()
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:
api_response = api_instance
.inventories_get_by_code(code,
authorization=authorization, ac
ceptLanguage=acceptLanguage, ap
iVersion=apiVersion)
pprint(api_response)
except ApiException as 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
{
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}
import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;
import io.swagger.client.api.In
ventoriesApi;
import java.io.File;
import java.util.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
InventoriesApi apiInsta
nce = new InventoriesApi();
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
try {
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;
InventoriesApi apiInsta
nce = new InventoriesApi();
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Invento
riesApi#inventoriesPatchAsync")
;
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
InventoryPatch *inventoryPatch
= ; // The subset of Inventory
fields to patch
InventoriesApi *apiInstance = [
[InventoriesApi alloc] init];
[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) {
}];
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 {
};
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 void main()
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew InventoriesApi();
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Invento
riesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::InventoriesApi->new();
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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.I
nventoriesApi()
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:
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:
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
inventoryPatch * InventoryPatch {
Responses
Status: 200 - OK
• Schema
{
}
Status: 204 -
NoContent
inventoriesPostAsync
Create an Inventory entry
/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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
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
try {
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Invento
riesApi#inventoriesPostAsync");
e.printStackTrace()
;
InventoryDto *inventory = ; //
The {Inventory} data to create
InventoriesApi *apiInstance = [
[InventoriesApi alloc] init];
[apiInstance inventoriesPostAsy
ncWith:inventory
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew InventoriesApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Invento
riesApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
api_response = api_instance
.inventories_post_async(invento
ry, authorization=authorization
, acceptLanguage=acceptLanguage
, apiVersion=apiVersion)
pprint(api_response)
except ApiException as 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 * {
Responses
Status: 200 - OK
• Schema
{
}
Lineages
lineagesGetAll
Get data for Lineage entries
/api/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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
LineagesApi apiInstance
= new LineagesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
the defa
ult culture will be used.
**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
{
LineagesApi apiInstance
= new LineagesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
the defa
ult culture will be used.
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
[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) {
}];
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
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
// 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 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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
Debug.WriteLine
(result);
catch (Exception e)
Debug.Print("Ex
ception when calling LineagesAp
i.lineagesGetAll: " + e.Message
);
<?php
require_once(__DIR__ . '/vendor
/autoload.php');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\LineagesApi();
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Lineage
sApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::LineagesApi->new();
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:**
**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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class
api_instance = swagger_client.L
ineagesApi()
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)
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
Required
pageSize* Integer
sortType* String
Required
culture String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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
{
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
LineagesApi apiInstance
= new LineagesApi();
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
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;
LineagesApi apiInstance
= new LineagesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
[apiInstance lineagesGetLineage
ByCodeWith:code
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
culture:culture
completionHandler
: ^(LineageDto output, NSError*
error) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
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.
};
if (error) {
console.error(error);
} else {
};
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
{
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew LineagesApi();
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Lineage
sApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::LineagesApi->new();
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 ($@) {
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.L
ineagesApi()
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:
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:
Parameters
Path parameters
Name Description
code* String
Header parameters
Name Description
Authorization String
access token
Accept-Language String
Accept-Language
Api-Version String
Api-Version
Query parameters
Name Description
culture String
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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
{
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance lineagesGetLineage
sByAccountWith:accountCode
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(CollectionResponse.LineageA
ccountLinksDto output, NSError*
error) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Lineage
sApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
Parameters
Path parameters
Name Description
accountCode* 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
{
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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 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');
$accountCode = accountCode_exam
ple; // String | The Account Co
de.
$lineageCode = lineageCode_exam
ple; // String | The Lineage Co
de.
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Lineage
sApi;
$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 $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 ($@) {
import time
import swagger_client
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.
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:
Parameters
Path parameters
Name Description
accountCode* String
Required
lineageCode* 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
Required
pageSize* Integer
Required
sortType* String
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
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.*;
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
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;
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
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()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[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) {
}
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Lineage
sApi;
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
Parameters
Path parameters
Name Description
accountCode* String
Required
lineageCode* 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
{
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}
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.*;
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 {
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Lineage
sApi#lineagesPatchSponsorAsync"
);
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
LineageAccountPatchDto *lineage
AccountPatch = ; // The {Lineag
eAccountPatchDto} data to creat
e
String *authorization = authori
zation_example; // access token
(optional)
[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) {
}];
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
};
if (error) {
console.error(error);
} else {
};
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
{
// 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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Lineage
sApi;
$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";
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
Parameters
Path parameters
Name Description
accountCode* String
Required
lineageCode* String
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
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
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Lineage
sApi#lineagesPostSponsorAsync")
;
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
LineageAccountPostDto *lineageA
ccountPost = ; // The {LineageA
ccountPostDto} data to create
[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 opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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');
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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Lineage
sApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
Parameters
Path parameters
Name Description
accountCode* String
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
OffersApi apiInstance =
new OffersApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
OffersApi apiInstance =
new OffersApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[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) {
}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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 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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::OffersA
pi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::OffersApi->new();
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 ($@) {
import time
import swagger_client
api_instance = swagger_client.O
ffersApi()
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:
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
Required
pageSize* Integer
Required
sortType* String
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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;
OffersApi apiInstance =
new OffersApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance offersGetByCodeWit
h:code
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(OfferDto output, NSError* e
rror) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
api.offersGetByCode(code, opts,
callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew OffersApi();
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');
$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);
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::OffersA
pi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::OffersApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class
api_instance = swagger_client.O
ffersApi()
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:
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:
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}
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.*;
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
OffersApi apiInstance =
new OffersApi();
OfferPatch offerPatch =
; // OfferPatch |
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
OffersApi apiInstance =
new OffersApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling OffersA
pi#offersPatch");
e.printStackTrace()
;
}
Configuration *apiConfig = [Con
figuration sharedConfig];
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
OfferPatch *offerPatch = ; //
offerPatch:offerPatch
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
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 {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew OffersApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\OffersApi();
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::OffersA
pi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::OffersApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class
api_instance = swagger_client.O
ffersApi()
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:
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 {
Responses
Status: 200 - OK
• Schema
{
}
offersPost
Create a new offer
/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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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;
OfferPost offer = ; //
OfferPost | Offer values
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
apiInstance.offersP
ost(offer, authorization, accep
tLanguage, apiVersion);
} catch (ApiException e
) {
System.err.println(
"Exception when calling OffersA
pi#offersPost");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance offersPostWith:off
er
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(NSError* error) {
if
(error) {
}];
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew OffersApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::OffersA
pi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class
api_instance = swagger_client.O
ffersApi()
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:
api_instance.offers_post(of
fer, authorization=authorizatio
n, acceptLanguage=acceptLanguag
e, apiVersion=apiVersion)
except ApiException as e:
Authorization String
access token
Accept-Language String
Accept-Language
Api-Version String
Api-Version
Body parameters
Name Description
offer * {
Responses
ordersGetAll
Get all orders for a specific account.
/api/Accounts/{accountCode}/Ord
ers
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
the defa
ult culture will be used.
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
the defa
ult culture will be used.
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
[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) {
}];
'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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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 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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$accountCode = accountCode_exam
ple; // String | Account code.
$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);
?>
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 $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:**
**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 ($@) {
import time
import swagger_client
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.
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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
Required
pageSize* Integer
Required
sortType* String
Required
culture String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
OrdersApi apiInstance =
new OrdersApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
OrdersApi apiInstance =
new OrdersApi();
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
OrdersApi *apiInstance = [[Orde
rsApi alloc] init];
[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) {
}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');
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.
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew OrdersApi();
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::OrdersA
pi;
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try:
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
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.*;
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
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;
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance ordersPostWith:ord
er
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(NSError* error) {
if
(error) {
}
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ordersPostExam
ple
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew OrdersApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\OrdersApi();
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::OrdersA
pi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.O
rdersApi()
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:
api_instance.orders_post(or
der, authorization=authorizatio
n, acceptLanguage=acceptLanguag
e, apiVersion=apiVersion)
except ApiException as 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
ProductQuantityLimits
productQuantityLimitsG
etAll
Get data for Product Quantity Limit
entries
/api/ProductQuantityLimits
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.*;
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
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
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
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
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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];
[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 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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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 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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Product
QuantityLimitsApi;
$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 $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-
>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 ($@) {
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.P
roductQuantityLimitsApi()
sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)
acceptLanguage = acceptLanguage
_example # String | Accept-Lang
uage (optional) (default to en-
US)
apiVersion = apiVersion_example
# String | Api-Version (optiona
l) (default to 1.0)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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]
pageNumber* Integer
Required
pageSize* Integer
Required
sortType* String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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 {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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;
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 {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Product
QuantityLimitsApi#productQuanti
tyLimitsPatch");
e.printStackTrace()
;
ProductQuantityLimitPatch *patc
h = ; // The subset of Product
Quantity Limit fields to patch
ProductQuantityLimitsApi *apiIn
stance = [[ProductQuantityLimit
sApi alloc] init];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Product
QuantityLimitsApi;
$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 ($@) {
import time
import swagger_client
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:
pprint(api_response)
except ApiException as e:
Parameters
Path parameters
Name Description
productCode* String
Required
priceTypeCode* String
Required
Header parameters
Name Description
Authorization String
access token
Accept-Language String
Accept-Language
Api-Version String
Api-Version
Body parameters
Name Description
patch * {
Responses
Status: 200 - OK
• Schema
{
}
productQuantityLimitsP
ostAsync
Create a Product Quantity Limit entry
/api/ProductQuantityLimits
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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;
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
ProductQuantityLimitDto *produc
tQuantityLimit = ; // The {prod
uctQuantityLimit} data to crea
te
ProductQuantityLimitsApi *apiIn
stance = [[ProductQuantityLimit
sApi alloc] init];
[apiInstance productQuantityLim
itsPostAsyncWith:productQuantit
yLimit
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(ProductQuantityLimitDto out
put, NSError* error) {
if
(output) {
NSLog(@"%@", output);
}
if
(error) {
}];
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
};
if (error) {
console.error(error);
} else {
};
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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Product
QuantityLimitsApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ProductsApi apiInstance
= new ProductsApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
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
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;
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
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
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];
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
[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) {
}];
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
'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.
};
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
// 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 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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Product
sApi;
$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 $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 $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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.P
roductsApi()
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)
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try:
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:
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
onlyActive Boolean
pageNumber* Integer
Required
pageSize* Integer
Required
sortType* String
Required
culture String
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}
import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;
import io.swagger.client.api.Pr
oductsApi;
import java.io.File;
import java.util.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
ProductsApi apiInstance
= new ProductsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
ProductsApi apiInstance
= new ProductsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
ProductsApi *apiInstance = [[Pr
oductsApi alloc] init];
[apiInstance productsGetByProdu
ctCodeWith:code
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
culture:culture
completionHandler
: ^(ProductDto output, NSError*
error) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');
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.
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ProductsApi();
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Product
sApi;
my $api_instance = WWW::Swagger
Client::ProductsApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
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:
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
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ProductsApi apiInstance
= new ProductsApi();
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 {
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Product
sApi#productsPatchAsync");
e.printStackTrace()
;
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
ProductPatch *productPatch = ;
// The subset of Product fields
to patch
[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) {
}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ProductsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Product
sApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.P
roductsApi()
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:
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:
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
productPatch * {
Responses
Status: 200 - OK
• Schema
{
}
productsPostAsync
Create an Product entry
/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
{
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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;
ProductDto product = ;
// ProductDto | The {Product}
data to create
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(array[ProductDto] output, N
SError* error) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ProductsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Product
sApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
api_response = api_instance
.products_post_async(product, a
uthorization=authorization, acc
eptLanguage=acceptLanguage, api
Version=apiVersion)
pprint(api_response)
except ApiException as 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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ResourcesApi apiInstanc
e = new ResourcesApi();
String resourceSet = re
sourceSet_example; // String |
Resource Set
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
the defa
ult culture will be used.
try {
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;
ResourcesApi apiInstanc
e = new ResourcesApi();
String resourceSet = re
sourceSet_example; // String |
Resource Set
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
the defa
ult culture will be used.
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Resourc
esApi#resourcesDeleteByCode");
e.printStackTrace()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
[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) {
}];
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 {
};
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 void main()
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ResourcesApi();
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)
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$context = context_example; //
String | Context
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Resourc
esApi;
$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 $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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.R
esourcesApi()
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:
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:
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
Responses
Status: 200 - OK
• Schema
{
}
resourcesGetAll
Get all filtered resources
/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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ResourcesApi apiInstanc
e = new ResourcesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
ResourcesApi apiInstanc
e = new ResourcesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String resourceSet = re
sourceSet_example; // String |
ResourceSet search criteria
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
the defa
ult culture will be used. (opti
onal) (default to en-US)
[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) {
}];
var opts = {
'context': context_example, /
/ {String} Context search crite
ria
'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.
};
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
// 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 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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\ResourcesApi();
$sortType = sortType_example; /
/ String | SortType, 0 or 'asc'
for 'Ascending' and 1 or 'desc'
for 'Descending'
$context = context_example; //
String | Context search criteri
a
$property = property_example; /
/ String | Property search crit
eria
$resourceSet = resourceSet_exam
ple; // String | ResourceSet se
arch 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);
?>
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 $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 $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";
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.R
esourcesApi()
property = property_example # S
tring | Property search criteri
a (optional)
resourceSet = resourceSet_examp
le # String | ResourceSet searc
h criteria (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:
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:
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
name String
property String
resourceSet String
value String
pageNumber* Integer
Required
pageSize* Integer
PageSize, a number greater than 0
Required
sortType* String
Required
culture String
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ResourcesApi apiInstanc
e = new ResourcesApi();
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
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;
ResourcesApi apiInstanc
e = new ResourcesApi();
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
ResourcesApi *apiInstance = [[R
esourcesApi alloc] init];
[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 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.
};
console.error(error);
} else {
};
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
{
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ResourcesApi();
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)
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$context = context_example; //
String | Context.
$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) {
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Resourc
esApi;
$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 $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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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)
try:
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:
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
resourceSet String
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ResourcesApi apiInstanc
e = new ResourcesApi();
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
the defa
ult culture will be used.
try {
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;
ResourcesApi apiInstanc
e = new ResourcesApi();
ResourcePatch value = ;
// ResourcePatch | The resource
value
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
the defa
ult culture will be used.
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Resourc
esApi#resourcesPatch");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
[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) {
}];
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.
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ResourcesApi();
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)
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$context = context_example; //
String | Context
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Resourc
esApi;
my $api_instance = WWW::Swagger
Client::ResourcesApi->new();
my $context = context_example;
# String | Context
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.R
esourcesApi()
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:
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:
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 * {
culture String
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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;
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
try {
apiInstance.resourc
esPost(resource, authorization,
acceptLanguage, apiVersion);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Resourc
esApi#resourcesPost");
e.printStackTrace()
;
ResourceDto *resource = ; // Re
source values
[apiInstance resourcesPostWith:
resource
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(NSError* error) {
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ResourcesApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Resourc
esApi;
$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 ($@) {
import time
import swagger_client
api_instance = swagger_client.R
esourcesApi()
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:
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
Shipments
shipmentsConfirmSelect
ed
Ship Confirm Selected Packslips.
/api/Shipments/ConfirmSelected
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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;
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
try {
apiInstance.shipmen
tsConfirmSelected(model, author
ization, acceptLanguage, apiVer
sion);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsConfirmSelected"
);
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
ConfirmShipmentsModel *model =
; //
[apiInstance shipmentsConfirmSe
lectedWith:model
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(NSError* error) {
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ShipmentsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Shipmen
tsApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
api_instance.shipments_conf
irm_selected(model, authorizati
on=authorization, acceptLanguag
e=acceptLanguage, apiVersion=ap
iVersion)
except ApiException as 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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ShipmentsApi apiInstanc
e = new ShipmentsApi();
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
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;
ShipmentsApi apiInstanc
e = new ShipmentsApi();
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
ShipmentModel *shipmentModel =
; //
shipmentCode:shipmentCode
shipmentModel:shipmentModel
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(NSError* error) {
if
(error) {
}];
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 {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ShipmentsApi();
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Shipmen
tsApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ShipmentsApi apiInstanc
e = new ShipmentsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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 {
ShipmentsApi apiInstanc
e = new ShipmentsApi();
ShipmentModel shipmentM
odel = ; // ShipmentModel |
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
ShipmentModel *shipmentModel =
; //
[apiInstance shipmentsConfirmSi
ngleByPackslipWith:code
shipmentModel:shipmentModel
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(NSError* error) {
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ShipmentsApi();
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');
$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);
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Shipmen
tsApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::ShipmentsApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class
api_instance = swagger_client.S
hipmentsApi()
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:
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ShipmentsApi apiInstanc
e = new ShipmentsApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
ShipmentsApi apiInstanc
e = new ShipmentsApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
Integer *pageNumber = 56; // Pa
geNumber, a number greater than
or equal to 0 (default to 1)
**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)
[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) {
}];
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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 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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Shipmen
tsApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::ShipmentsApi->new();
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:**
**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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class
api_instance = swagger_client.S
hipmentsApi()
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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
Authorization String
access token
Accept-Language String
Accept-Language
Api-Version String
Api-Version
Query parameters
Name Description
pageNumber* Integer
Required
pageSize* Integer
Required
sortType* String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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.*;
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
ShipmentsApi apiInstanc
e = new ShipmentsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
ShipmentsApi apiInstanc
e = new ShipmentsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiInstance shipmentsGetByCode
With:code
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(ShipmentDetail output, NSEr
ror* error) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ShipmentsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Shipmen
tsApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::ShipmentsApi->new();
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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.S
hipmentsApi()
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:
pprint(api_response)
except ApiException as 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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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;
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 {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Shipmen
tsApi#shipmentsPost");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
CreateShipmentModel *shipment =
; //
// 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) {
}];
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew ShipmentsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Shipmen
tsApi;
$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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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
{
}
SponsorRules
sponsorRulesGetByAccou
ntCode
Get by account code
/api/SponsorRules/{accountCode}
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 {
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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;
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
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()
;
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
{
// 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');
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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Sponsor
RulesApi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
SponsorRulesApi apiInst
ance = new SponsorRulesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String countryCode = co
untryCode_example; // String |
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
SponsorRulesApi apiInst
ance = new SponsorRulesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String countryCode = co
untryCode_example; // String |
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
SponsorRulesApi *apiInstance =
[[SponsorRulesApi alloc] init];
[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) {
}];
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
};
if (error) {
console.error(error);
} else {
};
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
// 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 countryCode = c
ountryCode_example; // String
| (optional)
var postalCode = po
stalCode_example; // String |
(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 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Sponsor
RulesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::SponsorRulesApi->new();
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 ($@) {
}
from __future__ import print_st
atement
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.S
ponsorRulesApi()
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:
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:
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
Required
sortType* String
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
StocksApi apiInstance =
new StocksApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
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;
StocksApi apiInstance =
new StocksApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
array[Object] keys = ;
// array[Object] | Stock keys
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[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) {
}];
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
};
if (error) {
console.error(error);
} else {
};
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
{
// 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 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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::StocksA
pi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::StocksApi->new();
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-
>stocksGetAll(pageNumber => $pa
geNumber, pageSize => $pageSize
, sortType => $sortType, keys =
> $keys, authorization => $auth
orization, acceptLanguage => $a
cceptLanguage, apiVersion => $a
piVersion);
print Dumper($result);
};
if ($@) {
import time
import swagger_client
api_instance = swagger_client.S
tocksApi()
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:
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:
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
Required
pageSize* Integer
Required
sortType* String
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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;
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
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling StocksA
pi#stocksPatchAsync");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *inventoryCode = invento
ryCode_example; // The Inventor
y Code of the entry to patch
StockPatch *stockPatch = ; // T
he subset of Stock fields to pa
tch
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::StocksA
pi;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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
Required
warehouseCode* String
Required
Responses
Status: 200 - OK
• Schema
{
}
stocksPostAdjustmentsA
sync
Create a Stock Adjustment entry
/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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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;
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
try {
} catch (ApiException e
) {
System.err.println(
"Exception when calling StocksA
pi#stocksPostAdjustmentsAsync")
;
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
StockAdjustment *stockAdjustmen
t = ; // The {Stock} adjustment
data to create
[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 opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
api.stocksPostAdjustmentsAsync(
stockAdjustment, opts, callback
);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::StocksA
pi;
$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 ($@) {
import time
import swagger_client
from swagger_client.rest import
ApiException
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling StocksA
pi#stocksPostAsync");
e.printStackTrace()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew StocksApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.S
tocksApi()
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:
api_response = api_instance
.stocks_post_async(stock, autho
rization=authorization, acceptL
anguage=acceptLanguage, apiVers
ion=apiVersion)
pprint(api_response)
except ApiException as 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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**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 {
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
[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) {
}];
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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 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)
**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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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
$filters = filters_example; //
String | # Filters
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::TasksAp
i;
$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 $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:**
**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 ($@) {
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.T
asksApi()
accountCode = accountCode_examp
le # String | account code.
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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
Required
pageSize* Integer
Required
sortType* String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
TasksApi apiInstance =
new TasksApi();
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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 {
TasksApi apiInstance =
new TasksApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance tasksGetByCodeWith
:taskCode
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(TaskDto output, NSError* er
ror) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
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 {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew TasksApi();
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');
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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::TasksAp
i;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
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
try {
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;
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
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling TasksAp
i#tasksPost");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance tasksPostWith:mode
l
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
}
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew TasksApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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) {
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::TasksAp
i;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.T
asksApi()
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:
api_response = api_instance
.tasks_post(model, authorizatio
n=authorization, acceptLanguage
=acceptLanguage, apiVersion=api
Version)
pprint(api_response)
except ApiException as 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 {
Responses
Status: 200 - OK
• Schema
{
}
Tickets
ticketsGetAll
Get data for Ticket entries
/api/Tickets
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
TicketsApi apiInstance
= new TicketsApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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
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
{
TicketsApi apiInstance
= new TicketsApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
**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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
the defa
ult culture will be used. (opti
onal) (default to en-US)
[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) {
}];
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
| 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.
};
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
// 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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try
Debug.WriteLine
(result);
catch (Exception e)
Debug.Print("Ex
ception when calling TicketsApi
.ticketsGetAll: " + e.Message )
;
<?php
require_once(__DIR__ . '/vendor
/autoload.php');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\TicketsApi();
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Tickets
Api;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::TicketsApi->new();
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:**
**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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class
api_instance = swagger_client.T
icketsApi()
sortType = sortType_example # S
tring | SortType, 0 or 'asc' fo
r 'Ascending' and 1 or 'desc' f
or 'Descending' (default to asc
)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
| 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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try:
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:
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
Required
pageSize* Integer
sortType* String
Required
culture String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
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
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
[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) {
}
}];
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.
};
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
// 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 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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$accountCode = accountCode_exam
ple; // String | The Account Co
de.
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Tickets
Api;
$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 $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 ($@) {
}
from __future__ import print_st
atement
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.T
icketsApi()
accountCode = accountCode_examp
le # String | The Account Code.
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try:
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:
Parameters
Path parameters
Name Description
accountCode* 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
Required
sortType* String
Required
culture String
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
TicketsApi apiInstance
= new TicketsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
TicketsApi apiInstance
= new TicketsApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
[apiInstance ticketsGetTicketBy
CodeWith:code
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
culture:culture
completionHandler
: ^(TicketDto output, NSError*
error) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
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.
};
if (error) {
console.error(error);
} else {
};
api.ticketsGetTicketByCode(code
, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew TicketsApi();
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Tickets
Api;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::TicketsApi->new();
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 ($@) {
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.T
icketsApi()
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:
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:
Parameters
Path parameters
Name Description
code* String
Header parameters
Name Description
Authorization String
access token
Accept-Language String
Accept-Language
Api-Version String
Api-Version
Query parameters
Name Description
culture String
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
TicketsApi apiInstance
= new TicketsApi();
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
try {
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;
TicketsApi apiInstance
= new TicketsApi();
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
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Tickets
Api#ticketsPatchAsync");
e.printStackTrace()
;
[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
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew TicketsApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\TicketsApi();
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Tickets
Api;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::TicketsApi->new();
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 ($@) {
import time
import swagger_client
api_instance = swagger_client.T
icketsApi()
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:
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:
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
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Tickets
Api#ticketsPostAsync");
e.printStackTrace()
;
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
TicketPostDto *ticketPost = ; /
/ The {TicketPostDto} data to c
reate
[apiInstance ticketsPostAsyncWi
th:ticketPost
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
console.error(error);
} else {
};
api.ticketsPostAsync(ticketPost
, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
// 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');
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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Tickets
Api;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
api_response = api_instance
.tickets_post_async(ticketPost,
authorization=authorization, ac
ceptLanguage=acceptLanguage, ap
iVersion=apiVersion)
pprint(api_response)
except ApiException as 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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
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
try {
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Tickets
Api#ticketsPostTicksForAccountA
sync");
e.printStackTrace()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
TicketAccountPostDto *ticketAcc
ountPost = ; // The {TicketAcco
untPostDto} data to create
[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) {
}];
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
};
if (error) {
console.error(error);
} else {
};
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
{
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Tickets
Api;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
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:
Parameters
Path parameters
Name Description
accountCode* String
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
// Configure OAuth2 acc
ess token for authorization: oa
uth2
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
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;
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[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) {
}];
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 {
};
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
// 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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Uplines
Api;
$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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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:
pprint(api_response)
except ApiException as 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
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.*;
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
VolumesApi apiInstance
= new VolumesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
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
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
VolumesApi apiInstance
= new VolumesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
Integer *pageNumber = 56; // Pa
geNumber, a number greater than
or equal to 0 (default to 1)
**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)
[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) {
}];
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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 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)
**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
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Volumes
Api;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::VolumesApi->new();
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:**
| 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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.V
olumesApi()
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
Required
pageSize* Integer
Required
sortType* String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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
import io.swagger.client.auth.*
;
import io.swagger.client.model.
*;
import io.swagger.client.api.Vo
lumesApi;
import java.io.File;
import java.util.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
VolumesApi apiInstance
= new VolumesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
VolumesApi apiInstance
= new VolumesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
String *orderCode = orderCode_e
xample; // Order code.
**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)
[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) {
}];
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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 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)
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
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 $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:**
**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";
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.V
olumesApi()
orderCode = orderCode_example #
String | Order code.
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)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
Required
pageSize* Integer
Required
sortType* String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
VolumesApi apiInstance
= new VolumesApi();
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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
{
VolumesApi apiInstance
= new VolumesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Volumes
Api#volumesGetByCode");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance volumesGetByCodeWi
th:code
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
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 {
};
api.volumesGetByCode(code, opts
, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew VolumesApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\VolumesApi();
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Volumes
Api;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::VolumesApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.V
olumesApi()
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:
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:
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}
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
{
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
VolumesApi apiInstance
= new VolumesApi();
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 {
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;
VolumePatch model = ; /
/ VolumePatch | Volume model.
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Volumes
Api#volumesPatch");
e.printStackTrace()
;
}
}
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew VolumesApi();
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Volumes
Api;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::VolumesApi->new();
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 ($@) {
import time
import swagger_client
api_instance = swagger_client.V
olumesApi()
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:
api_response = api_instance
.volumes_patch(code, model, aut
horization=authorization, accep
tLanguage=acceptLanguage, apiVe
rsion=apiVersion)
pprint(api_response)
except ApiException as 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 {
Responses
Status: 200 - OK
• Schema
{
}
volumesPost
Create a new volume.
/api/Volumes
Usage and SDK
Samples
• Curl
• Java
• Android
• Obj-C
• JavaScript
• C#
• PHP
• Perl
• Python
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Volumes
Api#volumesPost");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
[apiInstance volumesPostWith:mo
del
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// 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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Volumes
Api;
$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 ($@) {
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
api_instance = swagger_client.V
olumesApi()
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:
api_response = api_instance
.volumes_post(model, authorizat
ion=authorization, acceptLangua
ge=acceptLanguage, apiVersion=a
piVersion)
pprint(api_response)
except ApiException as 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 {
Responses
Status: 200 - OK
• Schema
{
}
Warehouses
warehousesGetAll
Get data for Warehouse entries
/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.*;
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
WarehousesApi apiInstan
ce = new WarehousesApi();
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
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
the defa
ult culture will be used.
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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;
Integer pageNumber = 56
; // Integer | PageNumber, a nu
mber greater than or equal to 0
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
the defa
ult culture will be used.
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
**Example:**
Cost>50;Name~=a;and$LastName!|=
a;StartDate==2020-06-07
**SQL equivalent:**
**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];
[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) {
}];
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
};
if (error) {
console.error(error);
} else {
};
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
// 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 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)
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Cli
ent\Api\WarehousesApi();
$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:**
**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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Warehou
sesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::WarehousesApi->new();
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:**
**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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class
api_instance = swagger_client.W
arehousesApi()
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)
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:**
**Supported operators:**
| Operators | Sign |
Number | String | Char | DateTi
me |
| ------------------ | ----- |
------ | ------ | ---- | ------
-- |
| Equal |**==** |
✓ | ✓ | ✓ | ✓ |
| NotEqual |**!=** |
✓ | ✓ | ✓ | ✓ |
| GreaterThan |**>** |
✓ | ✘ | ✘ | ✓ |
| GreaterOrEqualThan |**>=** |
✓ | ✘ | ✘ | ✓ |
| LessThan |**<** |
✓ | ✘ | ✘ | ✓ |
| LessOrEqualThan |**<=** |
✓ | ✘ | ✘ | ✓ |
| Contains |**~=** |
✘ | ✓ | ✘ | ✘ |
| NotContains |**!~=**|
✘ | ✓ | ✘ | ✘ |
| StartsWith |**_=** |
✘ | ✓ | ✘ | ✘ |
| NotStartsWith |**!_=**|
✘ | ✓ | ✘ | ✘ |
| EndsWith |**│=** |
✘ | ✓ | ✘ | ✘ |
| NotEndsWith |**!│=**|
✘ | ✓ | ✘ | ✘ |
(optional)
try:
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:
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
Required
pageSize* Integer
sortType* String
Required
culture String
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 |**>**
| ✓ | ✘ | ✘ | ✓ | | GreaterOrEqualThan |**>=** | ✓ | ✘ | ✘ | ✓
| | LessThan |**<** | ✓ | ✘ | ✘ | ✓ | | LessOrEqualThan
|**<=** | ✓ | ✘ | ✘ | ✓ | | 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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
WarehousesApi apiInstan
ce = new WarehousesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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;
WarehousesApi apiInstan
ce = new WarehousesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
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];
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
the defa
ult culture will be used. (opti
onal) (default to en-US)
WarehousesApi *apiInstance = [[
WarehousesApi alloc] init];
[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) {
}];
var JenkonRestApiV1 = require('
jenkon_rest_api_v1');
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.
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew WarehousesApi();
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Warehou
sesApi;
my $api_instance = WWW::Swagger
Client::WarehousesApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
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)
the defa
ult culture will be used. (opti
onal) (default to en-US)
try:
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
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}
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
oauth2.setAccessToken("
YOUR ACCESS TOKEN");
WarehousesApi apiInstan
ce = new WarehousesApi();
String authorization =
authorization_example; // Strin
g | access token
String acceptLanguage =
acceptLanguage_example; // Stri
ng | Accept-Language
try {
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;
WarehousesApi apiInstan
ce = new WarehousesApi();
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
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()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
WarehousesApi *apiInstance = [[
WarehousesApi alloc] init];
[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) {
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
}
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew WarehousesApi();
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');
Swagger\Client\Configuration::g
etDefaultConfiguration()->setAc
cessToken('YOUR_ACCESS_TOKEN');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Warehou
sesApi;
$WWW::SwaggerClient::Configurat
ion::access_token = 'YOUR_ACCES
S_TOKEN';
my $api_instance = WWW::Swagger
Client::WarehousesApi->new();
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 ($@) {
import time
import swagger_client
swagger_client.configuration.ac
cess_token = 'YOUR_ACCESS_TOKEN
'
# create an instance of the API
class
api_instance = swagger_client.W
arehousesApi()
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:
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
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
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.*;
ApiClient defaultClient
= Configuration.getDefaultApiCl
ient();
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
try {
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;
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
try {
System.out.println(
result);
} catch (ApiException e
) {
System.err.println(
"Exception when calling Warehou
sesApi#warehousesPostAsync");
e.printStackTrace()
;
[apiConfig setAccessToken:@"YOU
R_ACCESS_TOKEN"];
WarehouseDto *warehouse = ; //
The {Warehouse} data to create
WarehousesApi *apiInstance = [[
WarehousesApi alloc] init];
[apiInstance warehousesPostAsyn
cWith:warehouse
authorization:authorization
acceptLanguage:acceptLangua
ge
apiVersion:apiVersion
completionHandler
: ^(Object output, NSError* err
or) {
if
(output) {
NSLog(@"%@", output);
if
(error) {
}
}];
var opts = {
'authorization': authorizatio
n_example, // {String} access t
oken
'acceptLanguage': acceptLangu
age_example, // {String} Accept
-Language
'apiVersion': apiVersion_exam
ple // {String} Api-Version
};
if (error) {
console.error(error);
} else {
};
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
// Configure OAuth2
access token for authorization:
oauth2
Configuration.Defau
lt.AccessToken = "YOUR_ACCESS_T
OKEN";
var apiInstance = n
ew WarehousesApi();
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');
$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);
?>
use Data::Dumper;
use WWW::SwaggerClient::Configu
ration;
use WWW::SwaggerClient::Warehou
sesApi;
$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 ($@) {
import time
import swagger_client
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:
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
{
}