예제 #1
0
 /**
  * @param $operationName operation name
  * @param ParamInterface $param Param to be serialized in the request
  * @param string $type
  * @return string $bodyString
  */
 public function apiNgRequest($operationName, ParamInterface $param, $type = "betting")
 {
     $requestParameters = array_merge($this->getDefaultAuthHeaderArray(), $this->builtJsonRpcArrayParameters($operationName, $param, $type), array("type" => $type));
     $response = $this->betfairGuzzleClient->apiNgRequest($requestParameters);
     return $response->getBody();
 }