POST api/Chat/DeleteChatId

Request Information

URI Parameters

None.

Body Parameters

ChatModel
NameDescriptionTypeAdditional information
ChatId

decimal number

None.

User1

string

None.

User2

string

None.

ChatMessage

string

None.

IsDisplay

boolean

None.

IsActive

boolean

None.

IsAddedOn

date

None.

IsAddedBy

decimal number

None.

IsUpdatedOn

date

None.

IsUpdatedBy

decimal number

None.

IsDeletedOn

date

None.

IsDeletedBy

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ChatId": 1.0,
  "User1": "sample string 2",
  "User2": "sample string 3",
  "ChatMessage": "sample string 4",
  "IsDisplay": true,
  "IsActive": true,
  "IsAddedOn": "2025-12-06T08:53:59.7977737+05:30",
  "IsAddedBy": 1.0,
  "IsUpdatedOn": "2025-12-06T08:53:59.7977737+05:30",
  "IsUpdatedBy": 1.0,
  "IsDeletedOn": "2025-12-06T08:53:59.7977737+05:30",
  "IsDeletedBy": 1.0
}

application/xml, text/xml

Sample:
<ChatModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Model">
  <ChatId>1</ChatId>
  <ChatMessage>sample string 4</ChatMessage>
  <IsActive>true</IsActive>
  <IsAddedBy>1</IsAddedBy>
  <IsAddedOn>2025-12-06T08:53:59.7977737+05:30</IsAddedOn>
  <IsDeletedBy>1</IsDeletedBy>
  <IsDeletedOn>2025-12-06T08:53:59.7977737+05:30</IsDeletedOn>
  <IsDisplay>true</IsDisplay>
  <IsUpdatedBy>1</IsUpdatedBy>
  <IsUpdatedOn>2025-12-06T08:53:59.7977737+05:30</IsUpdatedOn>
  <User1>sample string 2</User1>
  <User2>sample string 3</User2>
</ChatModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.