# CallImportance

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.CallImportance/

Used by MFServer to distinguish between incoming calls of different
importance levels. For example, less important calls may be rejected
if the server is busy.

- **Full name:** `MFiles.CallImportance`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-CALL_IMPORTANCE_DEFAULT"></a>`CALL_IMPORTANCE_DEFAULT` | 0 | Call importance not set. Usually defaults to CALL_IMPORTANCE_NORMAL. |
| <a id="v-CALL_IMPORTANCE_NORMAL"></a>`CALL_IMPORTANCE_NORMAL` | 1 | Normal call. Calls of this type are never rejected. Multiple concurrent calls are served by concurrent threads in MFServer. Most calls should specify this importance level. |
| <a id="v-CALL_IMPORTANCE_CAN_BE_REJECTED"></a>`CALL_IMPORTANCE_CAN_BE_REJECTED` | 2 | A less important call, e.g. cache prefilling. This type of calls can be rejected by the server if it is currently too busy (e.g. servicing too many other calls). If MFServer rejects a call, E_MFILES_CALL_REJECTED is returned. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCObjectOperations.GetProperties](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetProperties/index.md): Gets the property values of one specific object version.
- [IRPCObjectOperations.GetPropertiesOfMultipleObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetPropertiesOfMultipleObjects/index.md): Gets the property values of several specific object versions.
- [IRPCObjectTypes.GetObjectType](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypes/GetObjectType/index.md): Gets one object type or value list by ID, with its icon.
- [IRPCObjectTypes.GetObjectTypes](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypes/GetObjectTypes/index.md): Gets all object types (real object types only, not plain value lists), with their icons.
- [IRPCPropertyDefs.GetObjectClassesAndGroups](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefs/GetObjectClassesAndGroups/index.md): Gets all classes and class groups that the user is allowed to see.
- [IRPCPropertyDefs.GetPropertyDefs](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefs/GetPropertyDefs/index.md): Gets all property definitions that the user is allowed to see.
- [IRPCSearch.GetFolderContents](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderContents/index.md): Lists the contents of a view or a view level: subviews, grouping folders and objects.
- [IRPCSearch.GetFolderContentsOrDelta](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderContentsOrDelta/index.md): Gets the contents of the specified folder, or a delta that indicates changes to document vault data since the logical timestamp known by the caller.
- [IRPCSearch.GetFolderObjectsCount](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderObjectsCount/index.md): Gets the count of objects in the specified folder.
- [IRPCSearch.GetObjectCountInSearch](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetObjectCountInSearch/index.md): Counts the objects that match the given conditions without returning them.
- [IRPCSearch.SearchObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/SearchObjects/index.md): Searches the vault for objects that match the given conditions.
- [IRPCValueLists.GetValueListItemsWithPermissions](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/GetValueListItemsWithPermissions/index.md): Gets the items of one value list or object type, or only the changes since a known version.
- [IRPCValueLists.GetValueLists](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/GetValueLists/index.md): Gets all value lists of the vault, including the object types, without icons.
- [IRPCValueLists.SearchValueListItemsWithPermissions](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/SearchValueListItemsWithPermissions/index.md): Searches the items of one value list or object type by item ID, name, owner, parent or deleted state.

<a id="used-in-fields"></a>

## Used in fields

- [`GetPropertiesRequest.callimp`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetProperties/index.md#request): Leave unset or use `CALL_IMPORTANCE_NORMAL`.
- [`GetPropertiesOfMultipleObjectsRequest.callimp`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetPropertiesOfMultipleObjects/index.md#request): Leave unset or use `CALL_IMPORTANCE_NORMAL`.
- [`GetObjectTypesRequest.call_importance`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypes/GetObjectTypes/index.md#request): The importance level of this call. Typically CALL_IMPORTANCE_NORMAL.
- [`GetObjectTypeRequest.callimp`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypes/GetObjectType/index.md#request): The importance level of this call. Leave unset or use `CALL_IMPORTANCE_NORMAL`.
- [`GetPropertyDefsRequest.call_importance`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefs/GetPropertyDefs/index.md#request): The importance level of this call. Leave unset or use `CALL_IMPORTANCE_NORMAL`.
- [`GetObjectClassesAndGroupsRequest.call_importance`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCPropertyDefs/GetObjectClassesAndGroups/index.md#request): The importance level of this call. Leave unset or use `CALL_IMPORTANCE_NORMAL`.
- [`GetFolderObjectsCountRequest.callimp`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderObjectsCount/index.md#request): The importance level of this call. Typically CALL_IMPORTANCE_NORMAL.
- [`GetObjectCountInSearchRequest.callimp`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetObjectCountInSearch/index.md#request): The importance level of this call. Typically `CALL_IMPORTANCE_NORMAL`.
- [`SearchObjectsRequest.call_importance`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/SearchObjects/index.md#request): The importance level of this call. Typically `CALL_IMPORTANCE_NORMAL`.
- [`GetFolderContentsOrDeltaRequest.callimp`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderContentsOrDelta/index.md#request): The importance level of this call. Typically CALL_IMPORTANCE_NORMAL.
- [`GetFolderContentsRequest.call_importance`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderContents/index.md#request): The importance level of this call. Typically CALL_IMPORTANCE_NORMAL.
- [`GetValueListsRequest.call_importance`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/GetValueLists/index.md#request): The importance level of this call. Leave unset or use `CALL_IMPORTANCE_NORMAL`.
- [`GetValueListItemsWithPermissionsRequest.call_importance`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/GetValueListItemsWithPermissions/index.md#request): The importance level of this call. Leave unset or use `CALL_IMPORTANCE_NORMAL`.
- [`SearchValueListItemsWithPermissionsRequest.call_importance`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCValueLists/SearchValueListItemsWithPermissions/index.md#request): The importance level of this call. Leave unset or use `CALL_IMPORTANCE_NORMAL`.
