POST api/Messages/CreateChannel

Request Information

URI Parameters

None.

Body Parameters

CreateChannelModel
NameDescriptionTypeAdditional information
title

string

None.

body

string

None.

project_id

integer

None.

order_id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "title": "sample string 1",
  "body": "sample string 2",
  "project_id": 3,
  "order_id": "sample string 4"
}

application/xml, text/xml

Sample:
<CreateChannelModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <body>sample string 2</body>
  <order_id>sample string 4</order_id>
  <project_id>3</project_id>
  <title>sample string 1</title>
</CreateChannelModel>

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 'CreateChannelModel'.

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.