admission_referral_list ()
Function prototype | admission_referral_list (session, admission , type, team) |
---|---|
API Version | 2.7.12 and higher |
Returns a list of TEAMs or USERs that can be referrals of an ADMISSION
A TEAM can be a REFERRAL of an ADMISSION if:
A USER can be a REFERRAL of an ADMISSION if:
| |
Input parameters: |
|
Output parameters: |
|
Request sample: | api_function ( “LCAAAAAAAAAAAA”, "xxx", "yyy" ); |
Response sample: | <result>
<admission_referrals>
<teams>
<team>
<ref>1</ref>
<type>COMPANY</type>
<name>Linkcare</name>
</team>
<team>
<ref>12</ref>
<type>UNIT</type>
<name>Test Team5</name>
</team>
</teams>
<users>
<user>
<ref>16701</ref>
<name>Eleanor McAllan</name>
</user>
</users>
</admission_referrals>
</result>
<ErrorMsg></ErrorMsg>
<ErrorCode></ErrorCode>
|
Notes: |
Return Error codes
ERROR CODE | |
---|---|
INVALID_TOKEN | The session token provided is not valid |
INSUFFICIENT_PRIVILEGES | The session user does not have the necessary privileges to … |