POST api/ChatApi/UploadChatImage

Request Information

URI Parameters

None.

Body Parameters

Chat
NameDescriptionTypeAdditional information
id

string

None.

user_id

string

None.

chat_imgurl

string

None.

status

string

None.

is_image

string

None.

last_msg

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "user_id": "sample string 2",
  "chat_imgurl": "sample string 3",
  "status": "sample string 4",
  "is_image": "sample string 5",
  "last_msg": "sample string 6"
}

application/xml, text/xml

Sample:
<Chat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tripwoman.Models">
  <chat_imgurl>sample string 3</chat_imgurl>
  <id>sample string 1</id>
  <is_image>sample string 5</is_image>
  <last_msg>sample string 6</last_msg>
  <status>sample string 4</status>
  <user_id>sample string 2</user_id>
</Chat>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.