Skip to content

Commit bb14c8f

Browse files
committed
Types of URL parameters described (some with examples)
1 parent dcc98b4 commit bb14c8f

File tree

1 file changed

+43
-37
lines changed

1 file changed

+43
-37
lines changed

src/FlexiPeeHP/FlexiBeeRO.php

Lines changed: 43 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -276,43 +276,49 @@ class FlexiBeeRO extends \Ease\Sand
276276
* @var array
277277
*/
278278
public $urlParams = [
279-
'add-global-version' => 'boolean',
280-
'add-row-count' => 'boolean',
281-
'as-gui' => 'boolean',
282-
'auth' => 'string',
283-
'authSessionId' => 'string',
284-
'code-as-id' => 'boolean',
285-
'code-in-response' => 'boolean',
286-
'delimeter' => 'string',
287-
'detail' => 'string', //See: https://www.flexibee.eu/api/dokumentace/ref/detail-levels
288-
'dir' => 'string',
289-
'dry-run' => 'boolean', // See: https://www.flexibee.eu/api/dokumentace/ref/dry-run/
290-
'encoding' => 'string',
291-
'export-settings' => 'boolean',
292-
'fail-on-warning' => 'boolean',
293-
'filter' => 'string',
294-
'format' => 'string',
295-
'idUcetniObdobi' => 'string', //See: https://www.flexibee.eu/api/dokumentace/ref/stavy-uctu/
296-
'includes' => 'string',
297-
'inDesktopApp' => 'boolean', // Note: Undocumented function (html only)
298-
'limit' => 'integer',
299-
'mode' => 'string',
300-
'no-ext-ids' => 'boolean',
301-
'no-http-errors' => 'boolean',
302-
'no-ids' => 'boolean',
303-
'only-ext-ids' => 'boolean',
304-
'order' => 'string',
305-
'relations' => 'string',
306-
'report-lang' => 'string',
307-
'report-name' => 'string',
308-
'report-sign' => 'string',
309-
'skupina-stitku' => 'string',
310-
'sort' => 'string',
311-
'start' => 'integer',
312-
'stitky-as-ids' => 'boolean',
313-
'use-ext-id' => 'boolean',
314-
'use-internal-id' => 'boolean',
315-
'xpath' => 'string', // See: https://www.flexibee.eu/api/dokumentace/ref/xpath/
279+
'add-global-version' => ['type' => 'boolean', 'description' => 'The response will contain the global version number of the current export'],
280+
'add-row-count' => ['type' => 'boolean', 'description' => 'Adding Total Records to Output (Pagination)'],
281+
'as-gui' => ['type' => 'boolean', 'description' => 'Turns on functions that complement the GUI processing outputs'],
282+
'auth' => ['type' => 'string', 'description' => 'http: Forces login using HTTP authentication, for example, to change the default WUI login method. html: Force HTML form authentication. This can be useful to suppress automatic SSO authentication.'],
283+
'authSessionId' => ['type' => 'string', 'description' => 'Authentification Session ID'],
284+
'code-as-id' => ['type' => 'boolean', 'description' => 'If an object has unique code, it is also exported (except for the <code> element) as <id> code: ... </id>'],
285+
'code-in-response' => ['type' => 'boolean', 'description' => 'The response will contain not only ID and URL for each object, but also code.'],
286+
'delimeter' => ['type' => 'string', 'description' => 'Specifies the input / output file separator in CSV format.',
287+
'example' => ';'],
288+
'detail' => ['type' => 'string', 'description' => 'Definition of the level of detail'], //See: https://www.flexibee.eu/api/dokumentace/ref/detail-levels
289+
'dir' => ['type' => 'string', 'description' => 'Sorting direction.', 'example' => 'desc'],
290+
'dry-run' => ['type' => 'boolean', 'description' => 'Test run (dry-run)'], // See: https://www.flexibee.eu/api/dokumentace/ref/dry-run/
291+
'encoding' => ['type' => 'string', 'description' => 'Specifies the encoding of the input / output file in CSV format.'],
292+
'export-settings' => ['type' => 'boolean', 'description' => 'Export one extra entry with current settings at the beginning'],
293+
'fail-on-warning' => ['type' => 'boolean', 'description' => 'If a warning occurs, do not save a record (Data Validation)'],
294+
'filter' => ['type' => 'string', 'description' => 'filter results by this param'],
295+
'format' => ['type' => 'string', 'description' => 'One of the compiled XSL transforms will be applied to the output XML.'],
296+
'idUcetniObdobi' => ['type' => 'string', 'description' => ''], //See: https://www.flexibee.eu/api/dokumentace/ref/stavy-uctu/
297+
'includes' => ['type' => 'string', 'description' => 'Include related detail level object ',
298+
'example' => 'faktura-vydana/stredisko'],
299+
'inDesktopApp' => ['type' => 'boolean', 'description' => 'Hide menu and navigation in html format'], // Note: Undocumented function (html only)
300+
'limit' => ['type' => 'integer', 'description' => 'number of requested results'],
301+
'mode' => ['type' => 'string', 'description' => 'Support for RubyOnRails',
302+
'example' => 'ruby'],
303+
'no-ext-ids' => ['type' => 'boolean', 'description' => 'The answer will not contain external identifiers (performance optimization)'],
304+
'no-http-errors' => ['type' => 'boolean', 'description' => 'If a 4xx error occurs while processing a request, the server sends 200 OK anyway'],
305+
'no-ids' => ['type' => 'boolean', 'description' => 'The response will not contain any primary identifiers (performance optimization). It only affects the main records.'],
306+
'only-ext-ids' => ['type' => 'boolean', 'description' => 'The primary key will not be exported, the <id> elements will only contain the external ID. Similar no-ids, but also affects subevidencies.'],
307+
'order' => ['type' => 'string', 'description' => 'Sorting records', 'example' => 'nazev@A'],
308+
'relations' => ['type' => 'string', 'description' => 'Adding session data (see detail levels) A session overview can be obtained for each record (/ relations).'],
309+
'report-lang' => ['type' => 'string', 'description' => 'The language in which to print the output when exporting to PDF',
310+
'example' => 'en'],
311+
'report-name' => ['type' => 'string', 'description' => 'The name of the printout when exporting to PDF',
312+
'example' => 'invoice'],
313+
'report-sign' => ['type' => 'string', 'description' => 'Whether the PDF should be exported electronically signed'],
314+
'skupina-stitku' => ['type' => 'string', 'description' => 'Enables grouping of labels when exporting by group (multiple labels)'],
315+
'sort' => ['type' => 'string', 'description' => 'Sorting records for ExtJS'],
316+
'start' => ['type' => 'integer', 'description' => 'Pagination'],
317+
'stitky-as-ids' => ['type' => 'boolean', 'description' => 'Labels will be exported and imported not as a code list but as a list of numeric IDs'],
318+
'use-ext-id' => ['type' => 'boolean', 'description' => 'If the object contains an external ESHOP or MY ID, use it as a bind.'],
319+
'use-internal-id' => ['type' => 'boolean', 'description' => 'In addition to the ref and showAs for objects, it also supplies an internalId attribute that contains the internal record ID'],
320+
'xpath' => ['type' => 'string', 'description' => 'Apply XPATH to result',
321+
'example' => '//winstrom/adresar/email/text()'] // See: https://www.flexibee.eu/api/dokumentace/ref/xpath/
316322
];
317323

318324
/**

0 commit comments

Comments
 (0)