Please enable JavaScript to view this site.

Returns the Linkar Components Version and the EntryPoint parameters.

 

GET: api/v1/<apiresource>/GetVersion

<apiresource>ApiResource name. e.g. apidemo.

Example: api/v1/apidemo/GetVersion

 

This function returns the following information

 

LKMVCOMPONENTSVERSION

MV Components version.

LKSERVERVERSION

Linkar SERVER version.

LKCLIENTVERSION

Used client library version.

DATABASE

Database.

OS

Operating system.

DATEZERO

Date zero base in YYYYMMDD format.

DATEOUTPUTCONVERSION

Output conversion for date used by Linkar Schemas.

TIMEOUTPUTCONVERSION

Output conversion for time used by Linkar Schemas.

MVDATETIMESEPARATOR

DateTime used separator used by Linkar Schemas, for instance 18325,23000.

MVBOOLTRUE      

Database used char for the Boolean true value used by Linkar Schemas.

MVBOOLFALSE

Database used char for the Boolean false value used by Linkar Schemas.

OUTPUTBOOLTRUE

Used char for the Boolean true value out of the database used by Linkar Schemas.

OUTPUTBOOLFALSE

Used char for the Boolean false value out of the database used by Linkar Schemas.

MVDECIMALSEPARATOR

Decimal separator in the database. May be point, comma or none when the database does not store decimal numbers. Used by Linkar Schemas.

OTHERLANGUAGES

Languages list separated by commas.

TABLEROWSEPARATOR

ASCII character to separate rows.

TABLECOLSEPARATOR

ASCII character to separate cols.

CONVERTNUMBOOLJSON

Switch to create numeric and boolean data in JSON strings.

 

 

 

Parameters

custom_vars

string

This is a free text field to send in the transaction. If not empty, subroutine SUB.LK.MAIN.CONTROL.CUSTOM will be called. Add custom code to that subroutine to define special behaviors for some or all transactions.

svr_timeout

integer

This is the maximum time in seconds that the client will wait for a response. Use 0 for no timeout.

(*) Mandatory

 

 

 

Request Body

Unused

 

 

 

Responses

On all kind of responses, an ERROR tag will list all possible errors during execution of the operation. This tag includes CODE tag with the error codes and MESSAGE tag with messages of each error.

In responses of type "text/plain" (LkString MV), error codes and messages are separated by multivalue marks.

 

application/json

The response will be displayed in JSON format.

For more information about the different tags in this response, click here.

 

 

 

application/xml

The response will be displayed in XML format.

For more information about the different tags in this response, click here.

 

 

 

text/plain

The response will be displayed in TEXT format.

This response is a chain of characters structured in sections, named "LkString".

For more information about the different tags in this response, click here.