GET api/v2/endereco?Cep={Cep}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Cep | string |
None. |
Body Parameters
None.
Response Information
Resource Description
EnderecoCepResultName | Description | Type | Additional information |
---|---|---|---|
Endereco | EnderecoCepBindingModel |
None. |
|
Succeeded | boolean |
None. |
|
Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Endereco": { "Logradouro": "sample string 1", "Bairro": "sample string 2", "Localidade": "sample string 3", "UF": "sample string 4" }, "Succeeded": true, "Errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<EnderecoCepResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.Result"> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <Succeeded xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">true</Succeeded> <Endereco xmlns:d2p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels"> <d2p1:Bairro>sample string 2</d2p1:Bairro> <d2p1:Localidade>sample string 3</d2p1:Localidade> <d2p1:Logradouro>sample string 1</d2p1:Logradouro> <d2p1:UF>sample string 4</d2p1:UF> </Endereco> </EnderecoCepResult>