public function create($startDate, $endDate, $options = array()) {
        $options = new Values($options);

        $data = Values::of(array(
            'StartDate' => Serialize::iso8601Date($startDate),
            'EndDate' => Serialize::iso8601Date($endDate),
            'IncludeSubaccounts' => Serialize::booleanToString($options['includeSubaccounts']),
            'StatusCallback' => $options['statusCallback'],
            'StatusCallbackMethod' => $options['statusCallbackMethod'],
        ));

        $payload = $this->version->create(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new FeedbackSummaryInstance($this->version, $payload, $this->solution['accountSid']);
    }
public function create($startDate, $endDate, $options = array()) {
        $options = new Values($options);

        $data = Values::of(array(
            'StartDate' => Serialize::iso8601Date($startDate),
            'EndDate' => Serialize::iso8601Date($endDate),
            'IncludeSubaccounts' => Serialize::booleanToString($options['includeSubaccounts']),
            'StatusCallback' => $options['statusCallback'],
            'StatusCallbackMethod' => $options['statusCallbackMethod'],
        ));

        $payload = $this->version->create(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new FeedbackSummaryInstance($this->version, $payload, $this->solution['accountSid']);
    }
public function create ( $ startDate , $ endDate , $ options = array ( ) ) { $ options = new Values ( $ options ) ; $ data = Values :: of ( array ( 'StartDate' => Serialize :: iso8601Date ( $ startDate ) , 'EndDate' => Serialize :: iso8601Date ( $ endDate ) , 'IncludeSubaccounts' => Serialize :: booleanToString ( $ options [ 'includeSubaccounts' ] ) , 'StatusCallback' => $ options [ 'statusCallback' ] , 'StatusCallbackMethod' => $ options [ 'statusCallbackMethod' ] , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new FeedbackSummaryInstance ( $ this -> version , $ payload , $ this -> solution [ 'accountSid' ] ) ; }
Create a new FeedbackSummaryInstance

@param \DateTime $startDate Only include feedback given on or after this date
@param \DateTime $endDate Only include feedback given on or before this date
@param array|Options $options Optional Arguments
@return FeedbackSummaryInstance Newly created FeedbackSummaryInstance
@throws TwilioException When an HTTP error occurs.
Create a new FeedbackSummaryInstance