Páginas filhas
  • NGF - FINA710 - EndPoint Validate

01. OVERVIEW

Validate if an expression entered is compatible with the ADVPL language.
Note: This process only validates the expression's syntax. Therefore, the expression entered is not executed.

02. ENDPOINT

Method used: POST
Any table: /api/gfin/v1/Validate

03. REQUEST PARAMETERS

Body parameters:

Attribute

Type

Description

Default

expression

character

The expression to be verified

-

Example:bodyParam

/api/gfin/v1/Validate
{
  "expression": "SE1->E1_COD"
}

04. API RESPONSE

Json Object

Attribute

Type

Description

error

Character

The error returned from the validation


Example:bodyParam

/api/gfin/v1/Validate
{
  "expression": "SE1->E1_COD + "
}

response

{
    "error": "C8002-extraneous input '+'"
}

  • Sem rótulos