POST api/Revolution/Notice/Dismiss?repDID={repDID}

Dismiss a Revolution Notice for the given representive.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repDID

The representative number.

string

Required

Body Parameters

The payload that contains the parameter required to identify the notice to be dismissed.

DismissNoticeViewModel
NameDescriptionTypeAdditional information
ARTypeID

AutoResponder Type ID. Optional. When only this field is passed it will dismiss any revolution notice for the given autoresponder type.

integer

None.

ARTemplateID

AutoResponder Template ID. Optional. When only this field is passed it will dismiss any revolution notice for the given autoresponder template.

integer

None.

DisplayType

The display type. Optional. Options: 0 - Popup, 1 - Banner, 2 - Login Lock Screen. When only this field is passed it will dismiss any revolution notice for the given display type.

integer

None.

Request Formats

application/xml, text/xml

Sample:
<DismissNoticeViewModel>
  <ARTypeID>1</ARTypeID>
  <ARTemplateID>1</ARTemplateID>
  <DisplayType>1</DisplayType>
</DismissNoticeViewModel>

application/json, text/json

Sample:
{
  "ARTypeID": 1,
  "ARTemplateID": 1,
  "DisplayType": 1
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'DismissNoticeViewModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/xml, text/xml, application/json, text/json

Sample:

Sample not available.