/Legal/GetServiceProvidersForIdReview

Allows the client to retrieve a list of available service providers that can be used to review a recent ID application.

JSON

Request
{
	"legalId": "Required(Str(PLegalId))"
}
Response (if successful)
{
	"Providers":
	{
		"id": Required(Str(PId)),
		"type": Required(Str(PType)),
		"name": Required(Str(PName)),
		"reviewerId": Required(Str(PReviewerId)),
		"external": Required(Boolean(PExternal)),
		"iconUrl": Optional(Str(PUconUrl)),
		"iconWidth": Optional(Int(PIconWidth)),
		"iconHeight": Optional(Int(PIconHeight))
	}?[]
}

XML

Request
<GetServiceProvidersForIdReview xmlns="https://waher.se/Schema/BrokerAgent.xsd"
                                legalId=(Required(Str(PLegalId)))/>
Response (if successful)
<ProvidersResponse xmlns="https://waher.se/Schema/BrokerAgent.xsd">
	<Providers>
		<[
		<Provider id=(Required(Str(PId)))
							type=(Required(Str(PType)))
							name=(Required(Str(PName)))
							reviewerId=(Required(Str(PReviewerId)))
							external=(Required(Boolean(PExternal)))
							iconUrl=(Optional(Str(PUconUrl)))
							iconWidth=(Optional(Int(PIconWidth)))
							iconHeight=(Optional(Int(PIconHeight)))/>?[]
		]>
	</Providers>
</ProvidersResponse>

Response Parameters

Parameter Description
PId ID of service provider.
PType Type (class name) of service provider.
PName Displayable name for service provider.
PReviewerId Identifier of Legal ID of reviewer. Use this identifier when requesting a peer review from the service provider.
PExternal If the service provider is an external party (true), or hosted on the Neuron® (false).
PIconUrl Optional reference to icon that can be displayed together with the name.
PIconWidth Width of optional icon.
PIconHeight Height of optional icon.

Javascript Library

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

var Response = await AgentAPI.Legal.GetServiceProvidersForIdReview();
Test


Request Payload:

   

Response Payload: