POST api/message/consulta

Request Information

URI Parameters

None.

Body Parameters

MessageDao
NameDescriptionTypeAdditional information
nombre

string

None.

email

string

None.

asunto

string

None.

mensaje

string

None.

Request Formats

application/json, text/json

Sample:
{
  "nombre": "sample string 1",
  "email": "sample string 2",
  "asunto": "sample string 3",
  "mensaje": "sample string 4"
}

application/xml, text/xml

Sample:
<MessageDao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaoFidelitas.Dominio">
  <asunto>sample string 3</asunto>
  <email>sample string 2</email>
  <mensaje>sample string 4</mensaje>
  <nombre>sample string 1</nombre>
</MessageDao>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>