Skip to end of metadata
Go to start of metadata

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:

  • USER
  • PATIENT
  • UNKNOWN

Parameters

Base URL: /id/{id}
Parameters:

NameTypeMandatoryDescription
{id}StringYesThe id you want to identify
tokenStringYesThe password reset token associated with the provided user id.
userIdStringYesThe 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

Result
{"data":{"type":"USER"},"statusFact":{"success":true}}

Patient Id Identification

http://localhost:8080/PresentationServices/id/000000003d8f5de2013dff67a76e00f6?token=d56c8e42-395e-4ba1-9bbb-73e5ed403f51&userId=poda

Result
{"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

Result
{"data":{"type":"UNKNOWN"},"statusFact":{"success":true}}
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.