You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Table of Contents
Id Identification
Current Implementation
This operation is used to identify whether a specific id belongs to a Patient, a User or it is Unknown on the system.
The possible values returned by this operation are:
Parameters
Base URL: /id/{id}
Parameters:
Name | Type | Mandatory | Description |
---|
{id} | String | Yes | The id you want to identify |
token | String | Yes | The password reset token associated with the provided user id. |
userId | String | Yes | The id of the user we want to modify. |
API Sample
User Id Identification
http://localhost:8080/PresentationServices/id/poda?token=d56c8e42-395e-4ba1-9bbb-73e5ed403f51&userId=poda
{"data":{"type":"USER"},"statusFact":{"success":true}}
Patient Id Identification
http://localhost:8080/PresentationServices/id/000000003d8f5de2013dff67a76e00f6?token=d56c8e42-395e-4ba1-9bbb-73e5ed403f51&userId=poda
{"data":{"type":"PATIENT"},"statusFact":{"success":true}}
Unknown Id Identification
http://localhost:8080/PresentationServices/id/non-existing-id?token=d56c8e42-395e-4ba1-9bbb-73e5ed403f51&userId=poda
{"data":{"type":"UNKNOWN"},"statusFact":{"success":true}}
Add Comment