POST api/v1/clubs

Request Information

URI Parameters

None.

Body Parameters

ClubDetails
NameDescriptionTypeAdditional information
ClubId

globally unique identifier

None.

ClubKey

string

Required

String length: inclusive between 0 and 10

Address

string

String length: inclusive between 0 and 100

City

string

String length: inclusive between 0 and 100

ClubName

string

Required

String length: inclusive between 0 and 100

ContactName

string

String length: inclusive between 0 and 100

CountryId

globally unique identifier

None.

DefaultStartType

integer

None.

DefaultGliderFlightTypeId

globally unique identifier

None.

DefaultTowFlightTypeId

globally unique identifier

None.

DefaultMotorFlightTypeId

globally unique identifier

None.

EmailAddress

string

String length: inclusive between 0 and 256

FaxNumber

string

String length: inclusive between 0 and 30

HomebaseId

globally unique identifier

None.

LastDeliverySynchronisationOn

date

None.

LastPersonSynchronisationOn

date

None.

LastArticleSynchronisationOn

date

None.

PhoneNumber

string

String length: inclusive between 0 and 30

WebPage

string

String length: inclusive between 0 and 100

ZipCode

string

String length: inclusive between 0 and 10

SendAircraftStatisticReportTo

string

String length: inclusive between 0 and 250

SendPlanningDayInfoMailTo

string

String length: inclusive between 0 and 250

SendDeliveryMailExportTo

string

String length: inclusive between 0 and 250

SendTrialFlightRegistrationOperatorEmailTo

string

String length: inclusive between 0 and 250

SendPassengerFlightRegistrationOperatorEmailTo

string

String length: inclusive between 0 and 250

ReplyToEmailAddress

string

String length: inclusive between 0 and 250

RunDeliveryCreationJob

boolean

None.

RunDeliveryMailExportJob

boolean

None.

IsClubMemberNumberReadonly

boolean

None.

Id

globally unique identifier

None.

CanUpdateRecord

boolean

None.

CanDeleteRecord

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ClubId": "61f5819b-a29d-4dad-ad8a-38b7ec904548",
  "ClubKey": "sample string 2",
  "Address": "sample string 3",
  "City": "sample string 4",
  "ClubName": "sample string 5",
  "ContactName": "sample string 6",
  "CountryId": "b1a7921c-8830-475d-ae88-6a57f24dfab8",
  "DefaultStartType": 1,
  "DefaultGliderFlightTypeId": "adcfed35-5667-4a88-acff-212e0c5b08ad",
  "DefaultTowFlightTypeId": "4521301c-0da8-42de-bdf7-1045137d83d8",
  "DefaultMotorFlightTypeId": "5c3b7221-6a08-433a-8986-53be689800d2",
  "EmailAddress": "sample string 8",
  "FaxNumber": "sample string 9",
  "HomebaseId": "1ebc19f8-d0ca-445b-8d93-72d5cb970ccd",
  "LastDeliverySynchronisationOn": "2020-04-05T10:44:43.7600981+02:00",
  "LastPersonSynchronisationOn": "2020-04-05T10:44:43.7600981+02:00",
  "LastArticleSynchronisationOn": "2020-04-05T10:44:43.7600981+02:00",
  "PhoneNumber": "sample string 10",
  "WebPage": "sample string 11",
  "ZipCode": "sample string 12",
  "SendAircraftStatisticReportTo": "sample string 13",
  "SendPlanningDayInfoMailTo": "sample string 14",
  "SendDeliveryMailExportTo": "sample string 15",
  "SendTrialFlightRegistrationOperatorEmailTo": "sample string 16",
  "SendPassengerFlightRegistrationOperatorEmailTo": "sample string 17",
  "ReplyToEmailAddress": "sample string 18",
  "RunDeliveryCreationJob": true,
  "RunDeliveryMailExportJob": true,
  "IsClubMemberNumberReadonly": true,
  "Id": "61f5819b-a29d-4dad-ad8a-38b7ec904548",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"ClubId":"61f5819b-a29d-4dad-ad8a-38b7ec904548","ClubKey":"sample string 2","Address":"sample string 3","City":"sample string 4","ClubName":"sample string 5","ContactName":"sample string 6","CountryId":"b1a7921c-8830-475d-ae88-6a57f24dfab8","DefaultStartType":1,"DefaultGliderFlightTypeId":"adcfed35-5667-4a88-acff-212e0c5b08ad","DefaultTowFlightTypeId":"4521301c-0da8-42de-bdf7-1045137d83d8","DefaultMotorFlightTypeId":"5c3b7221-6a08-433a-8986-53be689800d2","EmailAddress":"sample string 8","FaxNumber":"sample string 9","HomebaseId":"1ebc19f8-d0ca-445b-8d93-72d5cb970ccd","LastDeliverySynchronisationOn":"2020-04-05T10:44:43.7600981+02:00","LastPersonSynchronisationOn":"2020-04-05T10:44:43.7600981+02:00","LastArticleSynchronisationOn":"2020-04-05T10:44:43.7600981+02:00","PhoneNumber":"sample string 10","WebPage":"sample string 11","ZipCode":"sample string 12","SendAircraftStatisticReportTo":"sample string 13","SendPlanningDayInfoMailTo":"sample string 14","SendDeliveryMailExportTo":"sample string 15","SendTrialFlightRegistrationOperatorEmailTo":"sample string 16","SendPassengerFlightRegistrationOperatorEmailTo":"sample string 17","ReplyToEmailAddress":"sample string 18","RunDeliveryCreationJob":true,"RunDeliveryMailExportJob":true,"IsClubMemberNumberReadonly":true,"Id":"61f5819b-a29d-4dad-ad8a-38b7ec904548","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<ClubDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Club">
  <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
  <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
  <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">61f5819b-a29d-4dad-ad8a-38b7ec904548</Id>
  <Address>sample string 3</Address>
  <City>sample string 4</City>
  <ClubId>61f5819b-a29d-4dad-ad8a-38b7ec904548</ClubId>
  <ClubKey>sample string 2</ClubKey>
  <ClubName>sample string 5</ClubName>
  <ContactName>sample string 6</ContactName>
  <CountryId>b1a7921c-8830-475d-ae88-6a57f24dfab8</CountryId>
  <DefaultGliderFlightTypeId>adcfed35-5667-4a88-acff-212e0c5b08ad</DefaultGliderFlightTypeId>
  <DefaultMotorFlightTypeId>5c3b7221-6a08-433a-8986-53be689800d2</DefaultMotorFlightTypeId>
  <DefaultStartType>1</DefaultStartType>
  <DefaultTowFlightTypeId>4521301c-0da8-42de-bdf7-1045137d83d8</DefaultTowFlightTypeId>
  <EmailAddress>sample string 8</EmailAddress>
  <FaxNumber>sample string 9</FaxNumber>
  <HomebaseId>1ebc19f8-d0ca-445b-8d93-72d5cb970ccd</HomebaseId>
  <IsClubMemberNumberReadonly>true</IsClubMemberNumberReadonly>
  <LastArticleSynchronisationOn>2020-04-05T10:44:43.7600981+02:00</LastArticleSynchronisationOn>
  <LastDeliverySynchronisationOn>2020-04-05T10:44:43.7600981+02:00</LastDeliverySynchronisationOn>
  <LastPersonSynchronisationOn>2020-04-05T10:44:43.7600981+02:00</LastPersonSynchronisationOn>
  <PhoneNumber>sample string 10</PhoneNumber>
  <ReplyToEmailAddress>sample string 18</ReplyToEmailAddress>
  <RunDeliveryCreationJob>true</RunDeliveryCreationJob>
  <RunDeliveryMailExportJob>true</RunDeliveryMailExportJob>
  <SendAircraftStatisticReportTo>sample string 13</SendAircraftStatisticReportTo>
  <SendDeliveryMailExportTo>sample string 15</SendDeliveryMailExportTo>
  <SendPassengerFlightRegistrationOperatorEmailTo>sample string 17</SendPassengerFlightRegistrationOperatorEmailTo>
  <SendPlanningDayInfoMailTo>sample string 14</SendPlanningDayInfoMailTo>
  <SendTrialFlightRegistrationOperatorEmailTo>sample string 16</SendTrialFlightRegistrationOperatorEmailTo>
  <WebPage>sample string 11</WebPage>
  <ZipCode>sample string 12</ZipCode>
</ClubDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ClubDetails
NameDescriptionTypeAdditional information
ClubId

globally unique identifier

None.

ClubKey

string

Required

String length: inclusive between 0 and 10

Address

string

String length: inclusive between 0 and 100

City

string

String length: inclusive between 0 and 100

ClubName

string

Required

String length: inclusive between 0 and 100

ContactName

string

String length: inclusive between 0 and 100

CountryId

globally unique identifier

None.

DefaultStartType

integer

None.

DefaultGliderFlightTypeId

globally unique identifier

None.

DefaultTowFlightTypeId

globally unique identifier

None.

DefaultMotorFlightTypeId

globally unique identifier

None.

EmailAddress

string

String length: inclusive between 0 and 256

FaxNumber

string

String length: inclusive between 0 and 30

HomebaseId

globally unique identifier

None.

LastDeliverySynchronisationOn

date

None.

LastPersonSynchronisationOn

date

None.

LastArticleSynchronisationOn

date

None.

PhoneNumber

string

String length: inclusive between 0 and 30

WebPage

string

String length: inclusive between 0 and 100

ZipCode

string

String length: inclusive between 0 and 10

SendAircraftStatisticReportTo

string

String length: inclusive between 0 and 250

SendPlanningDayInfoMailTo

string

String length: inclusive between 0 and 250

SendDeliveryMailExportTo

string

String length: inclusive between 0 and 250

SendTrialFlightRegistrationOperatorEmailTo

string

String length: inclusive between 0 and 250

SendPassengerFlightRegistrationOperatorEmailTo

string

String length: inclusive between 0 and 250

ReplyToEmailAddress

string

String length: inclusive between 0 and 250

RunDeliveryCreationJob

boolean

None.

RunDeliveryMailExportJob

boolean

None.

IsClubMemberNumberReadonly

boolean

None.

Id

globally unique identifier

None.

CanUpdateRecord

boolean

None.

CanDeleteRecord

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ClubId": "5b946564-6405-4351-88b0-5f14810625a1",
  "ClubKey": "sample string 2",
  "Address": "sample string 3",
  "City": "sample string 4",
  "ClubName": "sample string 5",
  "ContactName": "sample string 6",
  "CountryId": "7730ba3f-7976-4e6d-a003-e64d85a1ac1a",
  "DefaultStartType": 1,
  "DefaultGliderFlightTypeId": "0c450174-a55f-4348-8639-d56217926bc7",
  "DefaultTowFlightTypeId": "1264a478-1e4d-4dee-ba98-8963f4702048",
  "DefaultMotorFlightTypeId": "9c4eba8a-0279-43f7-9460-fbd339f38518",
  "EmailAddress": "sample string 8",
  "FaxNumber": "sample string 9",
  "HomebaseId": "f88bb998-1118-4f86-9797-99082f4aee97",
  "LastDeliverySynchronisationOn": "2020-04-05T10:44:43.806963+02:00",
  "LastPersonSynchronisationOn": "2020-04-05T10:44:43.806963+02:00",
  "LastArticleSynchronisationOn": "2020-04-05T10:44:43.806963+02:00",
  "PhoneNumber": "sample string 10",
  "WebPage": "sample string 11",
  "ZipCode": "sample string 12",
  "SendAircraftStatisticReportTo": "sample string 13",
  "SendPlanningDayInfoMailTo": "sample string 14",
  "SendDeliveryMailExportTo": "sample string 15",
  "SendTrialFlightRegistrationOperatorEmailTo": "sample string 16",
  "SendPassengerFlightRegistrationOperatorEmailTo": "sample string 17",
  "ReplyToEmailAddress": "sample string 18",
  "RunDeliveryCreationJob": true,
  "RunDeliveryMailExportJob": true,
  "IsClubMemberNumberReadonly": true,
  "Id": "5b946564-6405-4351-88b0-5f14810625a1",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"ClubId":"5b946564-6405-4351-88b0-5f14810625a1","ClubKey":"sample string 2","Address":"sample string 3","City":"sample string 4","ClubName":"sample string 5","ContactName":"sample string 6","CountryId":"7730ba3f-7976-4e6d-a003-e64d85a1ac1a","DefaultStartType":1,"DefaultGliderFlightTypeId":"0c450174-a55f-4348-8639-d56217926bc7","DefaultTowFlightTypeId":"1264a478-1e4d-4dee-ba98-8963f4702048","DefaultMotorFlightTypeId":"9c4eba8a-0279-43f7-9460-fbd339f38518","EmailAddress":"sample string 8","FaxNumber":"sample string 9","HomebaseId":"f88bb998-1118-4f86-9797-99082f4aee97","LastDeliverySynchronisationOn":"2020-04-05T10:44:43.806963+02:00","LastPersonSynchronisationOn":"2020-04-05T10:44:43.806963+02:00","LastArticleSynchronisationOn":"2020-04-05T10:44:43.806963+02:00","PhoneNumber":"sample string 10","WebPage":"sample string 11","ZipCode":"sample string 12","SendAircraftStatisticReportTo":"sample string 13","SendPlanningDayInfoMailTo":"sample string 14","SendDeliveryMailExportTo":"sample string 15","SendTrialFlightRegistrationOperatorEmailTo":"sample string 16","SendPassengerFlightRegistrationOperatorEmailTo":"sample string 17","ReplyToEmailAddress":"sample string 18","RunDeliveryCreationJob":true,"RunDeliveryMailExportJob":true,"IsClubMemberNumberReadonly":true,"Id":"5b946564-6405-4351-88b0-5f14810625a1","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<ClubDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Club">
  <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
  <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
  <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">5b946564-6405-4351-88b0-5f14810625a1</Id>
  <Address>sample string 3</Address>
  <City>sample string 4</City>
  <ClubId>5b946564-6405-4351-88b0-5f14810625a1</ClubId>
  <ClubKey>sample string 2</ClubKey>
  <ClubName>sample string 5</ClubName>
  <ContactName>sample string 6</ContactName>
  <CountryId>7730ba3f-7976-4e6d-a003-e64d85a1ac1a</CountryId>
  <DefaultGliderFlightTypeId>0c450174-a55f-4348-8639-d56217926bc7</DefaultGliderFlightTypeId>
  <DefaultMotorFlightTypeId>9c4eba8a-0279-43f7-9460-fbd339f38518</DefaultMotorFlightTypeId>
  <DefaultStartType>1</DefaultStartType>
  <DefaultTowFlightTypeId>1264a478-1e4d-4dee-ba98-8963f4702048</DefaultTowFlightTypeId>
  <EmailAddress>sample string 8</EmailAddress>
  <FaxNumber>sample string 9</FaxNumber>
  <HomebaseId>f88bb998-1118-4f86-9797-99082f4aee97</HomebaseId>
  <IsClubMemberNumberReadonly>true</IsClubMemberNumberReadonly>
  <LastArticleSynchronisationOn>2020-04-05T10:44:43.806963+02:00</LastArticleSynchronisationOn>
  <LastDeliverySynchronisationOn>2020-04-05T10:44:43.806963+02:00</LastDeliverySynchronisationOn>
  <LastPersonSynchronisationOn>2020-04-05T10:44:43.806963+02:00</LastPersonSynchronisationOn>
  <PhoneNumber>sample string 10</PhoneNumber>
  <ReplyToEmailAddress>sample string 18</ReplyToEmailAddress>
  <RunDeliveryCreationJob>true</RunDeliveryCreationJob>
  <RunDeliveryMailExportJob>true</RunDeliveryMailExportJob>
  <SendAircraftStatisticReportTo>sample string 13</SendAircraftStatisticReportTo>
  <SendDeliveryMailExportTo>sample string 15</SendDeliveryMailExportTo>
  <SendPassengerFlightRegistrationOperatorEmailTo>sample string 17</SendPassengerFlightRegistrationOperatorEmailTo>
  <SendPlanningDayInfoMailTo>sample string 14</SendPlanningDayInfoMailTo>
  <SendTrialFlightRegistrationOperatorEmailTo>sample string 16</SendTrialFlightRegistrationOperatorEmailTo>
  <WebPage>sample string 11</WebPage>
  <ZipCode>sample string 12</ZipCode>
</ClubDetails>