POST api/EventsRegistration

Request Information

URI Parameters

None.

Body Parameters

Event
NameDescriptionTypeAdditional information
Id

integer

None.

RegionID

integer

None.

ChaptersID

integer

None.

CountryID

integer

None.

Members

integer

None.

Image

string

None.

Name

string

None.

Location

string

None.

Description

string

None.

DateFrom

date

None.

DateTo

date

None.

Amount

integer

None.

Participants

integer

None.

Post

byte

None.

Events

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

MemberEventTransactionHistories

Collection of MemberEventTransactionHistory

None.

User

User

None.

User1

User

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Event' with type 'PNA.Models.Event'. Path 'MemberEventTransactionHistories[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Event' with type 'PNA.Models.Event'. Path 'MemberEventTransactionHistories[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'PNA.Models.MemberEventTransactionHistory' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'PNA.Models.MemberEventTransactionHistory' contains cycles and cannot be serialized if reference tracking is disabled.

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 'Event'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>