src/Services/CampaignDraftService.php
public function getSchedule($CampaignId)
    {
        $response = $this->mailjet->get(Resources::$CampaigndraftSchedule,
            ['id' => $CampaignId]);
        if (!$response->success()) {
            $this->throwError("CampaignDraftService:getSchedule failed",
                $response);
        }

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

        return $response->getData();
    }
public function getSchedule ( $ CampaignId ) { $ response = $ this -> mailjet -> get ( Resources :: $ CampaigndraftSchedule , [ 'id' => $ CampaignId ] ) ; if ( ! $ response -> success ( ) ) { $ this -> throwError ( "CampaignDraftService:getSchedule failed" , $ response ) ; } return $ response -> getData ( ) ; }
Return the date of the scheduled sending of the campaigndraft
@param string Campaign $id
@return array
Return the date of the scheduled sending of the campaigndraft