POST api/FoglalasEsemeny

Request Information

URI Parameters

None.

Body Parameters

BaseRequest
NameDescriptionTypeAdditional information
Md5

string

None.

Data

Object

None.

MessageType

string

None.

Cegnev

string

None.

Szallashely

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Md5": "sample string 1",
  "Data": {},
  "MessageType": "sample string 3",
  "Cegnev": "sample string 4",
  "Szallashely": "sample string 5"
}

text/html

Sample:
{"Md5":"sample string 1","Data":{},"MessageType":"sample string 3","Cegnev":"sample string 4","Szallashely":"sample string 5"}

application/xml, text/xml

Sample:
<BaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NTAKSender.RequestClasses">
  <Cegnev>sample string 4</Cegnev>
  <Data />
  <Md5>sample string 1</Md5>
  <MessageType>sample string 3</MessageType>
  <Szallashely>sample string 5</Szallashely>
</BaseRequest>

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

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
Response

Object

None.

MessageType

string

None.

NTAKException

NTAKException

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {},
  "MessageType": "sample string 2",
  "NTAKException": null
}

text/html

Sample:
{"Response":{},"MessageType":"sample string 2","NTAKException":null}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'NTAKSender.ResponseClasses.NTAKException' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'NTAKSender.ResponseClasses.NTAKException' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.