• Venue and event management in the cloud

How Can We Help?


Events: Search Event By Number

In this article


Get Event

POST /v2/event/getByNumber

This API returns the complete event details for specified event number. Multiple event's details can also be found by specifying EventNumber in array of JSON Objects as shown below:


Parameter
EventNumber    Integer

Array of the event number of the events to be retrieved.

[
{
"EventNumber" : 2508
},
{
"EventNumber" : 2509
}
]
Response:

Event with relevant event details

{
   "success": true,
   "result": [{
      "EventPax": 9,
      "CancellationReason": {},
      "EventContact": [{
         "ContactType": {
            "Id": 10000005206,
            "Name": "NewContactType"
         },
         "Email": "testuser@gmail.com",
         "Organisation": "Telephone Company",
         "Phone": "9898989898",
         "IsPrimary": true,
         "GivenName": "Test",
         "ContactId": 100482320,
         "SurName": "NewUuser",
         "ContactName": "Test NewUser",
         "EventContactId": 102172815
      }],
      "CreatedBy": "User1",
      "StatusChangedBy": "User1",
      "Venue": [{
         "StartDate": "07/02/2019 16:00",
         "VenueName": "Subitem2",
         "IsSetUp": "",
         "IsSetDown": "",
         "BookingId": 104370735,
         "AssociatedBookingId": 0,
         "BookingStatus": {
            "Type": "Reserved",
            "Color": "#009900",
            "Id": 100009576,
            "Name": "Course Confirmed"
         },
         "VenueId": 100314063,
         "BookingType": {
            "Id": 100008794,
            "Name": "Seed Booking Type"
         },
         "EndDate": "07/02/2019 17:30",
         "BookingPax": 9,
         "BookingComment": "test"
      }],
      "EventType": {
         "Id": 171,
         "Name": "Product Launch"
      },
      "UpdatedDate": "29/03/2019 17:39",
      "EventPaxBreakdown": [{
            "TypeId": 100020256,
            "TypeName": "OIV - New Zealand",
            "Value": 3,
            "Id": 100273221
         },
         {
            "TypeId": 100020258,
            "TypeName": "OIV - Middle East",
            "Value": 3,
            "Id": 100273222
         },
         {
            "TypeId": 100020257,
            "TypeName": "OIV - Mongolia",
            "Value": 3,
            "Id": 100273223
         }
      ],
      "EventStatus": {
         "Type": "Reserved",
         "TextColour": "#ffffff",
         "Id": 100009576,
         "Name": "Course Confirmed",
         "Colour": "#009900"
      },
      "EventCoordinator": {
         "Id": 100009805,
         "Name": "Roshan Kumar"
      },
      "StatusChangedDate": "28/12/2018 16:13",
      "EventName": "Partnership Eve",
      "EventComment": [{
         "Comment": "test note",
         "CommentType": {
            "Id": 100009830,
            "Name": "GenericResult123"
         },
         "CreatedTime": "29/03/2019 17:39",
         "CreatedUser": {
            "Id": 100010665,
            "Name": "User 2"
         },
         "Attachments": []
      }],
      "UpdatedBy": "Test User",
      "EventSource": {
         "Id": 6,
         "Name": "Website"
      },
      "CustomFields": {
         "Texrfield": "s",
         "BU": [
            "test"
         ],
         "Cost Centre": "46",
         "Dropdown": [
            "N2",
            "N1"
         ],
         "Sales Person": [
            "TestDemo"
         ]
      },
      "EventNumber": "2508",
      "EventEndDate": "07/02/2019 17:30",
      "PaxBreakdownToolTip": "OIV - New Zealand - 3  OIV - Middle East - 3  OIV - Mongolia - 3  Total PAX - 9",
      "EventStartDate": "07/02/2019 16:00",
      "CreatedDate": "28/12/2018 16:13",
      "EventId": 101575506,
      "PurchaseOrder": ""
   },
   {
      "EventPax": 19,
      "CancellationReason": {},
      "EventContact": [{
         "ContactType": {
            "Id": 10000005206,
            "Name": "NewContactType"
         },
         "Email": "testuser@gmail.com",
         "Organisation": "Telephone Company",
         "Phone": "9898989898",
         "IsPrimary": true,
         "GivenName": "Test",
         "ContactId": 100482320,
         "SurName": "NewUuser",
         "ContactName": "Test NewUser",
         "EventContactId": 102172815
      }],
      "CreatedBy": "User1",
      "StatusChangedBy": "User1",
      "Venue": [{
         "StartDate": "07/02/2019 16:00",
         "VenueName": "Subitem2",
         "IsSetUp": "",
         "IsSetDown": "",
         "BookingId": 104370735,
         "AssociatedBookingId": 0,
         "BookingStatus": {
            "Type": "Reserved",
            "Color": "#009900",
            "Id": 100009576,
            "Name": "Course Confirmed"
         },
         "VenueId": 100314063,
         "BookingType": {
            "Id": 100008794,
            "Name": "Seed Booking Type"
         },
         "EndDate": "07/02/2019 17:30",
         "BookingPax": 9,
         "BookingComment": "test"
      }],
      "EventType": {
         "Id": 171,
         "Name": "Product Launch"
      },
      "UpdatedDate": "29/03/2019 17:39",
      "EventPaxBreakdown": [{
            "TypeId": 100020256,
            "TypeName": "OIV - New Zealand",
            "Value": 3,
            "Id": 100273221
         },
         {
            "TypeId": 100020258,
            "TypeName": "OIV - Middle East",
            "Value": 3,
            "Id": 100273222
         },
         {
            "TypeId": 100020257,
            "TypeName": "OIV - Mongolia",
            "Value": 3,
            "Id": 100273223
         }
      ],
      "EventStatus": {
         "Type": "Reserved",
         "TextColour": "#ffffff",
         "Id": 100009576,
         "Name": "Course Confirmed",
         "Colour": "#009900"
      },
      "EventCoordinator": {
         "Id": 100009805,
         "Name": "John Smith"
      },
      "StatusChangedDate": "28/12/2018 16:13",
      "EventName": "New Event",
      "EventComment": [{
         "Comment": "test note",
         "CommentType": {
            "Id": 100009830,
            "Name": "GenericResult123"
         },
         "CreatedTime": "29/03/2019 17:39",
         "CreatedUser": {
            "Id": 100010665,
            "Name": "User 2"
         },
         "Attachments": []
      }],
      "UpdatedBy": "Test User",
      "EventSource": {
         "Id": 6,
         "Name": "Website"
      },
      "CustomFields": {
         "Texrfield": "s",
         "BU": [
            "test"
         ],
         "Cost Centre": "46",
         "Dropdown": [
            "N2",
            "N1"
         ],
         "Sales Person": [
            "TestDemo"
         ]
      },
      "EventNumber": "2509",
      "EventEndDate": "07/02/2019 17:30",
      "PaxBreakdownToolTip": "",
      "EventStartDate": "07/02/2019 16:00",
      "CreatedDate": "28/12/2018 16:13",
      "EventId": 101575507,
      "PurchaseOrder": ""
   }]
}