GET api/v3/consenttest
Returns a list of all of your Consent Tests
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Ghostery.Privacy.Common.Objects.Site3.ConsentTest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyId | integer |
None. |
|
| SiteNoticeId | integer |
None. |
|
| SiteNoticeCountryId | integer |
None. |
|
| GeonameId | integer |
None. |
|
| Name | string |
Required |
|
| Notes | string |
None. |
|
| StartDate | date |
None. |
|
| StartConsentRate | integer |
None. |
|
| EndDate | date |
None. |
|
| EndConsentRate | integer |
None. |
|
| ConsentTestStatusId | integer |
None. |
|
| ConsentTestTypeId | integer |
None. |
|
| ConsentTestValue | string |
None. |
|
| ConsentTestOldValue | string |
None. |
|
| NotificationSentDate | date |
None. |
|
| ResultKept | boolean |
None. |
|
| ResultDate | date |
None. |
|
| SiteNoticeDomain | string |
None. |
|
| SiteNoticeCountryName | string |
None. |
|
| ConsentTestStatusName | string |
None. |
|
| ConsentTestTypeName | string |
None. |
|
| CreatorEmail | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"companyId": 2,
"siteNoticeId": 3,
"siteNoticeCountryId": 1,
"geonameId": 1,
"name": "sample string 4",
"notes": "sample string 5",
"startDate": "2025-11-09T14:59:53.8647634+00:00",
"startConsentRate": 7,
"endDate": "2025-11-09T14:59:53.8647634+00:00",
"endConsentRate": 1,
"consentTestStatusId": 9,
"consentTestTypeId": 10,
"consentTestValue": "sample string 11",
"consentTestOldValue": "sample string 12",
"notificationSentDate": "2025-11-09T14:59:53.8647634+00:00",
"resultKept": true,
"resultDate": "2025-11-09T14:59:53.8647634+00:00",
"siteNoticeDomain": "sample string 13",
"siteNoticeCountryName": "sample string 14",
"consentTestStatusName": "sample string 15",
"consentTestTypeName": "sample string 16",
"creatorEmail": "sample string 17"
},
{
"id": 1,
"companyId": 2,
"siteNoticeId": 3,
"siteNoticeCountryId": 1,
"geonameId": 1,
"name": "sample string 4",
"notes": "sample string 5",
"startDate": "2025-11-09T14:59:53.8647634+00:00",
"startConsentRate": 7,
"endDate": "2025-11-09T14:59:53.8647634+00:00",
"endConsentRate": 1,
"consentTestStatusId": 9,
"consentTestTypeId": 10,
"consentTestValue": "sample string 11",
"consentTestOldValue": "sample string 12",
"notificationSentDate": "2025-11-09T14:59:53.8647634+00:00",
"resultKept": true,
"resultDate": "2025-11-09T14:59:53.8647634+00:00",
"siteNoticeDomain": "sample string 13",
"siteNoticeCountryName": "sample string 14",
"consentTestStatusName": "sample string 15",
"consentTestTypeName": "sample string 16",
"creatorEmail": "sample string 17"
}
]