Páginas filhas
  • Guia de implementacao das APIs TOTVS

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Exemplo de filtros no padrão odata:

OperatorDescriptionExample
Logical Operators
EqEqual/Suppliers?$filter=Address/City eq 'Redmond'
NeNot equal/Suppliers?$filter=Address/City ne 'London'
GtGreater than/Products?$filter=Price gt 20
GeGreater than or equal/Products?$filter=Price ge 10
LtLess than/Products?$filter=Price lt 20
LeLess than or equal/Products?$filter=Price le 100
AndLogical and/Products?$filter=Price le 200 and Price gt 3.5
OrLogical or/Products?$filter=Price le 3.5 or Price gt 200
NotLogical negation/Products?$filter=not endswith(Description,'milk')
Grouping Operators
( )Precedence grouping/Products?$filter=(Price sub 5) gt 10



Paginação

Todos os endpoints de coleção devem suportar paginação. A definição de como a coleção deve ser paginada é definida pelos parâmetros de url page e pageSize respeitando as seguintes regras:

...