POST api/mktevents/payment/citroenclassicos

Request Information

URI Parameters

None.

Body Parameters

CitroenClassicosEventRequest
NameDescriptionTypeAdditional information
EventId

integer

Range: inclusive between 1 and 2147483647

Plate

string

Required

String length: inclusive between 0 and 20

ClientName

string

Required

String length: inclusive between 0 and 250

ClientPhone

string

Required

ClientEmail

string

Required

Driver

integer

Range: inclusive between 0 and 1

Adults

integer

Range: inclusive between 0 and 100

adult

integer

Range: inclusive between 0 and 100

minors_under_3

integer

Range: inclusive between 0 and 100

minor_under_3

integer

Range: inclusive between 0 and 100

minors_4_to_12

integer

Range: inclusive between 0 and 100

minor_4_to_12

integer

Range: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "EventId": 1,
  "Plate": "sample string 2",
  "ClientName": "sample string 3",
  "ClientPhone": "sample string 4",
  "ClientEmail": "sample string 5",
  "Driver": 6,
  "Adults": 7,
  "adult": 8,
  "minors_under_3": 9,
  "minor_under_3": 10,
  "minors_4_to_12": 11,
  "minor_4_to_12": 12
}

application/xml, text/xml

Sample:
<CitroenClassicosEventRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <Adult>8</Adult>
  <Adults>7</Adults>
  <ClientEmail>sample string 5</ClientEmail>
  <ClientName>sample string 3</ClientName>
  <ClientPhone>sample string 4</ClientPhone>
  <Driver>6</Driver>
  <EventId>1</EventId>
  <Minor4To12>12</Minor4To12>
  <MinorUnder3>10</MinorUnder3>
  <Minors4To12>11</Minors4To12>
  <MinorsUnder3>9</MinorsUnder3>
  <Plate>sample string 2</Plate>
</CitroenClassicosEventRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.