Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| en:guide_du_developpeur_capture [2025/08/04 18:21] – admin | en:guide_du_developpeur_capture [2025/11/04 11:18] (Version actuelle) – [5.1 Retrieving the Report via API] admin | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ~~NOTOC~~ | + | [[: |
| - | [[:fr: | + | |
| ---- | ---- | ||
| + | |||
| ====== Developer Guide – ID360 Capture ====== | ====== Developer Guide – ID360 Capture ====== | ||
| Ligne 25: | Ligne 25: | ||
| - **Retrieve report**: Retrieve the user's folder report using the folder ID, with status and technical/ | - **Retrieve report**: Retrieve the user's folder report using the folder ID, with status and technical/ | ||
| - **Retrieve documents**: | - **Retrieve documents**: | ||
| + | - **Retrieving the idClaim (optional)**: | ||
| + | |||
| + | === 🔧 Additional options and tools === | ||
| + | * **Run ID360 in a WebView (optional)**: | ||
| + | * **Interrupt a user folder** : To invalidate an identification URL and force the closure of a file in the case of an identification process that has not been started or is incomplete. | ||
| ---- | ---- | ||
| Ligne 84: | Ligne 89: | ||
| * As long as the token is valid, **do not call `/login/` again**. | * As long as the token is valid, **do not call `/login/` again**. | ||
| * Use the token in the header of future calls:'' | * Use the token in the header of future calls:'' | ||
| + | * The token is made up of 25 characters (fixed length). | ||
| ---- | ---- | ||
| Ligne 144: | Ligne 150: | ||
| * Otherwise, generate a **new token** via the `logIn` method. | * Otherwise, generate a **new token** via the `logIn` method. | ||
| - | **ℹ️ | + | **ℹ️ |
| - | + | ||
| - | # 2. Creating a User Folder | + | |
| - | + | ||
| - | [See method in Swagger](https:// | + | |
| - | + | ||
| - | --- | + | |
| - | + | ||
| - | ## 🔧 CURL Request – Production | + | |
| - | ```bash | + | |
| - | curl -X POST \ | + | |
| - | " | + | |
| - | -H " | + | |
| ====== 2. Create a user folder ====== | ====== 2. Create a user folder ====== | ||
| Ligne 204: | Ligne 197: | ||
| " | " | ||
| }], | }], | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | }, | ||
| " | " | ||
| " | " | ||
| Ligne 318: | Ligne 307: | ||
| ^ Parameter ^ Value ^ Description ^ | ^ Parameter ^ Value ^ Description ^ | ||
| | '' | | '' | ||
| + | | '' | ||
| ---- | ---- | ||
| Ligne 414: | Ligne 404: | ||
| **HTTP Status**: '' | **HTTP Status**: '' | ||
| + | |||
| **Response format**: JSON | **Response format**: JSON | ||
| Ligne 573: | Ligne 564: | ||
| | **Liveness** | ''" | | **Liveness** | ''" | ||
| - | ====== | + | ====== |
| - | You can use the health API to retrieve a JSON containing the status of services used by ID360. | + | [[https:// |
| - | curl " | + | ---- |
| - | **Example result:** | + | === 🔧 CURL Request – Production === |
| - | + | < | |
| - | < | + | curl -X GET \ |
| - | " | + | "https:// |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | "0": " | + | |
| - | " | + | |
| - | } | + | |
| - | }, | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | | + | |
| - | | + | |
| - | " | + | |
| - | " | + | |
| - | }, …. | + | |
| - | }, …. | + | |
| </ | </ | ||
| - | **Time**: corresponds to the timestamp of the last update | + | ---- |
| - | **Two instances | + | === 🔧 CURL Request – Preproduction === |
| + | <code javascript> | ||
| + | curl -X GET \ | ||
| + | | ||
| + | -H "accept: application/ | ||
| + | -H " | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === 🛠 Technical information === | ||
| + | |||
| + | * **'' | ||
| + | * **Parameters** : none expected in this request. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === ✅ Expected result === | ||
| + | |||
| + | **HTTP Status** : '' | ||
| + | |||
| + | **Response format** : ASIC-E | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === 💬 Notes === | ||
| + | |||
| + | * The connection token is **valid for 15 minutes**, renewed with each call made using this token. | ||
| + | * If the token is expired or missing, you will receive a **401 Unauthorized** error. | ||
| + | * As long as your token remains valid, **you must not reuse the '' | ||
| + | * The token must be used in the header | ||
| + | |||
| + | < | ||
| + | Authorization: | ||
| + | </ | ||
| + | |||
| + | ====== Conditions for running | ||
| + | The following permissions must be enabled on the application side (Android or iOS): | ||
| + | * Camera access | ||
| + | * Gyroscope access | ||
| + | * File access (for document import) | ||
| + | And also: | ||
| + | * Enable JavaScript | ||
| + | * On Android, initialize the WebView with the **activity context** (and not the application' | ||
| + | |||
| + | ====== Discontinue | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === 🔧 CURL Request – Production === | ||
| + | <code javascript> | ||
| + | curl -X GET \ | ||
| + | | ||
| + | -H " | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === 🔧 CURL Request – Preproduction === | ||
| + | <code javascript> | ||
| + | curl -X GET \ | ||
| + | " | ||
| + | -H " | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === 🛠 Technical Information === | ||
| + | |||
| + | * **'' | ||
| + | * **Parameters**: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === ✅ Expected Result === | ||
| + | |||
| + | **HTTP Status**: '' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === 💬 Notes === | ||
| + | The enrollment status will be changed to **DISCONTINUED**. | ||