POST api/IClassUsers/SendNotifications

Request Information

URI Parameters

None.

Body Parameters

clsUserPushNotification
NameDescriptionTypeAdditional information
Title

string

None.

Message

string

None.

Link

string

None.

OnLineSchoolId

integer

None.

UserIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Message": "sample string 2",
  "Link": "sample string 3",
  "OnLineSchoolId": 1,
  "UserIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<clsUserPushNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <Link>sample string 3</Link>
  <Message>sample string 2</Message>
  <OnLineSchoolId>1</OnLineSchoolId>
  <Title>sample string 1</Title>
  <UserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </UserIds>
</clsUserPushNotification>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of string

Response Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>