FMSYNC

sage300.balance

Schema : https://api.fmsync.net/apiref/schema/sage300/balance
Namespace : sage300
Method : balance

Get current balance due from client
token
STRING
required
Encrypted token that contains de credential to access the accounting software. Use the online Tokenizer to generate new tokens.
code
STRING
required
The unique identifier for a client
return
OBJECT
Return informations to your application
table
STRING
required
Table/Layout where your informations will be returned
record
OBJECT
required
Record that need to be updated
key
STRING
required
Primary Key Name
value
INTEGER
required
Primary Key Value
fnbalance
STRING
required
Field name of the client balance
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}/sage300/balance
-d task={
   "token":"eyJjaWUiOiJDOlxcVXNlcnNcXFB1YmxpY1xcRG9jdW1lbnRzXFxTaW1wbHkgQWNjb3VudGluZ1xcMjAxOFxcU2FtZGF0YVxcRW50ZXJwcmlzZVxcVW5pdmVyc2wuU0FJIiwidXNlciI6ImZtc3luYyIsInBhc3MiOiJmbXN5bmMifQ==",
   "code":"Askew Shopping Centre"
}
Return
-d data={
   "taskid":"7163d6f97794f9eaec091c5b4f85f64dddcdaf1f",
   "context":"sage300.balance",
   "success":true,
   "message":null,
   "data":{
      "balance":19550.53000000001,
      "customer":"Askew Shopping Centre"
   }
}

Copyright © Création Logicom 2025