POST api/Subscriber/InsertWhatsAppConsentDetails

Request Information

URI Parameters

None.

Body Parameters

WhatsApp
NameDescriptionTypeAdditional information
UserID

integer

None.

RMNNo

string

None.

SMSID

decimal number

None.

ConsentStatus

integer

None.

CommunicationMode

integer

None.

ConsentMode

string

None.

ConsentModule

string

None.

TransactionRefNo

integer

None.

Flag

string

None.

Isd2h

integer

None.

LangPref

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "RMNNo": "sample string 2",
  "SMSID": 3.0,
  "ConsentStatus": 4,
  "CommunicationMode": 5,
  "ConsentMode": "sample string 6",
  "ConsentModule": "sample string 7",
  "TransactionRefNo": 8,
  "Flag": "sample string 9",
  "Isd2h": 10,
  "LangPref": "sample string 11"
}

application/xml, text/xml

Sample:
<WhatsApp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Master">
  <CommunicationMode>5</CommunicationMode>
  <ConsentMode>sample string 6</ConsentMode>
  <ConsentModule>sample string 7</ConsentModule>
  <ConsentStatus>4</ConsentStatus>
  <Flag>sample string 9</Flag>
  <Isd2h>10</Isd2h>
  <LangPref>sample string 11</LangPref>
  <RMNNo>sample string 2</RMNNo>
  <SMSID>3</SMSID>
  <TransactionRefNo>8</TransactionRefNo>
  <UserID>1</UserID>
</WhatsApp>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultInfoOfString
NameDescriptionTypeAdditional information
AccessToken

string

None.

TokenType

string

None.

ResultType

TypeOfResult

None.

ResultCode

integer

None.

ResultDesc

string

None.

Result

string

None.

ErrCode

integer

None.

ErrDesc

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AccessToken": "sample string 1",
  "TokenType": "sample string 2",
  "ResultType": 0,
  "ResultCode": 3,
  "ResultDesc": "sample string 4",
  "Result": "sample string 5",
  "ErrCode": 6,
  "ErrDesc": "sample string 7"
}

application/xml, text/xml

Sample:
<ResultInfoOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Common">
  <AccessToken>sample string 1</AccessToken>
  <ErrCode>6</ErrCode>
  <ErrDesc>sample string 7</ErrDesc>
  <Result>sample string 5</Result>
  <ResultCode>3</ResultCode>
  <ResultDesc>sample string 4</ResultDesc>
  <ResultType>Success</ResultType>
  <TokenType>sample string 2</TokenType>
</ResultInfoOfstring>