• Creates an AGO-style JSON failure response with success property and extended with ids list.

    Parameters

    • itemIds: string[]
    • Optional e: any

      Optional error information

    Returns any

    JSON structure with property success set to false and optionally including e