Outils pour utilisateurs

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
en:guide_du_developpeur_capture [2025/08/08 10:57] – [Developer Guide – ID360 Capture] adminen:guide_du_developpeur_capture [2025/11/04 11:18] (Version actuelle) – [5.1 Retrieving the Report via API] admin
Ligne 25: Ligne 25:
   - **Retrieve report**: Retrieve the user's folder report using the folder ID, with status and technical/verification info.   - **Retrieve report**: Retrieve the user's folder report using the folder ID, with status and technical/verification info.
   - **Retrieve documents**: Optionally, retrieve identity and supporting documents submitted by the user.   - **Retrieve documents**: Optionally, retrieve identity and supporting documents submitted by the user.
 +  - **Retrieving the idClaim (optional)**: Only in the case of advanced electronic signature, returns an ASIC-E.
  
 === 🔧 Additional options and tools === === 🔧 Additional options and tools ===
   * **Run ID360 in a WebView (optional)**: outside processes offering La Poste Digital Identity   * **Run ID360 in a WebView (optional)**: outside processes offering La Poste Digital Identity
-  * **Health monitoring**+  * **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 196: Ligne 197:
     "headers": [{"name": "string", "value": "string"}]     "headers": [{"name": "string", "value": "string"}]
   }],   }],
-  "callback_headers": { 
-    "header_name_1": "header_value_1", 
-    "header_name_2": "header_value_2" 
-  }, 
   "last_name": "Users last name",   "last_name": "Users last name",
   "first_name": "Users first name",   "first_name": "Users first name",
Ligne 407: Ligne 404:
  
 **HTTP Status**: ''200 OK''   **HTTP Status**: ''200 OK''  
 +
 **Response format**: JSON **Response format**: JSON
  
Ligne 565: Ligne 563:
 | **Car Registration** | ''"documents": { "car_registration": [{ "name": "car_registration_image", "files": [{"url": xxxxxxxxxxxxxxx}]}'' | | **Car Registration** | ''"documents": { "car_registration": [{ "name": "car_registration_image", "files": [{"url": xxxxxxxxxxxxxxx}]}'' |
 | **Liveness** | ''"documents": { "liveness": [{"name": "liveness_video$0", "files": [{"url": "xxxxxxxxxxxxxxx"}]},{"name": "liveness_video$1","files": [{"url": "xxxxxxxxxxxxxxx"}]}]'' | | **Liveness** | ''"documents": { "liveness": [{"name": "liveness_video$0", "files": [{"url": "xxxxxxxxxxxxxxx"}]},{"name": "liveness_video$1","files": [{"url": "xxxxxxxxxxxxxxx"}]}]'' |
 +
 +====== 7. Retrieving the idClaim ======
 +
 +[[https://preprod.id360docaposte.com/static/swagger.html#/enrollment/enrollment_idclaim|See the method in Swagger]]
 +
 +----
 +
 +=== 🔧 CURL Request – Production ===
 +<code javascript>
 +curl -X GET \
 +  "https://id360docaposte.com/api/1.0.0/enrollment/{id}/idclaim" \
 +  -H "accept: application/json" \
 +  -H "Authorization: Token 0123456789abcdef01234567"
 +</code>
 +
 +----
 +
 +=== 🔧 CURL Request – Preproduction ===
 +<code javascript>
 +curl -X GET \
 +  "https://preprod.id360docaposte.com/api/1.0.0/enrollment/{id}/idclaim" \
 +  -H "accept: application/json" \
 +  -H "Authorization: Token 0123456789abcdef01234567"
 +</code>
 +
 +----
 +
 +=== 🛠 Technical information ===
 +
 +  * **''{id}''** : user file identifier, retrieved when it is created.
 +  * **Parameters** : none expected in this request.
 +
 +----
 +
 +=== ✅ Expected result ===
 +
 +**HTTP Status** : ''200 OK''
 +
 +**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 ''login'' method**.
 +  * The token must be used in the header of subsequent calls as follows:
 +
 +<code>
 +Authorization: Token token_returned_by_login
 +</code>
  
 ====== Conditions for running ID360 in a WebView ====== ====== Conditions for running ID360 in a WebView ======
Ligne 575: Ligne 625:
   * On Android, initialize the WebView with the **activity context** (and not the application's global context) to ensure proper functioning of elements such as drop-down menus.   * On Android, initialize the WebView with the **activity context** (and not the application's global context) to ensure proper functioning of elements such as drop-down menus.
  
-====== Health Monitoring ======+====== Discontinue an Enrollment ======
  
-You can use the health API to retrieve a JSON containing the status of services used by ID360.+[[https://preprod.id360docaposte.com/static/swagger.html#/Enrollment%20Control/control_discontinue|View the method in Swagger]]
  
-curl "https://id360docaposte.com/health/" -H "accept:application/json"+----
  
-**Example result:** +=== 🔧 CURL Request – Production === 
-  +<code javascript
-<code json+curl -X GET \ 
-    "AR24": { +  "https://id360docaposte.com/api/1.0.0/enrollment/{id}/control/discontinue\ 
-        "local_status": +  -H "AuthorizationToken 0123456789abcdef01234567"
-            "status": "OK", +
-            "time": 1718095009.5825012 +
-        }, +
-        "global_status":+
-            "status": "OK", +
-            "time": 1718095010.3707883 +
-        }, +
-        "all_status":+
-            "0": "OK", +
-            "1": "OK" +
-        } +
-    }, +
-    "Antivirus":+
-        "local_status":+
-            "status": "OK", +
-            "time": 1718095015.1533806 +
-        }, +
-        "global_status": { +
-            "status": "OK", +
-            "time": 1718095017.9609795 +
-        }+
-        "all_status": { +
-            "0": "OK", +
-            "1": "OK" +
-        }, …. +
-    }, ….+
 </code> </code>
  
-**Time**: corresponds to the timestamp of the last update+----
  
-**Two instances "0" and "1"**: make sure both instances of ID360 return an "OK" status+=== 🔧 CURL Request – Preproduction === 
 +<code javascript> 
 +curl -X GET \ 
 +  "https://preprod.id360docaposte.com/api/1.0.0/enrollment/{id}/control/discontinue
 +  -H "Authorization: Token 0123456789abcdef01234567" 
 +</code> 
 + 
 +---- 
 + 
 +=== 🛠 Technical Information === 
 + 
 +  * **''{id}''**: user enrollment identifier, retrieved during its creation. 
 +  * **Parameters**: no parameters are expected in this request. 
 + 
 +---- 
 + 
 +=== ✅ Expected Result === 
 + 
 +**HTTP Status**: ''204 No Content'' 
 + 
 +---- 
 + 
 +=== 💬 Notes ===
  
 +The enrollment status will be changed to **DISCONTINUED**.
  
  

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

Plus d’informations