- Criado por Helen Crystina Godinho Amorim, última alteração por Rafael Pessoa Rodrigues em 13 abr, 2022
Este documento traz informações sobre o processo de Integração do ERP WinThor com o ambiente do Força de Vendas. Para contemplar estes serviços foram desenvolvidas API´s que expõem dados para serem utilizadas nos ambientes.
As API's de força de vendas e estão em fase de homologação e não liberadas para produção.
Novas integrações(vendas e/ou implantações) devem ser alinhadas com antecedência entre o time Comercial e de Produto (Winthor).
É importante estar atento ao escopo atendido na integração, dentro da documentação de cada processo é possível visualizar os campos atendidos.
1. Caso ainda não possua, instale o WinThor Anywhere, para isso acesse Como instalar o WinThor Anywhere ?
2. Acesse o WinThor Anywhere e no menu principal, preencha no campo de Pesquisar a rotina 801 - Atualização de Serviços Web e tecle Enter (ou clique diretamente sobre a rotina no menu principal);
2.1 Na tela Gerenciador de Rotinas e Serviços, clique o botão Instalações;
2.3 Marque a opção winthor-ferramenta-gateway na versão mais recente que estiver disponibilizada no campo Versão:
3. Instalar o serviço winthor-pedido-venda na última versão disponível.
Nossas APIs são baseadas no protocolo HTTP E possui URLs previsíveis, é orientada a recursos e utiliza códigos de resposta HTTP para indicar sucesso ou erros e exceções.
As respostas (incluindo os erros) e o corpo das requisições são obrigatoriamente formatados em JSON.
Sobre as requisições à API
Os seguintes verbos HTTP estão disponíveis para uso:
Verbo | Descrição |
GET | Solicita dados de um recurso |
POST | Cria um novo recurso |
PUT | Atualiza um recurso |
DELETE | Exclui um recurso |
Cabeçalho das requisições
O cabeçalho de requisição HTTP usado é:
Accept: application/json Content-Type: application/json |
---|
** Deve-se especificá-los no header das requisições à API.
Autenticação/Autorização
Será necessário estar logado no sistema WTA.
Erros & Respostas
Utilizamos os códigos de resposta HTTP convencionais para indicar sucesso ou falha em uma solicitação à API.
- Respostas de informação (100-199),
- Respostas de sucesso (200-299),
- Redirecionamentos (300-399)
- Erros do cliente (400-499)
- Erros do servidor (500-599).
Para obter/renovar o token de autenticação, inclua os dados nos campos a seguir:
POST: /winthor/autenticacao/v1/login
username | Nome de usuário. |
---|---|
password | Senha de acesso. |
Ao performar a requisição será preenchida a tabela temporária PCLIENTFV, assim que finalizar a importação, poderá ser visualizado o cadastro através da rotina 302 - Cadastrar Cliente.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/customer | PCCLIENTFV |
imported | IMPORTADO |
operationType | TIPOOPERACAO |
personIdentificationNumber | CGCENT |
customerName | CLIENTE |
ieInput | IEENT |
squareCod | CODPRACA |
tradeName | FANTASIA |
imEnt | IMENT |
identification | RG |
organRG | ORGAORG |
customerIdPalm | CODCLIPALM |
codeAtv1 | CODATV1 |
inputAddress | ENDERENT |
inputNumber | NUMEROENT |
inputComplement | COMPLEMENTOENT |
inputDistrict | BAIRROENT |
phoneNumber | TELENT |
city | MUNICENT |
state | ESTENT |
zipCode | CEPENT |
country | PAISENT |
referencePoint | PONTOREFER |
billingAddress | ENDERCOB |
addOnCollection | COMPLEMENTOCOB |
billingNumber | NUMEROCOB |
billingDistrict | BAIRROCOB |
billingPhone | TELCOB |
billingCity | MUNICCOB |
billingState | ESTCOB |
billingZipCode | CEPCOB |
businessAddress | ENDERCOM |
businessNumber | NUMEROCOM |
businessComplement | COMPLEMENTOCOM |
businessDistrict | BAIRROCOM |
businessCity | MUNICCOM |
businessState | ESTCOM |
businessZipCode | CEPCOM |
businessPhone | TELCOM |
businessFax | FAXCOM |
userId1 | CODUSUR1 |
userId2 | CODUSUR2 |
clientFax | FAXCLI |
ownBuilding | PREDIOPROPRIO |
note | OBS |
obs2 | OBS2 |
note3 | OBS3 |
note4 | OBS4 |
creditNote | OBSCREDITO |
phoneNumber1 | TELENT1 |
mailbox | CAIXAPOSTAL |
noteDelivery1 | OBSENTREGA1 |
noteDelivery2 | OBSENTREGA2 |
noteDelivery3 | OBSENTREGA3 |
noteDelivery4 | OBSENTREGA4 |
bankNumber1 | NUMBANCO1 |
agencyNumber1 | NUMAGENCIA1 |
currentAccountNumber1 | NUMCCORRENTE1 |
bankNumber2 | NUMBANCO2 |
agencyNumber2 | NUMAGENCIA2 |
currentAccountNumber2 | NUMCCORRENTE2 |
amountCheckOut | QTCHECKOUT |
site | SITE |
managerialObs1 | OBSGERENCIAL1 |
managerialObs2 | OBSGERENCIAL2 |
managerialObs3 | OBSGERENCIAL3 |
latitude | LATITUDE |
longitude | LONGITUDE |
dateCollect | DATACOLETA |
notePackage | OBSERVACAO_PC |
createDate | DTINCLUSAO |
customerId | CODCLI |
lastChange | DTALTERACAO |
chargingId | CODCOB |
paymentPlanId | CODPLPAG |
emailElectronicInvoice | EMAILNFE |
branchCodeIBGE | CODCIDADEIBGE |
warehouseBranchId | CODFILIALNF |
finalCostumer | CONSUMIDORFINAL |
taxpayer | CONTRIBUINTE |
customerProtest | CLIENTPROTESTO |
sendingInvoiceCommercialEmail | ENVIONFEMAILCOM |
weekday | DIASEMANA |
numberWeek | NUMSEMANA |
sequence | SEQUENCIA |
periodicity | PERIODICIDADE |
simpleNational | SIMPLESNACIONAL |
countryCode | CODPAIS |
birthDate | DTNASC |
reasonRejection | MOTIVOREJEICAO |
shippingDispatch | FRETEDESPACHO |
clientPhone | TELCELENT |
dateExclusion | DTEXCLUSAO |
userIdDeleted | CODUSUARIOEXC |
reasonExclusion | MOTIVOEXCLUSAO |
calculatesST | CALCULAST |
clientFontEst | CLIENTEFONTEST |
participateFunCep | PARTICIPAFUNCEP |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/customer/ | PCCLIENTFV |
personIdentificationNumber | CGCENT |
Ao performar a requisição será preenchida a tabela temporária PCCLIREFFV, com os dados de referência de cliente.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/customerReference | PCCLIREFFV |
imported | IMPORTADO |
personIdentificationNumber | CGCCLI |
referenceId | CODREF |
customerId | CODCLI |
referenceName | EMPREFER |
referencePhone | TELREFER |
referenceContact | CONTATOREFER |
creditLimit | LIMCREDREFER |
dateRegisterReference | DTCADASTROREFER |
dateLastPurchase | DTULTCOMPREFER |
valueLastPurchase | VLULTCOMPREFER |
note | OBS |
biggestPurchaseDate | DTMAIORCOMPREFER |
biggestPurchaseValue | VLMAIORCOMPREFER |
referenceChargeCode | CODCOBREFER |
notePackage | OBSERVACAO_PC |
dateIncluded | DTINCLUSAO |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/customerReference/ | PCCLIREFFV |
personIdentificationNumber | CGCCLI |
referenceId | CODREF |
Ao performar a requisição será preenchida a tabela temporária PCGONDOLAFV.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/gondola | PCGONDOLAFV |
imported | IMPORTADO |
countNumber | NUMCONTAGEM |
sellerId | CODUSUR |
dateCount | DTCONTAGEM |
personIdentificationNumber | CGCCLI |
concurrentId | CODCONC |
startTime | HORAINICIAL |
endTime | HORAFINAL |
notePackage | OBSERVACAO_PC |
dateInclusion | DTINCLUSAO |
customerId | CODCLI |
lastChange | DTALTERACAO |
numberVisit | NUMVISITA |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/gondola/ | PCGONDOLAFV |
countNumber | NUMCONTAGEM |
sellerId | CODUSUR |
personIdentificationNumber | CGCCLI |
Ao performar a requisição será preenchida a tabela temporária PCGONDOLAIFV.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/gondolaItem | PCGONDOLAIFV |
numberCount | NUMCONTAGEM |
productId | CODPROD |
quantity | QT |
sellPrice | PVENDA |
sellerId | CODUSUR |
personIdentificationNumber | CGCCLI |
notePackage | OBSERVACAO_PC |
dateInclusion | DTINCLUSAO |
dateUpdate | DTALTERACAO |
quantityLosses | QTPERDAS |
spinSellout | GIROSELLOUT |
spinMedium | GIROMEDIO |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/gondolaItem/ | PCGONDOLAIFV |
numberCount | NUMCONTAGEM |
productId | CODPROD |
sellerId | CODUSUR |
personIdentificationNumber | CGCCLI |
Ao performar a requisição será preenchida a tabela temporária PCINDCFV.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/indemnity | PCINDCFV |
id | CODINDENIZ |
date | DATA |
personIdentificationNumber | CGCCLI |
branchId | CODFILIAL |
numberPedrCa | NUMPEDRCA |
indemnityType | TIPOINDENIZ |
sellerId | CODUSUR |
note | OBS |
notePackage | OBSERVACAO_PC |
imported | IMPORTADO |
createData | DTINCLUSAO |
customerId | CODCLI |
lastChange | DTALTERACAO |
indemnityNumber | NUMINDENIZ |
toRecall | RETORNO |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/indemnity/ | PCINDCFV |
id | CODINDENIZ |
Ao performar a requisição será preenchida a tabela temporária PCINDIFV.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/itemIndemnityOrder | PCINDIFV |
id | CODINDENIZ |
productId | CODPROD |
quantity | QT |
sellPrice | PVENDA |
note | OBS |
notePackage | OBSERVACAO_PC |
toRecall | RECOLHER |
dateInclusion | DTINCLUSAO |
dateUpdate | DTALTERACAO |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/itemIndemnityOrder/ | PCINDIFV |
id | CODINDENIZ |
productId | CODPROD |
Ao performar a requisição será preenchida a tabela temporária PCRECEBIMENTOFV.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/cutsMadeOrders | PCRECEBIMENTOFV |
orderIdPalm | NUMPEDRCA |
sellerId | CODUSUR |
invoiceTtransaction | NUMTRANSVENDA |
receiptNumber | NUMRECEBIMENTO |
customerId | CODCLI |
installmentNumber | PREST |
invoiceNumber | DUPLIC |
installmentPrice | VALOR |
chargingId | CODCOB |
branchId | CODFILIAL |
bankNumber | NUMBANCO |
agencyNumber | NUMAGENCIA |
checkNumber | NUMCHEQUE |
note | OBS |
note1 | OBS2 |
employeId | CODFUNCINC |
bankId | CODBANCO |
currentAccountNumber | NUMCONTACORRENTE |
personIdNumberCheckIssuer | CGCCPFCH |
agencyCheckDigit | DVAGENCIA |
checkDigitChecker | DVCHEQUE |
accountCheckDigit | DVCONTA |
inclusionDate | DTINCLUSAO |
issueDate | DTEMISSAO |
dueDate | DTVENC |
ourBankNumber | NOSSONUMBANCO |
barCode | CODBARRA |
digitableLine | LINHADIG |
validationControl | VERIFICADO |
notePackage | OBSERVACAO_PC |
carrierId | NUMCAR |
bankCheckClearing | COMPENSACAOBCO |
interestRate | TXPERM |
canceled | CANCELADO |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/cutsMadeOrders | PCRECEBIMENTOFV |
orderIdPalm | NUMPEDRCA |
sellerId | CODUSUR |
installmentNumber | PREST |
receiptNumber | NUMRECEBIMENTO |
Ao performar a requisição será preenchida a tabela temporária PCRECFUNCFV.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/message | PCRECFUNCFV |
imported | IMPORTADO |
destinationEmployeeId | CODFUNCDEST |
subject | ASSUNTO |
scrapText | TEXTORECADO |
messageNumber | NUMRECADOFV |
sellerId | CODUSUR |
notePackage | OBSERVACAO_PC |
dateIncluded | DTINCLUSAO |
dateUpdate | DTALTERACAO |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/message | PCRECFUNCFV |
messageNumber | NUMRECADOFV |
Ao performar a requisição será preenchida a tabela temporária PCVISITAFV.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/visit | PCVISITAFV |
reasonCode | CODMOTIVO |
date | DATA |
startTime | HORAINICIAL |
initialMinute | MINUTOINICIAL |
finalHour | HORAFINAL |
finalMinute | MINUTOFINAL |
subjectMatter | ASSUNTO |
personIdentificationNumber | CGCCLI |
sellerId | CODUSUR |
notePackage | OBSERVACAO_PC |
imported | IMPORTADO |
dateInclusion | DTINCLUSAO |
customerId | CODCLI |
lastChange | DTALTERACAO |
routeId | CODROTA |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/visit | PCVISITAFV |
sellerId | CODUSUR |
personIdentificationNumber | CGCCLI |
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/giftOrderItem | PCRETORNOITV5FV |
orderIdPalm | NUMPEDRCA |
fullOrderDatePalm | DTABERTURAPEDPALM |
rcaCode | CODUSUR |
personIdentificationNumber | CGCCLI |
orderNumber | NUMPEDORIGEM |
orderNumberTV5 | NUMPEDTV5 |
customerId | CODCLI |
productId | CODPROD |
barCode | CODAUXILIAR |
quantity | QT |
currentQuantity | QT_FATURADA |
warehouseBranchId | CODFILIALRETIRA |
listPrice | PTABELA |
sequence | NUMSEQ |
dateInclusion | DTINCLUSAO |
dateUpdate | DTALTERACAO |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/giftOrderItem/ | PCRETORNOITV5FV |
orderIdPalm | NUMPEDRCA |
fullOrderDatePalm | DTABERTURAPEDPALM |
rcaCode | CODUSUR |
productId | CODPROD |
orderNumber | NUMPEDORIGEM |
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/formOfPayment | PCFORMAPGTOPEDIDOFVMANIF |
sellerOrderNumber | NUMPEDRCA |
userId | CODUSUR |
dateInclusion | DTINCLUSAO |
billingCode | CODCOB |
paymentPlanCode | CODPLPAG |
dueDate | DTVENC |
value | VALOR |
integrationType | TIPOINTEGRACAO |
creditCardCnpj | CNPJCREDCARTAO |
authorizationNumber | NUMAUTORIZACAO |
changeValue | VLRTROCO |
inputValue | VLENTRADA |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/formOfPayment/ | PCFORMAPGTOPEDIDOFVMANIF |
sellerOrderNumber | NUMPEDRCA |
Ao performar a requisição será preenchida a tabela temporária PCPEDCFV, e assim que for realizada a importação será preenchida a tabela PCPEDC.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/order | PCPEDCFV |
imported | IMPORTADO |
sellerOrderNumber | NUMPEDRCA |
userCod | CODUSUR |
cgcCli | CGCCLI |
dtOpeningOrdPalm | DTABERTURAPEDPALM |
dtClosingOrdPalm | DTFECHAMENTOPEDPALM |
clientOrderNumber | NUMPEDCLI |
deliveryDate | DTENTREGA |
warehouseBranchId | CODFILIAL |
branchCodeNf | CODFILIALNF |
branchCodeWithdraw | CODFILIALRETIRA |
valueShipping | VLFRETE |
billingCode | CODCOB |
codPlPag | CODPLPAG |
codeSale | CONDVENDA |
note1 | OBS1 |
note2 | OBS2 |
noteDelivery1 | OBSENTREGA1 |
noteDelivery2 | OBSENTREGA2 |
noteDelivery3 | OBSENTREGA3 |
noteDelivery4 | OBSENTREGA4 |
shippingDispatch | FRETEDESPACHO |
shippingReDispatch | FRETEREDESPACHO |
freightSupplierCode | CODFORNECFRETE |
deadline1 | PRAZO1 |
deadline2 | PRAZO2 |
deadline3 | PRAZO3 |
deadline4 | PRAZO4 |
deadline5 | PRAZO5 |
deadline6 | PRAZO6 |
deadline7 | PRAZO7 |
deadline8 | PRAZO8 |
deadline9 | PRAZO9 |
deadline10 | PRAZO10 |
deadline11 | PRAZO11 |
deadline12 | PRAZO12 |
originOrder | ORIGEMPED |
orderNumberComp | NUMPEDCOMP |
pcObservation | OBSERVACAO_PC |
regress | RETORNO |
currentPosition | POSICAO_ATUAL |
currentRcaBalance | SALDOATUALRCA |
dateInclusion | DTINCLUSAO |
orderNumber | NUMPED |
orderNumberOrigin | NUMPEDORIGEM |
fClientCode | CODCLINF |
typeDocument | TIPODOCUMENTO |
orderAccount | CONTAORDEM |
codeTV8Client | CODCLITV8 |
customerId | CODCLI |
plCodeEthicalPayment | CODPLPAGETICO |
plCodeGenericPayment | CODPLPAGGENERICO |
driverCode | CODMOTORISTA |
dateChange | DTALTERACAO |
typePriorityDelivery | TIPOPRIORIDADEENTREGA |
tipeFv | TIPOFV |
codeReasonNoService | CODMOTIVONAOATEND |
desembaracoLocation | LOCALDESEMBARACO |
desembaracoUf | UFDESEMBARACO |
generatedToast | GEROUBRINDE |
attended | ATENDIDO |
percentageDiscount | PERCDESCABATIMENTO |
orderNumberTv1 | NUMPEDTV1 |
routeCode | CODROTA |
bonusCost | CUSTOBONIFICACAO |
bonusSupplierCode | CODFORNECBONIFIC |
bonusCode | CODBNF |
grouping | AGRUPAMENTO |
shiftDelivery | TURNOENTREGA |
deliveryAddressCode | CODENDENT |
inputValue | VLENTRADA |
budget | ORCAMENTO |
orderNumberVanXml | NUMPEDVANXML |
customerAddressCode | CODENDENTCLI |
salesPriceWithoutTax | PVENDASEMIMPOSTO |
receivingClientCode | CODCLIRECEBEDOR |
discountAmount | VLDESCABATIMENTO |
numberRegionBroker | NUMREGIAOBROKER |
userCod2 | CODUSUR2 |
userCod3 | CODUSUR3 |
userCod4 | CODUSUR4 |
pkgVersion | VERSAOPKG |
saleAssisted | VENDAASSISTIDA |
generateDataNfPaulista | GERARDADOSNFPAULISTA |
sharePrice | PRECOCOMPARTILHA |
uIdRegister | UIDREGISTRO |
idPartner | IDPARCEIRO |
signature | ASSINATURA |
saleTriangular | VENDATRIANGULAR |
financingCondition | CONDFINANC |
suppliercardPlan | PLANOSUPPLI |
paymentCheckHouse | PAGCHEQUEMORADIA |
codBrex | CODBREX |
issuerCode | CODEMITENTE |
generatesGift | GERABRINDE |
applyCommissionReductionPercent | APLICARPERREDCOMISS |
tipeDelivery | TIPOENTREGA |
tipeEmission | TIPOEMISSAO |
protocol | PROTOCOLO |
contingencyTv14 | CONTINGENCIATV14 |
keyElectronicInvoice | CHAVENFE |
sellerOrderTv14 | NUMPEDTV14 |
intermediaryCompanyName | DESCINTERMEDIADOR |
idIntermediaryEmployer | CNPJINTERMEDIADOR |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/order/ | PCPEDCFV |
sellerOrderNumber | NUMPEDRCA |
userCod | CODUSUR |
cgcCli | CGCCLI |
dtOpeningOrdPalm | DTABERTURAPEDPALM |
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
orderDetailSaleForce | PCPEDIFV |
sellerOrderNumber | NUMPEDRCA |
cgcCli | CGCCLI |
sellerId | CODUSUR |
dtOpeningOrderPalm | DTABERTURAPEDPALM |
productId | CODPROD |
quantity | QT |
sellPrice | PVENDA |
auxiliaryCode | CODAUXILIAR |
numberSeq | NUMSEQ |
branchCodeWithdraw | CODFILIALRETIRA |
qtBilled | QT_FATURADA |
pcObservation | OBSERVACAO_PC |
dtInclusion | DTINCLUSAO |
coldUnit | UNIDADE_FRIOS |
bonus | BONIFIC |
comboCode | CODCOMBO |
priorityPolicy | POLITICAPRIORITARIA |
dtChange | DTALTERACAO |
ediDiscountPerc | PERCDESCEDI |
codeReasonNotAnswered | CODMOTIVONAOATEND |
percDiscountBoleto | PERDESCBOLETO |
olProductCode | CODPRODOL |
cut | CORTE |
suggestion | SUGESTAO |
typeDelivery | TIPOENTREGA |
orderNumber | NUMPED |
transportRestriction | RESTRICAOTRANSP |
tipeTv11 | TIPOTV11 |
versionPkg | VERSAOPKG |
usaMasterUnit | USAUNIDADEMASTER |
basePartTargetValue | VLBASEPARTDEST |
aliquotFcp | ALIQFCP |
aliquotInternalTarget | ALIQINTERNADEST |
vlFcpPart | VLFCPPART |
vlIcmsPartTarget | VLICMSPARTDEST |
vlIcmsPart | VLICMSPART |
provisionalPercentShare | PERCPROVPART |
vlIcmsAliqDifferShare | VLICMSDIFALIQPART |
percentBaseReductionSharing | PERCBASEREDPART |
vlIcmsShareSender | VLICMSPARTREM |
aliquotInterOriginShare | ALIQINTERORIGPART |
codeDiscountSimulator | CODDESCONTOSIMULADOR |
carcassReturn | DEVOLUCAOCARCACA |
carcassDiscountValue | VLDESCCARCACA |
vlBaseFcpIcms | VLBASEFCPICMS |
vlBaseFcpSt | VLBASEFCPST |
vlBcFcpStret | VLBCFCPSTRET |
perFcpStret | PERFCPSTRET |
vlFcpStret | VLFCPSTRET |
perFcpSn | PERFCPSN |
vlCredFcpIcmsSn | VLCREDFCPICMSSN |
vlFecp | VLFECP |
vlAdditionFuncep | VLACRESCIMOFUNCEP |
perAdditionFuncep | PERACRESCIMOFUNCEP |
aliqIcmsFecp | ALIQICMSFECP |
comboTipe | TIPOCOMBO |
movementAccountCurrentRca | MOVIMENTACONTACORRENTERCA |
commissionReductionPercent | PERREDCOMISS |
customerOrderNumber | NUMPEDCLI |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
orderDetailSaleForce/ | PCPEDIFV |
sellerOrderNumber | NUMPEDRCA |
cgcCli | CGCCLI |
sellerId | CODUSUR |
dtOpeningOrderPalm | DTABERTURAPEDPALM |
productId | CODPROD |
numberSeq | NUMSEQ |
Ao performar a requisição será preenchida a tabela temporária PCPEDCFVMANIF referente a Cadastro pedidos Pronta Entrega - TV14.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/orderDetailPromptDelivery | PCPEDCFVMANIF |
cgcCustomer | CGCENT |
sellerId | CODUSUR |
inclusionDate | DTINCLUSAO |
sellerOrderNumber | NUMPEDRCA |
note | OBSERVACAO |
customer | CLIENTE |
address | ENDERECO |
neighborhood | BAIRRO |
county | MUNICIPIO |
zipCode | CEP |
telephone | TELEFONE |
stateRegistration | IEENT |
billingCode | CODCOB |
paymentPlanCode | CODPLPAG |
branchId | CODFILIAL |
invoiceNumber | NUMNOTA |
invoiceSeries | SERIE |
state | ESTADO |
manifestTrackingNumber | NUMCARMANIF |
canceled | CANCELADA |
pcObservation | OBSERVACAO_PC |
imported | IMPORTADO |
customerId | CODCLI |
date | DATA |
changeDt | DTALTERACAO |
transactionNumber | NUMTRANSVENDA |
nfeSituation | SITUACAONFE |
nfeGenerate | GERARNFE |
regress | RETORNO |
currentPosition | POSICAO_ATUAL |
orderNumber | NUMPED |
inputValue | VLENTRADA |
shiftDelivery | TURNOENTREGA |
palmOrderOpeningDate | DTABERTURAPEDPALM |
palmOrderClosingDate | DTFECHAMENTOPEDPALM |
typeEmission | TIPOEMISSAO |
contingencyTv14 | CONTINGENCIATV14 |
nfeKey | CHAVENFE |
orderNumberTv14 | NUMPEDTV14 |
receivingCustomerCode | CODCLIRECEBEDOR |
justificationContingency | JUSTIFICATIVACONTIGENCIA |
dateTimeEntryContingency | DTAHORAENTRADACONTIGENCIA |
generateBoletoAutoSaleMaNif | GERARBOLETOAUTOVENDAMANIF |
formNumber | NUMFORMULARIO |
numberSeal | NUMSELO |
cmBankCode | CODBANCOCM |
otherValue | VLOUTROS |
uniqueRegistrationId | UIDREGISTRO |
idPartner | IDPARCEIRO |
signature | ASSINATURA |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/orderDetailPromptDelivery/ | PCPEDCFVMANIF |
sellerOrderNumber | NUMPEDRCA |
sellerId | CODUSUR |
Ao performar a requisição será preenchida a tabela temporária PCPEDIFVMANIF referente a Cadastro de itens de pedidos Pronta Entrega - TV14.
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/orderItemPromptDelivery | PCPEDIFVMANIF |
sellerOrderNumber | NUMPEDRCA |
productId | CODPROD |
quantity | QT |
sellPrice | PVENDA |
baseSt | BASECALCST |
st | ST |
percIcm | PERCICM |
percBaseReduction | PERCBASERED |
baseIcms | BASEICMS |
canceled | CANCELADO |
notePackage | OBSERVACAO_PC |
lastChange | DTALTERACAO |
inclusionDate | DTINCLUSAO |
auxiliaryCode | CODAUXILIAR |
percIpi | PERCIPI |
vlIpi | VLIPI |
suggestion | SUGESTAO |
comboCode | CODCOMBO |
palmOrderOpeningDate | DTABERTURAPEDPALM |
personIdentificationNumber | CGCENT |
sellerId | CODUSUR |
productIdExchange | CODPRODTROCA |
qtExchange | QTTROCA |
prodExpirationDate | DTVALPROD |
prodExpirationDateExchange | DTVALPRODTROCA |
indemnificationCode | CODINDENIZ |
damage | AVARIA |
auxiliaryExchangeCode | CODAUXILIARTROCA |
otherValue | VLOUTROS |
vlBaseFcpIcms | VLBASEFCPICMS |
vlBaseFcpSt | VLBASEFCPST |
vlBcFcpStRet | VLBCFCPSTRET |
perFcpStRet | PERFCPSTRET |
vlFcpStRet | VLFCPSTRET |
perFcpSn | PERFCPSN |
vlCredFcpIcmsSn | VLCREDFCPICMSSN |
vlFecp | VLFECP |
vlAdditionFuncep | VLACRESCIMOFUNCEP |
perAdditionFuncep | PERACRESCIMOFUNCEP |
aliqIcmsFecp | ALIQICMSFECP |
comboType | TIPOCOMBO |
bonus | BONIFIC |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/orderItemPromptDelivery/ | PCPEDCFVMANIF |
sellerOrderNumber | NUMPEDRCA |
sellerId | CODUSUR |
Ao performar a requisição será preenchida a tabela temporária PCTROCAMANIF, com os itens de Troca pedidos Pronta Entrega - TV14
Deverá performar a requisição passando os campos referentes a tabela para incluir/alterar um registro.
/salesForce/orderItemExchangePromptDelivery | PCTROCAFVMANIF |
sellerOrderNumber | NUMPEDRCA |
orderNumberTv5 | NUMPEDTV5 |
orderNumberBilled | NUMPEDFAT |
customerId | CODCLI |
sellerId | CODUSUR |
productId | CODPROD |
quantity | QT |
listPrice | PTABELA |
productExpirationDate | DTVALPROD |
productIdExchange | CODPRODTROCA |
qtExchange | QTTROCA |
productListExchange | PTABELATROCA |
prodExpirationDateExchange | DTVALPRODTROCA |
damage | AVARIA |
indemnityNumber | NUMINDENIZ |
returnDate | DTDEVOL |
reason | MOTIVO |
auxiliaryCode | CODAUXILIAR |
auxiliaryExchangeCode | CODAUXILIARTROCA |
noteNumber | NUMNOTA |
Para excluir um registro deverá performar a requisição passando o(s) campo(s):
/salesForce/orderItemExchangePromptDelivery/ | PCTROCAFVMANIF |
sellerOrderNumber | NUMPEDRCA |
Informações sobre a Integradora: Layout Padrão Para Integradoras.
Baixe aqui nossa coleção de APIs: https://www.getpostman.com/collections/3b77290ec3b3cd3bcd9f