Suspected fraud query
Last updated
Last updated
The suspected fraud query retrives the suspected frauds by a conditional search.
As demonstrated in the example request you can set the above properties to the search/query the suspected frauds:
The identifier
object is used to query suspected fraud occurrences, is composed by data
(a string representing the document number) and by type
(must be CPF
or CNPJ
). It`s a required property;
The queryMode
property indicates how the query is be performed, it's an optional field and your default value is DEFAULT
. The possible values are:
DEFAULT: It's the conventional mode, propagates the query to All.Id Network and to all available hubs of the consortium network;
LOCAL: Indicates that the query will be executed locally on the Peer, without propagating the query to the network. A unique identifier per SuspectedFraud
is returned, a UUID named token
;
INTERNAL: Indicates that the query will be executed internally in the All.Id Network, not propagating to the consortium network;
DELETED: Similar to LOCAL mode, the query will be executed locally but returning SuspectedFraud's
marked as deleted.
The startDate
and endDate
properties must be strings representing a date-time ISO format. Those properties must be optional.
/query
Identifier of suspected fraud.
DEFAULT
, LOCAL
, INTERNAL
, DELETED
The start Date Time of consult, ISO 8621 format.
The end Date Time of consult, ISO 8621 format.