POST api/notifications/send

Request Information

URI Parameters

None.

Body Parameters

NotificationModel
NameDescriptionTypeAdditional information
FromUserId

integer

None.

ToUserId

integer

None.

Message

string

None.

WorkId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FromUserId": 1,
  "ToUserId": 2,
  "Message": "sample string 3",
  "WorkId": 4
}

application/xml, text/xml

Sample:
<NotificationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TOPOS_API.Models">
  <FromUserId>1</FromUserId>
  <Message>sample string 3</Message>
  <ToUserId>2</ToUserId>
  <WorkId>4</WorkId>
</NotificationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.