POST api/v1/consent

Request Information

URI Parameters

None.

Body Parameters

Consent
NameDescriptionTypeAdditional information
PanelistId

string

None.

ConsentGiven

string

None.

ConsentVersion

string

None.

IPAddress

string

None.

BrowserVersion

string

None.

BrowserExtraInfo

string

None.

ConsentText1

string

None.

ConsentText2

string

None.

Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "panelistId": "sample string 1",
  "consentGiven": "sample string 2",
  "consentVersion": "sample string 3",
  "ipAddress": "sample string 4",
  "browserVersion": "sample string 5",
  "browserExtraInfo": "sample string 6",
  "consentText1": "sample string 7",
  "consentText2": "sample string 8",
  "email": "sample string 9"
}

text/xml

Sample:
<Consent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMSBL.Entity">
  <BrowserExtraInfo>sample string 6</BrowserExtraInfo>
  <BrowserVersion>sample string 5</BrowserVersion>
  <ConsentGiven>sample string 2</ConsentGiven>
  <ConsentText1>sample string 7</ConsentText1>
  <ConsentText2>sample string 8</ConsentText2>
  <ConsentVersion>sample string 3</ConsentVersion>
  <Email>sample string 9</Email>
  <IPAddress>sample string 4</IPAddress>
  <PanelistId>sample string 1</PanelistId>
</Consent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WSBaseEntity
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

HelpdeskEmailId

string

None.

StatusId

integer

None.

IsUserActive

boolean

None.

OTPInfo

string

None.

OTPInfoMessage

string

None.

CLI_Id

string

None.

isOtpLimitExceeded

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "isOtpLimitExceeded": true,
  "status": true,
  "message": "sample string 2",
  "helpdeskEmailId": "sample string 3",
  "statusId": 4,
  "isUserActive": true,
  "otpInfo": "sample string 6",
  "otpInfoMessage": "sample string 7",
  "clI_Id": "sample string 8"
}

text/xml

Sample:
<WSBaseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMSBL.Entity">
  <_Message>sample string 2</_Message>
  <_Status>true</_Status>
  <_helpdeskEmailId>sample string 3</_helpdeskEmailId>
  <_isUserActive>true</_isUserActive>
  <_statusId>4</_statusId>
  <_x003C_CLI_Id_x003E_k__BackingField>sample string 8</_x003C_CLI_Id_x003E_k__BackingField>
  <_x003C_OTPInfoMessage_x003E_k__BackingField>sample string 7</_x003C_OTPInfoMessage_x003E_k__BackingField>
  <_x003C_OTPInfo_x003E_k__BackingField>sample string 6</_x003C_OTPInfo_x003E_k__BackingField>
  <isOtpLimitExceeded>true</isOtpLimitExceeded>
</WSBaseEntity>