Histórico da Página
...
2.3 Segue abaixo o “Configuration” padrão que de ser alterado os campos em vermelho com as informações do ERP do cliente e do CRM
Bloco de código |
---|
{ "erpName": "ERP PROTHEUS-SFA –- Nome ClienteAPELIDO", "masterCRMName": "", "erpurl": "http://IPIPREST:PortaPORTA/rest/totvseai/standardmessage/v1/transactions/", "erpURLAnalyticsSyncControls": "http://IPREST:PORTA/rest/", "erpClientId": "", "erpClientSecret": "", "masterCRMURLCustomererpCompanyId": "https://app2.mastercrm.ws/api/v1/integration/record", "masterCRMClientIderpBranchId": "", "masterCRMClientSecrethubUrlapi": "https://master-crm-api.totvs.app/", "erpCompanyIdmasterCRMClientId": "wsadmin", "erpBranchIdmasterCRMClientSecret": "e096c985*8e3F!4b6f?8aBe#ZAz", "masterCRMURLLoginmasterCRMDefaultURL": "httpshttp://app2.mastercrm.ws/api/loginIPApiBuilder:PORTA/wspr", "masterCRMDefaultEmailTypemasterCRMURLCustomer": "301f0e6e-4270-472b-aa96-45ab017bcbb1http://IPApiBuilder:PORTA/wspr/cliente", "masterCRMDefaultPhoneTypemasterCRMURLCity": "d870427c-bbad-4eb8-9af5-5183b47f648fhttp://IPApiBuilder:PORTA/wspr/cidade", "masterCRMURLCitymasterCRMURLState": "httpshttp://app2.mastercrm.ws/api/v1/integration/recordIPApiBuilder:PORTA/wspr/unidadefederativa", "masterCRMURLStatemasterCRMURLCountry": "httpshttp://app2.mastercrm.ws/api/v1/integration/recordIPApiBuilder:PORTA/wspr/pais", "masterCRMURLCountrymasterCRMURLPriceTable": "httpshttp://app2.mastercrm.ws/api/v1/integration/recordIPApiBuilder:PORTA/wspr/tabelapreco", "masterCRMURLMeasurementUnitmasterCRMURLProductGroup": null"http://IPApiBuilder:PORTA/wspr/grupoproduto", "masterCRMDefaultNaturalPersonTypemasterCRMURLRegionCustomer": "8cea3c86-1984-4c77-acf5-3f622c1efe5bhttp://IPApiBuilder:PORTA/wspr/usuario", "masterCRMDefaultLegalPersonTypemasterCRMURLPriceTableItem": "40694c1a-44f9-4c3b-a5a8-aa63e0742c75http://IPApiBuilder:PORTA/wspr/tabelaprecoproduto", "masterCRMDefaultDocumentTypeIMmasterCRMURLPaymentMethod": "195e4d51-21fb-4721-a249-ea0aa89fc52fhttp://IPApiBuilder:PORTA/wspr/tipocobranca", "masterCRMDefaultDocumentTypeSUFmasterCRMURLPaymentTerms": "41eed97d-4e6e-49de-b7a2-eb8a772f80bfhttp://IPApiBuilder:PORTA/wspr/condicaopagamento", "masterCRMDefaultDocumentTypeCNPJmasterCRMURLOrder": "651b2c32-aeca-4373-9cb9-96b132ba5020", "masterCRMDefaultDocumentTypeCPFmasterCRMURLLogin": "95839570-6791-49f4-88fe-68efd115213d", "masterCRMDefaultDocumentTypeRGmasterCRMDefaultEmailType": "9aabec6d-a88b-4d09-8ce6-d0eaf5b16d3c1", "masterCRMDefaultDocumentTypeIEmasterCRMDefaultPhoneType": "a564151a-931e-43ba-959b-47bab27e274a1", "masterCRMDefaultDocumentTypeIRmasterCRMURLMeasurementUnit": ""null, "masterCRMDefaultAddressTypemasterCRMDefaultNaturalPersonType": "b604f287-36bf-4e6d-ae83-c75c46a2fbebPF", "masterCRMURLPriceTablemasterCRMDefaultLegalPersonType": "https://app2.mastercrm.ws/api/v1/integration/recordPJ", "masterCRMURLProductGroupmasterCRMDefaultAddressType": "https://app2.mastercrm.ws/api/v1/integration/record7", "masterCRMURLOrdermasterCRMDefaultDocumentTypeCPF": "https://app2.mastercrm.ws/api/v1/integration/record1", "erpWarehouseCodemasterCRMDefaultDocumentTypeCNPJ": "https://app2.mastercrm.ws/api/v1/integration/record00000000000000", "masterCRMURLRegionmasterCRMDefaultDocumentTypeIE": "https://app2.mastercrm.ws/api/v1/integration/record000000000000", "masterCRMURLRegionUsermasterCRMDefaultDocumentTypeIM": "https://app2.mastercrm.ws/api/v1/integration/record5", "masterCRMURLRegionCustomermasterCRMDefaultDocumentTypeSUF": "https://app2.mastercrm.ws/api/v1/integration/record7", "masterCRMURLCurrencymasterCRMDefaultDocumentTypeRG": "https://app2.mastercrm.ws/api/v1/integration/record8", "erpDefaultCurrencySymbolmasterCRMDefaultDocumentTypeIR": "R$9", "masterCRMURLCurrencyQuotationerpWarehouseCode": "https://app2.mastercrm.ws/api/v1/integration/record", "masterCRMURLPriceTableItemmasterCRMURLRegion": "https://app2.mastercrm.ws/api/v1/integration/record", "masterCRMURLPaymentMethodmasterCRMURLRegionUser": null"", "masterCRMURLFreightmasterCRMURLCurrency": null"", "hubURLAnalyticsSyncControlserpDefaultCurrencySymbol": "https://master-crm-api.totvs.app/R$", "erpURLAnalyticsSyncControlsmasterCRMURLCurrencyQuotation": " http://IP:Porta/rest/", "masterCRMURLAnalyticsSyncControlsmasterCRMURLFreight": "https://app2.mastercrm.ws/"null, "hubUrlapihubURLAnalyticsSyncControls": "https://master-crm-api.totvs.app/", "masterCRMURLPaymentTermsmasterCRMURLAnalyticsSyncControls": "https://app2.mastercrm.ws/api/v1/integration/record", } |
Aviso |
---|
Observação: " masterCRMName": "" = Nome da Empresa de acesso ao TOTVS CRM "erpurl": http://IP:Porta/rest/totvseai/standardmessage/v1/transactions/ = substituir o IP e a Porta pelas do endereço do ambiente REST do cliente, manter a informação “/rest/totvseai/standardmessage/v1/transactions/” "erpClientId": "" = Usuário do Protheus para integração "erpClientSecret": "" = Senha do Usuário Protheus para integração "masterCRMClientId": "" = Usuário do TOTVS CRM para integração "masterCRMClientSecret": "" = Senha do Usuário do TOTVS CRM para integração "erpCompanyId": "" = Grupo de Empresas do Protheus "erpBranchId": "" = Código de uma das Filiais do Protheus "masterCRMDefaultDocumentTypeIR": "" = Id do Tipo de Documento IR criado no TOTVS CRM "erpURLAnalyticsSyncControls": " http://IP:Porta/rest/" = substituir o IP e a Porta pelas do endereço do ambiente REST do cliente. |
...