public function createNew(
        int $sourceId,
        string $collectionName,
        array $data
    ) : array {
        return $this->sendPost(
            sprintf('/profiles/%s/raw', $this->userName),
            [],
            [
                'source_id'  => $sourceId,
                'collection' => $collectionName,
                'data'       => $data
            ]
        );
    }
public function createNew(
        int $sourceId,
        string $collectionName,
        array $data
    ) : array {
        return $this->sendPost(
            sprintf('/profiles/%s/raw', $this->userName),
            [],
            [
                'source_id'  => $sourceId,
                'collection' => $collectionName,
                'data'       => $data
            ]
        );
    }
public function createNew ( int $ sourceId , string $ collectionName , array $ data ) : array { return $ this -> sendPost ( sprintf ( '/profiles/%s/raw' , $ this -> userName ) , [ ] , [ 'source_id' => $ sourceId , 'collection' => $ collectionName , 'data' => $ data ] ) ; }
Creates a new raw data for the given source.

@param int    $sourceId
@param string $collectionName
@param array  $data

@return array Response
Creates a new raw data for the given source .