We want to move data of following tables from one server (A: Khorasan Razavi) to another server (B: TCI).
User tables:
- users
- user_attrs
- normal_users
Group table; we only need this table for group mapping:
- groups
The following document describes how we can communicate with IBSng API through JSONRPC.
Note that IBSng is capable of handling requests in XML format as well, which in this case the IBSng XMLRPC server is responsible of processing/answering the requests but it is not the purpose of this document
All the samples of this document are implemented with curl
command to make it independent of any programming languages.
Each operation in IBSng can be done by calling its appropriate method. The methods are categorized in different sections called handler. All the handlers/methods are described in here. So if we want to refer to a specific method it has the following form: <handler_name>.<method_name>
.
For example, if you decide to send the Recharge Users request, you must find its handler and of course its method. In this case, the method is rechargeUsers
and its handler is user
. So in your reques
Suppose we already created a custom field named company for users, now we want to update this attribute for user with user_id 15 with parspooyesh value. In this scenario we have already authenticated with IBSng:
$ curl -H "Content-Type: application/json" \
-H "Accept: application/json" \
The following document describes how we can communicate with IBSng API through JSONRPC.
Note that IBSng is capable of handling requests in XML format as well, which in this case the IBSng XMLRPC server is responsible of processing/answering the requests but it is not the purpose of this document
All the samples of this document are implemented with curl
command to make it independent of any programming languages.
Each operation in IBSng can be done by calling its appropriate method. The methods are categorized in different sections called handler. All the handlers/methods are described in here. So if we want to refer to an specific method it has following form: <handler_name>.<method_name>
.