def generate_performance_payload(array, start_time, end_time, metrics):
    """Generate request payload for VMAX performance POST request
    :param array: symmetrixID
    :param start_time: start time for collection
    :param end_time: end time for collection
    :param metrics: metrics to be collected
    :returns: payload dictionary
    """
    return {'symmetrixId': str(array),
            "endDate": end_time,
            "startDate": start_time,
            "metrics": metrics,
            "dataFormat": "Average"}