| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
| en:guide_du_developpeur_capture [2025/10/20 15:28] – [Developer Guide – ID360 Capture] admin | en:guide_du_developpeur_capture [2026/01/26 14:44] (Version actuelle) – admin |
|---|
| === 🔧 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 |
| | * **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. |
| |
| ---- | ---- |
| |
| ^ Parameter ^ Required ^ Details ^ | ^ Parameter ^ Required ^ Details ^ |
| | ''username'' | Yes | Login identifier | | | ''username'' | Yes | Login identifier (by default, the application login)| |
| | ''password'' | Yes | Password | | | ''password'' | Yes | Password | |
| | ''token'' | No (except for admin) | Unnecessary for `application` accounts. Required only for `admin` accounts with two-factor authentication | | | ''token'' | No (except for admin) | Unnecessary for `application` accounts. Required only for `admin` accounts with two-factor authentication | |
| * **''group''**: optional – Allows consumption exports based on user-defined groups. | * **''group''**: optional – Allows consumption exports based on user-defined groups. |
| |
| > For more information about callback_endpoints, see [[https://wiki.id360docaposte.com/doku.php?id=en:guide_callbacks|this dedicated guide]]. | > For more information about callback_endpoints, see [[https://id360.doca-id.com/doku.php?id=en:guide_callbacks|this dedicated guide]]. |
| |
| ---- | ---- |
| ====== 3. Data Comparison (optional) ====== | ====== 3. Data Comparison (optional) ====== |
| |
| In the process configuration, it is essential to select **at least one data field to compare**. | In the process configuration, it is mandatory to select **at least one data field to compare**. |
| To do this, go to the **''Information Entry''** block and choose the elements to compare. | To do so, go to the **''Information input''** block and choose the elements to compare. |
| | |
| | Then, under the “Validations selection”, click on “Identity” and check the controls you want to enable. |
| | For example, “Verify coherence with the identity name.” |
| |
| [[https://preprod.id360docaposte.com/static/swagger.html#/Enrollment%20Control/control_data|See the method in Swagger]] | [[https://preprod.id360docaposte.com/static/swagger.html#/Enrollment%20Control/control_data|See the method in Swagger]] |
| "https://id360docaposte.com/api/1.0.0/enrollment/{id}/control/data/{data_name}/?locked=true" \ | "https://id360docaposte.com/api/1.0.0/enrollment/{id}/control/data/{data_name}/?locked=true" \ |
| -H "accept: application/json" \ | -H "accept: application/json" \ |
| -H "Authorization: Token 0123456789abcdef01234567" | -H "Authorization: Token 0123456789abcdef01234567" \ |
| | -H "Content-Type: text/plain" |
| </code> | </code> |
| |
| "https://preprod.id360docaposte.com/api/1.0.0/enrollment/{id}/control/data/{data_name}/?locked=true" \ | "https://preprod.id360docaposte.com/api/1.0.0/enrollment/{id}/control/data/{data_name}/?locked=true" \ |
| -H "accept: application/json" \ | -H "accept: application/json" \ |
| -H "Authorization: Token 0123456789abcdef01234567" | -H "Authorization: Token 0123456789abcdef01234567" \ |
| | -H "Content-Type: text/plain" |
| </code> | </code> |
| |
| |
| **HTTP Status**: ''200 OK'' | **HTTP Status**: ''200 OK'' |
| | |
| **Response format**: JSON | **Response format**: JSON |
| |
| * 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. |
| |
| | ====== Discontinue an Enrollment ====== |
| | |
| | [[https://preprod.id360docaposte.com/static/swagger.html#/Enrollment%20Control/control_discontinue|View the method in Swagger]] |
| | |
| | ---- |
| | |
| | === 🔧 CURL Request – Production === |
| | <code javascript> |
| | curl -X GET \ |
| | "https://id360docaposte.com/api/1.0.0/enrollment/{id}/control/discontinue" \ |
| | -H "Authorization: Token 0123456789abcdef01234567" |
| | </code> |
| | |
| | ---- |
| | |
| | === 🔧 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**. |