GET api/Garantia/GetDadosNF/{codweb}/{tipo}
Retorna dados da Nota Fiscal de um processo de garantia, Registro/Revisao/SG
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| codweb | integer |
Required |
|
| tipo |
REG; REV; S_G |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
JsonDadosNFDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| NroSerie |
Numero de serie do aparelho |
string |
None. |
| Tipo |
Tipo do documento REG = REGISTRO DE EQUIPAMENTO; REV = REVISÃO; SG = SOLICITAÇÃO DE GARANTIA |
string |
None. |
| NroNF |
numero da NF do serviço informado |
string |
None. |
| SerieNF |
Serie da NF do serviço informado |
string |
None. |
| Arquivo |
Arquivo da nota fiscal |
JsonArquivoNF |
None. |
Response Formats
application/json, text/json
Sample:
{
"NroSerie": "sample string 1",
"Tipo": "sample string 2",
"NroNF": "sample string 3",
"SerieNF": "sample string 4",
"Arquivo": {
"NomeArquivo": "sample string 1",
"TipoArquivo": "sample string 2",
"Conteudo": "sample string 3"
}
}
application/xml, text/xml
Sample:
<JsonDadosNFDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Transicold.Garantia.Web.Api.Models">
<Arquivo>
<Conteudo>sample string 3</Conteudo>
<NomeArquivo>sample string 1</NomeArquivo>
<TipoArquivo>sample string 2</TipoArquivo>
</Arquivo>
<NroNF>sample string 3</NroNF>
<NroSerie>sample string 1</NroSerie>
<SerieNF>sample string 4</SerieNF>
<Tipo>sample string 2</Tipo>
</JsonDadosNFDTO>