POST api/PulseGroups/Messages/{pulsegroupid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pulsegroupid

integer

Required

Body Parameters

GroupMessage
NameDescriptionTypeAdditional information
GroupMessageID

integer

None.

PulseGroupID

integer

Required

UserID

integer

Required

Message

string

Required

Max length: 150

Min length: 2

TimeStamp

date

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupMessageID": 1,
  "PulseGroupID": 2,
  "UserID": 3,
  "Message": "sample string 4",
  "TimeStamp": "2018-12-16T01:56:56.7118-07:00"
}

application/xml, text/xml

Sample:
<GroupMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PulseAPI.Models">
  <GroupMessageID>1</GroupMessageID>
  <Message>sample string 4</Message>
  <PulseGroupID>2</PulseGroupID>
  <TimeStamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2018-12-16T08:56:56.7118Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes>
  </TimeStamp>
  <UserID>3</UserID>
</GroupMessage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GroupMessage
NameDescriptionTypeAdditional information
GroupMessageID

integer

None.

PulseGroupID

integer

Required

UserID

integer

Required

Message

string

Required

Max length: 150

Min length: 2

TimeStamp

date

None.

Response Formats

application/json, text/json

Sample:
{
  "GroupMessageID": 1,
  "PulseGroupID": 2,
  "UserID": 3,
  "Message": "sample string 4",
  "TimeStamp": "2018-12-16T01:56:56.7118-07:00"
}

application/xml, text/xml

Sample:
<GroupMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PulseAPI.Models">
  <GroupMessageID>1</GroupMessageID>
  <Message>sample string 4</Message>
  <PulseGroupID>2</PulseGroupID>
  <TimeStamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2018-12-16T08:56:56.7118Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes>
  </TimeStamp>
  <UserID>3</UserID>
</GroupMessage>