POST api/v1/company/consentreport

Saves a consent report execution record. Keeping a list of these will allow the contents of the reports to be available for retrieval at a future date.

Request Information

URI Parameters

None.

Body Parameters

Ghostery.Privacy.Common.Objects.Company.ConsentReport
NameDescriptionTypeAdditional information
Id

integer

None.

ReportId

string

None.

Name

string

None.

Created

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "reportId": "sample string 2",
  "name": "sample string 3",
  "created": "2024-06-18T08:01:22.1316953+00:00"
}

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.Company.ConsentReport'.

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.