FMSYNC

agent.update

Schema : https://api.fmsync.net/apiref/schema/agent/update
Namespace : agent
Method : update

Update the current agent service
namespace
STRING
required
Namespace of the service that need to be updated.
version
NUMBER
Version of the service needed, if specified.
return
OBJECT
Return informations to your database
syslog
OBJECT
Status returned to your system table
table
STRING
required
Name of your system table
record
OBJECT
required
Record that need to be updated
fnstatus
STRING
required
Field Name of the status column
fntaskid
STRING
Field Name of the taskid column
fnmessage
STRING
Field Name of the message column

Request
[POST] curl https://api.fmsync.net/v2/{sourcekey}/agent/update
-d task={
   "namespace":"sage50ca",
   "version":2018.3
}
Return
-d data={
   "success":true,
   "taskid":"8c3eba5309fc7baa4c9edf87f7133757a9e1067b",
   "context":"agent.update",
   "source":null,
   "syslog":{
      "type":"odbc",
      "sent":true,
      "message":null
   }
}

Copyright © Création Logicom 2025