- Use WebSockets with a Username to Push Information from the card to the server. No polling needed.
- Scan a Swiss Health Insurance card and create a HTTP(S)-Post request.
- Supported Scanner is PX-8935-919 from Xystec.
- Download from the macOS Store.
- Scan2Post has to be able to register in Start-Up Objects in the Settings.
- Scan2Post has to startup when the computer is started. Scan2Post has no Gui only a preferences field.
- If the User inserts a Swiss Insurance Card a HTTP-Post request is send to the URL according to the settings.
- In the settings field you have to able to set
- HTTP(S) URL
- Username
- Password (optional)
- All the Data from the card in a JSON File. See sample below.
- Software has to be installed for the User.
- Software starts when the User logs in.
- The User has to be able to quit the application.
- When you run the application the first time then the User is asked: "Do you want to add Scan2Post to startup automatically at login?"
- If you click the Icon on the top bar, then you can close the Scan2Post application or access the settings, see 4.
- Deployment Target is 10.12.
- A Reference we used: WeatherBar
- Copy and Pasting via Mouse.
{
"username":"[email protected]",
"password":"Password_that_is_optional",
"insuranceCard":{
"identificationData":{"firstName":"65.80.50","lastName":"65.80.50","birthDate":65.82.8,"sex":65.84.1,"ssn":"65.83.13"},
"administrationData":{"insurance":{"id":"65.92.5","name":"65.91.50"},"cardNumber":"65.93.20","expiryDate":65.94.8}
}}
- All dates set to UNIX timestamp and mmdd set to 0 (zero) and milliseconds also set to 0 (zero).
- Swiss Insurance Card Reference.
- HTTP Server useful for testing
- Password can be used for Server-Side Authentication.
The User's Browser with the Web-Application is open. The User inserts a card into the card reader. Scan2Post sends all the information from the card as a HTTP-Post request to the defined URL in a JSON File. The data is then processed by the API/Server and the Web-App can refresh with the Data that was sent via the HTTP-Post-Request.
GPLv3.0 See License.
Zeno Davatz
ywesee GmbH
zdavatz at ywesee dot com
+41 43 540 05 50
©ywesee GmbH, all rights reserved.