PUT api/v1/NotificationPause/mode/{mode}/delay/{delay}

Enable/disabled notifications for logged in user and/or return notification pause status.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mode

mode

integer

Required

delay

delay

integer

Required

Body Parameters

None.

Response Information

Resource Description

BaseResults

NotificationPauseResult
NameDescriptionTypeAdditional information
NotificationPaused

integer

None.

ResultCode

integer

None.

ResultData

string

None.

Response Formats

application/json, text/json

Sample:
{
  "NotificationPaused": 1,
  "ResultCode": 2,
  "ResultData": "sample string 3"
}

application/xml, text/xml

Sample:
<NotificationPauseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2API.Resource.Models.ResultData">
  <ResultCode xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">2</ResultCode>
  <ResultData xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">sample string 3</ResultData>
  <NotificationPaused>1</NotificationPaused>
</NotificationPauseResult>