POST api/RcAdminTcs/Post
Create a new tutoring center, linked with the current resource center.
Request Information
URI Parameters
None.
Body Parameters
PostTcDto| Name | Description | Type | Additional information |
|---|---|---|---|
| RcId | integer |
Required |
|
| Name | string |
Required |
|
| Latitude | decimal number |
Required |
|
| Longitude | decimal number |
Required |
|
| Address | string |
None. |
|
| Details | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RcId": 1,
"Name": "sample string 2",
"Latitude": 3.1,
"Longitude": 4.1,
"Address": "sample string 5",
"Details": "sample string 6"
}
application/xml, text/xml
Sample:
<PostTcDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Core.Dtos.UniversityNs.TutoringCenterNs"> <Address>sample string 5</Address> <Details>sample string 6</Details> <Latitude>3.1</Latitude> <Longitude>4.1</Longitude> <Name>sample string 2</Name> <RcId>1</RcId> </PostTcDto>
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. |