† session_get_center_list ()

† session_get_center_list ()

Removed in API Version 2.7.31

session_get_center_list (token)

Is a function to get the list of the operative centers that can be applicated to the active user

Version:

Beta 1

Input

parameters:

token: is the session id obtained in the session_init call

Output

parameters:

center_list: is an XML that contains the role list separated by “|”

id: is the center_id

code: is the short-name of the center, this param is needed to the session_set_center ()call

description: is the full-name of the role

ErrorMsg: any fault in the call, either in the validation of input parameters, errors in the connection to the database or any other error, this parameter returns the error message produced

Request

sample:

session_get_center_list ( “LCAAAAAAAAAAAAAAAAAAAAAAAA”);

Response

sample:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<center_list>ID_1|CODE|DESCRIPTION#ID_2|CODE_2|…”</center_list>

<ErrorMsg></ErrorMsg>

Notes:

To be replaced by version Beta 2