Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 14 Current »

Returns a list of Linkcare instance endpoints.

  • If a valid session is provided, only those instances where the user associated to the session exists will be returned.
  • If no session is provided, all Linkcare available instances will be returned

Discussion

Remember that the endpoint you get from the output parameters can be totally different to the one used to call this function, and you should use the retrieved one for every new calls to the desired instance

Input Parameters

sessionsession: is the session id obtained in the session_init call


Output Parameters

instancesA list of web service endpoint. An endpoint URL and a description will be provided for each instance
ErrorMsgAny 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

Example

Request

sample:

instance_discover ("");

Response

sample:

<result>
	<instances>
		<instance>
			<endpoint>http://dev1.linkcare.es/ws/ServerWSDL.php</endpoint>
			<name>Linkcare development instance</name>
		</instance>
		<instance>
			<endpoint>http://prepr.linkcare.es/ws/ServerWSDL.php</endpoint>
			<name>Linkcare preproduction instance</name>
		</instance>
	</instances>
</result>
<ErrorMsg></ErrorMsg>

Notes:


  • No labels