# Web Service

## Scripted REST API

In **native ServiceNow**, navigate to **System Web Services > Scripted Web Services > Scripted REST APIs**. Click **Unifi**.

![](/files/Mv6ZLriU25pdiict8Nv5)

## Scripted REST Resources

Navigate to the **Resources** Related List.

![](/files/oKGrZUbdaMxBBZ7fJsnk)

{% hint style="info" %}
The Unifi Scripted REST API ships with Message template and Attachment template Resources. Unifi uses these templates and substitutes values from the newly created Process to automatically create the equivalent Scripted REST Resources.

Note: The Default ACLs role \[x\_snd\_eb\_integration] will need to be given to your Integration User to access the automatically created REST Resources.
{% endhint %}

## Updated Process

{% hint style="info" %}
Note: The Process record has been updated with the names of the REST Service, Message method and Attachment method. This will enable the Packager to pick it up so that it will be included in the packaged update set. For more information see the [Packager Feature Guide](broken://pages/3Rkm3qH0ymy2YaNJcbC0).
{% endhint %}

![](/files/jCrpVwRO7blcA3SGqBpJ)

We will now continue to configure the **Integration**.


---

# 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://docs.sharelogic.com/unifi/4.0/integration-guides/bidirectional-asynchronous-incident-guide/web-service.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.
