POST v1/Events/Attendees
Creates a new person in the system that can then be used as an attendee for event registration
Request Information
URI Parameters
None.
Body Parameters
CreateEventAttendeeInputPOSTName | Description | Type | Additional information |
---|---|---|---|
firstName | string |
Required |
|
lastName | string |
Required |
|
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_Events_EventsEndpointController.CreateEventAttendeeInputPOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Events_EventsEndpoint"> <city>sample string 4</city> <email>sample string 3</email> <firstName>sample string 1</firstName> <lastName>sample string 2</lastName> </v1_Events_EventsEndpointController.CreateEventAttendeeInputPOST>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
EventAttendeeOutputName | Description | Type | Additional 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_Events_EventsEndpointController.EventAttendeeOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Events_EventsEndpoint"> <id>1</id> </v1_Events_EventsEndpointController.EventAttendeeOutput>