Classe: Server

1. deleteAttachment

Start Line: 1807

/**
* Deleção lógica de Anexos para COMPROMISSO_PERSON_ANEXO, HISTORICO_PERSON_ANEXO e OPORTUNIDADE_ANEXO
* @URI /server/deleteAttachment/@company/@domain/@id
* @method POST
* @return json
*/

2. deleteCliente

Start Line: 1263

/**
* Deleta um cliente especificado pelo ID
* @URI /server/deleteCliente/@idUser/@id
* @method GET
* @return json
*/

3. deleteCompromisso

Start Line: 1367

/**
* Deleta um compromisso especificado pelo ID
* @URI /server/deleteCompromisso/@idUser/@id
* @method GET
* @return json
*/

4. deleteContato

Start Line: 1313

/**
* Deleta um histórico especificado pelo ID
* @URI /server/deleteHistorico/@idUser/@id
* @method GET
* @return json
*/

5. deleteDespesa

Start Line: 1159

/**
* Deleta os dados dos apontamentos de DESPESA no dia selecionado ou uma despesa específica
* @URI /server/deleteDespesa/@idUsuario/@data
* @URI /server/deleteDespesa/@idDespesa/@data
* @method GET
* @return json
*/

6. deleteHistorico

Start Line: 1210

/**
* Deleta um histórico especificado pelo ID
* @URI /server/deleteHistorico/@idUser/@id
* @method GET
* @return json
*/

7. deleteOportunidade

Start Line: 1422

/**
* Deleta uma oportunidade especificada pelo ID
* @URI /server/deleteOportunidade/@idUser/@id
* @method GET
* @return json
*/

8. finalizarCompromisso

Start Line: 1475

/**
* Finaliza o COMPROMISSO
* @URI /server/finalizarCompromisso/@obj[historico]
* @method POST
* @return json
*/

9. getAtividades

Start Line: 597

/**
* Retorna os dados das ATIVIDADES
* @URI /server/getAtividades
* @method GET
* @return json
*/

10. getAttachment

Start Line: 1904

/**
* Lista de Anexos para COMPROMISSO_PERSON_ANEXO, HISTORICO_PERSON_ANEXO e OPORTUNIDADE_ANEXO
* @URI /server/getAttachment/@company/@domain/@fkUser/@fkPerson/@pkRow/@id
* @method POST
* @return json / file
*/

11. getAttachmentsList

Start Line: 1841

/**
* Lista de Anexos para COMPROMISSO_PERSON_ANEXO, HISTORICO_PERSON_ANEXO e OPORTUNIDADE_ANEXO
* @URI /server/getAttachmentsList/@company/@domain/@fkUser/@fkPerson/@pkRow
* @method POST
* @return json
*/

12. getCheckInOut

Start Line: 1520

/**
* Retorna os dados de CheckInOut por Vendedor
* @URI /server/getCheckInOut/@idUser
* @method GET
* @return json
*/

13. getCheckInOutById

Start Line: 1537

/**
* Retorna as os dados de CheckInOut por ID
* @URI /server/getCheckInOutById/@id
* @method GET
* @return json
*/

14. getCidades

Start Line: 865

/**
* Retorna as CIDADES do estado selecionado
* @URI /server/getCidades/@idEstado
* @method GET
* @return json
*/

15. getCliClass

Start Line: 108

/**
* Retorna os dados dos Classificação do Cliente
* @URI /server/getCliClass
* @method GET
* @return json
*/

16. getClienteById

Start Line: 687

/**
* Retorna os dados do CLIENTE selecionado
* @URI /server/getClienteById/@idCliente
* @method GET
* @return json
*/

17. getClientesVendedor

Start Line: 637

/**
* Retorna os clientes do VENDEDOR
* @URI /server/getClientesVendedor/@idVendedor
* @method GET
* @return json
*/

18. getComissaoVendedor

Start Line: 229

/**
* Retorna os orçamentos do VENDEDOR
* @URI /server/getOrcamentosVendedor/@idVendedor
* @method GET
* @return json
*/

19. getCommitmentAttachments

Start Line: 987

/**
* Retorna os ANEXOS dos COMPROMISSOS
* @URI /server/getCommitmentAttachments/
* @method GET
* @return json
*/

20. getCommitmentPersonComp

Start Line: 774

/**
* Retorna todos as IDs dos cliente compartilhados
* @URI /server/getPersonUser/@idUser/@userGroup
* @method GET
* @return json
*/

21. getCompromissoById

Start Line: 973

/**
* Retorna o COMPROMISSO selecionado
* @URI /server/getCompromissoById/@idCompromisso
* @method GET
* @return json
*/

22. getCompromissosCliente

Start Line: 956

/**
* Retorna os COMPROMISSOS da agenda do CLIENTE
* @URI /server/getCompromissosCliente/@idCliente/@data
* @method GET
* @return json
*/

23. getCompromissosVendedor

Start Line: 907

/**
* Retorna os COMPROMISSOS da agenda do VENDEDOR
* @URI /server/getCompromissosVendedor/@idVendedor/@data
* @method GET
* @return json
*/

24. getConcorrentes

Start Line: 627

/**
* Retorna os dados dos Concorrentes
* @URI /server/getConcorrentes
* @method GET
* @return json
*/

25. getCondicoesPagamento

Start Line: 493

/**
* Retorna todos os CONDICOES PAGAMENTO
* @URI /server/getCondicoesPagamento
* @method GET
* @return json
*/

26. getContatoById

Start Line: 821

/**
* Retorna os dados do CONTATO selecionado
* @URI /server/getContatoById/@idContato
* @method GET
* @return json
*/

27. getContatosCliente

Start Line: 890

/**
* Retorna os CONTATOS do cliente selecionado
* @URI /server/getContatosCliente/@idCliente
* @method GET
* @return json
*/

28. getCultivation

Start Line: 168

/**
* Retorna os dados das Culturas
* @URI /server/getCultivation
* @method GET
* @return json
*/

29. getCultivationType

Start Line: 158

/**
* Retorna os dados dos Tipos de Cultura
* @URI /server/getCultivationType
* @method GET
* @return json
*/

30. getDespesa

Start Line: 1109

/**
* Retorna os dados dos apontamentos de DESPESA no dia selecionado
* @URI /server/getDespesa/@idUsuario/@data
* @method GET
* @return json
*/

31. getEnderecosByCliente

Start Line: 807

/**
* Retorna todos os ENDEREÇOS DO CLIENTE
* @URI /server/getEnderecosByCliente/@idCliente
* @method GET
* @return json
*/

32. getEnterprise

Start Line: 617

/**
* Retorna os dados das Empresas
* @URI /server/getEnterprise
* @method GET
* @return json
*/

33. getEquipment

Start Line: 148

/**
* Retorna os dados dos Equipamentos
* @URI /server/getEquipment
* @method GET
* @return json
*/

34. getEquipmentBrand

Start Line: 138

/**
* Retorna os dados das Marcas de Equipamento
* @URI /server/getEquipmentBrand
* @method GET
* @return json
*/

35. getEquipmentModel

Start Line: 128

/**
* Retorna os dados dos Modelos de Equipamento
* @URI /server/getEquipmentModel
* @method GET
* @return json
*/

36. getEstados

Start Line: 855

/**
* Retorna os dados dos ESTADOS
* @URI /server/getEstados
* @method GET
* @return json
*/

37. getEstagios

Start Line: 1081

/**
* Retorna os ESTÁGIOS
* @URI /server/getEstagios/@idEmpresa
* @method GET
* @return json
*/

38. getFormasPagamento

Start Line: 483

/**
* Retorna todos os FORMAS PAGAMENTO
* @URI /server/getFormasPagamento
* @method GET
* @return json
*/

39. getGeradores

Start Line: 835

/**
* Retorna os dados dos GERADORES
* @URI /server/getGeradores
* @method GET
* @return json
*/

40. getHistoricoById

Start Line: 1037

/**
* Retorna os dados do HISTÓRICO selecionado
* @URI /server/getHistoricoById/@idHistorico
* @method GET
* @return json
*/

41. getHistoricosCliente

Start Line: 1018

/**
* Retorna os HISTÓRICOS do cliente selecionado
* @URI /server/getHistoricosCliente/@idCliente
* @method GET
* @return json
*/

42. getHistoryAttachments

Start Line: 1050

/**
* Retorna os ANEXOS dos HISTÓRICOS
* @URI /server/getHistoryAttachments/
* @method GET
* @return json
*/

43. getJson

Start Line: 2013

44. getLogActions

Start Line: 1581

/**
* Retorna os dados de Log de Acoes (sincronizacao mobile)
* @URI /server/getLogActions/@date(Y-m-d)
* @method GET
* @return json
*/

45. getMotivoVendaPerdida

Start Line: 607

/**
* Retorna os dados das Motivo Venda Perdida
* @URI /server/getMotivoVendaPerdida
* @method GET
* @return json
*/

46. getNaturezasOperacao

Start Line: 503

/**
* Retorna todas as NATUREZAS OPERACAO
* @URI /server/getNaturezasOperacao
* @method GET
* @return json
*/

47. getOportunidade

Start Line: 314

/**
* Retorna os dados da OPORTUNIDADE selecionada
* @URI /server/getOportunidade/@idOportunidade
* @method GET
* @return json
*/

48. getOportunidadesCliente

Start Line: 419

/**
* Retorna as oportunidades do CLIENTE
* @URI /server/getOportunidadesCliente/@idCliente
* @method GET
* @return json
*/

49. getOportunidadesVendedor

Start Line: 385

/**
* Retorna as oportunidades do VENDEDOR
* @URI /server/getOportunidadesVendedor/@idVendedor
* @method GET
* @return json
*/

50. getOpportunityAttachments

Start Line: 452

/**
* Retorna os ANEXOS das OPORTUNIDADE
* @URI /server/getOpportunityAttachments/
* @method GET
* @return json
*/

51. getOpportunityDueToHist

Start Line: 356

52. getOpportunityUser

Start Line: 328

/**
* Retorna os dados da OPORTUNIDADE_USER selecionada
* @URI /server/getOpportunityUser/@idUser
* @method GET
* @return json
*/

53. getOrcamento

Start Line: 179

/**
* Retorna os dados da ORCAMENTO selecionada
* @URI /server/getOrcamento/@idOrcamento
* @method GET
* @return json
*/

54. getOrcamentosCliente

Start Line: 276

/**
* Retorna os orçamentos do CLIENTE
* @URI /server/getOrcamentosCliente/@idCliente
* @method GET
* @return json
*/

55. getOrcamentosVendedor

Start Line: 204

/**
* Retorna os orçamentos do VENDEDOR
* @URI /server/getOrcamentosVendedor/@idVendedor
* @method GET
* @return json
*/

56. getOrigens

Start Line: 880

/**
* Retorna os dados de ORIGENS
* @URI /server/getOrigem
* @method GET
* @return json
*/

57. getPaises

Start Line: 845

/**
* Retorna os dados dos Países
* @URI /server/getPaises
* @method GET
* @return json
*/

58. getPersonTypes

Start Line: 118

/**
* Retorna os dados dos Tipo de Cliente
* @URI /server/getPersonTypes
* @method GET
* @return json
*/

59. getPersonUser

Start Line: 703

/**
* Retorna todos as IDs dos cliente compartilhados
* @URI /server/getPersonUser/@idUser/@userGroup
* @method GET
* @return json
*/

60. getPotenciais

Start Line: 523

/**
* Retorna todos os Potenciais
* @URI /server/getPotenciais
* @method GET
* @return json
*/

61. getProductFamilies

Start Line: 577

/**
* Retorna os dados das Famílias de produto
* @URI /server/getProductFamilies
* @method GET
* @return json
*/

62. getProductGroups

Start Line: 587

/**
* Retorna os dados dos Grupos de produto
* @URI /server/getProductGroups
* @method GET
* @return json
*/

63. getProdutos

Start Line: 545

/**
* Retorna todos os PRODUTOS
* @URI /server/getProdutos
* @method GET
* @return json
*/

64. getProdutosOportunidade

Start Line: 433

/**
* Retorna os produtos da OPORTUNIDADE
* @URI /server/getProdutosOportunidade/@idOportunidade
* @method GET
* @return json
*/

65. getProdutosOrcamento

Start Line: 290

/**
* Retorna os produtos do ORCAMENTO
* @URI /server/getProdutosOrcamento/@idOrcamento
* @method GET
* @return json
*/

66. getProperties

Start Line: 746

/**
* Retorna todos as Property dos clientes
* @URI /server/getProperties/@idUser/@userGroup
* @method GET
* @return json
*/

67. getSegments

Start Line: 98

/**
* Retorna os dados dos Segmentos
* @URI /server/getSegments
* @method GET
* @return json
*/

68. getSubordinados

Start Line: 533

/**
* Retorna todos os Subordinados do Vendedor
* @URI /server/getSubordinados/@idVendedor
* @method GET
* @return json
*/

69. getTabelaPreco

Start Line: 246

/**
* Retorna tabela de preço
* @URI /server/getTabelaPreco/@idVendedor
* @method GET
* @return json
*/

70. getTabelaPrecoProduto

Start Line: 256

/**
* Retorna tabelad de preço dos produtos
* @URI /server/getTabelaPrecoProduto/@idVendedor
* @method GET
* @return json
*/

71. getTipoDespesa

Start Line: 1097

/**
* Retorna os tipos de DESPESA
* @URI /server/getDespesa/@idUsuario/@data
* @method GET
* @return json
*/

72. getTransportadoras

Start Line: 513

/**
* Retorna todas as TRANSPORTADORA
* @URI /server/getTransportadoras
* @method GET
* @return json
*/

73. getUserShareCommitment

Start Line: 1987

74. getUserShareCustumers

Start Line: 1974

75. getUserShareOpportunity

Start Line: 2000

76. getUsers

Start Line: 193

/**
* Retorna os dados dos usuários
* @URI /server/getUsers
* @method GET
* @return json
*/

77. getUtilizacaoTabelaPreco

Start Line: 266

/**
* Retorna os orçamentos do VENDEDOR
* @URI /server/getOrcamentosVendedor/@idVendedor
* @method GET
* @return json
*/

78. interceptor

Start Line: 30

79. login

Start Line: 60

/** Login */

80. postAttachment

Start Line: 1731

/**
* Envio de Arquivos (Anexos) para COMPROMISSO_PERSON_ANEXO, HISTORICO_PERSON_ANEXO e OPORTUNIDADE_ANEXO
* @URI /server/postAttachment/@company/@domain/@fkUser/@fkPerson/@pkRow
* @method POST
* @return json
*/

81. postCheckInOut

Start Line: 1552

/**
* Salva o CheckInOut
* @URI /server/postCheckInOut/@obj[checkInOut]
* @method POST
* @return json
*/

82. postCliente

Start Line: 1236

/**
* Salva o CLIENTE
* @URI /server/postCliente/@obj[cliente]
* @method POST
* @return json
*/

83. postCompromisso

Start Line: 1339

/**
* Salva o COMPROMISSO
* @URI /server/postCompromisso/@obj[compromisso]
* @method POST
* @return json
*/

84. postContato

Start Line: 1289

/**
* Salva o CONTATO do Cliente
* @URI /server/postContato/@obj[contato]
* @method POST
* @return json
*/

85. postDespesa

Start Line: 1129

/**
* Salva o apontamento de DESPESA
* @URI /server/postDespesa/@obj[despesa]
* @method POST
* @return json
*/

86. postHistorico

Start Line: 1185

/**
* Salva o HISTÓRICO
* @URI /server/postHistorico/@obj[historico]
* @method POST
* @return json
*/

87. postLogActions

Start Line: 1629

/**
* Processa objeto de sincronizacao recebido do mobile
* @URI /server/postLogActions/@obj[actions]
* @method POST
* @return json
*/

88. postOportunidade

Start Line: 1393

/**
* Salva a OPORTUNIDADE
* @URI /server/postOportunidade/@obj[oportunidade]
* @method POST
* @return json
*/

89. postOrcamento

Start Line: 1448

/**
* Salva o ORCAMENTO
* @URI /server/postOrcamento/@obj[orcamento]
* @method POST
* @return json
*/

90. syncMobileData

Start Line: 1677

/**
* Processa objeto de sincronizacao recebido do mobile
* @URI /server/syncMobileData/
* @method POST
* @return json
*/