POST api/webfi/event/add

Request Information

URI Parameters

None.

Body Parameters

ApiEventModel
NameDescriptionTypeAdditional information
EventVenueId

integer

Required

EventName

string

Required

ContactListId

integer

None.

NewContactList

string

None.

Venue

string

None.

Street

string

None.

City

string

None.

State

string

None.

ZipCode

string

None.

Country

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

EventDate

date

Required

EventEndDate

date

Required

Telephone

string

None.

Description

string

None.

UrlSlug

string

Required

IsPrivate

boolean

Required

PixelCode

string

None.

GaCode

string

None.

TempFileId

globally unique identifier

None.

Request Formats

[application/json, { "EventVenueId": 1, "EventName": "sample string 1", "ContactListId": 1, "NewContactList": "sample string 2", "Venue": "sample string 3", "Street": "sample string 4", "City": "sample string 5", "State": "sample string 6", "ZipCode": "sample string 7", "Country": "sample string 8", "Latitude": 1.1, "Longitude": 1.1, "EventDate": "2024-11-21T02:08:43.7252246+00:00", "EventEndDate": "2024-11-21T02:08:43.7252246+00:00", "Telephone": "sample string 11", "Description": "sample string 12", "UrlSlug": "sample string 13", "IsPrivate": true, "PixelCode": "sample string 15", "GaCode": "sample string 16", "TempFileId": "4ed10178-774c-41bd-8bef-4e25e7269e49" }][text/json, { "EventVenueId": 1, "EventName": "sample string 1", "ContactListId": 1, "NewContactList": "sample string 2", "Venue": "sample string 3", "Street": "sample string 4", "City": "sample string 5", "State": "sample string 6", "ZipCode": "sample string 7", "Country": "sample string 8", "Latitude": 1.1, "Longitude": 1.1, "EventDate": "2024-11-21T02:08:43.7252246+00:00", "EventEndDate": "2024-11-21T02:08:43.7252246+00:00", "Telephone": "sample string 11", "Description": "sample string 12", "UrlSlug": "sample string 13", "IsPrivate": true, "PixelCode": "sample string 15", "GaCode": "sample string 16", "TempFileId": "4ed10178-774c-41bd-8bef-4e25e7269e49" }][application/xml, <ApiEventModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models"> <City>sample string 5</City> <ContactListId>1</ContactListId> <Country>sample string 8</Country> <Description>sample string 12</Description> <EventDate>2024-11-21T02:08:43.7252246+00:00</EventDate> <EventEndDate>2024-11-21T02:08:43.7252246+00:00</EventEndDate> <EventName>sample string 1</EventName> <EventVenueId>1</EventVenueId> <GaCode>sample string 16</GaCode> <IsPrivate>true</IsPrivate> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <NewContactList>sample string 2</NewContactList> <PixelCode>sample string 15</PixelCode> <State>sample string 6</State> <Street>sample string 4</Street> <Telephone>sample string 11</Telephone> <TempFileId>4ed10178-774c-41bd-8bef-4e25e7269e49</TempFileId> <UrlSlug>sample string 13</UrlSlug> <Venue>sample string 3</Venue> <ZipCode>sample string 7</ZipCode> </ApiEventModel>][text/xml, <ApiEventModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models"> <City>sample string 5</City> <ContactListId>1</ContactListId> <Country>sample string 8</Country> <Description>sample string 12</Description> <EventDate>2024-11-21T02:08:43.7252246+00:00</EventDate> <EventEndDate>2024-11-21T02:08:43.7252246+00:00</EventEndDate> <EventName>sample string 1</EventName> <EventVenueId>1</EventVenueId> <GaCode>sample string 16</GaCode> <IsPrivate>true</IsPrivate> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <NewContactList>sample string 2</NewContactList> <PixelCode>sample string 15</PixelCode> <State>sample string 6</State> <Street>sample string 4</Street> <Telephone>sample string 11</Telephone> <TempFileId>4ed10178-774c-41bd-8bef-4e25e7269e49</TempFileId> <UrlSlug>sample string 13</UrlSlug> <Venue>sample string 3</Venue> <ZipCode>sample string 7</ZipCode> </ApiEventModel>][application/x-www-form-urlencoded, Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ApiEventModel'.]

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

[application/json, ][text/json, ][application/xml, ][text/xml, ]