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\":\"dmp2WWxBY2JzZmtqcEFNQks4eXJHSzE3aURRcDBJYTN3YTYwV3V3OFc5UEpaZnNrdHQ2VmV1RmQzb3FoMllFNHJxU0Q1eUVSY1RnTFVsUGI1Q3pJUVpvZXhST21MeDFtRk40Sg==\"}}"

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 KeyMzZ3WTVrYVJPQjVJNjk4bGlqUHIwOEpzbXlKdHpwQ1R2Y01jOXBPb3cyUzNEZVFraWV0bWIxcVZMQUxzWXI3dU5IbjBaZm5FeEVDenFITlVYV0QyZnhWSUFVakIxV3VHZG80aA=="

            

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": "TXhxdzc0VWl5aEVDUGdvNWxrUm9TeFgyWml1cnJFNVYxMFdkbXltTkJxQWVLekk5YkgyOFlORGZBR2FlVGtMNjlRM3ZGSVBaMDZLSE9YQ1Z0YkwxY0Q4RlJ6ZG5od1V1akJzYw=="
    }
}                    
                    

Votre application IDVotre API KeyMzRCOVBESnphdlg2MEdqUXRyQUhMekVRazFoUGlIVEZJM2VvbGU1UkJMVW1ZWmNpVjAyYXBYOWRLN3lWRTR3YkR2bVM4NWxTd3h1dGRSS0kxc2drbmZiY0N1V0NPMk02blpXTQ==
                    
                

Annonce légale

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

Exemple

                    
{
    "texte": "N3RBOGowMmQ0Zm5JeUNPc0I5cHd6ZGhnMmd0ZVprVURISnpXb3V3VnZiaURuS05ta1pZTHI1NVdFVXlqTjRYR2ExN1BsTUJsOUp4QWVvM0U2eFFmUmMxWE1GU0xxVlJIclBUSQ=="
}                    
                    

enhsdUE2R0pySXFjTmJjQ0J4S3Y1bXlab1NENHVmSWt5YTZIM0s5bllzaXBURjlwdENuV3JiME5Zb0YyMWdqdGRtU0dWUXd3VThza1RQVloxWFJnamhSaUE4MjBKaGFRRGRMcQ==
                    
                

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": "Excepturi tempora aut est deleniti voluptatum.",
    "result": {
        "type": "dissolution_anticipee",
        "score": 0.44,
        "confidence": false,
        "credit": 99717
    }
}                    
                    

Ad optio architecto quia.dissolution_anticipee0.211088
                    
                

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": "avis_fusion",
    "score": 0.27,
    "confidence": false,
    "credit": 69009
}                    
                    

cession_fonds_commerce0.3468549