GET API/ControleEstoque/ListarClientes
Retorna uma lista dos clientes relacionados ao usuário logado.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of WilsonSons.Terminais.WSNegocio.Modelo.VwRelCliMembershipuserName | Description | Type | Additional information |
---|---|---|---|
Cnpj | string |
None. |
|
RazaoSocial | string |
None. |
|
ApelidoCliente | string |
None. |
|
Membershipuserid | decimal number |
None. |
|
GrupoId | decimal number |
None. |
|
ClienteId | decimal number |
None. |
|
Instancia | WilsonSons.Arquitetura.Framework.GenericObjectHandler.Modelo.BaseDTO |
None. |
|
Estado | System.Data.DataRowState |
None. |
|
Filtrado | boolean |
None. |
|
Original | WilsonSons.Arquitetura.Framework.GenericObjectHandler.Modelo.BaseDTO |
None. |
|
FoiAlterado | boolean |
None. |
|
Lista | Collection of Object |
None. |
|
EdicaoIniciada | boolean |
None. |
|
AdicaoPendente | boolean |
None. |
|
ErroValidacao | string |
None. |
|
ErroValidacaoItem | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "RazaoSocial": "sample string 1", "ApelidoCliente": "sample string 2", "Membershipuserid": 3.0, "Cnpj": "sample string 4", "GrupoId": 5.0, "ClienteId": 6.0 }, { "RazaoSocial": "sample string 1", "ApelidoCliente": "sample string 2", "Membershipuserid": 3.0, "Cnpj": "sample string 4", "GrupoId": 5.0, "ClienteId": 6.0 } ]
application/xml, text/xml
Sample:
<ArrayOfVwRelCliMembershipuser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo"> <VwRelCliMembershipuser> <RazaoSocial xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</RazaoSocial> <ApelidoCliente xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</ApelidoCliente> <Membershipuserid xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">3</Membershipuserid> <Cnpj xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 4</Cnpj> <GrupoId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">5</GrupoId> <ClienteId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">6</ClienteId> </VwRelCliMembershipuser> <VwRelCliMembershipuser> <RazaoSocial xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</RazaoSocial> <ApelidoCliente xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</ApelidoCliente> <Membershipuserid xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">3</Membershipuserid> <Cnpj xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 4</Cnpj> <GrupoId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">5</GrupoId> <ClienteId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">6</ClienteId> </VwRelCliMembershipuser> </ArrayOfVwRelCliMembershipuser>