POST api/Declaracao/DownloadXML
Request Information
URI Parameters
None.
Body Parameters
ContribuinteName | Description | Type | Additional information |
---|---|---|---|
ccCpf | string |
None. |
|
cdUltimoAcesso | date |
None. |
|
ccDeclaracaoRetificadora | string |
None. |
|
ccEnderecoDiferente | string |
None. |
|
ccExercicio | string |
None. |
|
ccNome | string |
None. |
|
ccNumReciboDecRetif | string |
None. |
|
ccNumeroReciboDecAnterior | string |
None. |
|
cbPrepreenchida | boolean |
None. |
|
ccResultadoDeclaracao | string |
None. |
|
ccTipoDeclaracao | string |
None. |
|
ccTipoDeclaracaoAES | string |
None. |
|
cbTransmitida | boolean |
None. |
|
ccVersaoBeta | string |
None. |
|
ccCaminhoXMLDeclaracao | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ccCpf": "sample string 1", "cdUltimoAcesso": "2024-10-30T09:16:29.3269959+00:00", "ccDeclaracaoRetificadora": "sample string 2", "ccEnderecoDiferente": "sample string 3", "ccExercicio": "sample string 4", "ccNome": "sample string 5", "ccNumReciboDecRetif": "sample string 6", "ccNumeroReciboDecAnterior": "sample string 7", "cbPrepreenchida": true, "ccResultadoDeclaracao": "sample string 8", "ccTipoDeclaracao": "sample string 9", "ccTipoDeclaracaoAES": "sample string 10", "cbTransmitida": true, "ccVersaoBeta": "sample string 11", "ccCaminhoXMLDeclaracao": "sample string 12" }
application/xml, text/xml
Sample:
<Contribuinte xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EY.Tax.LocalOne.Entity"> <cbPrepreenchida>true</cbPrepreenchida> <cbTransmitida>true</cbTransmitida> <ccCaminhoXMLDeclaracao>sample string 12</ccCaminhoXMLDeclaracao> <ccCpf>sample string 1</ccCpf> <ccDeclaracaoRetificadora>sample string 2</ccDeclaracaoRetificadora> <ccEnderecoDiferente>sample string 3</ccEnderecoDiferente> <ccExercicio>sample string 4</ccExercicio> <ccNome>sample string 5</ccNome> <ccNumReciboDecRetif>sample string 6</ccNumReciboDecRetif> <ccNumeroReciboDecAnterior>sample string 7</ccNumeroReciboDecAnterior> <ccResultadoDeclaracao>sample string 8</ccResultadoDeclaracao> <ccTipoDeclaracao>sample string 9</ccTipoDeclaracao> <ccTipoDeclaracaoAES>sample string 10</ccTipoDeclaracaoAES> <ccVersaoBeta>sample string 11</ccVersaoBeta> <cdUltimoAcesso>2024-10-30T09:16:29.3269959+00:00</cdUltimoAcesso> </Contribuinte>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>