{"$schema":"http:\/\/json-schema.org\/draft-07\/schema#","$id":"https:\/\/api.fmsync.net\/apiref\/schema\/agent\/update","title":"agent.update","description":"Update the current agent service","required":["namespace"],"type":"object","properties":{"namespace":{"description":"Namespace of the service that need to be updated.","type":"string"},"version":{"description":"Version of the service needed, if specified.","type":"number"},"return":{"description":"Return informations to your database","type":"object","properties":{"syslog":{"description":"Status returned to your system table","required":["table","record","fnstatus"],"type":"object","properties":{"table":{"description":"Name of your system table","type":"string"},"record":{"description":"Record that need to be updated","required":["key","value"],"type":"object","properties":{"key":{"description":"Primary Key Name","type":"string"},"value":{"description":"Primary Key Value","type":"integer"}}},"fnstatus":{"description":"Field Name of the status column","type":"string"},"fntaskid":{"description":"Field Name of the taskid column","type":"string"},"fnmessage":{"description":"Field Name of the message column","type":"string"}}}}}},"example":{"namespace":"sage50ca","version":2018.3},"return":{"success":true,"taskid":"8c3eba5309fc7baa4c9edf87f7133757a9e1067b","context":"agent.update","source":null,"syslog":{"type":"odbc","sent":true,"message":null}}}