public function put($objectUrl, $data)
    {
        $url = $this->apiBase . '/' . $objectUrl;

        return $this->checkApiResponse(
            $this->httpRequest(
                $url,
                'PUT',
                json_encode($data),
                array_merge(
                    $this->authHeader(),
                    array('Content-type' => 'application/json')
                )
            )
        );
    }
public function put($objectUrl, $data)
    {
        $url = $this->apiBase . '/' . $objectUrl;

        return $this->checkApiResponse(
            $this->httpRequest(
                $url,
                'PUT',
                json_encode($data),
                array_merge(
                    $this->authHeader(),
                    array('Content-type' => 'application/json')
                )
            )
        );
    }
public function put ( $ objectUrl , $ data ) { $ url = $ this -> apiBase . '/' . $ objectUrl ; return $ this -> checkApiResponse ( $ this -> httpRequest ( $ url , 'PUT' , json_encode ( $ data ) , array_merge ( $ this -> authHeader ( ) , array ( 'Content-type' => 'application/json' ) ) ) ) ; }
Makes a PUT request to an API object.
Used for updating a single existing object.
Makes a PUT request to an API object . Used for updating a single existing object .