Páginas filhas
  • DI Unidade de Medida - UnitOfMeasure

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Bloco de código
languagexml
titleUnitOfMeasure_XML
linenumberstrue
collapsetrue
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TOTVSMessage>
	<MessageInformation version="2.002">
		<BranchId>L MG 01</BranchId>
		<CompanyId>T2</CompanyId>
		<DeliveryType>Sync</DeliveryType>
		<GeneratedOn>2018-03-20T12:49:39Z</GeneratedOn>
		<Product name="PROTHEUS" version="12"/>
		<SourceApplication>P12_DEV_SERVERT2</SourceApplication>
		<StandardVersion>1.000</StandardVersion>
		<Transaction>UNITOFMEASURE</Transaction>
		<Type>BusinessMessage</Type>
		<UUID>69f90943-9cfc-b5e9-b485-500f17604e38</UUID>
	</MessageInformation>
	<BusinessMessage>
		<BusinessEvent>
			<Entity>UnitOfMeasure</Entity>
			<Event>upsert</Event>
			<Identification>
				<key name="InternalID">T2|L MG|AR</key>
			</Identification>
		</BusinessEvent>
		<BusinessContent>
			<Code>AR</Code>
			<InternalId>T2|L MG|AR</InternalId>
			<Description>ARROBA</Description>
			<ShortName>ARROBA_</ShortName>
		</BusinessContent>
	</BusinessMessage>
</TOTVSMessage>


Exemplo de mensagem JSON

...

Bloco de código
languagejs
titleUnitOfMeasure_JSON
linenumberstrue
collapsetrue
{
	"TOTVSMessage" : {
		"MessageInformation" : {
			"@version" : "2.002",
			"BranchId" : "L MG 01",
			"CompanyId" : "T2",
			"DeliveryType" : "Sync",
			"GeneratedOn" : "2018-03-20T12:49:39Z",
			"Product" : {
				"@name" : "PROTHEUS",
				"@version" : "12"
			},
			"SourceApplication" : "P12_DEV_SERVERT2",
			"StandardVersion" : "1.000",
			"Transaction" : "UNITOFMEASURE",
			"Type" : "BusinessMessage",
			"UUID" : "69f90943-9cfc-b5e9-b485-500f17604e38"
		},
		"BusinessMessage" : {
			"BusinessEvent" : {
				"Entity" : "UnitOfMeasure",
				"Event" : "upsert",
				"Identification" : {
					"key" : {
						"@name" : "InternalID",
						"$" : "T2|L MG|AR"
					}
				}
			},
			"BusinessContent" : {
				"Code" : "AR",
				"InternalId" : "T2|L MG|AR",
				"Description" : "ARROBA",
				"ShortName" : "ARROBA_"
			}
		}
	}
}

...