PUT api/v1/clubs/{clubId}

Updates the specified club.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clubId

The club identifier.

globally unique identifier

Required

Body Parameters

The club details.

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.

DefaultGliderBillingId

globally unique identifier

None.

DefaultMotorBillingId

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

RunDeliveryCreationJob

boolean

None.

RunDeliveryMailExportJob

boolean

None.

ChangeReservationPeriod

integer

None.

MinInAdvancePeriod

integer

None.

Id

globally unique identifier

None.

CanUpdateRecord

boolean

None.

CanDeleteRecord

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ClubId": "c6f9e746-bf8d-48eb-93ec-ebd1416785b5",
  "ClubKey": "sample string 2",
  "Address": "sample string 3",
  "City": "sample string 4",
  "ClubName": "sample string 5",
  "ContactName": "sample string 6",
  "CountryId": "b9e5b4b6-fa78-4336-bb4d-3a439e0d67e7",
  "DefaultStartType": 1,
  "DefaultGliderFlightTypeId": "71c3d2a9-ac56-4c25-826d-3a1f7309047b",
  "DefaultTowFlightTypeId": "0325400f-dde0-4d27-babb-1d39d8ce1214",
  "DefaultMotorFlightTypeId": "a7556c5d-203d-4f2d-a431-fed2488fa3b4",
  "DefaultGliderBillingId": "66e7bc34-8ab3-453c-94ed-f486c5e86859",
  "DefaultMotorBillingId": "9709a2bc-7bf6-4904-b626-b9cd0a90f796",
  "EmailAddress": "sample string 8",
  "FaxNumber": "sample string 9",
  "HomebaseId": "35c6e2b4-f94f-47a7-98da-fa042061aaf5",
  "LastDeliverySynchronisationOn": "2024-03-28T03:06:53.3544307+01:00",
  "LastPersonSynchronisationOn": "2024-03-28T03:06:53.3544307+01:00",
  "LastArticleSynchronisationOn": "2024-03-28T03:06:53.3544307+01: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",
  "RunDeliveryCreationJob": true,
  "RunDeliveryMailExportJob": true,
  "ChangeReservationPeriod": 1,
  "MinInAdvancePeriod": 1,
  "Id": "c6f9e746-bf8d-48eb-93ec-ebd1416785b5",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"ClubId":"c6f9e746-bf8d-48eb-93ec-ebd1416785b5","ClubKey":"sample string 2","Address":"sample string 3","City":"sample string 4","ClubName":"sample string 5","ContactName":"sample string 6","CountryId":"b9e5b4b6-fa78-4336-bb4d-3a439e0d67e7","DefaultStartType":1,"DefaultGliderFlightTypeId":"71c3d2a9-ac56-4c25-826d-3a1f7309047b","DefaultTowFlightTypeId":"0325400f-dde0-4d27-babb-1d39d8ce1214","DefaultMotorFlightTypeId":"a7556c5d-203d-4f2d-a431-fed2488fa3b4","DefaultGliderBillingId":"66e7bc34-8ab3-453c-94ed-f486c5e86859","DefaultMotorBillingId":"9709a2bc-7bf6-4904-b626-b9cd0a90f796","EmailAddress":"sample string 8","FaxNumber":"sample string 9","HomebaseId":"35c6e2b4-f94f-47a7-98da-fa042061aaf5","LastDeliverySynchronisationOn":"2024-03-28T03:06:53.3544307+01:00","LastPersonSynchronisationOn":"2024-03-28T03:06:53.3544307+01:00","LastArticleSynchronisationOn":"2024-03-28T03:06:53.3544307+01: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","RunDeliveryCreationJob":true,"RunDeliveryMailExportJob":true,"ChangeReservationPeriod":1,"MinInAdvancePeriod":1,"Id":"c6f9e746-bf8d-48eb-93ec-ebd1416785b5","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">c6f9e746-bf8d-48eb-93ec-ebd1416785b5</Id>
  <Address>sample string 3</Address>
  <ChangeReservationPeriod>1</ChangeReservationPeriod>
  <City>sample string 4</City>
  <ClubId>c6f9e746-bf8d-48eb-93ec-ebd1416785b5</ClubId>
  <ClubKey>sample string 2</ClubKey>
  <ClubName>sample string 5</ClubName>
  <ContactName>sample string 6</ContactName>
  <CountryId>b9e5b4b6-fa78-4336-bb4d-3a439e0d67e7</CountryId>
  <DefaultGliderBillingId>66e7bc34-8ab3-453c-94ed-f486c5e86859</DefaultGliderBillingId>
  <DefaultGliderFlightTypeId>71c3d2a9-ac56-4c25-826d-3a1f7309047b</DefaultGliderFlightTypeId>
  <DefaultMotorBillingId>9709a2bc-7bf6-4904-b626-b9cd0a90f796</DefaultMotorBillingId>
  <DefaultMotorFlightTypeId>a7556c5d-203d-4f2d-a431-fed2488fa3b4</DefaultMotorFlightTypeId>
  <DefaultStartType>1</DefaultStartType>
  <DefaultTowFlightTypeId>0325400f-dde0-4d27-babb-1d39d8ce1214</DefaultTowFlightTypeId>
  <EmailAddress>sample string 8</EmailAddress>
  <FaxNumber>sample string 9</FaxNumber>
  <HomebaseId>35c6e2b4-f94f-47a7-98da-fa042061aaf5</HomebaseId>
  <LastArticleSynchronisationOn>2024-03-28T03:06:53.3544307+01:00</LastArticleSynchronisationOn>
  <LastDeliverySynchronisationOn>2024-03-28T03:06:53.3544307+01:00</LastDeliverySynchronisationOn>
  <LastPersonSynchronisationOn>2024-03-28T03:06:53.3544307+01:00</LastPersonSynchronisationOn>
  <MinInAdvancePeriod>1</MinInAdvancePeriod>
  <PhoneNumber>sample string 10</PhoneNumber>
  <RunDeliveryCreationJob>true</RunDeliveryCreationJob>
  <RunDeliveryMailExportJob>true</RunDeliveryMailExportJob>
  <SendAircraftStatisticReportTo>sample string 13</SendAircraftStatisticReportTo>
  <SendDeliveryMailExportTo>sample string 15</SendDeliveryMailExportTo>
  <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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ClubDetails'.

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.

DefaultGliderBillingId

globally unique identifier

None.

DefaultMotorBillingId

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

RunDeliveryCreationJob

boolean

None.

RunDeliveryMailExportJob

boolean

None.

ChangeReservationPeriod

integer

None.

MinInAdvancePeriod

integer

None.

Id

globally unique identifier

None.

CanUpdateRecord

boolean

None.

CanDeleteRecord

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ClubId": "6a21f76a-1247-4f3f-9966-4ff1198c4c80",
  "ClubKey": "sample string 2",
  "Address": "sample string 3",
  "City": "sample string 4",
  "ClubName": "sample string 5",
  "ContactName": "sample string 6",
  "CountryId": "3e0d4cce-e1a3-446a-95b6-54e610fd4a48",
  "DefaultStartType": 1,
  "DefaultGliderFlightTypeId": "60c8019e-d705-42f1-be87-37ca1263be39",
  "DefaultTowFlightTypeId": "2d2d1467-452d-4345-ad44-ec08503f177e",
  "DefaultMotorFlightTypeId": "056be225-235f-4579-a894-9ba2c10a7d4f",
  "DefaultGliderBillingId": "bd2ce293-0e51-4e8a-ac43-64be1f57be60",
  "DefaultMotorBillingId": "2146b366-9515-4283-a6d9-7ba80906465a",
  "EmailAddress": "sample string 8",
  "FaxNumber": "sample string 9",
  "HomebaseId": "f5b3cfdc-0f04-409e-ab92-08f5aea1de5f",
  "LastDeliverySynchronisationOn": "2024-03-28T03:06:53.355432+01:00",
  "LastPersonSynchronisationOn": "2024-03-28T03:06:53.355432+01:00",
  "LastArticleSynchronisationOn": "2024-03-28T03:06:53.355432+01: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",
  "RunDeliveryCreationJob": true,
  "RunDeliveryMailExportJob": true,
  "ChangeReservationPeriod": 1,
  "MinInAdvancePeriod": 1,
  "Id": "6a21f76a-1247-4f3f-9966-4ff1198c4c80",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"ClubId":"6a21f76a-1247-4f3f-9966-4ff1198c4c80","ClubKey":"sample string 2","Address":"sample string 3","City":"sample string 4","ClubName":"sample string 5","ContactName":"sample string 6","CountryId":"3e0d4cce-e1a3-446a-95b6-54e610fd4a48","DefaultStartType":1,"DefaultGliderFlightTypeId":"60c8019e-d705-42f1-be87-37ca1263be39","DefaultTowFlightTypeId":"2d2d1467-452d-4345-ad44-ec08503f177e","DefaultMotorFlightTypeId":"056be225-235f-4579-a894-9ba2c10a7d4f","DefaultGliderBillingId":"bd2ce293-0e51-4e8a-ac43-64be1f57be60","DefaultMotorBillingId":"2146b366-9515-4283-a6d9-7ba80906465a","EmailAddress":"sample string 8","FaxNumber":"sample string 9","HomebaseId":"f5b3cfdc-0f04-409e-ab92-08f5aea1de5f","LastDeliverySynchronisationOn":"2024-03-28T03:06:53.355432+01:00","LastPersonSynchronisationOn":"2024-03-28T03:06:53.355432+01:00","LastArticleSynchronisationOn":"2024-03-28T03:06:53.355432+01: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","RunDeliveryCreationJob":true,"RunDeliveryMailExportJob":true,"ChangeReservationPeriod":1,"MinInAdvancePeriod":1,"Id":"6a21f76a-1247-4f3f-9966-4ff1198c4c80","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">6a21f76a-1247-4f3f-9966-4ff1198c4c80</Id>
  <Address>sample string 3</Address>
  <ChangeReservationPeriod>1</ChangeReservationPeriod>
  <City>sample string 4</City>
  <ClubId>6a21f76a-1247-4f3f-9966-4ff1198c4c80</ClubId>
  <ClubKey>sample string 2</ClubKey>
  <ClubName>sample string 5</ClubName>
  <ContactName>sample string 6</ContactName>
  <CountryId>3e0d4cce-e1a3-446a-95b6-54e610fd4a48</CountryId>
  <DefaultGliderBillingId>bd2ce293-0e51-4e8a-ac43-64be1f57be60</DefaultGliderBillingId>
  <DefaultGliderFlightTypeId>60c8019e-d705-42f1-be87-37ca1263be39</DefaultGliderFlightTypeId>
  <DefaultMotorBillingId>2146b366-9515-4283-a6d9-7ba80906465a</DefaultMotorBillingId>
  <DefaultMotorFlightTypeId>056be225-235f-4579-a894-9ba2c10a7d4f</DefaultMotorFlightTypeId>
  <DefaultStartType>1</DefaultStartType>
  <DefaultTowFlightTypeId>2d2d1467-452d-4345-ad44-ec08503f177e</DefaultTowFlightTypeId>
  <EmailAddress>sample string 8</EmailAddress>
  <FaxNumber>sample string 9</FaxNumber>
  <HomebaseId>f5b3cfdc-0f04-409e-ab92-08f5aea1de5f</HomebaseId>
  <LastArticleSynchronisationOn>2024-03-28T03:06:53.355432+01:00</LastArticleSynchronisationOn>
  <LastDeliverySynchronisationOn>2024-03-28T03:06:53.355432+01:00</LastDeliverySynchronisationOn>
  <LastPersonSynchronisationOn>2024-03-28T03:06:53.355432+01:00</LastPersonSynchronisationOn>
  <MinInAdvancePeriod>1</MinInAdvancePeriod>
  <PhoneNumber>sample string 10</PhoneNumber>
  <RunDeliveryCreationJob>true</RunDeliveryCreationJob>
  <RunDeliveryMailExportJob>true</RunDeliveryMailExportJob>
  <SendAircraftStatisticReportTo>sample string 13</SendAircraftStatisticReportTo>
  <SendDeliveryMailExportTo>sample string 15</SendDeliveryMailExportTo>
  <SendPlanningDayInfoMailTo>sample string 14</SendPlanningDayInfoMailTo>
  <SendTrialFlightRegistrationOperatorEmailTo>sample string 16</SendTrialFlightRegistrationOperatorEmailTo>
  <WebPage>sample string 11</WebPage>
  <ZipCode>sample string 12</ZipCode>
</ClubDetails>