McMain icon

McMain

Interact with McMain API

Base Data → Get Call Types

AI-generated

Summary

Retrieves a list of available call types from the McMain API.

Inputs

  • requestOptions — A collection of request options including batching settings, proxy configuration, timeout, and SSL validation settings. Batching is disabled by default.

Output shape

a list of items

Items contain a 'data' property with the list of call types.

Examples

Example 1: Simple retrieval of all call types without throttling.

Use default RequestOptions.

Example 2: Retrieve call types with a batch interval to avoid rate limiting.

Set RequestOptions > Batching > Batch Interval to 1000ms and Items per Batch to 50.

Example 3: Use an HTTP proxy for the request.

Set RequestOptions > Proxy to the proxy URL (e.g., http://user:pass@proxy:3128).

Discussion