Table of Contents

API - Ext Sys Sync Rec.

Represents a list of External System Sync Records in Business Central.

A filter on systemCode must be set. The number of entries returned is configured on the External System, in the field Synchronization Count.

It's recommended that you do these calls in a loop. The first call should be done without a filter on fetchId and the following calls should be done with a filter on fetchId returned from the previous call. Loop until no more entries are returned.

When a fetchId is supplied, all sync records with that fetchId will be archived and new sync records is returned.

If you omit the fetchId in the subsequent calls, the same records will be returned but with a new fetchId.

Object Definition

Object TypePage
Object ID70314184
Object NameQWESR API - Ext Sys Sync Rec.
Source TableQWESR EXT Sync Record
Read-onlyYes

API Definition

APIPublishersmartApps
APIGroupspider
APIVersionv1.0
EntitySetNameexternalSystemSyncRecords
EntityNameexternalSystemSyncRecord

Example

Read

Get a list of External System Sync Records. All returned records will be marked with a new fetchId.

GET businesscentralPrefix/companies({id})/externalSystemSyncRecords?$filter=systemCode eq '{System Code}'&$schemaversion=2.0

Get a list of External System Sync Records and archive the records fetched in the previous call. All returned records will be marked with a new fetchId.

GET businesscentralPrefix/companies({id})/externalSystemSyncRecords?$filter=systemCode eq '{System Code} and fetchId eq {Fetch ID}'&$schemaversion=2.0

Controls

Type Name Data Type Read-only
Field id Guid Yes
Field systemCode Code[20] Yes
Field fetchId Guid Yes
Field tableNo Integer Yes
Field recordSystemId Guid Yes
Field changeType Enum "QWESR Ext. Sys. Change Type" Yes
Field lastModifiedDateTime DateTime Yes

This documentation is generated from Spider v27.2