Hello
I am new at JSON and I want to start using them.
I have this one from manual.
Can someone point me to the correct direction how to do or one example?
Thank you
I am new at JSON and I want to start using them.
I have this one from manual.
Can someone point me to the correct direction how to do or one example?
Thank you
manual:
Login(Post Method)
It is used to Login the web account defined by urlName in request URL. It returns a temporary access token
(clientID) that can be later used in the “authenticate” method. It also returns the available set of login permissions
for the User.
Request URL
http://urlName.com/login
Request Sample
{
"service": "login",
"username": "demo",
"password": "demo",
"appId": "8002"
}
Request Parameters
Property Type Description
service string Defines the name of the method that will be executed. Current method is login.
username string User name (Code) defined in Web Accounts
password string Password defined in Web Accounts
appId string ID of the Service defined in Web Accounts
Response Sample
{
"success": true,
"clientID": "9J8pJ6LGa5mHG",
"objs": [ {
"COMPANY": "demo company",
"COMPANYNAME": "Standard Company",
"BRANCH": "9999",
"BRANCHNAME": "Head Offices",
"MODULE": "0",
"MODULENAME": "<Blank>",
"REFID": "123",
"REFIDNAME": "demo",
"USERID": "500",
"FINALDATE": "1899-12-30 00:00:00",
"ROLES": ""
}],
"ver": "4.00.514.10630",
"sn": "01234567890123"
}
Last edited: