POST associations({associationId})/events({eventId})/attendees({attendeeId})

Method to create an event attendee

Request Information

Parameters

NameDescriptionAdditional information
newObject
Event attendee to add

Define this parameter in the request body.

associationId
Association of interest

Define this parameter in the request URI.

eventId
Event of interest

Define this parameter in the request URI.

attendeeId
No documentation available.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "RepresentativeId": 1,
  "MemberId": 1,
  "Id": 1,
  "BillingStatus": 1,
  "BillingStatusText": "UNPAID",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Representitive": "sample string 2 sample string 3",
  "InviteStatus": 1,
  "InviteStatusText": "INVITED",
  "Organization": "sample string 5",
  "RegistrationDate": "2024-04-24T11:05:21.9983775-05:00",
  "HasAttended": true,
  "Email": "sample string 6",
  "Phone": "sample string 7",
  "EventId": 8,
  "RegistrationId": 1,
  "EventName": "sample string 9",
  "EventDate": "2024-04-24T11:05:21.9983775-05:00",
  "BaseFeeId": 1,
  "Age": 1,
  "InProcess": true,
  "AttendeeFees": [
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    },
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    },
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    }
  ],
  "RegistrationFees": [
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    },
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    },
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    }
  ],
  "EventEndDate": "2024-04-24T11:05:21.9983775-05:00",
  "EventDescription": "sample string 10"
}

application/xml, text/xml

Sample:
<EventAttendeeResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <Age>1</Age>
  <AttendeeFees>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
  </AttendeeFees>
  <BaseFeeId>1</BaseFeeId>
  <BillingStatus>1</BillingStatus>
  <Email>sample string 6</Email>
  <EventDate>2024-04-24T11:05:21.9983775-05:00</EventDate>
  <EventDescription>sample string 10</EventDescription>
  <EventEndDate>2024-04-24T11:05:21.9983775-05:00</EventEndDate>
  <EventId>8</EventId>
  <EventName>sample string 9</EventName>
  <FirstName>sample string 2</FirstName>
  <HasAttended>true</HasAttended>
  <Id>1</Id>
  <InProcess>true</InProcess>
  <InviteStatus>1</InviteStatus>
  <LastName>sample string 3</LastName>
  <MemberId>1</MemberId>
  <Organization>sample string 5</Organization>
  <Phone>sample string 7</Phone>
  <RegistrationDate>2024-04-24T11:05:21.9983775-05:00</RegistrationDate>
  <RegistrationFees>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
  </RegistrationFees>
  <RegistrationId>1</RegistrationId>
  <RepresentativeId>1</RepresentativeId>
</EventAttendeeResource>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

New event attendee

Response body formats

application/json, text/json

Sample:
{
  "RepresentativeId": 1,
  "MemberId": 1,
  "Id": 1,
  "BillingStatus": 1,
  "BillingStatusText": "UNPAID",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Representitive": "sample string 2 sample string 3",
  "InviteStatus": 1,
  "InviteStatusText": "INVITED",
  "Organization": "sample string 5",
  "RegistrationDate": "2024-04-24T11:05:21.9983775-05:00",
  "HasAttended": true,
  "Email": "sample string 6",
  "Phone": "sample string 7",
  "EventId": 8,
  "RegistrationId": 1,
  "EventName": "sample string 9",
  "EventDate": "2024-04-24T11:05:21.9983775-05:00",
  "BaseFeeId": 1,
  "Age": 1,
  "InProcess": true,
  "AttendeeFees": [
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    },
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    },
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    }
  ],
  "RegistrationFees": [
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    },
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    },
    {
      "EventFeeId": 1,
      "Price": 2.1,
      "Quantity": 3
    }
  ],
  "EventEndDate": "2024-04-24T11:05:21.9983775-05:00",
  "EventDescription": "sample string 10"
}

application/xml, text/xml

Sample:
<EventAttendeeResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <Age>1</Age>
  <AttendeeFees>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
  </AttendeeFees>
  <BaseFeeId>1</BaseFeeId>
  <BillingStatus>1</BillingStatus>
  <Email>sample string 6</Email>
  <EventDate>2024-04-24T11:05:21.9983775-05:00</EventDate>
  <EventDescription>sample string 10</EventDescription>
  <EventEndDate>2024-04-24T11:05:21.9983775-05:00</EventEndDate>
  <EventId>8</EventId>
  <EventName>sample string 9</EventName>
  <FirstName>sample string 2</FirstName>
  <HasAttended>true</HasAttended>
  <Id>1</Id>
  <InProcess>true</InProcess>
  <InviteStatus>1</InviteStatus>
  <LastName>sample string 3</LastName>
  <MemberId>1</MemberId>
  <Organization>sample string 5</Organization>
  <Phone>sample string 7</Phone>
  <RegistrationDate>2024-04-24T11:05:21.9983775-05:00</RegistrationDate>
  <RegistrationFees>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
    <EventFeeResource>
      <EventFeeId>1</EventFeeId>
      <Price>2.1</Price>
      <Quantity>3</Quantity>
    </EventFeeResource>
  </RegistrationFees>
  <RegistrationId>1</RegistrationId>
  <RepresentativeId>1</RepresentativeId>
</EventAttendeeResource>