POST api/MesajHostes

Request Information

URI Parameters

None.

Body Parameters

MesajHostesDto
NameDescriptionTypeAdditional information
user_id

integer

None.

hostes_mesaj

string

None.

hostes_gonderen

string

None.

hostes_gonderen_mail

string

None.

hostes_gonderen_tel

string

None.

Request Formats

application/json, text/json

Sample:
{
  "user_id": 1,
  "hostes_mesaj": "sample string 2",
  "hostes_gonderen": "sample string 3",
  "hostes_gonderen_mail": "sample string 4",
  "hostes_gonderen_tel": "sample string 5"
}

application/xml, text/xml

Sample:
<MesajHostesController.MesajHostesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnadoluApi.Controllers">
  <hostes_gonderen>sample string 3</hostes_gonderen>
  <hostes_gonderen_mail>sample string 4</hostes_gonderen_mail>
  <hostes_gonderen_tel>sample string 5</hostes_gonderen_tel>
  <hostes_mesaj>sample string 2</hostes_mesaj>
  <user_id>1</user_id>
</MesajHostesController.MesajHostesDto>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />