Professional Documents
Culture Documents
Pam Basis API Services
Pam Basis API Services
Pam Basis API Services
2) To GET patient details via temporary CPR-nr & Encounter Type: cpr-
1510933pa6, encounterType-AMB,IMP,EMER
URL-
http://vmccs1307:8003/pam-api/encounters?
cpr=1510933pa6&encounterType=AMB&encounterType=IMP&encounte
rType=EMER
BASIS-API SERVICES
1) To search organization on Mnemo code and org Role code (Here through Clinical
Responsible-Behandlingsansvar)
Method Used - GET
URL-
http://vmccs1307:8003/basis-api/organization/units?
CodeOrMnemoCode=4001593&OrgRoleCode=ORG_ROLE_CLIN_RESP_OR
G_UNIT
2) To search organization on Mnemo code and org Role code (Here through Service
Delivery Location-Opholdaddresse)
Method Used- GET
URL-
http://vmccs1307:8003/basis-api/organization/units?
CodeOrMnemoCode=4001593&OrgRoleCode=ORG_ROLE_SERV_DELV_LO
CATION
3) To search organization on Mnemo code and org Role code (Here through Service
Delivery Responsible Kontaktansvar)
Method Used- GET
URL-
http://vmccs1307:8003/basis-api/organization/units?
CodeOrMnemoCode=4001593&OrgRoleCode=ORG_ROLE_SERV_DELV_RE
SP
4) To Login -
URL-
http://vmccs1307:8003/basis-api/user/login
Give the method as POST. You donot have to give any authentication. Navigate
to body and in RAW give the parameters as -
{"username":"testuser1","password":"Testuser-01"} and click send.
Method Used - POST
RESPONSE - "ccsSessionToken": "GgKz4WQA80cF8-UV-kcAj7B2:S"
5) To Logout-
URL- http://vmccs1307:8003/basis-api/user/logout
In Authorization go to basic auth and send updated request . Navigate to
headers and change Authorization to AuthCookie. Also add Key- content type
and value application Jason and click send.
Method used- POST
RESPONSE- NOTHING