public function findByCampaignDraftId($CampaignId)
    {
        $response = $this->mailjet->get(Resources::$Campaigndraft,
            ['id' => $CampaignId]);
        if (!$response->success()) {
            $this->throwError("CampaignDraftManager:findByCampaignDraftId() failed",
                $response);
        }

        return $response->getData();
    }
public function findByCampaignDraftId($CampaignId)
    {
        $response = $this->mailjet->get(Resources::$Campaigndraft,
            ['id' => $CampaignId]);
        if (!$response->success()) {
            $this->throwError("CampaignDraftManager:findByCampaignDraftId() failed",
                $response);
        }

        return $response->getData();
    }
public function findByCampaignDraftId ( $ CampaignId ) { $ response = $ this -> mailjet -> get ( Resources :: $ Campaigndraft , [ 'id' => $ CampaignId ] ) ; if ( ! $ response -> success ( ) ) { $ this -> throwError ( "CampaignDraftManager:findByCampaignDraftId() failed" , $ response ) ; } return $ response -> getData ( ) ; }
Access a given campaigndraft resource
@param string $CampaignId
@return array
Access a given campaigndraft resource