PUT api/EventRegistrations
Request Information
URI Parameters
None.
Body Parameters
EventRegistrationEditModelName | Description | Type | Additional information |
---|---|---|---|
RegistrationId | integer |
Required |
|
PersonId | integer |
None. |
|
BadgeTypeId | integer |
None. |
|
ShowVotingDesignation | boolean |
None. |
|
EventDesignationTypeId | integer |
None. |
|
DistrictId | integer |
None. |
|
ChargeId | integer |
None. |
|
ChurchId | integer |
None. |
|
Field1 | string |
None. |
|
Field2 | string |
None. |
|
Field3 | string |
None. |
|
CurrentAge | integer |
None. |
|
Gender | string |
None. |
|
EthnicityId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "RegistrationId": 1, "PersonId": 1, "BadgeTypeId": 1, "ShowVotingDesignation": true, "EventDesignationTypeId": 1, "DistrictId": 1, "ChargeId": 1, "ChurchId": 1, "Field1": "sample string 2", "Field2": "sample string 3", "Field3": "sample string 4", "CurrentAge": 1, "Gender": "sample string 5", "EthnicityId": 1 }
application/xml, text/xml
Sample:
<EventRegistrationEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnityWebApi.Models"> <BadgeTypeId>1</BadgeTypeId> <ChargeId>1</ChargeId> <ChurchId>1</ChurchId> <CurrentAge>1</CurrentAge> <DistrictId>1</DistrictId> <EthnicityId>1</EthnicityId> <EventDesignationTypeId>1</EventDesignationTypeId> <Field1>sample string 2</Field1> <Field2>sample string 3</Field2> <Field3>sample string 4</Field3> <Gender>sample string 5</Gender> <PersonId>1</PersonId> <RegistrationId>1</RegistrationId> <ShowVotingDesignation>true</ShowVotingDesignation> </EventRegistrationEditModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.