Histograms

Use histogram operations to generate transaction histogram reports with cohorts and periods. For information on the invoice resource, see Resources.

Retrieve AML check histogram report data
Experimental

Request

Retrieves AML check histogram report data.

Security
SecretApiKey or JWT
Query
periodStartstring, (date-time)

Date and time when the report starts. The default value depends on the aggregation period:

  • 24 hours ago for minute aggregation.
  • First day of the current month for other aggregation periods.
periodEndstring, (date-time)

Date and time when the report ends. The default value depends on the aggregation period:

  • Current time for minute aggregation.
  • Last day of the current month for other aggregation periods.
aggregationPeriodstring

Aggregation period of the report.

Default:"day"
Enum:"minute""hour""day""month"
metricstring

Metric on which the report is based.

Default:"sales_count"
Enum:"aml_checks""aml_checks_pending_review""aml_checks_in_review""aml_checks_confirmed_match""aml_checks_no_match""aml_checks_false_positive""aml_check_hits""aml_check_hits_pending_review""aml_check_hits_in_review""aml_check_hits_confirmed_match"
includePropagatedResultsboolean

Specifies if propagated AML checks are included.

Default:false
filterstring

Criteria for filtering collection items. This field requires a special format. Use , to specify multiple allowed values. Use ; to specify multiple fields.

For more information, see Search filters.

curl -i -X GET \
  'https://www.rebilly.com/_mock/catalog/all/experimental/histograms/aml-checks?periodStart=2019-08-24T14%3A15%3A22Z&periodEnd=2019-08-24T14%3A15%3A22Z&aggregationPeriod=minute&metric=aml_checks&includePropagatedResults=false&filter=string' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'

Responses

AML check report retrieved.

Bodyapplication/json
dataArray of objects

Histogram data.

Response
{ "data": [ {} ] }