POST api/PulseEvents/Messages/{pulseeventid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pulseeventid

integer

Required

Body Parameters

EventMessage
NameDescriptionTypeAdditional information
EventMessageID

integer

None.

PulseEventID

integer

Required

UserID

integer

Required

Message

string

Required

Max length: 150

Min length: 2

TimeStamp

date

None.

Request Formats

application/json, text/json

Sample:
{
  "EventMessageID": 1,
  "PulseEventID": 2,
  "UserID": 3,
  "Message": "sample string 4",
  "TimeStamp": "2018-09-19T07:43:12.1026467-07:00"
}

application/xml, text/xml

Sample:
<EventMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PulseAPI.Models">
  <EventMessageID>1</EventMessageID>
  <Message>sample string 4</Message>
  <PulseEventID>2</PulseEventID>
  <TimeStamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2018-09-19T14:43:12.1026467Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes>
  </TimeStamp>
  <UserID>3</UserID>
</EventMessage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EventMessage
NameDescriptionTypeAdditional information
EventMessageID

integer

None.

PulseEventID

integer

Required

UserID

integer

Required

Message

string

Required

Max length: 150

Min length: 2

TimeStamp

date

None.

Response Formats

application/json, text/json

Sample:
{
  "EventMessageID": 1,
  "PulseEventID": 2,
  "UserID": 3,
  "Message": "sample string 4",
  "TimeStamp": "2018-09-19T07:43:12.1026467-07:00"
}

application/xml, text/xml

Sample:
<EventMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PulseAPI.Models">
  <EventMessageID>1</EventMessageID>
  <Message>sample string 4</Message>
  <PulseEventID>2</PulseEventID>
  <TimeStamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2018-09-19T14:43:12.1026467Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes>
  </TimeStamp>
  <UserID>3</UserID>
</EventMessage>