GET api/EventRegistration?contactId={contactId}

Retrieve Event Registration based on the specified contact id and event id.
Possible Service Responses:
200/OK - match found and event registration record is in the body of the response.
404/Event Registration Not Found - no match found for the specified contact id.
500/Internal Server - unexpected server error, details in the body of the response.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

The contact id for the event registration record in CRM

System.String

Required

Body Parameters

None.

Response Information

Resource Description

Event Registration

System.Collections.Generic.List`1[Altai.Web.Services.Models.EventRegistration]
NameDescriptionTypeAdditional information
Id

System.String

None.

Name

System.String

None.

EventId

System.String

None.

ContactId

System.String

None.

EventName

System.String

None.

EventStartDate

System.String

None.

EventEndDate

System.String

None.

StatusCode

System.Int32

None.

IsCheckedIn

System.Boolean

None.

PositionTitle

System.String

None.

BadgeOrganization

System.String

None.

BadgeFirstName

System.String

None.

BadgeLastName

System.String

None.

RegistrationType

System.String

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "EventId": "sample string 3",
    "ContactId": "sample string 4",
    "EventName": "sample string 5",
    "EventStartDate": "sample string 6",
    "EventEndDate": "sample string 7",
    "StatusCode": 1,
    "IsCheckedIn": true,
    "PositionTitle": "sample string 9",
    "BadgeOrganization": "sample string 10",
    "BadgeFirstName": "sample string 11",
    "BadgeLastName": "sample string 12",
    "RegistrationType": "sample string 13"
  },
  {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "EventId": "sample string 3",
    "ContactId": "sample string 4",
    "EventName": "sample string 5",
    "EventStartDate": "sample string 6",
    "EventEndDate": "sample string 7",
    "StatusCode": 1,
    "IsCheckedIn": true,
    "PositionTitle": "sample string 9",
    "BadgeOrganization": "sample string 10",
    "BadgeFirstName": "sample string 11",
    "BadgeLastName": "sample string 12",
    "RegistrationType": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEventRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models">
  <EventRegistration>
    <BadgeFirstName>sample string 11</BadgeFirstName>
    <BadgeLastName>sample string 12</BadgeLastName>
    <BadgeOrganization>sample string 10</BadgeOrganization>
    <ContactId>sample string 4</ContactId>
    <EventEndDate>sample string 7</EventEndDate>
    <EventId>sample string 3</EventId>
    <EventName>sample string 5</EventName>
    <EventStartDate>sample string 6</EventStartDate>
    <Id>sample string 1</Id>
    <IsCheckedIn>true</IsCheckedIn>
    <Name>sample string 2</Name>
    <PositionTitle>sample string 9</PositionTitle>
    <RegistrationType>sample string 13</RegistrationType>
    <StatusCode>1</StatusCode>
  </EventRegistration>
  <EventRegistration>
    <BadgeFirstName>sample string 11</BadgeFirstName>
    <BadgeLastName>sample string 12</BadgeLastName>
    <BadgeOrganization>sample string 10</BadgeOrganization>
    <ContactId>sample string 4</ContactId>
    <EventEndDate>sample string 7</EventEndDate>
    <EventId>sample string 3</EventId>
    <EventName>sample string 5</EventName>
    <EventStartDate>sample string 6</EventStartDate>
    <Id>sample string 1</Id>
    <IsCheckedIn>true</IsCheckedIn>
    <Name>sample string 2</Name>
    <PositionTitle>sample string 9</PositionTitle>
    <RegistrationType>sample string 13</RegistrationType>
    <StatusCode>1</StatusCode>
  </EventRegistration>
</ArrayOfEventRegistration>