Zum Inhalt

Web Changes

Periodically call this service to receive changes made in defined tables in Dynamics NAV/Business Central.

Service Endpoint

The base Endpoint is:

OutboundWebChangesIISWebService/OutboundWebChangesIISWebService

API Methods

Here are the available methods for the Web Changes Service:

GetWebChanges

Sample Request

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" 
   xmlns:out="http://tempuri.org/OutboundWebChangesIISWebService/" 
   xmlns:x53="urn:microsoft-dynamics-nav/xmlports/x5371207">
   <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
      <wsa:Action>http://tempuri.org/OutboundWebChangesIISWebService/OutboundWebChangesIISWebService/GetWebChanges</wsa:Action>
   </soap:Header>
   <soap:Body>
      <out:GetWebChanges>
         <out:OutboundWebChanges/>
         <out:TableID>27</out:TableID>
         <out:FromEntryNo>1</out:FromEntryNo>
         <out:MaxCount>12</out:MaxCount>
      </out:GetWebChanges>
   </soap:Body>
</soap:Envelope>

Sample Response

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
   <s:Header>
      <a:Action s:mustUnderstand="1">http://tempuri.org/OutboundWebChangesIISWebService/OutboundWebChangesIISWebService/GetWebChangesResponse</a:Action>
   </s:Header>
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <GetWebChangesResponse xmlns="http://tempuri.org/OutboundWebChangesIISWebService/">
         <OutboundWebChanges>
            <WebChangeEntry xmlns="urn:microsoft-dynamics-nav/xmlports/x5371207">
               <EntryNo>1</EntryNo>
               <TableID>27</TableID>
               <PrimaryKey1>1000</PrimaryKey1>
               <PrimaryKey2/>
               <PrimaryKey3>0</PrimaryKey3>
               <CreateAt>2016-04-27T22:00:00Z</CreateAt>
               <Deleted>false</Deleted>
            </WebChangeEntry>
            <WebChangeEntry xmlns="urn:microsoft-dynamics-nav/xmlports/x5371207">
               <EntryNo>2</EntryNo>
               <TableID>27</TableID>
               <PrimaryKey1>70000</PrimaryKey1>
               <PrimaryKey2/>
               <PrimaryKey3>0</PrimaryKey3>
               <CreateAt>2016-04-27T22:00:00Z</CreateAt>
               <Deleted>false</Deleted>
            </WebChangeEntry>
            <WebChangeEntry xmlns="urn:microsoft-dynamics-nav/xmlports/x5371207">
               <EntryNo>3</EntryNo>
               <TableID>27</TableID>
               <PrimaryKey1>1000</PrimaryKey1>
               <PrimaryKey2/>
               <PrimaryKey3>0</PrimaryKey3>
               <CreateAt>2016-04-27T22:00:00Z</CreateAt>
               <Deleted>false</Deleted>
            </WebChangeEntry>
         </OutboundWebChanges>
      </GetWebChangesResponse>
   </s:Body>
</s:Envelope>

Field Information

Web Changes Field Information
Name Description Type max. Length Occurance
🔑 EntryNo Index no. of the web changes table Integer 1..1
TableID Table ID of the changed data Integer 1..1
PrimaryKey1 Primary key part of changed data String 20 1..1
Capital, max. Length 20,
PrimaryKey2 Primary key part of changed data String 20 1..1
Capital, max. Length 20,
PrimaryKey3 Primary key part of changed data Integer 1..1
CreatedAt Specifies whether record was created. DateTime 1..1
Deleted Specifies whether record was deleted. Boolean 1..1