POST api/CoachMain
Request Information
URI Parameters
None.
Body Parameters
CoachInfoViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| coach_id | string |
None. |
|
| coach_name | string |
None. |
|
| ImgUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"coach_id": "sample string 1",
"coach_name": "sample string 2",
"ImgUrl": "sample string 3"
}
application/xml, text/xml
Sample:
<CoachInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoachKing.WeApp.ViewModel"> <CoachId>sample string 1</CoachId> <CoachName>sample string 2</CoachName> <ImgUrl>sample string 3</ImgUrl> </CoachInfoViewModel>
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. |