POST v2/events/{eventName}/contacts
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| eventName | string |
Required |
Body Parameters
EventContactDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EventContactId | integer |
None. |
|
| DisplayName | string |
Required |
|
| string |
Required |
||
| PhoneNumber | string |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"EventContactId": 1,
"DisplayName": "sample string 1",
"Email": "sample string 2",
"PhoneNumber": "sample string 3",
"IsDeleted": true
}
application/xml, text/xml
Sample:
<EventContactDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.Event.EventContact"> <DisplayName>sample string 1</DisplayName> <Email>sample string 2</Email> <EventContactId>1</EventContactId> <IsDeleted>true</IsDeleted> <PhoneNumber>sample string 3</PhoneNumber> </EventContactDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EventContactDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EventContactId | integer |
None. |
|
| DisplayName | string |
Required |
|
| string |
Required |
||
| PhoneNumber | string |
None. |
|
| IsDeleted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"EventContactId": 1,
"DisplayName": "sample string 1",
"Email": "sample string 2",
"PhoneNumber": "sample string 3",
"IsDeleted": true
}
application/xml, text/xml
Sample:
<EventContactDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.Event.EventContact"> <DisplayName>sample string 1</DisplayName> <Email>sample string 2</Email> <EventContactId>1</EventContactId> <IsDeleted>true</IsDeleted> <PhoneNumber>sample string 3</PhoneNumber> </EventContactDto>