POST api/Endereco/Salvar
Request Information
URI Parameters
None.
Body Parameters
EnderecoView| Name | Description | Type | Additional information |
|---|---|---|---|
| IdEndereco | integer |
None. |
|
| IdEmpresa | integer |
None. |
|
| IdCliente | integer |
None. |
|
| Cep | string |
None. |
|
| Apelido | string |
None. |
|
| Rua | string |
None. |
|
| Numero | string |
None. |
|
| Bairro | string |
None. |
|
| Complemento | string |
None. |
|
| PontoDeReferencia | string |
None. |
|
| Km | decimal number |
None. |
|
| IdLocalizacao | integer |
None. |
|
| IdBairro | integer |
None. |
|
| IdLocalizacaoEmpresa | integer |
None. |
|
| Favorito | boolean |
None. |
|
| Deletado | boolean |
None. |
|
| Ativo | boolean |
None. |
|
| Valor | decimal number |
None. |
|
| Gratuito | boolean |
None. |
|
| FreteGratisSeg | boolean |
None. |
|
| FreteGratisTer | boolean |
None. |
|
| FreteGratisQua | boolean |
None. |
|
| FreteGratisQui | boolean |
None. |
|
| FreteGratisSex | boolean |
None. |
|
| FreteGratisSab | boolean |
None. |
|
| FreteGratisDom | boolean |
None. |
|
| ValorParaFreteGratis | decimal number |
None. |
|
| ValorFretePraca | decimal number |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdEndereco": 1,
"IdEmpresa": 2,
"IdCliente": 3,
"Cep": "sample string 4",
"Apelido": "sample string 5",
"Rua": "sample string 6",
"Numero": "sample string 7",
"Bairro": "sample string 8",
"Complemento": "sample string 9",
"PontoDeReferencia": "sample string 10",
"Km": 11.1,
"IdLocalizacao": 12,
"IdBairro": 13,
"IdLocalizacaoEmpresa": 14,
"Favorito": true,
"Deletado": true,
"Ativo": true,
"Valor": 18.1,
"Gratuito": true,
"FreteGratisSeg": true,
"FreteGratisTer": true,
"FreteGratisQua": true,
"FreteGratisQui": true,
"FreteGratisSex": true,
"FreteGratisSab": true,
"FreteGratisDom": true,
"ValorParaFreteGratis": 27.1,
"ValorFretePraca": 28.1,
"Latitude": "sample string 29",
"Longitude": "sample string 30"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.