POST api/v1/event/search

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.

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
}

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,
      "Name": "sample string 2",
      "OrganizerName": "sample string 3",
      "MyProperty": 4,
      "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 5",
      "RegistrationDeadline": "2018-12-19T04:33:29.5772131+01:00",
      "StartDate": "2018-12-19T04:33:29.5772131+01:00",
      "EndDate": "2018-12-19T04:33:29.5772131+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 6",
      "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
        }
      ],
      "TotalPlaces": 7,
      "AvailablePlaces": 8,
      "EventTypeId": 9,
      "EventTypeName": "sample string 10"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "OrganizerName": "sample string 3",
      "MyProperty": 4,
      "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 5",
      "RegistrationDeadline": "2018-12-19T04:33:29.5772131+01:00",
      "StartDate": "2018-12-19T04:33:29.5772131+01:00",
      "EndDate": "2018-12-19T04:33:29.5772131+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 6",
      "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
        }
      ],
      "TotalPlaces": 7,
      "AvailablePlaces": 8,
      "EventTypeId": 9,
      "EventTypeName": "sample string 10"
    }
  ],
  "Next": "sample string 3",
  "Previous": "sample string 4"
}