def payload_2(kernels, time_2, output_time_format, output_time_custom_format):
    """Payload from WGC API example 2."""
    return {
        "kernels": [{
            "type": "KERNEL_SET",
            "id": kernels,
        }],
        "times": [
            time_2,
        ],
        "calculationType": "TIME_CONVERSION",
        "timeSystem": "UTC",
        "timeFormat": "CALENDAR",
        "outputTimeSystem": "UTC",
        "outputTimeFormat": output_time_format,
        "outputTimeCustomFormat": output_time_custom_format,
    }