POST api/Activities

Request Information

URI Parameters

None.

Body Parameters

Activities
NameDescriptionTypeAdditional information
id

integer

None.

activityName

string

None.

recomTime

string

None.

recomTimeCycle

string

None.

isItEssential

string

None.

props

string

None.

doiLoveIt

string

None.

isItSubthing

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "activityName": "sample string 2",
  "recomTime": "sample string 3",
  "recomTimeCycle": "sample string 4",
  "isItEssential": "sample string 5",
  "props": "sample string 6",
  "doiLoveIt": "sample string 7",
  "isItSubthing": "sample string 8"
}

text/html

Sample:
{"id":1,"activityName":"sample string 2","recomTime":"sample string 3","recomTimeCycle":"sample string 4","isItEssential":"sample string 5","props":"sample string 6","doiLoveIt":"sample string 7","isItSubthing":"sample string 8"}

application/xml, text/xml

Sample:
<Activities xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MerlinWebService.Models">
  <activityName>sample string 2</activityName>
  <doiLoveIt>sample string 7</doiLoveIt>
  <id>1</id>
  <isItEssential>sample string 5</isItEssential>
  <isItSubthing>sample string 8</isItSubthing>
  <props>sample string 6</props>
  <recomTime>sample string 3</recomTime>
  <recomTimeCycle>sample string 4</recomTimeCycle>
</Activities>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Activities
NameDescriptionTypeAdditional information
id

integer

None.

activityName

string

None.

recomTime

string

None.

recomTimeCycle

string

None.

isItEssential

string

None.

props

string

None.

doiLoveIt

string

None.

isItSubthing

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "activityName": "sample string 2",
  "recomTime": "sample string 3",
  "recomTimeCycle": "sample string 4",
  "isItEssential": "sample string 5",
  "props": "sample string 6",
  "doiLoveIt": "sample string 7",
  "isItSubthing": "sample string 8"
}

text/html

Sample:
{"id":1,"activityName":"sample string 2","recomTime":"sample string 3","recomTimeCycle":"sample string 4","isItEssential":"sample string 5","props":"sample string 6","doiLoveIt":"sample string 7","isItSubthing":"sample string 8"}

application/xml, text/xml

Sample:
<Activities xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MerlinWebService.Models">
  <activityName>sample string 2</activityName>
  <doiLoveIt>sample string 7</doiLoveIt>
  <id>1</id>
  <isItEssential>sample string 5</isItEssential>
  <isItSubthing>sample string 8</isItSubthing>
  <props>sample string 6</props>
  <recomTime>sample string 3</recomTime>
  <recomTimeCycle>sample string 4</recomTimeCycle>
</Activities>