Histórico da Página
- XML Exemplo de Envio de Projeto ao Protheus
Bloco de código | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tot="http://www.totvs.com/"> <soapenv:Header/> <soapenv:Body> <tot:RECEIVEMESSAGE> <tot:INMSG><![CDATA[<TOTVSMessage> <MessageInformation version="2.000"> <UUID>0e990017-d32e-439d-baf5-ec8cd4553f7e</UUID> <Type>BusinessMessage</Type> <Transaction>PROJECT</Transaction> <StandardVersion>1.000</StandardVersion> <SourceApplication>RM</SourceApplication> <CompanyId>1</CompanyId> <BranchId>1</BranchId> <Product name="RM" version="12.1.24.0" /> <GeneratedOn>2019-08-16T17:37:15</GeneratedOn> <DeliveryType>Sync</DeliveryType> </MessageInformation> <BusinessMessage> <BusinessEvent> <Entity>PROJECT</Entity> <Event>Upsert</Event> </BusinessEvent> <BusinessContent> <CompanyId>1</CompanyId> <BranchId>1</BranchId> <CompanyInternalId>1|1</CompanyInternalId> <ShortCode>69</ShortCode> <Code>160820</Code> <InternalId>311D73CF-3B34-4ED6-A811-E07F7920A431</InternalId> <Description>Teste</Description> <RegisterDate p2:nil="true" xmlns:p2="http://www.w3.org/2001/XMLSchema-instance" /> <BeginDate p2:nil="true" xmlns:p2="http://www.w3.org/2001/XMLSchema-instance" /> <FinalDate p2:nil="true" xmlns:p2="http://www.w3.org/2001/XMLSchema-instance" /> <StatusProject p2:nil="true" xmlns:p2="http://www.w3.org/2001/XMLSchema-instance" /> <WorkId p2:nil="true" xmlns:p2="http://www.w3.org/2001/XMLSchema-instance" /> </BusinessContent> </BusinessMessage> </TOTVSMessage>]]></tot:INMSG> </tot:RECEIVEMESSAGE> </soapenv:Body> </soapenv:Envelope> |
- Exemplo Requisição JSON:
Bloco de código | ||||
---|---|---|---|---|
| ||||
{
data: {
tasks: [
{
taskCostAssignments: [
{
itemNumber: "0001",
unitPrice: 10,
recno: 670,
itemInternalid: "T1||PRD44",
documentType: "NFE",
deductionValue: 0,
currencyInternalId: "T1|D MG 01|01",
increase: 0,
documentNumber: "000000000",
unitOfMeasureInternalid: "T1||XX",
customerVendorInternalId: "T1|D MG 01|999999|01|F",
companyInternalid: "T1|D MG 01",
decrease: 0,
totalPrice: 10,
apportionmentDate: "2019-04-11",
quantity: 1,
retentionValue: 0
}
],
taskInternalId: "T1|D MG 01|PRJ01|0001|001.01.01"
}
],
accountingClosingDate: "1800-01-01"
},
hasNext: false,
total: 1
} |
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas