replace_routing_code
Replace an existing routing code entirely by providing all required fields. Requires a confirmation token after displaying summary to the user.
Instructions
Fully replace a routing code (PUT /code-routage/id-instance:{id-instance}). Unlike update_routing_code, all fields are required and replace the existing object entirely.
HUMAN-IN-THE-LOOP: Requires user confirmation. Call without confirmation_token first, show the summary to the user, then call again with the token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_instance | Yes | Directory instance ID (idInstance) of the routing code. | |
| confirmation_token | No | Confirmation token from a previous call. Omit on the first call. | |
| etat_administratif | Yes | 'A' (active) or 'F' (closed). | |
| libelle_code_routage | Yes | Label for the routing code. | |
| type_identifiant_routage | Yes | 4-digit type code (typeIdentifiantRoutage). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||