GET api/Funcionario/GetVendedorEmpresa?token={token}&cdEmpresa={cdEmpresa}

Retorna lista de Vendedores conforme parâmetro recebido

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

Valor recebido pelo método Login >> Entrar

string

Required

cdEmpresa

Código da Empresa do Funcionário

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Vendedor
NameDescriptionTypeAdditional information
CDVENDEDOR

Código do Vendedor

integer

None.

NMVENDEDOR

Nome do Vendedor

string

None.

NMAPELIDOVENDEDOR

Apelido do Vendedor

string

None.

CDEMPRESA

Código da Empresa

integer

None.

NMEMPRESA

Empresa

string

None.

DSEMAIL

Email

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CDVENDEDOR": 1,
    "NMVENDEDOR": "sample string 2",
    "NMAPELIDOVENDEDOR": "sample string 3",
    "CDEMPRESA": 4,
    "NMEMPRESA": "sample string 5",
    "DSEMAIL": "sample string 6"
  },
  {
    "CDVENDEDOR": 1,
    "NMVENDEDOR": "sample string 2",
    "NMAPELIDOVENDEDOR": "sample string 3",
    "CDEMPRESA": 4,
    "NMEMPRESA": "sample string 5",
    "DSEMAIL": "sample string 6"
  }
]