|
Access and accepting decisions
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| approve_creg | Zatwierdzanie regulaminu przedmiotu. |
| deapprove_creg | Anulowanie zatwierdzenia regulaminu przedmiotu. |
| get_coordinated_subjects | Zwraca listę koordynowanych przedmiotów dla danej osoby (pracownika). |
| get_creg | Pobieranie regulaminu przedmiotu - jeśli nie podana jest wersja, zwracana jest najnowsza wersja regulaminu. |
| get_creg_cycles | Pobieranie obowiązującego szablonu regulaminu przedmiotu |
| get_creg_stats | Statystyka regulaminów przedmiotów. |
| get_creg_statuses | Lista statusów regulaminów przedmiotów. |
| get_creg_template | Pobieranie obowiązującego szablonu regulaminu przedmiotu |
| get_creg_versions | Lista wersji regulaminu. |
| is_approved_creg | Werfyikacja czy regulamin jest zatwierdzony. |
| save_creg_element | Zapisywanie elementu regulaminu przedmiotu cyklu. |
| save_creg_object | Zapisywanie regulaminu przedmiotu cyklu. |
| save_creg_object_approve | Zapisywanie i zatwierdzanie regulaminu przedmiotu cyklu. |
| selectPWCreg | Zwraca wynik zapytania SQL (administrative) |
services/pw_cregs/approve_creg ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/approve_creg | ||||||
|
Zatwierdzanie regulaminu przedmiotu. | ||||||
| prz_kod | required | Kod przedmiotu | ||||
| cdyd_kod | required | Kod cyklu dydaktycznego | ||||
| szablon_id | required | Id szablonu | ||||
| os_id | optional | Identyfikator osoby (koordynatora przedmiotu) zatwierdzającej regulamin | ||||
| 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: The value result holds True, when the answer is positive, when negative it is False with the reason in attribute message_pl and message_en. | ||||||
services/pw_cregs/deapprove_creg ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/deapprove_creg | ||||||
|
Anulowanie zatwierdzenia regulaminu przedmiotu. | ||||||
| prz_kod | required | Kod przedmiotu | ||||
| cdyd_kod | required | Kod cyklu dydaktycznego | ||||
| os_id | optional | Identyfikator osoby (koordynatora przedmiotu) anulującej zatwierdzenie regulaminu | ||||
| 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: The value result holds True, when the answer is positive, when negative it is False with the reason in attribute message_pl and message_en. | ||||||
services/pw_cregs/get_coordinated_subjects ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/get_coordinated_subjects | ||||||
|
Zwraca listę koordynowanych przedmiotów dla danej osoby (pracownika). | ||||||
| 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 of get_creg_versions method. |
||||
| 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 listę koordynowanych przedmiotów dla danej osoby (pracownika). | ||||||
services/pw_cregs/get_creg ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/get_creg | ||||||
|
Pobieranie regulaminu przedmiotu - jeśli nie podana jest wersja, zwracana jest najnowsza wersja regulaminu. | ||||||
| prz_kod | required | Kod przedmiotu | ||||
| cdyd_kod | required | Cykl dydaktyczny | ||||
| wersja | optional | Wersja regulaminu | ||||
| fields | optional |
Default value: items|kolejnosc|nazwa_elementu|nazwa_elementu_ang|uwagi|wartosc|wartosc_ang 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: A dictionary of selected fields and their values. Available fields:
| ||||||
services/pw_cregs/get_creg_cycles ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/get_creg_cycles | ||||||
|
Pobieranie obowiązującego szablonu regulaminu przedmiotu | ||||||
| prz_kod | required | Kod przedmiotu | ||||
| szablon_id | required | Id szablonu | ||||
| fields | optional |
Default value: items|cdyd_kod 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: Lista cykli (cdyd_kod) | ||||||
services/pw_cregs/get_creg_stats ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/get_creg_stats | ||||||
|
Statystyka regulaminów przedmiotów. | ||||||
| jed_org_kod | required | Kod jednostki biorcy | ||||
| cdyd_kod | required | Kod cyklu dydaktycznego | ||||
| 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: The value result holds True, when the answer is positive, when negative it is False with the reason in attribute message_pl and message_en. | ||||||
services/pw_cregs/get_creg_statuses ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/get_creg_statuses | ||||||
|
Lista statusów regulaminów przedmiotów. | ||||||
| jed_org_kod | required | Kod jednostki biorcy | ||||
| cdyd_kod | required | Kod cyklu dydaktycznego | ||||
| order_by | optional | Sortowanie | ||||
| 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: The value result holds True, when the answer is positive, when negative it is False with the reason in attribute message_pl and message_en. | ||||||
services/pw_cregs/get_creg_template ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/get_creg_template | ||||||
|
Pobieranie obowiązującego szablonu regulaminu przedmiotu | ||||||
| prz_kod | required | Kod przedmiotu | ||||
| cdyd_kod | required | Cykl dydaktyczny | ||||
| fields | optional |
Default value: items|szablon_id|nazwa_szablonu|kolejnosc|nazwa_elementu|nazwa_elementu_ang|uwagi|max_dlugosc|wymagany 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: Lista elementów (szablon_id, nazwa_szablonu, kolejnosc, nazwa_elementu, nazwa_elementu_ang, uwagi, max_dlugosc, wymagany | ||||||
services/pw_cregs/get_creg_versions ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/get_creg_versions | ||||||
|
Lista wersji regulaminu. | ||||||
| prz_kod | required | Kod przedmiotu | ||||
| cdyd_kod | required | Kod cyklu dydaktycznego | ||||
| 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: The value result holds True, when the answer is positive, when negative it is False with the reason in attribute message_pl and message_en. | ||||||
services/pw_cregs/is_approved_creg ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/is_approved_creg | ||||||
|
Werfyikacja czy regulamin jest zatwierdzony. | ||||||
| prz_kod | required | Kod przedmiotu | ||||
| cdyd_kod | required | Kod cyklu dydaktycznego | ||||
| 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: The value result holds True, when the answer is positive, when negative it is False with the reason in attribute message_pl and message_en. | ||||||
services/pw_cregs/save_creg_element ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/save_creg_element | ||||||
|
Zapisywanie elementu regulaminu przedmiotu cyklu. | ||||||
| prz_kod | required | Kod przedmiotu | ||||
| cdyd_kod | required | Kod cyklu dydaktycznego | ||||
| szablon_id | required | ID szablonu | ||||
| kolejnosc | required | Kolejność elementu w szablonie | ||||
| wersja | required | Wersja regulaminu | ||||
| opis | required | Zawartość elementu w języku polskim | ||||
| description | required | Zawartość elementu w języku angielskim | ||||
| 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: The value result holds True, when the answer is positive, when negative it is False with the reason in attribute message_pl and message_en. | ||||||
services/pw_cregs/save_creg_object ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/save_creg_object | ||||||
|
Zapisywanie regulaminu przedmiotu cyklu. | ||||||
| json_string | required | String json | ||||
| 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: The value result holds True, when the answer is positive, when negative it is False with the reason in attribute message_pl and message_en. | ||||||
services/pw_cregs/save_creg_object_approve ¶
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/save_creg_object_approve | ||||||
|
Zapisywanie i zatwierdzanie regulaminu przedmiotu cyklu. | ||||||
| json_string | required | String json | ||||
| 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: | ||||||
services/pw_cregs/selectPWCreg ¶
Administrative: This method requires a proper Administrative Consumer Key. Contact us to get one.
|
||||||
| https://apps.usos.pw.edu.pl/services/pw_cregs/selectPWCreg | ||||||
|
Zwraca wynik zapytania SQL | ||||||
| query | optional | Surowa kwerenda SQL z zagnieżdżonymi parametrami w postaci "%s%", "%d", itp... | ||||
| options | optional | Obiekt JSON (słownik) z parametrami kwerendy 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": ... }] } | ||||||