POST v1/admin/company/{id}/Events/Attendees

Creates a new person in the admin system that can then be used as an attendee for event registration

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CreateAdminEventAttendeeInputPOST
NameDescriptionTypeAdditional information
firstName

string

Required

lastName

string

Required

email

string

Required

city

string

Required

Request Formats

application/json, text/json

Sample:
{
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "email": "sample string 3",
  "city": "sample string 4"
}

text/html

Sample:
{"firstName":"sample string 1","lastName":"sample string 2","email":"sample string 3","city":"sample string 4"}

application/xml, text/xml

Sample:
<v1_Admin_CompanyEndpointController.CreateAdminEventAttendeeInputPOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_CompanyEndpoint">
  <city>sample string 4</city>
  <email>sample string 3</email>
  <firstName>sample string 1</firstName>
  <lastName>sample string 2</lastName>
</v1_Admin_CompanyEndpointController.CreateAdminEventAttendeeInputPOST>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CreateAdminEventAttendeeInputPOST'.

Response Information

Resource Description

AdminEventAttendeeOutput
NameDescriptionTypeAdditional information
id

The unique identifier of the newly created person

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1
}

text/html

Sample:
{"id":1}

application/xml, text/xml

Sample:
<v1_Admin_CompanyEndpointController.AdminEventAttendeeOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_CompanyEndpoint">
  <id>1</id>
</v1_Admin_CompanyEndpointController.AdminEventAttendeeOutput>