POST api/Socket

Request Information

URI Parameters

None.

Body Parameters

Message
NameDescriptionTypeAdditional information
ci

string

None.

b

string

None.

ih

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ci": "sample string 1",
  "b": "sample string 2",
  "ih": true
}

application/xml, text/xml

Sample:
<SocketController.Message xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SurveyApi.Controllers">
  <Body>sample string 2</Body>
  <ChatId>sample string 1</ChatId>
  <IsHost>true</IsHost>
</SocketController.Message>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Message'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.