POST api/event/update

Request Information

URI Parameters

None.

Body Parameters

Event
NameDescriptionTypeAdditional information
Id

integer

None.

EventType

string

None.

Name

string

None.

Theme

string

None.

HostCode

string

None.

Payable

boolean

None.

EarlyBirdExist

boolean

None.

StartDate

date

None.

EndDate

date

None.

Venue

string

None.

AllowSponsors

boolean

None.

BirdRate

integer

None.

NationalDelegateRegFee

integer

None.

InternationalDelegateRegFee

integer

None.

BirdRateTerminationDate

date

None.

ChildrenFee

integer

None.

TeenagerFee

integer

None.

Logo

string

None.

City

string

None.

State

string

None.

CpcChairmanTitle

string

None.

CpcChairmanFirstName

string

None.

CpcChairmanLastName

string

None.

CpcChairmanPix

string

None.

CpcChairmanSpeech

string

None.

CreatedBy

string

String length: inclusive between 0 and 50

UpdatedBy

string

String length: inclusive between 0 and 50

CreatedOn

date

None.

UpdatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EventType": "sample string 2",
  "Name": "sample string 3",
  "Theme": "sample string 4",
  "HostCode": "sample string 5",
  "Payable": true,
  "EarlyBirdExist": true,
  "StartDate": "2022-09-26T10:21:00.3552275-05:00",
  "EndDate": "2022-09-26T10:21:00.3552275-05:00",
  "Venue": "sample string 8",
  "AllowSponsors": true,
  "BirdRate": 1,
  "NationalDelegateRegFee": 1,
  "InternationalDelegateRegFee": 1,
  "BirdRateTerminationDate": "2022-09-26T10:21:00.3552275-05:00",
  "ChildrenFee": 1,
  "TeenagerFee": 1,
  "Logo": "sample string 9",
  "City": "sample string 10",
  "State": "sample string 11",
  "CpcChairmanTitle": "sample string 12",
  "CpcChairmanFirstName": "sample string 13",
  "CpcChairmanLastName": "sample string 14",
  "CpcChairmanPix": "sample string 15",
  "CpcChairmanSpeech": "sample string 16",
  "CreatedBy": "sample string 17",
  "UpdatedBy": "sample string 18",
  "CreatedOn": "2022-09-26T10:21:00.3708519-05:00",
  "UpdatedOn": "2022-09-26T10:21:00.3708519-05:00"
}

text/xml

Sample:
<Event xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FullGospel.Common.Events">
  <AllowSponsors>true</AllowSponsors>
  <BirdRate>1</BirdRate>
  <BirdRateTerminationDate>2022-09-26T10:21:00.3552275-05:00</BirdRateTerminationDate>
  <ChildrenFee>1</ChildrenFee>
  <City>sample string 10</City>
  <CpcChairmanFirstName>sample string 13</CpcChairmanFirstName>
  <CpcChairmanLastName>sample string 14</CpcChairmanLastName>
  <CpcChairmanPix>sample string 15</CpcChairmanPix>
  <CpcChairmanSpeech>sample string 16</CpcChairmanSpeech>
  <CpcChairmanTitle>sample string 12</CpcChairmanTitle>
  <CreatedBy>sample string 17</CreatedBy>
  <CreatedOn>2022-09-26T10:21:00.3708519-05:00</CreatedOn>
  <EarlyBirdExist>true</EarlyBirdExist>
  <EndDate>2022-09-26T10:21:00.3552275-05:00</EndDate>
  <EventType>sample string 2</EventType>
  <HostCode>sample string 5</HostCode>
  <Id>1</Id>
  <InternationalDelegateRegFee>1</InternationalDelegateRegFee>
  <Logo>sample string 9</Logo>
  <Name>sample string 3</Name>
  <NationalDelegateRegFee>1</NationalDelegateRegFee>
  <Payable>true</Payable>
  <StartDate>2022-09-26T10:21:00.3552275-05:00</StartDate>
  <State>sample string 11</State>
  <TeenagerFee>1</TeenagerFee>
  <Theme>sample string 4</Theme>
  <UpdatedBy>sample string 18</UpdatedBy>
  <UpdatedOn>2022-09-26T10:21:00.3708519-05:00</UpdatedOn>
  <Venue>sample string 8</Venue>
</Event>

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

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.