---
title: INGetRestaurantGuestIntentResponseCode.success
framework: intents
role: symbol
role_heading: Case
path: intents/ingetrestaurantguestintentresponsecode/success
---

# INGetRestaurantGuestIntentResponseCode.success

You successfully handled the intent.

## Declaration

```swift
case success
```

## Discussion

Discussion Use this code when you are able to return the guest information successfully. After creating the response object, configure values for the guest and guestDisplayPreferences properties before returning your response.

## See Also

### Constants

- [INGetRestaurantGuestIntentResponseCode.failure](intents/ingetrestaurantguestintentresponsecode/failure.md)
