POST api/v1/passengerflightsregistrations

Request Information

URI Parameters

None.

Body Parameters

PassengerFlightRegistrationDetails
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

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": "bc809eac-7ce7-4441-8700-616a739eba3e",
  "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": "b918e71b-f3cb-466b-b07d-41091d2e2b5e",
  "NotificationEmail": "sample string 17",
  "SendCouponToInvoiceAddress": true,
  "Remarks": "sample string 19"
}

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":"bc809eac-7ce7-4441-8700-616a739eba3e","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":"b918e71b-f3cb-466b-b07d-41091d2e2b5e","NotificationEmail":"sample string 17","SendCouponToInvoiceAddress":true,"Remarks":"sample string 19"}

application/xml, text/xml

Sample:
<PassengerFlightRegistrationDetails 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>bc809eac-7ce7-4441-8700-616a739eba3e</CountryId>
  <Firstname>sample string 2</Firstname>
  <InvoiceAddressIsSame>true</InvoiceAddressIsSame>
  <InvoiceToAddressLine1>sample string 14</InvoiceToAddressLine1>
  <InvoiceToCity>sample string 16</InvoiceToCity>
  <InvoiceToCountryId>b918e71b-f3cb-466b-b07d-41091d2e2b5e</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 19</Remarks>
  <SendCouponToInvoiceAddress>true</SendCouponToInvoiceAddress>
  <ZipCode>sample string 5</ZipCode>
</PassengerFlightRegistrationDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.