|
Access USOS data
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| proxyPWCommon | Call a procedure "procname" from package passing "params" list as parameters. |
| proxyPWFuncCommon | Call a function "funcname" from package passing "params" list as parameters. |
| selectPWCommon | Zwraca wynik zapytania SQL (administrative) |
services/pw_common/proxyPWCommon ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_common/proxyPWCommon | ||||||
|
Call a procedure "procname" from package passing "params" list as parameters. | ||||||
| packagename | optional | Name of a package of the method to be called. | ||||
| procname | optional | Name of a procedure from package to be called. | ||||
| data | optional | JSON encoded dictionary data with a parameter: { "params": ["par1", 2, 3.0] } | ||||
| multiple_procnames | optional | JSON encoded dictionary with a list of multiple procedures from package to be called under the parameter "procnames". { "procnames" : ["procedure1", "procedure2", "procedure3"]} | ||||
| multiple_datas | optional | JSON encoded dictionary with a list of lists of parameters under key "params": { "params" : [["par1", 2, 3.0], ["par2", 3, 2.1]]} | ||||
| fields | optional |
Default value: result Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
| format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
| callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
| Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus optional oauth_token for Token authorization. | ||||||
|
Returned value: Returns OK if operation succeeds or a message when an error occures. | ||||||
services/pw_common/proxyPWFuncCommon ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_common/proxyPWFuncCommon | ||||||
|
Call a function "funcname" from package passing "params" list as parameters. | ||||||
| packagename | optional | Name of a package of the method to be called. | ||||
| funcname | optional | Name of a function from package to be called. | ||||
| data | optional | JSON encoded dictionary data with a parameter: { "params": ["par1", 2, 3.0] } | ||||
| multiple_procnames | optional | JSON encoded dictionary with a list of multiple procedures from package to be called under the parameter "procnames". { "procnames" : ["procedure1", "procedure2", "procedure3"]} | ||||
| multiple_datas | optional | JSON encoded dictionary with a list of lists of parameters under key "params": { "params" : [["par1", 2, 3.0], ["par2", 3, 2.1]]} | ||||
| fields | optional |
Default value: result Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
| format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
| callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
| Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus optional oauth_token for Token authorization. | ||||||
|
Returned value: Returns OK if operation succeeds or a message when an error occures. | ||||||
services/pw_common/selectPWCommon ¶
Administrative: This method requires a proper Administrative Consumer Key. Contact us to get one.
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_common/selectPWCommon | ||||||
|
Zwraca wynik zapytania SQL | ||||||
| query | optional | Surowe zapytanie SQL z zagnieżdżonymi parametrami w postaci "%s%", "%d", itp... | ||||
| options | optional | Obiekt JSON (słownik) z parametrami zapytania w liście: "pars": ... | ||||
| multiple_querys | optional | JSON encoded dictionary with a list of multiple queries to be called under the parameter "querys". { "querys" : ["query1", "query2", "query3"]} | ||||
| multiple_options | optional | JSON encoded dictionary with a list of lists of parameters under key "pars": { "pars" : [["par1", 2, 3.0], ["par2", 3, 2.1]]} | ||||
| fields | optional |
Default value: items Selector of result fields you are interested in. The selector may contain any subset of fields, which are described in the returns section. |
||||
| format | optional |
Default value: json Format in which to return values. See supported output formats. |
||||
| callback | optional |
Required only if you've chosen jsonp as a return format. |
||||
| Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus optional oauth_token for Token authorization. | ||||||
|
Returned value: Zwraca wynik zapytania SQL jako kolekcję obiektów. Przykład { items: [ { "ID": 12, "OPIS_PL": ..., "OPIS_EN": ... }] } | ||||||