POST api/TimeTables

Request Information

URI Parameters

None.

Body Parameters

TimeTable
NameDescriptionTypeAdditional information
id

integer

None.

startTime

string

None.

endTime

string

None.

durations

string

None.

activity

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "startTime": "sample string 2",
  "endTime": "sample string 3",
  "durations": "sample string 4",
  "activity": "sample string 5"
}

text/html

Sample:
{"id":1,"startTime":"sample string 2","endTime":"sample string 3","durations":"sample string 4","activity":"sample string 5"}

application/xml, text/xml

Sample:
<TimeTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MerlinWebService.Models">
  <activity>sample string 5</activity>
  <durations>sample string 4</durations>
  <endTime>sample string 3</endTime>
  <id>1</id>
  <startTime>sample string 2</startTime>
</TimeTable>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TimeTable
NameDescriptionTypeAdditional information
id

integer

None.

startTime

string

None.

endTime

string

None.

durations

string

None.

activity

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "startTime": "sample string 2",
  "endTime": "sample string 3",
  "durations": "sample string 4",
  "activity": "sample string 5"
}

text/html

Sample:
{"id":1,"startTime":"sample string 2","endTime":"sample string 3","durations":"sample string 4","activity":"sample string 5"}

application/xml, text/xml

Sample:
<TimeTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MerlinWebService.Models">
  <activity>sample string 5</activity>
  <durations>sample string 4</durations>
  <endTime>sample string 3</endTime>
  <id>1</id>
  <startTime>sample string 2</startTime>
</TimeTable>