McMain icon

McMain

Interact with McMain API

Call → Get List

AI-generated

Summary

Retrieve a list of calls filtered by SCIM criteria and optional request settings.

Inputs

  • filters — SCIM filter parameters (field, operator, value) such as incStatus, incCompletedDate, incDate, incUrg with operators eq, ge, gt, le and a dateTime value.
  • requestOptions — Optional request configuration including batching settings, SSL verification, proxy URL, and timeout.

Output shape

list of call records

Returns a collection of call objects; errors are signaled by HTTP status codes rather than a wrapped error envelope.

Examples

Example 1: Filter calls by incident date greater than a specific date.

Set Filters.field to incDate, operator to gt, and Value to 2023-01-01T00:00:00Z; optionally set batchSize to 100.

Example 2: Fetch calls with batch processing and proxy configuration.

Enable batching with batchSize 50 and batchInterval 1000, set proxy to http://myproxy:3128, and timeout to 15000.

Discussion