API LEXLOGOS

Prédiction

Prédiction type d'annonce légale - API

JSON XML

Entête HTTP

Content-Type Obligatoire
application/json
application/xml
Accept Obligatoire
application/json
application/xml
POST

ENDPOINT

Exemple de requête avec curl

curl "https://api.al.lexlogos.fr/v1/prediction" \
    -X POST \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -H "Accept-Charset: UTF-8" \
    -d "{\"application_id\":\"Votre application ID\",\"api_key\":\"Votre API Key\",\"annonce\":{\"texte\":\"eHdhano4WEN2M01EMkNKTDlZcXdjRXZTSmdUbmhrVjZLNE5GNjlSMVU1TG1GSG9kcHE1UWswNFd6WXNVUjFJbXVaWjdTZ3RyaVBjck9mRXBiRGFPSHllZEdQbGlOVjJ5ZTg3SQ==\"}}"

curl "https://api.al.lexlogos.fr/v1/prediction" \
    -X POST \
    -H "Accept: application/xml" \
    -H "Content-Type: application/xml" \
    -H "Accept-Charset: UTF-8" \
    -d "Votre application IDVotre API KeybFR4Q1U2U3hHNjhGNWlKT3RUZTMwUEtOdFF2N1dnQUI0Ykp3b1NJT2oyTWtrRTlDbUxmTkZIMWQ3V3lwUmFudXN6VTlYTE1oYmxqQlljaERjVmVmMnZYQWFzMHlpS1k1cmd6OA=="

            

Prédiction

application_id string obligatoire
ApplicationID de l'utilisateur
api_key string obligatoire
Clé API de l'utilisateur
annonce Annonce légale obligatoire
Informations sur l'annonce légale

Exemple

                    
{
    "application_id": "Votre application ID",
    "api_key": "Votre API Key",
    "annonce": {
        "texte": "dm1KdE1aZ1FkaU1zbWN3RkFLSDZwMkNJNDVWb0dLMXdkVFVsN05QWEYxMG5mWGgzQVdZc09SNmFoa0xmUEJFb2oydHhRYmFaZzhKOTRIN2VxSUxTVkVHYzBEOFVPeldlbHF5dg=="
    }
}                    
                    

Votre application IDVotre API KeyM2w0aGVvcFhtc3ZEclZWMlBKeTlPVE1pUjNBMjVIaUJ3VHhVZHN1U0pOeEd0V3VxSWFhMHY2S3pJWU1uUVBBV2hPZkVVZTg2eTduamtjRm1iNzlTSE5aOHpjbEJSTEZDcGtabw==
                    
                

Annonce légale

texte string obligatoire
Contenu de l'annonce légale en base64

Exemple

                    
{
    "texte": "anhoWXdNMDZRWlh0YUFnTko3OHozNG1POTcwenNqVHk5U0dCSVBTRlJIREJocnlaTUFzdWlvVWI2Y0t1Q1Uza29QRTIxZURFWHZsVEoxdDJ2ZFZjSGZWUWVpR2tPcDVXYndhUg=="
}                    
                    

Y09uZzE0dmxKYU82TWRSOHVVcjNlTFRDMjVad1Z0MFRKS25OSHVLd2hrNjlyRzRvZ2lORVgxRXFqaUFkZnh6YlltRnlscXpmV0M4b0lXSUR0YnkwY0FQYTVMTTdCSHBZU2pRUA==
                    
                

Réponse API

error boolean obligatoire
Présence d'erreur(s) ou non
error_message string Message d'erreur lorsqu'une erreur est produite
result Détail de la prédiction Détail de la prédiction

Exemple

                    
{
    "error": false,
    "error_message": "Enim aperiam quod totam veniam.",
    "result": {
        "type": "constitution_societe_civile",
        "score": 0.69,
        "confidence": true,
        "credit": 92285
    }
}                    
                    

1Atque ut voluptatum harum autem.modification_dirigeant0.33735
                    
                

Détail de la prédiction

type Enum:
constitution_sarlu
constitution_sarl
constitution_sasu
constitution_sas
constitution_sci
constitution_societe_civile
constitution_snc
constitution_sa
modification_denomination
modification_siege_social
modification_forme_juridique
modification_capital_social
modification_reduction_capital_social
modification_dirigeant
modification_nomination_administrateur
modification_changement_cac
modification_associes
modification_objet_social
modification_prorogation_duree
modification_multiples
modification_perte_moitie_capital
dissolution_anticipee
cloture_liquidation
dissolution_anticipee_et_cloture
location_gerance
tup
additif_rectificatif
cession_fonds_commerce
avis_fusion
changement_nom_patronymique
Unknown
obligatoire
Type d'annonce
score float obligatoire
Score de la prédiction
confidence boolean obligatoire
Indice de confiance de la prédiction
credit int Nombre de crédit(s)

Exemple

                    
{
    "type": "constitution_sci",
    "score": 0.92,
    "confidence": false,
    "credit": 77372
}                    
                    

modification_reduction_capital_social0.87144059