API LEXLOGOS

Reconnaissance de documents

OCRisation - 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://staging.api.ocr.lexlogos.fr/v1/ocr" \
    -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\",\"custom_id\":\"CSyinV9Qmtx6j\",\"webhook\":\"http:\\/\\/letellier.com\\/sit-consequatur-quos-id-magnam-aut-nesciunt\",\"pdf_base_64\":\"UnQ0Sm81cFRhQzM1OG16Z3Yxd09KZ3VBcWhMWXJSWEJjMmNmTzdJSzYxRHd4V3VCeGhWakZRTXFkblphbm0wZkdLSTdVckVla0hZRkg0c2l2VzNHalFaWEQwNmRrcExTb1Vscw==\"}"

curl "https://staging.api.ocr.lexlogos.fr/v1/ocr" \
    -X POST \
    -H "Accept: application/xml" \
    -H "Content-Type: application/xml" \
    -H "Accept-Charset: UTF-8" \
    -d "Votre application IDVotre API KeyGahJq0qpOfiEihttp://duhamel.com/quam-qui-unde-dolorum-molestias-rerum-quiajVleERlMTRoSUI3bXY2MzJ4cVBxQm9POVFTTUo5TmJmSGIwbHRYWWR6YWtaR3c1VE9rcm5vSHp3NlZwZGxXZk1zbllhRmdYNEFXeUU4dExpeVZVaHZOUDJLcGlMMW1EckpLdQ=="

            

Reconnaissance de documents

application_id string obligatoire
ApplicationID de l'utilisateur
api_key string obligatoire
Clé API de l'utilisateur
custom_id string obligatoire
Identifiant de suivi de l'utilisateur
webhook string obligatoire
URL de webhook
pdf_base_64 string obligatoire
fichier PDF en base 64

Exemple

                    
{
    "application_id": "Votre application ID",
    "api_key": "Votre API Key",
    "custom_id": "Q3v8JQdZaN0yY",
    "webhook": "http:\/\/royer.fr\/",
    "pdf_base_64": "R1RIajJXbHpNVGNPSWZjU3RLZE43cUhuVjVyek9aQlJBaG9ZclFCdXd5MUZwUElidG9EOUY0Sm1FMkRhc2gwOFdHdkxnQVBLZWtDYUw3M3h2VnhRWHM4aTVVZ0V5TWJTTmpKbg=="
}                    
                    

Votre application IDVotre API KeyB3y38EMOuc5rChttp://martineau.com/facilis-ut-numquam-ut-dignissimos-natus-possimus-temporaUEhVWFpLRzRoZ1lHZmNKaFM0QmV3RlRyOXZQVWtPRGpMQjNzdDVDUzdIajhEQTBKbW9xcTAzeXQxWWFwSUVPVDVzN3VjS0lSbmtuOFhWaWRObFdFejF1QWdNYjZOWjZtbzJXaQ==
                    
                

Réponse API

error boolean obligatoire
Présence d'erreur(s) ou non
error_message string Message d'erreur lorsqu'une erreur est produite

Exemple

                    
{
    "error": true,
    "error_message": "Labore non debitis fuga."
}                    
                    

1Distinctio quia quia autem reprehenderit.