# Actions

An OData action is an operation that can do whatever the designer of the OData endpoint has decided. Typically it changes data, unlike an OData function which does not change any data.

Actions can be found in it's own section in the operation tree

<figure><img src="/files/Stdp98UOrnC2wMghq4et" alt=""><figcaption><p>Unbound actions</p></figcaption></figure>

These actions are 'unbound' - meaning that they are not tied to a particular entity.&#x20;

There are also 'bound' actions, which are bound to an entity or an entity set.

They are found under the corresponding entity in the operation tree. Example:

<figure><img src="/files/vDjNMTFDFHx6JmRwSYTV" alt=""><figcaption><p>Bound actions</p></figcaption></figure>

In the example above most actions are bound to a particular entity in JtTaskSet. Those actions, with name ending with (from entity), will take the entity key of the entity as input along with whatever other parameters the action requires

<figure><img src="/files/CNfIOE4pRAOxToIzzDBm" alt=""><figcaption><p>Entity bound action</p></figcaption></figure>

Actions bound to the entity set will not take an entity key, but is related to the entity set. They will end with '(from set)' in their name. They are however not very common (the ones ending with (from set) in example above are functions).&#x20;

## Output

While the output of an action depends on the action itself, the output is always a record containing the members listed below along with whatever the action itself outputs (if anything).

* StatusCode - the HTTP status code returned from the OData endpoint, typically **200** if the operation was successful. A value of 0 or -1 indicates a problem in the connector (i.e, no request sent to the OData endpoint)
* ErrorMessage - has no value if the operation succeeded, otherwise a description of what when wrong
* HasFailed - simple value containing true if operation failed
* Headers - is omitted by default, but if included, contains all HTTP headers returned by the OData endpoint


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.novacuraflow.com/connectors/areas/business-systems/ifs-applications/ifs-odata/operations/actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
