> For the complete documentation index, see [llms.txt](https://interfacing.gitbook.io/interfacing-help-files/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interfacing.gitbook.io/interfacing-help-files/interfacing-help-files-fr/developpeurs-de-solutions/api-and-information-repository/api-rest/cas-dutilisation-et-exemples/recuperer-un-objet.md).

# Récupérer un objet

Le point de terminaison `GET /items/{nodeId}` récupère un objet spécifique stocké dans IMS. Il prend notamment en charge les cas d’utilisation suivants :

* Dupliquer les données IMS dans une plateforme tierce.
* Afficher des objets IMS individuels dans un système externe ou un tableau de bord.
* Créer des widgets ou des vues ciblés pour des portails internes.

***

## Démarrage rapide

* **URL de base du point de terminaison :** <https://YOURIMS.interfacing.com/api/v1/items/{nodeId}>
* **Authentification :** obtenez un jeton valide. Consultez [Authentification et gestion des jetons](/interfacing-help-files/interfacing-help-files-fr/developpeurs-de-solutions/api-and-information-repository/api-rest.md#authentification-et-gestion-des-jetons).
* **Documentation Swagger :** <https://YOURIMS.interfacing.com/api/v1/swagger/#/Common/getItem>

***

## Exemple de requête

```bash
curl --request GET --url 'http://myepc.interfacing.com/api/v1/items/1450CEF9-89A3-4B48-98F7-09735BECD54B?draft=true' -b /tmp/cookie.tmp
```

***

## Exemple de réponse

```java
public <T extends NodeElement> Mono<T> findElement(@NotNull String nodeId, Class<T> clazz) {
        return bpcClient.get()
                .uri(uriBuilder -> uriBuilder.path("/items/{nodeId}").queryParams(defaultQueryParams).queryParam("detail", true).build(nodeId))
                .retrieve()
                .bodyToMono(new ParameterizedTypeReference<>() {
                });
    }
```

***

## Récupérer un objet spécifique par type

Remplacez `{objectId}` dans l’URL du point de terminaison ci-dessous par l’ID réel de l’objet. Par exemple : `/capabilityId`, `/controlId` ou `/documentId`.

| Type d’objet                    | URL Swagger                                                                  | URL du point de terminaison                                                          |
| ------------------------------- | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| Capacité                        | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Capability/findCapability> | <https://YOURIMS.interfacing.com/api/v1/capabiltity/capabilities/capabilityId>       |
| Publication                     | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Collaboration/findPost>    | <https://YOURIMS.interfacing.com/api/v1/collaboration/posts/postId>                  |
| Contrôle                        | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Control/findControl>       | <https://YOURIMS.interfacing.com/api/v1/control/controls/controlId>                  |
| Document                        | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Document/findDocument>     | <https://YOURIMS.interfacing.com/api/v1/document/documents/documentId>               |
| Terme (Glossaire)               | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Glossary/findTerm>         | <https://YOURIMS.interfacing.com/api/v1/glossary/tems/termId>                        |
| Attribut (Données de référence) | <https://YOURIMS.interfacing.com/api/v1/swagger/#/MasterData/findAttribute>  | <https://YOURIMS.interfacing.com/api/v1/masterData/attributes/attributeId>           |
| Entité (Données de référence)   | <https://YOURIMS.interfacing.com/api/v1/swagger/#/MasterData/findEntity>     | <https://YOURIMS.interfacing.com/api/v1/masterData/entities/entityId>                |
| Actif (Organisation)            | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Organization/findAsset>    | <https://YOURIMS.interfacing.com/api/v1/organization/assets/assetId>                 |
| Ressource (Organisation)        | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Organization/findResource> | <https://YOURIMS.interfacing.com/api/v1/swagger/#/organization/resources/resourceId> |
| Rôle (Organisation)             | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Organization/findRole>     | <https://YOURIMS.interfacing.com/api/v1/swagger/#/organization/roles/roleId>         |
| Indicateur (Performance)        | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Performance/findIndicator> | <https://YOURIMS.interfacing.com/api/v1/performances/indicators/indicatorId>         |
| Processus                       | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Process/findProcess>       | <https://YOURIMS.interfacing.com/api/v1/process/processes/processId>                 |
| Risque                          | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Risk/findRisk>             | <https://YOURIMS.interfacing.com/api/v1/risk/risks/riskId>                           |
| Règle                           | <https://YOURIMS.interfacing.com/api/v1/swagger/#/Rule/findRule>             | <https://YOURIMS.interfacing.com/api/v1/rule/rules/ruleId>                           |

***

## À quelle fonctionnalité IMS cela correspond-il ?

Les **objets IMS** sont les éléments individuels stockés dans l’application web IMS. Ils comprennent des dossiers et divers types de contenu, comme les rôles, les termes, les documents et les règles.

Tous les objets sont organisés dans la **Bibliothèque**. Selon son type, chaque objet dépend d’une **racine parente** spécifique. Par exemple, les termes dépendent de la racine Glossaire et les rôles de la racine Organisation.

Les objets peuvent être récupérés **individuellement par leur ID** ou dans une [**liste**](/interfacing-help-files/interfacing-help-files-fr/developpeurs-de-solutions/api-and-information-repository/api-rest/cas-dutilisation-et-exemples/recuperer-une-liste-dobjets.md). Les utilisateurs et les systèmes intégrés peuvent ainsi accéder efficacement à de grands ensembles de données.

***

## Voir aussi

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>Authentification et gestion des jetons</td><td><a href="/interfacing-help-files/interfacing-help-files-fr/developpeurs-de-solutions/api-and-information-repository/api-rest.md#authentification-et-gestion-des-jetons">API REST</a></td><td><a href="https://content.gitbook.com/content/AgpNu7XmgN3Z9B8kIShD/blobs/DQLtctQLTOs0sgjURwgJ/IMS-V16-NAV-Home-Icons-5.png">IMS-V16-NAV-Home-Icons-5.png</a></td></tr><tr><td>Référence de l’API (Swagger)</td><td><a href="/interfacing-help-files/interfacing-help-files-fr/developpeurs-de-solutions/api-and-information-repository/api-rest/api-reference-swagger.md">API Reference (Swagger)</a></td><td><a href="https://content.gitbook.com/content/AgpNu7XmgN3Z9B8kIShD/blobs/ony9eUVasEC7cHrPfFn0/IMS-V16-NAV-Library-Icons-41.png">IMS-V16-NAV-Library-Icons-41.png</a></td></tr><tr><td>Effectuer d’autres cas d’utilisation</td><td><a href="/interfacing-help-files/interfacing-help-files-fr/developpeurs-de-solutions/api-and-information-repository/api-rest/cas-dutilisation-et-exemples/effectuer-dautres-cas-dutilisation.md">Effectuer d’autres cas d’utilisation</a></td><td><a href="https://content.gitbook.com/content/AgpNu7XmgN3Z9B8kIShD/blobs/q1F1diigeTjKR94GHSiL/IMS-V16-Intro-7.png">IMS-V16-Intro-7.png</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://interfacing.gitbook.io/interfacing-help-files/interfacing-help-files-fr/developpeurs-de-solutions/api-and-information-repository/api-rest/cas-dutilisation-et-exemples/recuperer-un-objet.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
