public MicrosoftPullRequest createPullRequest(String account,String collection,String repositoryId,NewMicrosoftPullRequest newPr) throws ServerException, IOException, UnauthorizedException {
  return doPost(templates.pullRequestsUrl(account,collection,repositoryId),HTTP_CREATED,newPr,MicrosoftPullRequest.class);
}

public MicrosoftPullRequest createPullRequest ( String account , String collection , String repositoryId , NewMicrosoftPullRequest newPr ) throws ServerException , IOException , UnauthorizedException { return doPost ( templates . pullRequestsUrl ( account , collection , repositoryId ) , HTTP_CREATED , newPr , MicrosoftPullRequest . class ) ; }
creates a new pull request .
