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": "87ff5c7f-84f0-462e-8515-bd80142b416d",
  "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": "a42d6d1e-a920-4e15-8cf1-834d0dc34cee",
  "NotificationEmail": "sample string 17",
  "SelectedDay": "2024-11-21T09:51:46.9908455+01: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":"87ff5c7f-84f0-462e-8515-bd80142b416d","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":"a42d6d1e-a920-4e15-8cf1-834d0dc34cee","NotificationEmail":"sample string 17","SelectedDay":"2024-11-21T09:51:46.9908455+01: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>87ff5c7f-84f0-462e-8515-bd80142b416d</CountryId>
  <Firstname>sample string 2</Firstname>
  <InvoiceAddressIsSame>true</InvoiceAddressIsSame>
  <InvoiceToAddressLine1>sample string 14</InvoiceToAddressLine1>
  <InvoiceToCity>sample string 16</InvoiceToCity>
  <InvoiceToCountryId>a42d6d1e-a920-4e15-8cf1-834d0dc34cee</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-11-21T09:51:46.9908455+01: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.