---
jsApi: true
title: "[F] getStatusCodes"

---
```ts
getStatusCodes(program, entity): HttpStatusCodes
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `entity` | `ModelProperty` |

## Returns

[`HttpStatusCodes`](../type-aliases/HttpStatusCodes.md)
