Histórico da Página
...
- Código;
- Descrição da família;
- Classificação da família.
Exemplos de Mensagens
Mensagem XML
...
Exemplos de Mensagens
Mensagem XML
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
POST /CONTRATOS_WS/CONTRATOS_WS.asmx HTTP/1.1
Host: 10.173.14.69
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "CONTRATOS_WS/apiHTTP_POST_HISTDED"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<apiHTTP_POST_HISTDED xmlns="CONTRATOS_WS">
<oACERTOPROV>
<instancia>string</instancia>
<tpRegistro>string</tpRegistro>
<cdUnidInd>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</cdUnidInd>
<deUnidInd>string</deUnidInd>
<cdFazenda>string</cdFazenda>
<deFazenda>string</deFazenda>
<amAcerto>
<Value>dateTime</Value>
<IsNull>boolean</IsNull>
</amAcerto>
<pcAcerto>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</pcAcerto>
<cdTpCalc>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</cdTpCalc>
<deTpCalc>string</deTpCalc>
<cdFornec>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</cdFornec>
<deFornec>string</deFornec>
<dtBaseATR>
<Value>dateTime</Value>
<IsNull>boolean</IsNull>
</dtBaseATR>
<cdSafra>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</cdSafra>
<vlATR>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlATR>
<vlTonCana>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlTonCana>
<qtCanaEnt>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</qtCanaEnt>
<vlCanaBruto>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlCanaBruto>
<vlCanaLiq>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlCanaLiq>
<vlFatorK>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlFatorK>
<vlPg100>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlPg100>
<vlAcertoATR>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlAcertoATR>
<cdTpPropr>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</cdTpPropr>
<deTpPropr>string</deTpPropr>
<vlTotServ>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlTotServ>
<fgAcertoFinal>string</fgAcertoFinal>
<fgIndividual>string</fgIndividual>
<vlAcAtrReceb>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlAcAtrReceb>
<vlKgATR>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlKgATR>
<vlTotBonus>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlTotBonus>
<vlTotServCorr>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlTotServCorr>
<fgAcertoAnual>string</fgAcertoAnual>
<fgContrRescind>string</fgContrRescind>
<instContr>string</instContr>
<cdEmpContr>string</cdEmpContr>
<noContrCana>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</noContrCana>
<vlRefAno>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlRefAno>
<fgProvMensal>string</fgProvMensal>
<fgTpProc>string</fgTpProc>
<vlIcms>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlIcms>
<vlDescGeocana>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</vlDescGeocana>
<qtAtrSemPremio>
<Value>decimal</Value>
<IsNull>boolean</IsNull>
</qtAtrSemPremio>
</oACERTOPROV>
</apiHTTP_POST_HISTDED>
</soap:Body>
</soap:Envelope> |
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<apiHTTP_POST_HISTDEDResponse xmlns="CONTRATOS_WS">
<apiHTTP_POST_HISTDEDResult>string</apiHTTP_POST_HISTDEDResult>
</apiHTTP_POST_HISTDEDResponse>
</soap:Body>
</soap:Envelope> |
Mensagem JSON
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"TOTVSMessage" : {
"MessageInformation" : {
"@version" : "2.002",
"BranchId" : "D MG 01 ",
"CompanyId" : "T1",
"DeliveryType" : "Sync",
"GeneratedOn" : "2018-03-21T19:27:54Z",
"Product" : {
"@name" : "ERP",
"@version" : "12"
},
"SourceApplication" : "P12_DEV_SERVERT1",
"StandardVersion" : "1.000",
"Transaction" : "FAMILY",
"Type" : "BusinessMessage",
"UUID" : "01da1810-a305-6677-bdaf-cda337c8a412"
},
"BusinessMessage" : {
"BusinessEvent" : {
"Entity" : "FAMILY",
"Event" : "upsert",
"Identification" : {
"key" : {
"@name" : "InternalId",
"$" : "T1|D MG 01|456"
}
}
},
"BusinessContent" : {
"CompanyId" : "T1",
"BranchId" : "D MG 01 ",
"CompanyInternalId" : "T1|D MG 01 ",
"Code" : "456 ",
"InternalId" : "T1|D MG 01|456",
"Description" : "Peças Automotivas",
"FamilyClassificationCode" : "2"
}
}
}
} |
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"TOTVSMessage" : {
"MessageInformation" : {
"@version" : "2.002",
"BranchId" : "D MG 01 ",
"CompanyId" : "T1",
"DeliveryType" : "Sync",
"GeneratedOn" : "2018-03-21T16:24:02",
"Product" : {
"@name" : "PIMS",
"@version" : "12.1.20"
},
"SourceApplication" : "PIMSCONNECTOR",
"StandardVersion" : "1.000",
"Transaction" : "FAMILY",
"Type" : "Response",
"UUID" : "aee6b73a-3d4d-4cac-bd20-85d9bc95fd0c"
},
"ResponseMessage" : {
"ProcessingInformation" : {
"ProcessedOn" : "2018-03-21T16:24:02",
"Status" : "OK"
},
"ReceivedMessage" : {
"MessageContent" : null,
"SentBy" : "ERP",
"UUID" : "01da1810-a305-6677-bdaf-cda337c8a412"
},
"ReturnContent" : {
"ListOfInternalId" : {
"InternalId" : {
"Destination" : "||959851251781955913",
"Name" : "FAMILY",
"Origin" : "T1|D MG 01|456"
}
}
}
}
}
} |
Mensagem JSON
...
Descrição Detalhada das Tags
SEGMENTO | TAGS | TIPO | TAMANHO | DESCRITIVO DA TAG |
Event | instancia | String | 5 | Código da Instância |
FG_TP_PROC | String | 1 | Tipo de Processo | |
CD_UPNIVEL1 | String | 6 | Codigo da Unidade Producao Nivel1 | |
Event | DT_INI_PER | Date | 10 | |
DT_FIM_PER | Date | 10 | ||
CD_EVTO | number | 3 | ||
DT_EVTO | Date | 10 | ||
VL_DEDUCAO | Number | 13 | ||
CD_GRP_EVTO | Number | 2 | ||
CD_SAFRA | Number | 5 | ||
date | date | 10 | ||
NO_CONTRATO | Number | 10 | ||
PC_TX | Number | 5 | Percentual de Taxas | |
VL_TX | Number | 13 | Valor da taxa | |
VL_IND_ECO | Number | 17 | Valor do indice economico | |
DE_LANCTO | String | 35 | Descrição de Lançamento | |
CD_TRANSP | Number | 8 | Código do Transporte | |
DE_EVTO | String | 30 | Descrição Evento | |
DE_TRANSP | String | 40 | Descrição Transporte | |
ROWVERSION | Number | 5 | Controle Interno |
...
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas