GET api/JobSeeker/Notification/GetNotifications?limitToLast30Days={limitToLast30Days}&reset={reset}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
limitToLast30Days

boolean

Required

reset

boolean

Required

Body Parameters

None.

Response Information

Resource Description

JobSeekerNotificationRequestOutput
NameDescriptionTypeAdditional information
Success

boolean

None.

FailMessage

string

None.

SelectedConversationId

string

None.

recentNotifications

Collection of JobSeekerNotification

None.

groupedNotifications

Collection of JobSeekerNotificationGroup

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "failMessage": "sample string 2",
  "selectedConversationId": "sample string 3",
  "recentNotifications": [
    {
      "id": "sample string 1",
      "title": "sample string 2",
      "date": "sample string 3",
      "dateTime": "2019-12-16T07:25:22.2657019-06:00",
      "isNew": true,
      "category": "sample string 5",
      "subCategory": "sample string 6",
      "opportunityName": "sample string 7",
      "opportunityId": 8,
      "opportunityStatus": "sample string 9",
      "employerName": "sample string 10",
      "employerId": 11
    },
    {
      "id": "sample string 1",
      "title": "sample string 2",
      "date": "sample string 3",
      "dateTime": "2019-12-16T07:25:22.2657019-06:00",
      "isNew": true,
      "category": "sample string 5",
      "subCategory": "sample string 6",
      "opportunityName": "sample string 7",
      "opportunityId": 8,
      "opportunityStatus": "sample string 9",
      "employerName": "sample string 10",
      "employerId": 11
    }
  ],
  "groupedNotifications": [
    {
      "name": "sample string 1",
      "notifications": [
        {
          "id": "sample string 1",
          "title": "sample string 2",
          "date": "sample string 3",
          "dateTime": "2019-12-16T07:25:22.2657019-06:00",
          "isNew": true,
          "category": "sample string 5",
          "subCategory": "sample string 6",
          "opportunityName": "sample string 7",
          "opportunityId": 8,
          "opportunityStatus": "sample string 9",
          "employerName": "sample string 10",
          "employerId": 11
        },
        {
          "id": "sample string 1",
          "title": "sample string 2",
          "date": "sample string 3",
          "dateTime": "2019-12-16T07:25:22.2657019-06:00",
          "isNew": true,
          "category": "sample string 5",
          "subCategory": "sample string 6",
          "opportunityName": "sample string 7",
          "opportunityId": 8,
          "opportunityStatus": "sample string 9",
          "employerName": "sample string 10",
          "employerId": 11
        }
      ]
    },
    {
      "name": "sample string 1",
      "notifications": [
        {
          "id": "sample string 1",
          "title": "sample string 2",
          "date": "sample string 3",
          "dateTime": "2019-12-16T07:25:22.2657019-06:00",
          "isNew": true,
          "category": "sample string 5",
          "subCategory": "sample string 6",
          "opportunityName": "sample string 7",
          "opportunityId": 8,
          "opportunityStatus": "sample string 9",
          "employerName": "sample string 10",
          "employerId": 11
        },
        {
          "id": "sample string 1",
          "title": "sample string 2",
          "date": "sample string 3",
          "dateTime": "2019-12-16T07:25:22.2657019-06:00",
          "isNew": true,
          "category": "sample string 5",
          "subCategory": "sample string 6",
          "opportunityName": "sample string 7",
          "opportunityId": 8,
          "opportunityStatus": "sample string 9",
          "employerName": "sample string 10",
          "employerId": 11
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<JobSeekerNotificationRequestOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIService.Models.JobSeeker">
  <FailMessage>sample string 2</FailMessage>
  <SelectedConversationId>sample string 3</SelectedConversationId>
  <Success>true</Success>
  <groupedNotifications>
    <JobSeekerNotificationGroup>
      <name>sample string 1</name>
      <notifications>
        <JobSeekerNotification>
          <category>sample string 5</category>
          <date>sample string 3</date>
          <dateTime>2019-12-16T07:25:22.2657019-06:00</dateTime>
          <employerId>11</employerId>
          <employerName>sample string 10</employerName>
          <id>sample string 1</id>
          <isNew>true</isNew>
          <opportunityId>8</opportunityId>
          <opportunityName>sample string 7</opportunityName>
          <opportunityStatus>sample string 9</opportunityStatus>
          <subCategory>sample string 6</subCategory>
          <title>sample string 2</title>
        </JobSeekerNotification>
        <JobSeekerNotification>
          <category>sample string 5</category>
          <date>sample string 3</date>
          <dateTime>2019-12-16T07:25:22.2657019-06:00</dateTime>
          <employerId>11</employerId>
          <employerName>sample string 10</employerName>
          <id>sample string 1</id>
          <isNew>true</isNew>
          <opportunityId>8</opportunityId>
          <opportunityName>sample string 7</opportunityName>
          <opportunityStatus>sample string 9</opportunityStatus>
          <subCategory>sample string 6</subCategory>
          <title>sample string 2</title>
        </JobSeekerNotification>
      </notifications>
    </JobSeekerNotificationGroup>
    <JobSeekerNotificationGroup>
      <name>sample string 1</name>
      <notifications>
        <JobSeekerNotification>
          <category>sample string 5</category>
          <date>sample string 3</date>
          <dateTime>2019-12-16T07:25:22.2657019-06:00</dateTime>
          <employerId>11</employerId>
          <employerName>sample string 10</employerName>
          <id>sample string 1</id>
          <isNew>true</isNew>
          <opportunityId>8</opportunityId>
          <opportunityName>sample string 7</opportunityName>
          <opportunityStatus>sample string 9</opportunityStatus>
          <subCategory>sample string 6</subCategory>
          <title>sample string 2</title>
        </JobSeekerNotification>
        <JobSeekerNotification>
          <category>sample string 5</category>
          <date>sample string 3</date>
          <dateTime>2019-12-16T07:25:22.2657019-06:00</dateTime>
          <employerId>11</employerId>
          <employerName>sample string 10</employerName>
          <id>sample string 1</id>
          <isNew>true</isNew>
          <opportunityId>8</opportunityId>
          <opportunityName>sample string 7</opportunityName>
          <opportunityStatus>sample string 9</opportunityStatus>
          <subCategory>sample string 6</subCategory>
          <title>sample string 2</title>
        </JobSeekerNotification>
      </notifications>
    </JobSeekerNotificationGroup>
  </groupedNotifications>
  <recentNotifications>
    <JobSeekerNotification>
      <category>sample string 5</category>
      <date>sample string 3</date>
      <dateTime>2019-12-16T07:25:22.2657019-06:00</dateTime>
      <employerId>11</employerId>
      <employerName>sample string 10</employerName>
      <id>sample string 1</id>
      <isNew>true</isNew>
      <opportunityId>8</opportunityId>
      <opportunityName>sample string 7</opportunityName>
      <opportunityStatus>sample string 9</opportunityStatus>
      <subCategory>sample string 6</subCategory>
      <title>sample string 2</title>
    </JobSeekerNotification>
    <JobSeekerNotification>
      <category>sample string 5</category>
      <date>sample string 3</date>
      <dateTime>2019-12-16T07:25:22.2657019-06:00</dateTime>
      <employerId>11</employerId>
      <employerName>sample string 10</employerName>
      <id>sample string 1</id>
      <isNew>true</isNew>
      <opportunityId>8</opportunityId>
      <opportunityName>sample string 7</opportunityName>
      <opportunityStatus>sample string 9</opportunityStatus>
      <subCategory>sample string 6</subCategory>
      <title>sample string 2</title>
    </JobSeekerNotification>
  </recentNotifications>
</JobSeekerNotificationRequestOutput>