POST api/FitnessCompanyLog/AddLog
Request Information
URI Parameters
None.
Body Parameters
FitnessCompanyLogViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CoachId | string |
Required Max length: 32 |
|
| CompanyId | string |
Required Max length: 32 |
|
| CourseId | string |
Max length: 32 |
|
| Type | string |
Required Max length: 4 |
|
| Version | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CoachId": "sample string 1",
"CompanyId": "sample string 2",
"CourseId": "sample string 3",
"Type": "sample string 4",
"Version": 5
}
application/xml, text/xml
Sample:
<FitnessCompanyLogViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoachKing.WeApp.ViewModel"> <CoachId>sample string 1</CoachId> <CompanyId>sample string 2</CompanyId> <CourseId>sample string 3</CourseId> <Type>sample string 4</Type> <Version>5</Version> </FitnessCompanyLogViewModel>
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. |