POST api/Notification/AddNotification

Request Information

URI Parameters

None.

Body Parameters

Notification
NameDescriptionTypeAdditional information
Type

integer

None.

DescriptionHtml

string

None.

Category

string

None.

CategoryId

integer

None.

StartDate

date

None.

EndDate

date

None.

EmployeeID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "type": 1,
  "descriptionHtml": "sample string 2",
  "category": "sample string 3",
  "categoryId": 4,
  "startDate": "2025-09-04T15:35:39.2267458+00:00",
  "endDate": "2025-09-04T15:35:39.2267458+00:00",
  "employeeID": 5
}

application/xml, text/xml

Sample:
<Notification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GTI.DW.PeopleProfile.Domain.Models">
  <Category>sample string 3</Category>
  <CategoryId>4</CategoryId>
  <DescriptionHtml>sample string 2</DescriptionHtml>
  <EmployeeID>5</EmployeeID>
  <EndDate>2025-09-04T15:35:39.2267458+00:00</EndDate>
  <StartDate>2025-09-04T15:35:39.2267458+00:00</StartDate>
  <Type>1</Type>
</Notification>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />