POST api/v1/event/getevents

Request Information

URI Parameters

None.

Body Parameters

PublicEventSearchParams
NameDescriptionTypeAdditional information
AffiliateId

integer

None.

ClubId

integer

None.

EventName

string

None.

CategoryExternalId

Collection of integer

None.

CategoryId

Collection of integer

None.

GetEventCategories

boolean

None.

GetPricecategories

boolean

None.

GetAttachments

boolean

None.

FromDate

date

None.

ToDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "AffiliateId": 1,
  "ClubId": 2,
  "EventName": "sample string 3",
  "CategoryExternalId": [
    1,
    2
  ],
  "CategoryId": [
    1,
    2
  ],
  "GetEventCategories": true,
  "GetPricecategories": true,
  "GetAttachments": true,
  "FromDate": "2024-12-06T20:13:01.3455652+01:00",
  "ToDate": "2024-12-06T20:13:01.3455652+01:00"
}

Response Information

Resource Description

ServerResponseOfListOfPublicEvent
NameDescriptionTypeAdditional information
HttpStatus

integer

None.

Message

string

None.

Data

Collection of PublicEvent

None.

Next

string

None.

Previous

string

None.

Response Formats

application/json, text/json

Sample:
{
  "HttpStatus": 1,
  "Message": "sample string 2",
  "Data": [
    {
      "Id": 1,
      "IsActive": true,
      "Name": "sample string 3",
      "OrganizerName": "sample string 4",
      "MyProperty": 5,
      "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"
      },
      "Place": "sample string 6",
      "RegistrationDeadline": "2024-12-06T20:13:01.3455652+01:00",
      "RegistrationStartDate": "2024-12-06T20:13:01.3455652+01:00",
      "StartDate": "2024-12-06T20:13:01.3455652+01:00",
      "EndDate": "2024-12-06T20:13:01.3455652+01:00",
      "VisibleFromDate": "2024-12-06T20:13:01.3455652+01:00",
      "VisibleToDate": "2024-12-06T20:13:01.3455652+01:00",
      "PriceCategories": [
        {
          "Id": 1,
          "Title": "sample string 2",
          "Price": 3.0
        },
        {
          "Id": 1,
          "Title": "sample string 2",
          "Price": 3.0
        }
      ],
      "ContactPerson": {
        "FullName": "sample string 1",
        "Email": "sample string 2",
        "Phone": "sample string 3",
        "Mobile": "sample string 4"
      },
      "URL": "sample string 7",
      "EventCategories": [
        {
          "Id": 1,
          "ParentId": 2,
          "GroupId": 3,
          "Name": "sample string 4",
          "Active": true,
          "Priority": 6,
          "ExternalId": 7
        },
        {
          "Id": 1,
          "ParentId": 2,
          "GroupId": 3,
          "Name": "sample string 4",
          "Active": true,
          "Priority": 6,
          "ExternalId": 7
        }
      ],
      "FileAttachments": [
        {
          "Title": "sample string 1",
          "Extension": "sample string 2",
          "Size": "sample string 3",
          "Url": "sample string 4"
        },
        {
          "Title": "sample string 1",
          "Extension": "sample string 2",
          "Size": "sample string 3",
          "Url": "sample string 4"
        }
      ],
      "TotalPlaces": 8,
      "AvailablePlaces": 9,
      "EventTypeId": 10,
      "EventTypeName": "sample string 11",
      "ExternalPublish": true,
      "ExternalHistoricalPublish": true,
      "EventImageURL": "sample string 14"
    },
    {
      "Id": 1,
      "IsActive": true,
      "Name": "sample string 3",
      "OrganizerName": "sample string 4",
      "MyProperty": 5,
      "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"
      },
      "Place": "sample string 6",
      "RegistrationDeadline": "2024-12-06T20:13:01.3455652+01:00",
      "RegistrationStartDate": "2024-12-06T20:13:01.3455652+01:00",
      "StartDate": "2024-12-06T20:13:01.3455652+01:00",
      "EndDate": "2024-12-06T20:13:01.3455652+01:00",
      "VisibleFromDate": "2024-12-06T20:13:01.3455652+01:00",
      "VisibleToDate": "2024-12-06T20:13:01.3455652+01:00",
      "PriceCategories": [
        {
          "Id": 1,
          "Title": "sample string 2",
          "Price": 3.0
        },
        {
          "Id": 1,
          "Title": "sample string 2",
          "Price": 3.0
        }
      ],
      "ContactPerson": {
        "FullName": "sample string 1",
        "Email": "sample string 2",
        "Phone": "sample string 3",
        "Mobile": "sample string 4"
      },
      "URL": "sample string 7",
      "EventCategories": [
        {
          "Id": 1,
          "ParentId": 2,
          "GroupId": 3,
          "Name": "sample string 4",
          "Active": true,
          "Priority": 6,
          "ExternalId": 7
        },
        {
          "Id": 1,
          "ParentId": 2,
          "GroupId": 3,
          "Name": "sample string 4",
          "Active": true,
          "Priority": 6,
          "ExternalId": 7
        }
      ],
      "FileAttachments": [
        {
          "Title": "sample string 1",
          "Extension": "sample string 2",
          "Size": "sample string 3",
          "Url": "sample string 4"
        },
        {
          "Title": "sample string 1",
          "Extension": "sample string 2",
          "Size": "sample string 3",
          "Url": "sample string 4"
        }
      ],
      "TotalPlaces": 8,
      "AvailablePlaces": 9,
      "EventTypeId": 10,
      "EventTypeName": "sample string 11",
      "ExternalPublish": true,
      "ExternalHistoricalPublish": true,
      "EventImageURL": "sample string 14"
    }
  ],
  "Next": "sample string 3",
  "Previous": "sample string 4"
}