POST api/PulseEvents

Request Information

URI Parameters

None.

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-06-22T23:08:09.7496417-07:00",
  "EndDate": "2018-06-22T23:08:09.7496417-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-06-22T23:08:09.7496417-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-06-22T23:08:09.7496417-07:00</StartDate>
</InsertEvent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PulseEvent
NameDescriptionTypeAdditional information
PulseEventID

integer

None.

Name

string

Required

Max length: 75

Min length: 4

AdminID

integer

None.

StartDate

date

None.

EndDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "PulseEventID": 1,
  "Name": "sample string 2",
  "AdminID": 3,
  "StartDate": "2018-06-22T23:08:09.7496417-07:00",
  "EndDate": "2018-06-22T23:08:09.7496417-07:00"
}

application/xml, text/xml

Sample:
<PulseEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PulseAPI.Models">
  <AdminID>3</AdminID>
  <EndDate>2018-06-22T23:08:09.7496417-07:00</EndDate>
  <Name>sample string 2</Name>
  <PulseEventID>1</PulseEventID>
  <StartDate>2018-06-22T23:08:09.7496417-07:00</StartDate>
</PulseEvent>