Versions Compared

Key

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

...

NameTypeMandatoryDescription
tokenStringYesSecurity Token obtained before.
userIdStringYesThe id of the logged in user.
typeENUMNo

Possible values: ['ALL', 'ALERT', 'EMAIL', 'DOCUMENT',"PARAMETERIZEDALERT' ].

Default value: "ALL".

The source of the messages.

locationENUMNo

Possible values: ['INBOX', 'SENT', 'ARCHIVE'].

Default value: "INBOX".

patientIdStringNoUsed if we want to retrieve only those messages related to a specific patient.

API Sample

curl 'http://192.168.21.102122:8080/PresentationServices/getMessages?type=Alert&location=INBOX&userId=podaQA_1&token=d2360c39a3fef5d8-637b951a-41da4a11-988d9b39-f031db5affbb7efb63695211&_type=1395133673255PARAMETERIZEDALERT' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36' --compressed

...