PUT api/UniversityAdminConfig/PutUniversityConfiguration
Request Information
URI Parameters
None.
Body Parameters
PutUniversityConfigDto| Name | Description | Type | Additional information |
|---|---|---|---|
| TutoringFeePerHour | decimal number |
Required |
|
| StudentFundsPerMonth | decimal number |
Required |
|
| MaxTutoringHoursPerWeek | integer |
Required |
|
| PassdownUnusedFunds | boolean |
None. |
|
| AllowCustomLocations | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TutoringFeePerHour": 1.0,
"StudentFundsPerMonth": 2.0,
"MaxTutoringHoursPerWeek": 3,
"PassdownUnusedFunds": true,
"AllowCustomLocations": true
}
application/xml, text/xml
Sample:
<PutUniversityConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Core.Dtos.UniversityAdminNs"> <AllowCustomLocations>true</AllowCustomLocations> <MaxTutoringHoursPerWeek>3</MaxTutoringHoursPerWeek> <PassdownUnusedFunds>true</PassdownUnusedFunds> <StudentFundsPerMonth>2</StudentFundsPerMonth> <TutoringFeePerHour>1</TutoringFeePerHour> </PutUniversityConfigDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |