POST api/EventRegistration

Create a new Event Registration record
Possible Service Responses:
201/Created - Event Registration created successfully and returned in the body of the response.
500/Internal Server - unexpected server error, details in the body of the response.

Request Information

URI Parameters

None.

Body Parameters

The event registration to create

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.

Request 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"
}

application/xml, text/xml

Sample:
<EventRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models">
  <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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

System.String

None.

Headers

System.Net.Http.Headers.HttpResponseHeaders

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

System.Boolean

None.