public function restore($id)
    {
        $end = $id . '/restore';

        return $this->api()->request('PUT', $this->endpoint($end));
    }
public function restore($id)
    {
        $end = $id . '/restore';

        return $this->api()->request('PUT', $this->endpoint($end));
    }
public function restore ( $ id ) { $ end = $ id . '/restore' ; return $ this -> api ( ) -> request ( 'PUT' , $ this -> endpoint ( $ end ) ) ; }
Restore a ticket

Restores a previously deleted ticket

@api
@param $id
@return mixed|null
@throws \Freshdesk\Exceptions\AccessDeniedException
@throws \Freshdesk\Exceptions\ApiException
@throws \Freshdesk\Exceptions\AuthenticationException
@throws \Freshdesk\Exceptions\ConflictingStateException
@throws \Freshdesk\Exceptions\NotFoundException
@throws \Freshdesk\Exceptions\RateLimitExceededException
@throws \Freshdesk\Exceptions\UnsupportedContentTypeException
@throws \Freshdesk\Exceptions\MethodNotAllowedException
@throws \Freshdesk\Exceptions\UnsupportedAcceptHeaderException
@throws \Freshdesk\Exceptions\ValidationException
Restore a ticket