POST api/Listas/Lista?abreEmpresa={abreEmpresa}&IDContexto={IDContexto}

Actualiza Vista. Business Entity Object: BEParametrosLista.Parâmetro opcionalIdentificador da Vista.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
abreEmpresa

boolean

Default value is True

IDContexto

string

Default value is

Body Parameters

BEParametrosLista
NameDescriptionTypeAdditional information
Vista

Nome da Vista.

string

None.

Condicao

Condição.

string

None.

FormatoExportacao

Formato Retorno.

FormatoRetorno

None.

NumeroRegistos

Número Registos.

integer

None.

Pagina

Página.

integer

None.

Parametros

parâmetros SP.

Collection of BECampo

None.

TotalNumeroRegistos

Devolve na lista na primeira coluna o total de registos.

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Vista": "sample string 1",
  "Condicao": "sample string 2",
  "FormatoExportacao": 0,
  "NumeroRegistos": 3,
  "Pagina": 4,
  "Parametros": [
    {
      "Nome": "sample string 1",
      "Valor": {},
      "Chave": true
    },
    {
      "Nome": "sample string 1",
      "Valor": {},
      "Chave": true
    }
  ],
  "TotalNumeroRegistos": true
}

text/plain

Sample:
{"Vista":"sample string 1","Condicao":"sample string 2","FormatoExportacao":0,"NumeroRegistos":3,"Pagina":4,"Parametros":[{"Nome":"sample string 1","Valor":{},"Chave":true},{"Nome":"sample string 1","Valor":{},"Chave":true}],"TotalNumeroRegistos":true}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BEParametrosLista'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/plain

Sample:
{}