Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameTypeMandatoryDescription
{id}StringYesThe id you want to identify
tokenStringYesThe password reset passwor token associated with the provided user id.
userIdStringYesThe id of the user we want to modifytoken's user.

API Sample

User Id Identification

...

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

Code Block
titleResult
collapsetrue
{"data":{"type":"UNKNOWN"},"statusFact":{"success":true}}

Tag Id Identification

Current Implementation

This operation is used to identify whether a specific tag 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: /tag/{id}
Parameters:

NameTypeMandatoryDescription
{id}StringYesThe tag id you want to identify
tokenStringYesThe password token associated with the provided user id.
userIdStringYesThe id of the token's user.

API Sample

User Id Identification

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

Code Block
titleResult
collapsetrue
{"data":{"type":"USER"},"statusFact":{"success":true}}

Patient Id Identification

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

Code Block
titleResult
collapsetrue
{"data":{"type":"PATIENT"},"statusFact":{"success":true}}

Unknown Id Identification

http://localhost:8080/PresentationServices/tag/non-existing-tag?token=d56c8e42-395e-4ba1-9bbb-73e5ed403f51&userId=poda

...