POST api/v1/adnotice/archive

Deprecated. Do not use.

Request Information

URI Parameters

None.

Body Parameters

Ghostery.Privacy.Api.Models.AdNotice.ArchiveRequestModel
NameDescriptionTypeAdditional information
NoticeIds

Collection of integer

None.

Archive

Notices can be archived and un-archived. This flag will allow us to handle either scenario with this request.

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "noticeIds": [
    1,
    2
  ],
  "archive": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'Ghostery.Privacy.Api.Models.AdNotice.ArchiveRequestModel'.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.