Páginas filhas
  • NGF - Api - Summary - Get

01. OVERVIEW

Retrieves the total of rows and the sum of fields sent in the GET headers

02. ENDPOINT

Method used: GET
Databases: /api/gfin/v1/Summary

03. REQUEST PARAMETERS

Note: The table and at least one of the fields (field_count, field_sum) are mandatory.
Headers parameters:

Attribute

Type

Description

Default

table

character

the table to be searched in the base (mandatory).


field_count

character

The field that will present the total of rows.


field_sum

character

The field that will present the sum of all values in all the rows.


filter

object

The object with the filters that go to Where.


type

character

The task type


Example:

body

{
  "table: SEA",
  "field_count: *",
  "field_sum: EA_SALDO"
}

04. API RESPONSE

Json Object

Example:

response

{"field_rows":"*","total_rows":915,"field_sum":"EA_SALDO  ","total_sum":0}

  • Sem rótulos