POST api/WhatsappProduct/SendMotivationPackageMessage

Request Information

URI Parameters

None.

Body Parameters

MotivationPackageMasterViewModel
NameDescriptionTypeAdditional information
motivationpackagemasterid

integer

None.

whatsappproductmasterid

integer

None.

startyear

string

None.

startmonth

string

None.

serialno

integer

None.

motivationtype

string

None.

motivationmessage

string

None.

username

string

None.

phoneno

string

None.

Request Formats

application/json, text/json

Sample:
{
  "motivationpackagemasterid": 1,
  "whatsappproductmasterid": 2,
  "startyear": "sample string 3",
  "startmonth": "sample string 4",
  "serialno": 5,
  "motivationtype": "sample string 6",
  "motivationmessage": "sample string 7",
  "username": "sample string 8",
  "phoneno": "sample string 9"
}

application/xml, text/xml

Sample:
<MotivationPackageMasterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/selfhatch.Models">
  <motivationmessage>sample string 7</motivationmessage>
  <motivationpackagemasterid>1</motivationpackagemasterid>
  <motivationtype>sample string 6</motivationtype>
  <phoneno>sample string 9</phoneno>
  <serialno>5</serialno>
  <startmonth>sample string 4</startmonth>
  <startyear>sample string 3</startyear>
  <username>sample string 8</username>
  <whatsappproductmasterid>2</whatsappproductmasterid>
</MotivationPackageMasterViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

errorCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {},
  "errorCode": 4
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/selfhatch.Models">
  <data />
  <errorCode>4</errorCode>
  <message>sample string 2</message>
  <status>true</status>
</HttpResultViewModel>