URL Params
Required: None
Optional: Any data component may be passed as a query parameter if a binding property exists for that parameter. For example, see the RASON example code snippet below.
data: {
tktPrice: {
value: [150],
binding: 'get'
}
}
To change a query parameter outside of the RASON model environment, use:
$.Post("https://rason.net/api/simulate?tktPrice=300",...
RASON Server will map "tktPrice=?" with "tktPrice = 300". A query can return any number of rows that satisfy the filtering condition, from 0 to infinity.
To perform a query using multiple parameters (say custID, maritalStatus and age) outside of the RASON model environment, use the query parameter:
$.get(https://rason.net/api/decision? custID=c2&maritalStatus=s&age=40 .....
Or in general,
$.get(https://rason.net/api/decision?par1=val1&par2=val2.....