(v1.4)(API v2.0) POST /Session/{sid}/tokens returns invalid Token object
Issue #1
resolved
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)
-
reporter -
- changed status to resolved
Fixes
#1: (v1.4)(API v2.0) POST /Session/{sid}/tokens returns invalid Token object→ <<cset eeec82d11bc7>>
- Log in to comment