Synchronization

Uri

GET /synchronization

Parameters

entities
- Comma separated string with names of entities to synchronize
guid
- Unique identifier identifying the client instance
action
- Can be "Count" or "Changes"
lastSync
- Logical timestamp of last data synchronization
minSynchVersion
- Logical timestamp indication the timestamp for the first call in a series of call where paging is used
lastRowNum
- Start row used for paging (0 for the first call)
companyId
- Legal entity identifier for the execution context of the call
workerId
- RecId (HcmWorker) of the logged in worker

Form Data

JSON Response

Action: Count
{"count":"0","syncAnchor":169644,"fullSync":false,"minSyncVersion":169612}

Action: Changes
{
   "status":"complete",
   "changes":[
      {
         "entity":{
            "_id":"5637147766",
            "_product":"0",
            "_model":"0",
            "_objectType":"5637144581",
            "objectId":"EX-101",
            "name":"EX-101 Extruder Line 1",
            "productId":"",
            "notes":"The best object",
            "_functionalLocation":"5637144580",
            "functionalLocationId":"PP-02-01",
            "functionalLocationName":"Extrusion Line 1",
            "stageId":"Active",
            "active":true,
            "wrkCtrId":"",
            "wrkCtrName":"",
            "objectAddress":{
               "name":"",
               "address":"",
               "zip":"",
               "city":"",
               "country":""
            },
            "serialID":"",
            "objectAncestors":" [ {\"parentId\":\"PP\",\"name\":\"USMF Plastics\",\"type\":\"functionalLocation\" }, {\"parentId\":\"PP-02\",\"name\":\"Extrusion Lines\",\"type\":\"functionalLocation\" }, {\"parentId\":\"PP-02-01\",\"name\":\"Extrusion Line 1\",\"type\":\"functionalLocation\" } ]",
            "warrantyIDVend":"",
            "warrantyIDVendToDate":"",
            "image":""
         },
         "name":"MaintenanceObject",
         "operation":"Update",
         "rownum":5637151080
      }
   ],
   "rownum":0,
   "syncAnchor":169649
}

Copyright Dynaway A/S

Privacy Policy