ImesI

<back to all web services

GetReportLiquidacio

Requires Authentication
The following routes are available for this service:
GET/liquidacions/{Id}/PDF/{Report}
GetReportLiquidacio Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
ReportpathstringNo
ResumLiquidacio Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
DataEmissioformDateTimeOffset?No
MesformintNo
AnyformintNo
PropietariIdformintNo
NumeroFacturaformstringNo
PercentformdoubleNo
TotalLloguerformdecimalNo
TotalPagamentsformdecimalNo
ImportAdmformdecimalNo
IVAformdecimalNo
TotalIVAformdecimalNo
TotalAdmformdecimalNo
TotalIngressarformdecimalNo
IBANformstringNo
Facturatformbool?No
ComentarisformstringNo
NumFinquesformintNo
NomMesESformstringNo
NomMesCAformstringNo
IdiomaformIdiomaNoCodi d'idioma

Allowable Values

  • es
  • ca
NomformstringNo
CognomsformstringNo
RaoSocialformstringNo
NifformstringNo
Adreca1formstringNo
Adreca2formstringNo
CPformstringNo
PoblacioformstringNo
ProvinciaformstringNo
PaisformstringNo
fnformstringNo
Idioma Enum:
NameValue
es1CastellĂ 
ca2CatalĂ 

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /liquidacions/{Id}/PDF/{Report} HTTP/1.1 
Host: gpv.ocellot.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Id":0,"DataEmissio":"0001-01-01T00:00:00.0000000+00:00","Mes":0,"Any":0,"PropietariId":0,"NumeroFactura":"String","Percent":0,"TotalLloguer":0,"TotalPagaments":0,"ImportAdm":0,"IVA":0,"TotalIVA":0,"TotalAdm":0,"TotalIngressar":0,"IBAN":"String","Facturat":false,"Comentaris":"String","NumFinques":0,"NomMesES":"String","NomMesCA":"String","Idioma":"es","Nom":"String","Cognoms":"String","RaoSocial":"String","Nif":"String","Adreca1":"String","Adreca2":"String","CP":"String","Poblacio":"String","Provincia":"String","Pais":"String","fn":"String"}