lib/NotesService.php
public function create(array $note, array $options = array())
  {
    $attributes = array_intersect_key($note, array_flip(self::$keysToPersist));

    list($code, $createdNote) = $this->httpClient->post("/notes", $attributes, $options);
    return $createdNote;
  }
public function create(array $note, array $options = array())
  {
    $attributes = array_intersect_key($note, array_flip(self::$keysToPersist));

    list($code, $createdNote) = $this->httpClient->post("/notes", $attributes, $options);
    return $createdNote;
  }
public function create ( array $ note , array $ options = array ( ) ) { $ attributes = array_intersect_key ( $ note , array_flip ( self :: $ keysToPersist ) ) ; list ( $ code , $ createdNote ) = $ this -> httpClient -> post ( "/notes" , $ attributes , $ options ) ; return $ createdNote ; }
Create a note

post '/notes'

Create a new note and associate it with one of the resources listed below:
* [Leads](/docs/rest/reference/leads)
* [Contacts](/docs/rest/reference/contacts)
* [Deals](/docs/rest/reference/deals)

@param array $note This array's attributes describe the object to be created.
@param array $options Additional request's options.

@return array The resulting object representing created resource.
Create a note