PUT api/RcAdminRcs/Put
Request Information
URI Parameters
None.
Body Parameters
ResourceCenterDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UniversityId | integer |
None. |
|
| IsAutoBlockEnabled | boolean |
Required |
|
| AutoBlockValue | integer |
Required |
|
| CustomMessageForBlock | string |
None. |
|
| IsCustomMessageForBlockEnabled | boolean |
Required |
|
| IsEmailAdminWhenBlockedEnabled | boolean |
Required |
|
| AdminEmail | string |
None. |
|
| Name | string |
Required |
|
| Tutors | Collection of TutorDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UniversityId": 2,
"IsAutoBlockEnabled": true,
"AutoBlockValue": 4,
"CustomMessageForBlock": "sample string 5",
"IsCustomMessageForBlockEnabled": true,
"IsEmailAdminWhenBlockedEnabled": true,
"AdminEmail": "sample string 8",
"Name": "sample string 9",
"Tutors": null
}
application/xml, text/xml
Sample:
<ResourceCenterDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Common.Dtos.UniversityNs"> <AdminEmail>sample string 8</AdminEmail> <AutoBlockValue>4</AutoBlockValue> <CustomMessageForBlock>sample string 5</CustomMessageForBlock> <Id>1</Id> <IsAutoBlockEnabled>true</IsAutoBlockEnabled> <IsCustomMessageForBlockEnabled>true</IsCustomMessageForBlockEnabled> <IsEmailAdminWhenBlockedEnabled>true</IsEmailAdminWhenBlockedEnabled> <Name>sample string 9</Name> <Tutors xmlns:d2p1="http://schemas.datacontract.org/2004/07/StudyTree.Common.Dtos.TutorNs" i:nil="true" /> <UniversityId>2</UniversityId> </ResourceCenterDto>
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. |