# Heidenhain DNC Endpoint Properties

## `description` (string)

Some descriptive text about the endpoint

## `method` (string, required)

The function to call on the DNC control

Example: `"isConnected"`

## `params` (array)

Only for subscribe: The parameter values for the function call to set up subscriptions. (For read calls, the function parameters are given in the payload data instead.)

The elements of the array must match *at least one* of the following properties:

## (number)

## (integer)

## (string)

## (boolean)

## (array)

The schema defines an array with all elements of the type `string`.

## (object)

Default:

```
[]
```

Examples: `[1,"NAME"]`, `["this","that"]`

## `pollInterval` (integer)

Only for subscribe operation using type poll: Interval in milliseconds to poll the property

Default: `1000`

Example: `1000`

## `type` (string, enum)

Only subscribe operation: Choose whether the subscription should be polled by the Connectware or whether it should be notified by DNC event notifiers.

This element must be one of the following enum values:

* `poll`
* `notify`

Example: `"notify"`
