add download as csv api end point