GET api/v1/event/getwithattributes/{id}

Gets data and form attributes for a single event

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Data and form attributes for a single event

ServerResponseOfEvent
NameDescriptionTypeAdditional information
HttpStatus

integer

None.

Message

string

None.

Data

Event

None.

Next

string

None.

Previous

string

None.

Response Formats

application/json, text/json

Sample:
{
  "HttpStatus": 1,
  "Message": "sample string 2",
  "Data": {
    "Id": "sample string 1",
    "Title": "sample string 2",
    "Description": "sample string 3",
    "ShortDescription": "sample string 4",
    "Place": "sample string 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"
    },
    "EventAttributes": [
      {
        "Id": 1,
        "EventId": 2,
        "Title": "sample string 3",
        "Active": true,
        "EventAttributeType": 1,
        "IsRequired": true,
        "Priority": 6,
        "ShowInList": true,
        "IsLocked": true,
        "RelatesTo": 9,
        "RelatesToDetail": 10,
        "UseOnWaitingList": true,
        "ShowInConfirmation": true,
        "MinimumNumber": 13,
        "MaximumNumber": 14,
        "DefaultNumber": 15,
        "SelectedAttributeOptionId": 16,
        "SelectedValue": "sample string 17",
        "EventAttributeOptions": [
          {
            "Id": 1,
            "AttributeId": 2,
            "Title": "sample string 3",
            "IsActive": true,
            "Priority": 5,
            "Price": 6.0,
            "IsVisibleForAdmin": true,
            "GroupId": 8,
            "DisabledToCategory": 9,
            "AdditionalInfo": "sample string 10",
            "PriceGroupId": 11
          },
          {
            "Id": 1,
            "AttributeId": 2,
            "Title": "sample string 3",
            "IsActive": true,
            "Priority": 5,
            "Price": 6.0,
            "IsVisibleForAdmin": true,
            "GroupId": 8,
            "DisabledToCategory": 9,
            "AdditionalInfo": "sample string 10",
            "PriceGroupId": 11
          }
        ]
      },
      {
        "Id": 1,
        "EventId": 2,
        "Title": "sample string 3",
        "Active": true,
        "EventAttributeType": 1,
        "IsRequired": true,
        "Priority": 6,
        "ShowInList": true,
        "IsLocked": true,
        "RelatesTo": 9,
        "RelatesToDetail": 10,
        "UseOnWaitingList": true,
        "ShowInConfirmation": true,
        "MinimumNumber": 13,
        "MaximumNumber": 14,
        "DefaultNumber": 15,
        "SelectedAttributeOptionId": 16,
        "SelectedValue": "sample string 17",
        "EventAttributeOptions": [
          {
            "Id": 1,
            "AttributeId": 2,
            "Title": "sample string 3",
            "IsActive": true,
            "Priority": 5,
            "Price": 6.0,
            "IsVisibleForAdmin": true,
            "GroupId": 8,
            "DisabledToCategory": 9,
            "AdditionalInfo": "sample string 10",
            "PriceGroupId": 11
          },
          {
            "Id": 1,
            "AttributeId": 2,
            "Title": "sample string 3",
            "IsActive": true,
            "Priority": 5,
            "Price": 6.0,
            "IsVisibleForAdmin": true,
            "GroupId": 8,
            "DisabledToCategory": 9,
            "AdditionalInfo": "sample string 10",
            "PriceGroupId": 11
          }
        ]
      }
    ],
    "PriceCategories": [
      {
        "Description": "sample string 1",
        "Active": true,
        "ExternalId": "sample string 3",
        "RecurringType": 4,
        "RecurEvery": 5,
        "PaymentCount": 6,
        "RecurringPriceDetails": [
          {
            "Name": "sample string 1",
            "PriceId": 2,
            "Price": 3.0,
            "ChargeDate": "2018-12-19T05:28:17.4487395+01:00",
            "IsFirstPayment": true
          },
          {
            "Name": "sample string 1",
            "PriceId": 2,
            "Price": 3.0,
            "ChargeDate": "2018-12-19T05:28:17.4487395+01:00",
            "IsFirstPayment": true
          }
        ],
        "MembershipCategoryId": 7,
        "Id": 8,
        "Title": "sample string 9",
        "Price": 10.0
      },
      {
        "Description": "sample string 1",
        "Active": true,
        "ExternalId": "sample string 3",
        "RecurringType": 4,
        "RecurEvery": 5,
        "PaymentCount": 6,
        "RecurringPriceDetails": [
          {
            "Name": "sample string 1",
            "PriceId": 2,
            "Price": 3.0,
            "ChargeDate": "2018-12-19T05:28:17.4487395+01:00",
            "IsFirstPayment": true
          },
          {
            "Name": "sample string 1",
            "PriceId": 2,
            "Price": 3.0,
            "ChargeDate": "2018-12-19T05:28:17.4487395+01:00",
            "IsFirstPayment": true
          }
        ],
        "MembershipCategoryId": 7,
        "Id": 8,
        "Title": "sample string 9",
        "Price": 10.0
      }
    ],
    "ImageUrl": "sample string 6",
    "Quicklink": "sample string 7",
    "Hits": 8,
    "Distance": "sample string 9",
    "RegionId": 10,
    "RegionName": "sample string 11",
    "RegisteredParticipants": 12,
    "RegistrationDeadline": "2018-12-19T05:28:17.4487395+01:00",
    "CreationDate": "2018-12-19T05:28:17.4487395+01:00",
    "StartDate": "2018-12-19T05:28:17.4487395+01:00",
    "EndDate": "2018-12-19T05:28:17.4487395+01:00",
    "Organizer": {
      "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": "2018-12-19T05:28:17.4487395+01: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": "2018-12-19T05:28:17.4487395+01: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": "2018-12-19T05:28:17.4487395+01: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"
      },
      "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
    },
    "MaxAttendees": 13,
    "ResponsiblePerson": {
      "FullName": "sample string 1",
      "Email": "sample string 2",
      "Phone": "sample string 3",
      "Mobile": "sample string 4"
    },
    "ExternalId": "sample string 14",
    "DiscountCode": true,
    "EventType": 16,
    "MemberAccess": {
      "EventId": 1
    },
    "SeasonId": 17,
    "VatMode": 0,
    "AttachedClubDiscount": 18.0,
    "ClubId": 19,
    "AffiliateId": 20
  },
  "Next": "sample string 3",
  "Previous": "sample string 4"
}