POST api/Insert_Comment

Request Information

URI Parameters

None.

Body Parameters

Message_comment
NameDescriptionTypeAdditional information
id

string

None.

msgid

string

None.

comment

string

None.

comment_by_mobile

string

None.

createdon

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "msgid": "sample string 2",
  "comment": "sample string 3",
  "comment_by_mobile": "sample string 4",
  "createdon": "sample string 5"
}

application/xml, text/xml

Sample:
<Message_comment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InventoryAPI.Models">
  <comment>sample string 3</comment>
  <comment_by_mobile>sample string 4</comment_by_mobile>
  <createdon>sample string 5</createdon>
  <id>sample string 1</id>
  <msgid>sample string 2</msgid>
</Message_comment>

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

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.