/Account/RemoteReferences

Allows the client to get a list of references to remote neurons the user can quick-login to using /Account/RemoteQuickLogin.

Note: The list may not be complete. Each time a Legal Identity is added or removed as a reference on an Neuron, an incremental message is sent ot the Neuron hosting the associated account. If the list is not complete, just remove and add the reference to the Legal ID again on the remote broker, to update the list.

JSON

Request
{
}
Response (if successful)
{
	"References": 
	{
		"domain":Required(Str(PDomain)),
		"legalId":Required(Str(PLegalId))
	}?[]
}

XML

Request
<RemoteReferences xmlns="https://waher.se/Schema/BrokerAgent.xsd" />
Response (if successful)
<RemoteReferencesResult xmlns="https://waher.se/Schema/BrokerAgent.xsd">
	<References>
		<[
		<Reference domain=(Required(Str(PDomain)))
		           legalId=(Required(Str(PLegalId))) />?[]
		]>
	</References>
</RemoteReferencesResult>

Input Parameters

There are no input parameters in this request.

Response Parameters

Parameter Description
PDomain Domain name of remote Neuron.
PLegalId Legal ID referenced by the Neuron.

Javascript Library

Use the following asynchronous method in the Javascript Library, to call this resource.

var Response = await AgentAPI.Account.RemoteReferences();
Test

Request Payload:

   

Response Payload: