GET api/MotivoTroca
Documentation for 'Get'.
Response Information
Response body formats
application/json, text/json
Sample:
[ { "Codigo": 1, "Descricao": "sample string 2" }, { "Codigo": 1, "Descricao": "sample string 2" }, { "Codigo": 1, "Descricao": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfMotivoTrocaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LMX.ViewModel.HubFidelidade.ERP"> <MotivoTrocaViewModel> <Codigo>1</Codigo> <Descricao>sample string 2</Descricao> </MotivoTrocaViewModel> <MotivoTrocaViewModel> <Codigo>1</Codigo> <Descricao>sample string 2</Descricao> </MotivoTrocaViewModel> <MotivoTrocaViewModel> <Codigo>1</Codigo> <Descricao>sample string 2</Descricao> </MotivoTrocaViewModel> </ArrayOfMotivoTrocaViewModel>