Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To access the interface, you need to send a login and password — the name and password of an employee — of the Basic Authorization type when sending each request.
Data exchange with the cash server should be performed in UTF-8 encoding.

...

Testing XML Interface via Built-in

...

Utility

To validate an test the XML interface over an via the HTTPS interface:

...

  • login information of the created employee: the username and the password
  • Enter the text of the XML request to execute
  • Click the Execute button
    The result should be like the picture below:
    Image Added

Authentication and

...

Request Execution

For authentication and authorization, the name and the password of the employee from r_keeper 7 are used.

The WEB interface at the time of this writing has the following limitations:

...

...

After specifying the right and assigning it to the corresponding role, you can check the correctness of the settings by opening the corresponding pages in the WEB interface.

Enter one of the options variants in the address bar, an authorization window will appear - enter the employee's name of the employee and password. Please note that you need to enter your own IP and port.

  • The

...

...


  • Image Added

Executing Request

...

via wget

An example of making a request using the wget utility:

Code Block
wget.exe --secure-protocol=TLSv1 --no-check-certificate --header="Content-Type: text/xml" --http-user

...

=9006 --http-password=9006 --post-file=requestData.xml https://127.0.0.1:20001/rk7api/v0/xmlinterface.xml

Request parameters:

  • User: --http-user=9006
  • Password: --http-password=9006
  • Request file: --post-file=requestData.xml

After executing such a request, its result will be saved to the xmlinterface.xml file.

...

Configuring XML Interface Using rk7xml.dll

Info
titleAttention!

This way of interacting with the XML interface is not recommended due to lack of authorization.

Instructions for setting up the XML interface using rk7xml.dll
The XML interface works through the iTCPXML.dll driver. When working with the XML interface via rk7xml.dll, in addition to the settings described above, you must manually add the interface to the POS server:

...