POST api/Account/AgreementPDPA

Request Information

URI Parameters

None.

Body Parameters

AgreementPDPAModels
NameDescriptionTypeAdditional information
Userid

string

None.

ConsentNo1

boolean

None.

ConsentNo2

boolean

None.

ConsentNo3

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Userid": "sample string 1",
  "ConsentNo1": true,
  "ConsentNo2": true,
  "ConsentNo3": true
}

application/xml, text/xml

Sample:
<AgreementPDPAModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.AccountModels">
  <ConsentNo1>true</ConsentNo1>
  <ConsentNo2>true</ConsentNo2>
  <ConsentNo3>true</ConsentNo3>
  <Userid>sample string 1</Userid>
</AgreementPDPAModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfString
NameDescriptionTypeAdditional information
Data

string

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": "sample string 1",
  "Status": true,
  "ErrorMessage": "sample string 3",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models">
  <Data>sample string 1</Data>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Message>sample string 4</Message>
  <Status>true</Status>
</ResultModelOfstring>