POST api/v1/club/update

Update an existing club

Request Information

URI Parameters

None.

Body Parameters

Organizer
NameDescriptionTypeAdditional information
Id

integer

None.

MemberId

integer

None.

Name

string

None.

ShortName

string

None.

Description

string

None.

ContactPerson

string

None.

PhoneNumber

string

None.

Email

string

None.

MobileNumber

string

None.

ImageUrl

string

None.

Url

string

None.

RegionId

integer

None.

RegionName

string

None.

Location

LocationDetail

None.

IsMembershipClub

boolean

None.

IsSearchable

boolean

None.

ShowClubInfo

boolean

None.

MemberList

boolean

None.

ShowClubResponsible

boolean

None.

Registered

date

None.

OrganizationNumber

string

None.

PayoutReference

string

None.

TextPricename

string

None.

CheckPlaceConflict

boolean

None.

CheckInstructorConflict

boolean

None.

SettlementAccounts

Collection of OrganizerBankAccount

None.

Responsible

OrganizerContactPerson

None.

Accountant

OrganizerContactPerson

None.

Invoice

OrganizerInvoiceData

None.

Users

Collection of OrganizerUser

None.

ClubId

integer

None.

AffiliateId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MemberId": 2,
  "Name": "sample string 3",
  "ShortName": "sample string 4",
  "Description": "sample string 5",
  "ContactPerson": "sample string 6",
  "PhoneNumber": "sample string 7",
  "Email": "sample string 8",
  "MobileNumber": "sample string 9",
  "ImageUrl": "sample string 10",
  "Url": "sample string 11",
  "RegionId": 12,
  "RegionName": "sample string 13",
  "Location": {
    "Address1": "sample string 1",
    "Address2": "sample string 2",
    "Address3": "sample string 3",
    "ZipCode": "sample string 4",
    "City": "sample string 5",
    "County": "sample string 6",
    "Country": "sample string 7",
    "Latitude": "sample string 8",
    "Longitude": "sample string 9"
  },
  "IsMembershipClub": true,
  "IsSearchable": true,
  "ShowClubInfo": true,
  "MemberList": true,
  "ShowClubResponsible": true,
  "Registered": "2024-10-13T12:28:52.8076795+02:00",
  "OrganizationNumber": "sample string 20",
  "PayoutReference": "sample string 21",
  "TextPricename": "sample string 22",
  "CheckPlaceConflict": true,
  "CheckInstructorConflict": true,
  "SettlementAccounts": [
    {
      "Id": 1,
      "OrganizerId": 2,
      "AccountNumber": "sample string 3",
      "FullName": "sample string 4",
      "Phone": "sample string 5",
      "Mobile": "sample string 6",
      "Email": "sample string 7",
      "Status": 8,
      "CreationDate": "2024-10-13T12:28:52.8076795+02:00",
      "Active": true,
      "IsDefault": true
    },
    {
      "Id": 1,
      "OrganizerId": 2,
      "AccountNumber": "sample string 3",
      "FullName": "sample string 4",
      "Phone": "sample string 5",
      "Mobile": "sample string 6",
      "Email": "sample string 7",
      "Status": 8,
      "CreationDate": "2024-10-13T12:28:52.8076795+02:00",
      "Active": true,
      "IsDefault": true
    }
  ],
  "Responsible": {
    "Name": "sample string 1",
    "Phone": "sample string 2",
    "Mobile": "sample string 3",
    "Email": "sample string 4"
  },
  "Accountant": {
    "Name": "sample string 1",
    "Phone": "sample string 2",
    "Mobile": "sample string 3",
    "Email": "sample string 4"
  },
  "Invoice": {
    "Reference": "sample string 1",
    "Phone": "sample string 2",
    "Email": "sample string 3",
    "CompanyName": "sample string 4",
    "Address1": "sample string 5",
    "Address2": "sample string 6",
    "Address3": "sample string 7",
    "Address4": "sample string 8",
    "Country": "sample string 9",
    "OrgNumber": "sample string 10",
    "SenderFname": "sample string 11",
    "SenderLname": "sample string 12"
  },
  "Users": [
    {
      "UserId": 1,
      "Username": "sample string 2",
      "Role": 3,
      "ReceiveSettlement": true
    },
    {
      "UserId": 1,
      "Username": "sample string 2",
      "Role": 3,
      "ReceiveSettlement": true
    }
  ],
  "ClubId": 25,
  "AffiliateId": 26
}

Response Information

Resource Description

ServerResponseOfOrganizer
NameDescriptionTypeAdditional information
HttpStatus

integer

None.

Message

string

None.

Data

Organizer

None.

Next

string

None.

Previous

string

None.

Response Formats

application/json, text/json

Sample:
{
  "HttpStatus": 1,
  "Message": "sample string 2",
  "Data": {
    "Id": 1,
    "MemberId": 2,
    "Name": "sample string 3",
    "ShortName": "sample string 4",
    "Description": "sample string 5",
    "ContactPerson": "sample string 6",
    "PhoneNumber": "sample string 7",
    "Email": "sample string 8",
    "MobileNumber": "sample string 9",
    "ImageUrl": "sample string 10",
    "Url": "sample string 11",
    "RegionId": 12,
    "RegionName": "sample string 13",
    "Location": {
      "Address1": "sample string 1",
      "Address2": "sample string 2",
      "Address3": "sample string 3",
      "ZipCode": "sample string 4",
      "City": "sample string 5",
      "County": "sample string 6",
      "Country": "sample string 7",
      "Latitude": "sample string 8",
      "Longitude": "sample string 9"
    },
    "IsMembershipClub": true,
    "IsSearchable": true,
    "ShowClubInfo": true,
    "MemberList": true,
    "ShowClubResponsible": true,
    "Registered": "2024-10-13T12:28:52.8232679+02:00",
    "OrganizationNumber": "sample string 20",
    "PayoutReference": "sample string 21",
    "TextPricename": "sample string 22",
    "CheckPlaceConflict": true,
    "CheckInstructorConflict": true,
    "SettlementAccounts": [
      {
        "Id": 1,
        "OrganizerId": 2,
        "AccountNumber": "sample string 3",
        "FullName": "sample string 4",
        "Phone": "sample string 5",
        "Mobile": "sample string 6",
        "Email": "sample string 7",
        "Status": 8,
        "CreationDate": "2024-10-13T12:28:52.8232679+02:00",
        "Active": true,
        "IsDefault": true
      },
      {
        "Id": 1,
        "OrganizerId": 2,
        "AccountNumber": "sample string 3",
        "FullName": "sample string 4",
        "Phone": "sample string 5",
        "Mobile": "sample string 6",
        "Email": "sample string 7",
        "Status": 8,
        "CreationDate": "2024-10-13T12:28:52.8232679+02:00",
        "Active": true,
        "IsDefault": true
      }
    ],
    "Responsible": {
      "Name": "sample string 1",
      "Phone": "sample string 2",
      "Mobile": "sample string 3",
      "Email": "sample string 4"
    },
    "Accountant": {
      "Name": "sample string 1",
      "Phone": "sample string 2",
      "Mobile": "sample string 3",
      "Email": "sample string 4"
    },
    "Invoice": {
      "Reference": "sample string 1",
      "Phone": "sample string 2",
      "Email": "sample string 3",
      "CompanyName": "sample string 4",
      "Address1": "sample string 5",
      "Address2": "sample string 6",
      "Address3": "sample string 7",
      "Address4": "sample string 8",
      "Country": "sample string 9",
      "OrgNumber": "sample string 10",
      "SenderFname": "sample string 11",
      "SenderLname": "sample string 12"
    },
    "Users": [
      {
        "UserId": 1,
        "Username": "sample string 2",
        "Role": 3,
        "ReceiveSettlement": true
      },
      {
        "UserId": 1,
        "Username": "sample string 2",
        "Role": 3,
        "ReceiveSettlement": true
      }
    ],
    "ClubId": 25,
    "AffiliateId": 26
  },
  "Next": "sample string 3",
  "Previous": "sample string 4"
}