POST api/v1/trialflightsregistrations

Request Information

URI Parameters

None.

Body Parameters

TrialFlightRegistrationDetails
NameDescriptionTypeAdditional information
ClubKey

string

Required

String length: inclusive between 0 and 10

Firstname

string

Required

String length: inclusive between 0 and 100

Lastname

string

Required

String length: inclusive between 0 and 100

AddressLine1

string

String length: inclusive between 0 and 200

ZipCode

string

String length: inclusive between 0 and 10

City

string

String length: inclusive between 0 and 100

CountryId

globally unique identifier

None.

PrivateEmail

string

String length: inclusive between 0 and 256

MobilePhoneNumber

string

String length: inclusive between 0 and 30

PrivatePhoneNumber

string

String length: inclusive between 0 and 30

BusinessPhoneNumber

string

String length: inclusive between 0 and 30

InvoiceAddressIsSame

boolean

None.

InvoiceToFirstname

string

String length: inclusive between 0 and 100

InvoiceToLastname

string

String length: inclusive between 0 and 100

InvoiceToAddressLine1

string

String length: inclusive between 0 and 200

InvoiceToZipCode

string

String length: inclusive between 0 and 10

InvoiceToCity

string

String length: inclusive between 0 and 100

InvoiceToCountryId

globally unique identifier

None.

NotificationEmail

string

String length: inclusive between 0 and 256

SelectedDay

date

None.

SendCouponToInvoiceAddress

boolean

None.

Remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClubKey": "sample string 1",
  "Firstname": "sample string 2",
  "Lastname": "sample string 3",
  "AddressLine1": "sample string 4",
  "ZipCode": "sample string 5",
  "City": "sample string 6",
  "CountryId": "c6924b92-6f27-48aa-9bd1-d49a1d660bd7",
  "PrivateEmail": "sample string 7",
  "MobilePhoneNumber": "sample string 8",
  "PrivatePhoneNumber": "sample string 9",
  "BusinessPhoneNumber": "sample string 10",
  "InvoiceAddressIsSame": true,
  "InvoiceToFirstname": "sample string 12",
  "InvoiceToLastname": "sample string 13",
  "InvoiceToAddressLine1": "sample string 14",
  "InvoiceToZipCode": "sample string 15",
  "InvoiceToCity": "sample string 16",
  "InvoiceToCountryId": "d75ba859-cccc-47a5-99f9-814fed908892",
  "NotificationEmail": "sample string 17",
  "SelectedDay": "2024-04-26T04:31:08.0806426+02:00",
  "SendCouponToInvoiceAddress": true,
  "Remarks": "sample string 20"
}

text/html

Sample:
{"ClubKey":"sample string 1","Firstname":"sample string 2","Lastname":"sample string 3","AddressLine1":"sample string 4","ZipCode":"sample string 5","City":"sample string 6","CountryId":"c6924b92-6f27-48aa-9bd1-d49a1d660bd7","PrivateEmail":"sample string 7","MobilePhoneNumber":"sample string 8","PrivatePhoneNumber":"sample string 9","BusinessPhoneNumber":"sample string 10","InvoiceAddressIsSame":true,"InvoiceToFirstname":"sample string 12","InvoiceToLastname":"sample string 13","InvoiceToAddressLine1":"sample string 14","InvoiceToZipCode":"sample string 15","InvoiceToCity":"sample string 16","InvoiceToCountryId":"d75ba859-cccc-47a5-99f9-814fed908892","NotificationEmail":"sample string 17","SelectedDay":"2024-04-26T04:31:08.0806426+02:00","SendCouponToInvoiceAddress":true,"Remarks":"sample string 20"}

application/xml, text/xml

Sample:
<TrialFlightRegistrationDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Registrations">
  <AddressLine1>sample string 4</AddressLine1>
  <BusinessPhoneNumber>sample string 10</BusinessPhoneNumber>
  <City>sample string 6</City>
  <ClubKey>sample string 1</ClubKey>
  <CountryId>c6924b92-6f27-48aa-9bd1-d49a1d660bd7</CountryId>
  <Firstname>sample string 2</Firstname>
  <InvoiceAddressIsSame>true</InvoiceAddressIsSame>
  <InvoiceToAddressLine1>sample string 14</InvoiceToAddressLine1>
  <InvoiceToCity>sample string 16</InvoiceToCity>
  <InvoiceToCountryId>d75ba859-cccc-47a5-99f9-814fed908892</InvoiceToCountryId>
  <InvoiceToFirstname>sample string 12</InvoiceToFirstname>
  <InvoiceToLastname>sample string 13</InvoiceToLastname>
  <InvoiceToZipCode>sample string 15</InvoiceToZipCode>
  <Lastname>sample string 3</Lastname>
  <MobilePhoneNumber>sample string 8</MobilePhoneNumber>
  <NotificationEmail>sample string 17</NotificationEmail>
  <PrivateEmail>sample string 7</PrivateEmail>
  <PrivatePhoneNumber>sample string 9</PrivatePhoneNumber>
  <Remarks>sample string 20</Remarks>
  <SelectedDay>2024-04-26T04:31:08.0806426+02:00</SelectedDay>
  <SendCouponToInvoiceAddress>true</SendCouponToInvoiceAddress>
  <ZipCode>sample string 5</ZipCode>
</TrialFlightRegistrationDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.