---
title: "resolveURIs"
slug: "api/session/operations/resolveuris"
sidebar:
  order: 161
---

<a id="ref-d53b87282bc7"></a>
<a id="ref-f7c4e7f011ab"></a>
<a id="ref-e8ae9cff64e5"></a>

## Synopsis

```text
string resolveURIs(SessionId sessionId,
    string[]            uris,
    ResolveURIsOptions options)
throws SessionServiceFault;
```

See also: [`SessionId`](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [`ResolveURIsOptions`](/pCon/configuratorOnline/specs/api/session/types/resolveurisoptions#ref-6179aa47c4e2), [`SessionServiceFault`](/pCon/configuratorOnline/specs/api/session/faults/sessionservicefault#ref-30a5c7817f4a)

The `resolveURIs` operation is used to convert URIs with URI scheme `imp` or `gen` into URLs that can be used to access the files identified by these URIs.

The `uris` argument must be a possibly empty list of strings representing URIs with scheme `imp` or `gen`.

The operation resolves only URIs for files that have been generated by or imported into this session.

If the operation succeeds, the return value is a list of HTTP URLs with the same number of entries as the `uris` `argument`.

The URL returned at index i of the result list corresponds to the URI at index i of the argument list. If an URI is unknown, the corresponding return value for this URI is an empty string.

The operation fails if

- the specified session ID is not a valid string representation of an UUID or does not represent an open session

- one of the specified URI arguments does not adhere to the URI syntax, is a relative URI, or uses a scheme other than  `imp` or `gen`
