/Legal/GetApplicationAttributes

Allows the client to get important attributes necessary to perform a correct ID Application.

JSON

Request
{
}
Response (if successful)
{
	"peerReview": Required(Boolean(PPeerReview)),
	"nrReviewers": Optional(Int(PNrReviewers)),
	"nrPhotos": Optional(Int(PNrPhotos)),
	"iso3166": Optional(Boolean(PIso3166)),
	"Required": Optional(String(PRequired)[])
}

XML

Request
<GetApplicationAttributes xmlns="https://waher.se/Schema/BrokerAgent.xsd" />
Response (if successful)
<ApplicationAttributes xmlns="https://waher.se/Schema/BrokerAgent.xsd"
                       peerReview=Required(Boolean(PPeerReview))
                       nrReviewers=Optional(Int(PNrReviewers))
                       nrPhotos=Optional(Int(PNrPhotos))
                       iso3166=Optional(Boolean(PIso3166))>
	<Required>
		<[<Item><[Optional(Str(PRequired))]></Item>?[]]>
	</Required>
</ApplicationAttributes>

Input Parameters

No input parameters in this call.

Response Parameters

Parameter Description
PPeerReview If peer-review of ID applications is permitted on the broker.
PNrReviewers Number of successfuls peer reivews required for a process to conclude successfully.
PNrPhotos Number of photos required in an application, for a peer-review process.
PIso3166 If ISO 3166 country codes are required to be used.
PRequired Required ID Properties in an ID application.

Javascript Library

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

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

Request Payload:

   

Response Payload: