(v1.4)(API v2.0) POST /Session/{sid}/tokens returns invalid Token object

Issue #1 resolved
Matthias Lemmer created an issue

The above call with API level 2 returns an invalid token object of the format:

{ "id": "{sid}", "uri": "http://localhost:9090/mainzelliste/sessions/{sid}/tokens/{tid}", "type": "addPatient", "data": { "redirect": "http://example.com:8080/redirect?tid={tid}", "idTypes": ["pid"], "callback": "http://example.com:8080/callback", "fields": {} }, "fields": {}, "requestedIdTypes": ["pid"] };

Where property "fields" exists twice, inside the data object and outside.

Comments (2)

  1. Log in to comment