FMSYNC

agent.status

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

Get current status of the installed agent for this sourcekey
return
OBJECT
Return informations to your database
syslog
OBJECT
Status returned to your system table
table
STRING
required
Name of your system table
fntaskid
STRING
required
Field Name of the taskid column
fnstatus
STRING
required
Field Name of the status column
fnmessage
STRING
required
Field Name of the message column

Request
[POST] curl https://api.fmsync.net/v2/{sourcekey}/agent/status
-d task={
   "return":{
      "syslog":{
         "table":"fmsync",
         "fntaskid":"taskid",
         "fnstatus":"status",
         "fnmessage":"message"
      }
   }
}
Return
-d data={
   "success":true,
   "taskid":"0abdcdba8dfa1d934222a3fe024e4364d65bc88c",
   "context":"agent.status",
   "response":{
      "application":"installed",
      "agent":"running",
      "service":{
         "namespace":"acomba",
         "version":"9.99",
         "status":"running"
      }
   }
}

Copyright © Création Logicom 2025