POST api/v1/appnotice

Saves the specified App notice.

Request Information

URI Parameters

None.

Body Parameters

App notice object.

Ghostery.Privacy.Common.Objects.App.AppNotice
NameDescriptionTypeAdditional information
Id

integer

None.

CompanyId

integer

None.

Name

string

None.

NoticeEmail

string

None.

AppName

string

None.

Token

string

None.

NoticeTypeId

integer

None.

OperatingSystem

string

None.

Versions

string

None.

CreatedById

integer

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedById

integer

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Vendors

Collection of Ghostery.Privacy.Common.Objects.Vendor.NoticeVendorModel

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "companyId": 2,
  "name": "sample string 3",
  "noticeEmail": "sample string 4",
  "appName": "sample string 5",
  "token": "sample string 6",
  "noticeTypeId": 7,
  "operatingSystem": "sample string 8",
  "versions": "sample string 9",
  "createdById": 10,
  "createdBy": "sample string 11",
  "createdDate": "2024-11-21T06:23:43.7041752+00:00",
  "updatedById": 13,
  "updatedBy": "sample string 14",
  "updatedDate": "2024-11-21T06:23:43.7041752+00:00",
  "vendors": [
    {
      "id": 1,
      "name": "sample string 2",
      "category": "sample string 3",
      "logoUrl": "sample string 4",
      "description": "sample string 5",
      "privacyUrl": "sample string 6",
      "essential": true
    },
    {
      "id": 1,
      "name": "sample string 2",
      "category": "sample string 3",
      "logoUrl": "sample string 4",
      "description": "sample string 5",
      "privacyUrl": "sample string 6",
      "essential": 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.Common.Objects.App.AppNotice'.

Response Information

Resource Description

Updated App notice object.

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.