POST api/PulseEvents/Update/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

InsertEvent
NameDescriptionTypeAdditional information
PulseEventID

integer

None.

Name

string

None.

AdminID

integer

None.

IsPublic

boolean

None.

StartDate

date

None.

EndDate

date

None.

Location

string

None.

Description

string

None.

Keywords

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PulseEventID": 1,
  "Name": "sample string 2",
  "AdminID": 3,
  "IsPublic": true,
  "StartDate": "2018-12-16T01:01:20.1827343-07:00",
  "EndDate": "2018-12-16T01:01:20.1827343-07:00",
  "Location": "sample string 4",
  "Description": "sample string 5",
  "Keywords": "sample string 6"
}

application/xml, text/xml

Sample:
<InsertEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PulseAPI.Controllers">
  <AdminID>3</AdminID>
  <Description>sample string 5</Description>
  <EndDate>2018-12-16T01:01:20.1827343-07:00</EndDate>
  <IsPublic>true</IsPublic>
  <Keywords>sample string 6</Keywords>
  <Location>sample string 4</Location>
  <Name>sample string 2</Name>
  <PulseEventID>1</PulseEventID>
  <StartDate>2018-12-16T01:01:20.1827343-07:00</StartDate>
</InsertEvent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EventLookup
NameDescriptionTypeAdditional information
PulseEventID

integer

None.

Name

string

None.

IsPublic

boolean

None.

AdminID

integer

None.

StartDate

date

None.

EndDate

date

None.

AttendingEvent

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "PulseEventID": 1,
  "Name": "sample string 2",
  "IsPublic": true,
  "AdminID": 4,
  "StartDate": "2018-12-16T01:01:20.1827343-07:00",
  "EndDate": "2018-12-16T01:01:20.1827343-07:00",
  "AttendingEvent": true
}

application/xml, text/xml

Sample:
<EventLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PulseAPI.Models">
  <AdminID>4</AdminID>
  <AttendingEvent>true</AttendingEvent>
  <EndDate>2018-12-16T01:01:20.1827343-07:00</EndDate>
  <IsPublic>true</IsPublic>
  <Name>sample string 2</Name>
  <PulseEventID>1</PulseEventID>
  <StartDate>2018-12-16T01:01:20.1827343-07:00</StartDate>
</EventLookup>