POST api/EventBooking/Add

Request Information

URI Parameters

None.

Body Parameters

EventBookingAddDto
NameDescriptionTypeAdditional information
NameSurname

string

None.

Email

string

None.

Phone

string

None.

EventID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "nameSurname": "sample string 1",
  "email": "sample string 2",
  "phone": "sample string 3",
  "eventID": "5a065118-d3f6-4791-8e94-6bad29bcb075"
}

application/xml, text/xml

Sample:
<EventBookingAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs">
  <Email>sample string 2</Email>
  <EventID>5a065118-d3f6-4791-8e94-6bad29bcb075</EventID>
  <NameSurname>sample string 1</NameSurname>
  <Phone>sample string 3</Phone>
</EventBookingAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"NameSurname":"sample string 1","Email":"sample string 2","Phone":"sample string 3","EventID":"5a065118-d3f6-4791-8e94-6bad29bcb075"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.