POST api/JobPosts/GetAllNotifications

Request Information

URI Parameters

None.

Body Parameters

NotificationInputClass
NameDescriptionTypeAdditional information
CompanyID

integer

None.

UserID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyID": 1,
  "UserID": "sample string 2"
}

application/xml, text/xml

Sample:
<NotificationInputClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoftbreaksAPI.Models">
  <CompanyID>1</CompanyID>
  <UserID>sample string 2</UserID>
</NotificationInputClass>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NotificationOuputViewModel
NameDescriptionTypeAdditional information
NotificationOutputList

Collection of NotificationOutputClass

None.

IsCallSuccessful

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "NotificationOutputList": [
    {
      "NotificationID": 1,
      "NotificationDate": "sample string 2",
      "NotificationTime": "sample string 3",
      "NotificationText": "sample string 4",
      "nameOfCandidate": "sample string 5",
      "profileName": "sample string 6",
      "NotificationType": "sample string 7"
    },
    {
      "NotificationID": 1,
      "NotificationDate": "sample string 2",
      "NotificationTime": "sample string 3",
      "NotificationText": "sample string 4",
      "nameOfCandidate": "sample string 5",
      "profileName": "sample string 6",
      "NotificationType": "sample string 7"
    }
  ],
  "IsCallSuccessful": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<NotificationOuputViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoftbreaksAPI.Models">
  <IsCallSuccessful>true</IsCallSuccessful>
  <Message>sample string 2</Message>
  <NotificationOutputList>
    <NotificationOutputClass>
      <NotificationDate>sample string 2</NotificationDate>
      <NotificationID>1</NotificationID>
      <NotificationText>sample string 4</NotificationText>
      <NotificationTime>sample string 3</NotificationTime>
      <NotificationType>sample string 7</NotificationType>
      <nameOfCandidate>sample string 5</nameOfCandidate>
      <profileName>sample string 6</profileName>
    </NotificationOutputClass>
    <NotificationOutputClass>
      <NotificationDate>sample string 2</NotificationDate>
      <NotificationID>1</NotificationID>
      <NotificationText>sample string 4</NotificationText>
      <NotificationTime>sample string 3</NotificationTime>
      <NotificationType>sample string 7</NotificationType>
      <nameOfCandidate>sample string 5</nameOfCandidate>
      <profileName>sample string 6</profileName>
    </NotificationOutputClass>
  </NotificationOutputList>
</NotificationOuputViewModel>