def METHOD_NAME(request):
    """
    View to upload a transcript file.
    Arguments:
        request: A WSGI request object
    Transcript file, edx video id and transcript language are required.
    Transcript file should be in SRT(SubRip) format.
    Returns
        - A 400 if any of the validation fails
        - A 200 if transcript has been uploaded successfully
    """
    error = validate_transcript_upload_data(data=request.POST, files=request.FILES)
    if error:
        response = JsonResponse({'error': error}, status=400)
    else:
        response = upload_transcript(request)
    return response