POST api/Notifications/{identity}/Reject

Request Information

URI Parameters

NameDescriptionTypeAdditional information
identity

string

Required

Body Parameters

NotificationReason
NameDescriptionTypeAdditional information
Note

string

None.

Author

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Note": "sample string 1",
  "Author": "sample string 2"
}

application/xml, text/xml

Sample:
<NotificationReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <Author>sample string 2</Author>
  <Note>sample string 1</Note>
</NotificationReason>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserNotification
NameDescriptionTypeAdditional information
Identity

globally unique identifier

None.

EventIdentity

globally unique identifier

None.

ResourceIdentity

globally unique identifier

None.

ResourceTypeIdentity

globally unique identifier

None.

PermissionGroupIdentities

Collection of globally unique identifier

None.

Approvers

Approvers

None.

UserNotificationType

UserNotificationTypes

None.

CreatedAt

date

None.

ActionRequired

boolean

None.

Description

string

None.

OwnerName

string

None.

OwnerEmailAddress

string

None.

CreatedBy

string

None.

ResourceName

string

None.

ResourceTypeName

string

None.

EventName

string

None.

ActionedAt

date

None.

ActionedBy

string

None.

Notes

NotificationReason

None.

Reference

string

None.

IsPrimaryResourceChange

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Identity": "21463ea2-5e82-4dbc-b99e-714298557d6f",
  "EventIdentity": "cce43b03-ccfe-42c1-897d-f7cd7658cdfd",
  "ResourceIdentity": "e60b8c0b-bd09-4385-b3e4-e6f0ff2d3f1f",
  "ResourceTypeIdentity": "31b17685-1772-4258-8776-a73a47bff190",
  "PermissionGroupIdentities": [
    "638308c2-586f-40ba-b26b-c37e04efdcdd",
    "857287fc-9512-4b15-aea6-0497224b60a6"
  ],
  "Approvers": {
    "PermissionGroupIdentities": [
      "12564d67-a958-454c-a9fb-80355200ad2c",
      "4a3a9adb-8c8a-492c-ac88-bb38750375b6"
    ],
    "Claims": [
      {
        "ClaimType": "sample string 1",
        "ClaimValue": "sample string 2",
        "ClaimTypeLower": "sample string 1",
        "ClaimValueLower": "sample string 2"
      },
      {
        "ClaimType": "sample string 1",
        "ClaimValue": "sample string 2",
        "ClaimTypeLower": "sample string 1",
        "ClaimValueLower": "sample string 2"
      }
    ]
  },
  "UserNotificationType": 0,
  "CreatedAt": "2024-11-21T09:07:33.0367258+00:00",
  "ActionRequired": true,
  "Description": "sample string 7",
  "OwnerName": "sample string 8",
  "OwnerEmailAddress": "sample string 9",
  "CreatedBy": "sample string 10",
  "ResourceName": "sample string 11",
  "ResourceTypeName": "sample string 12",
  "EventName": "sample string 13",
  "ActionedAt": "2024-11-21T09:07:33.0367258+00:00",
  "ActionedBy": "sample string 15",
  "Notes": {
    "Note": "sample string 1",
    "Author": "sample string 2"
  },
  "Reference": "sample string 16",
  "IsPrimaryResourceChange": true
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.