POST api/Reports/Report

Request Information

URI Parameters

None.

Body Parameters

Object

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ExemploModel
NameDescriptionTypeAdditional information
modulo

eCodigoSistema

None.

relatorio

eRelatorios

None.

localCabecalho

eSessaoCabecalho

None.

titulo

string

None.

ano

integer

None.

codigoEscola

integer

None.

cabecalho

eTipoCabecalho

None.

rodape

eTipoRodape

None.

dadosCabecalho

eDadosCabecalho

None.

orientacao

eOrientacao

None.

tamanhoPapel

ePaperSizeEnum

None.

formato

eFormats

None.

parameters

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "modulo": 1,
  "relatorio": 2,
  "localCabecalho": 0,
  "titulo": "sample string 1",
  "ano": 2,
  "codigoEscola": 3,
  "cabecalho": 0,
  "rodape": 0,
  "dadosCabecalho": 0,
  "orientacao": 0,
  "tamanhoPapel": 0,
  "formato": 0,
  "parameters": {}
}

application/xml, text/xml

Sample:
<ReportsController.ExemploModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrystalReportWebAPI.Controllers">
  <ano>2</ano>
  <cabecalho>Nenhum</cabecalho>
  <codigoEscola>3</codigoEscola>
  <dadosCabecalho>Nenhum</dadosCabecalho>
  <formato>NoFormat</formato>
  <localCabecalho>ReportHeader</localCabecalho>
  <modulo>ConsulteBase</modulo>
  <orientacao>orDefault</orientacao>
  <parameters />
  <relatorio>EnsinodaEscola</relatorio>
  <rodape>Oculto</rodape>
  <tamanhoPapel>SizeDefault</tamanhoPapel>
  <titulo>sample string 1</titulo>
</ReportsController.ExemploModel>