GET modelagem/consultaVendasRFM?vendedorId={vendedorId}&dataVenda={dataVenda}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| vendedorId | integer |
Required |
|
| dataVenda | string |
Required |
Body Parameters
None.
Response Information
Resource Description
VendaRFMResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| VendaId | integer |
None. |
|
| ValorTotal | decimal number |
None. |
|
| FormaPagto | string |
None. |
|
| Cliente | string |
None. |
|
| Itens | Collection of VendaItemRFMResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"VendaId": 1,
"ValorTotal": 2.0,
"FormaPagto": "sample string 3",
"Cliente": "sample string 4",
"Itens": [
{
"Produto": "sample string 1",
"Qtd": 2,
"VlUnit": 3.0,
"VlTot": 4.0
},
{
"Produto": "sample string 1",
"Qtd": 2,
"VlUnit": 3.0,
"VlTot": 4.0
}
]
}
application/xml, text/xml
Sample:
<VendaRFMResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiRedeFlex.Models.Modelagem.Response">
<Cliente>sample string 4</Cliente>
<FormaPagto>sample string 3</FormaPagto>
<Itens>
<VendaItemRFMResponse>
<Produto>sample string 1</Produto>
<Qtd>2</Qtd>
<VlTot>4</VlTot>
<VlUnit>3</VlUnit>
</VendaItemRFMResponse>
<VendaItemRFMResponse>
<Produto>sample string 1</Produto>
<Qtd>2</Qtd>
<VlTot>4</VlTot>
<VlUnit>3</VlUnit>
</VendaItemRFMResponse>
</Itens>
<ValorTotal>2</ValorTotal>
<VendaId>1</VendaId>
</VendaRFMResponse>