|
Student internships
|
create_company | Create a new company. (administrative) |
update_company | Update an existing company. (administrative) |
services/internships/create_company ¶
Administrative: This method requires a proper Administrative Consumer Key. Contact us to get one.
|
||||||
URLs of the methods are hidden, because this installation is
the mother server.
Click here for the list of all public USOS API installations. |
||||||
This is a BETA method. We're looking for beta-testers. Until we find them, there's a substantial probability it won't stay backwards-compatible! If you are planning on using this method, please let us know. Then, we will work with you and move it out of beta as soon as we can. Create database records for company. | ||||||
name_pl | required | Company name in Polish | ||||
country | required | Country part of the address | ||||
name_en | optional | Company name in English | ||||
nip | optional | Polish tax number | ||||
parent_company_id | optional | ID of parent company | ||||
www | optional | WWW address | ||||
optional | E-mail address | |||||
street | optional | Street part of the address | ||||
building_number | optional | Building number part of the address | ||||
apartment_number | optional | Apartment number part of the address | ||||
postal_code | optional | Postal code part of the address | ||||
foreign_postal_code | optional | Foreign postal code part of the address | ||||
city | optional | City part of the address | ||||
phone_number | optional | Telephone number | ||||
fac_id | optional | ID of the faculty of the internship | ||||
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. Token is not required. | ||||||
Returned value: A dictionary of the following structure:
| ||||||
Thrown errors:
|
services/internships/update_company ¶
Administrative: This method requires a proper Administrative Consumer Key. Contact us to get one.
|
||||||
URLs of the methods are hidden, because this installation is
the mother server.
Click here for the list of all public USOS API installations. |
||||||
This is a BETA method. We're looking for beta-testers. Until we find them, there's a substantial probability it won't stay backwards-compatible! If you are planning on using this method, please let us know. Then, we will work with you and move it out of beta as soon as we can. Update database records for company. | ||||||
company_id | required | ID of the company | ||||
name_pl | optional | Company name in Polish | ||||
name_en | optional | Company name in English | ||||
nip | optional | Polish tax number | ||||
parent_company_id | optional | ID of parent company | ||||
www | optional | WWW address | ||||
optional | E-mail address | |||||
street | optional | Street part of the address | ||||
building_number | optional | Building number part of the address | ||||
apartment_number | optional | Apartment number part of the address | ||||
postal_code | optional | Postal code part of the address | ||||
foreign_postal_code | optional | Foreign postal code part of the address | ||||
city | optional | City part of the address | ||||
country | optional | Country part of the address | ||||
phone_number | optional | Telephone number | ||||
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. Token is not required. | ||||||
Returned value: Empty dict on success. | ||||||
Thrown errors:
|