POST api/UserMessage

Request Information

URI Parameters

None.

Body Parameters

UserMessageViewModels
NameDescriptionTypeAdditional information
messageId

integer

None.

userName

string

None.

address

string

None.

contactNo

string

None.

emailId

string

None.

message

string

None.

amount

decimal number

None.

type

string

None.

createdAt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "messageId": 1,
  "userName": "sample string 2",
  "address": "sample string 3",
  "contactNo": "sample string 4",
  "emailId": "sample string 5",
  "message": "sample string 6",
  "amount": 1.1,
  "type": "sample string 7",
  "createdAt": "2024-04-13T02:19:29.3940755+05:30"
}

application/xml, text/xml

Sample:
<UserMessageViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSPWeb.Models">
  <address>sample string 3</address>
  <amount>1.1</amount>
  <contactNo>sample string 4</contactNo>
  <createdAt>2024-04-13T02:19:29.3940755+05:30</createdAt>
  <emailId>sample string 5</emailId>
  <message>sample string 6</message>
  <messageId>1</messageId>
  <type>sample string 7</type>
  <userName>sample string 2</userName>
</UserMessageViewModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.