POST instructor/slots
Request Information
URI Parameters
None.
Body Parameters
Collection of SlotsName | Description | Type | Additional information |
---|---|---|---|
day | string |
None. |
|
fromTime | string |
None. |
|
toTime | string |
None. |
|
isAvailable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "day": "sample string 1", "fromTime": "sample string 2", "toTime": "sample string 3", "isAvailable": true }, { "day": "sample string 1", "fromTime": "sample string 2", "toTime": "sample string 3", "isAvailable": true } ]
application/xml, text/xml
Sample:
<ArrayOfSlots xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FitnessForce.FFBusinessEntity"> <Slots> <day>sample string 1</day> <fromTime>sample string 2</fromTime> <isAvailable>true</isAvailable> <toTime>sample string 3</toTime> </Slots> <Slots> <day>sample string 1</day> <fromTime>sample string 2</fromTime> <isAvailable>true</isAvailable> <toTime>sample string 3</toTime> </Slots> </ArrayOfSlots>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |