# Struct FGetTicketStatusResponse

> Review the response structure containing the status and details of a matchmaking ticket.

##### Include

```cpp
#include <MatchmakerClient/Public/Models/GetTicketStatusResponse.h>
```

##### Syntax

```cpp
USTRUCT(BlueprintType)
struct FGetTicketStatusResponse
```

## Fields

### WasSuccessful

Indicates if the request was completed successfully.

#### Declaration

```cpp
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
bool bWasSuccessful = false
```

#### Blueprint

| **Name**       | **Type**                                                                                               | **Default value** |
| :------------- | :----------------------------------------------------------------------------------------------------- | :---------------- |
| Was Successful | [Boolean](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | false             |

#### C++

| **Name**         | **Type** | **Default value** |
| :--------------- | :------- | :---------------- |
| `bWasSuccessful` | `bool`   | `false`           |

### AssignmentType

The ID for the matchmaking ticket that was created.

#### Declaration

```cpp
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
FString AssignmentType
```

#### Blueprint

| **Name**        | **Type**                                                                                              |
| :-------------- | :---------------------------------------------------------------------------------------------------- |
| Assignment Type | [String](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++

| **Name**         | **Type**                                                                                |
| :--------------- | :-------------------------------------------------------------------------------------- |
| `AssignmentType` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### Message

Optional message

#### Declaration

```cpp
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
FString Message
```

#### Blueprint

| **Name** | **Type**                                                                                              |
| :------- | :---------------------------------------------------------------------------------------------------- |
| Message  | [String](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++

| **Name**  | **Type**                                                                                |
| :-------- | :-------------------------------------------------------------------------------------- |
| `Message` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### Status

The status of the assignment can be **Timeout**, **Failed**, **InProgress**, or **Found**.

#### Declaration

```cpp
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
StatusEnum Status = StatusEnum::InProgress
```

#### Blueprint

| **Name** | **Type**                       | **Default value**        |
| :------- | :----------------------------- | :----------------------- |
| Status   | [StatusEnum](./status-enum.md) | `StatusEnum::InProgress` |

#### C++

| **Name** | **Type**                       | **Default value**        |
| :------- | :----------------------------- | :----------------------- |
| `Status` | [StatusEnum](./status-enum.md) | `StatusEnum::InProgress` |

### Ip

The IP for the server assigned to this ticket.

#### Declaration

```cpp
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
FString Ip
```

#### Blueprint

| **Name** | **Type**                                                                                              |
| :------- | :---------------------------------------------------------------------------------------------------- |
| Ip       | [String](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++

| **Name** | **Type**                                                                                |
| :------- | :-------------------------------------------------------------------------------------- |
| `Ip`     | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### Port

The port assigned to this ticket result.

#### Declaration

```cpp
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
int32 Port = 0
```

#### Blueprint

| **Name** | **Type**                                                                                               | **Default value** |
| :------- | :----------------------------------------------------------------------------------------------------- | :---------------- |
| Port     | [Integer](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | `0`               |

#### C++

| **Name** | **Type**                                                                                                       | **Default value** |
| :------- | :------------------------------------------------------------------------------------------------------------- | :---------------- |
| `Port`   | [int32](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/GenericPlatform/FGenericPlatformTypes/int32/) | `0`               |

### MatchId

Unique ID of the match.

#### Declaration

```cpp
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
FString MatchId
```

#### Blueprint

| **Name** | **Type**                                                                                              |
| :------- | :---------------------------------------------------------------------------------------------------- |
| Match Id | [String](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++

| **Name**  | **Type**                                                                                |
| :-------- | :-------------------------------------------------------------------------------------- |
| `MatchId` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### ErrorMessage

An error message detailing the error.

#### Declaration

```cpp
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
FString ErrorMessage
```

#### Blueprint

| **Name**      | **Type**                                                                                              |
| :------------ | :---------------------------------------------------------------------------------------------------- |
| Error Message | [String](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) |

#### C++

| **Name**       | **Type**                                                                                |
| :------------- | :-------------------------------------------------------------------------------------- |
| `ErrorMessage` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### ErrorCode

Error Code ([MatchmakerExceptionReason](/matchmaker/unreal-engine-sdk/sdk-api/matchmaker-core/models/matchmaker-exception-reason.md)) as int32 for Blueprint compatibility.

#### Declaration

```cpp
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Unity Gaming Services | Matchmaker | Model")
int32 ErrorCode = Matchmaker::kMatchmakerExceptionOffset
```

#### Blueprint

| **Name**   | **Type**                                                                                               | **Default value** |
| :--------- | :----------------------------------------------------------------------------------------------------- | :---------------- |
| Error Code | [Integer](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | `0`               |

#### C++

| **Name**    | **Type**                                                                                                       | **Default value** |
| :---------- | :------------------------------------------------------------------------------------------------------------- | :---------------- |
| `ErrorCode` | [int32](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/GenericPlatform/FGenericPlatformTypes/int32/) | `0`               |

## Methods

### GetReasonEnum()

#### Declaration

```cpp
EMatchmakerExceptionReason GetReasonEnum() const
```

#### Returns

| **Type**                                                                                                                  | **Description**                                                                                                                                      |
| :------------------------------------------------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------- |
| [EMatchmakerExceptionReason](/matchmaker/unreal-engine-sdk/sdk-api/matchmaker-core/models/matchmaker-exception-reason.md) | The exception reason as a [EMatchmakerExceptionReason](/matchmaker/unreal-engine-sdk/sdk-api/matchmaker-core/models/matchmaker-exception-reason.md). |
