POST api/SMS/sendWhatsApp

Request Information

URI Parameters

None.

Body Parameters

WhatsAppLog
NameDescriptionTypeAdditional information
WhatsAppLogId

decimal number

None.

BranchId

integer

None.

IsUnicode

integer

None.

DocumentId

decimal number

None.

RefrenceId

integer

None.

Message

string

None.

ContactType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "WhatsAppLogId": 1.0,
  "BranchId": 1,
  "IsUnicode": 2,
  "DocumentId": 3.0,
  "RefrenceId": 4,
  "Message": "sample string 5",
  "ContactType": "sample string 6"
}

application/xml, text/xml

Sample:
<SMSController.WhatsAppLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Controllers">
  <BranchId>1</BranchId>
  <ContactType>sample string 6</ContactType>
  <DocumentId>3</DocumentId>
  <IsUnicode>2</IsUnicode>
  <Message>sample string 5</Message>
  <RefrenceId>4</RefrenceId>
  <WhatsAppLogId>1</WhatsAppLogId>
</SMSController.WhatsAppLog>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WhatsAppLog'.

Response Information

Resource Description

WhatsAppMobileNumberList
NameDescriptionTypeAdditional information
objMobileNumberDataList

MobileNumberDataList

None.

NumberCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "objMobileNumberDataList": {
    "MobileNumberList": [
      {
        "StudentName": "sample string 1",
        "StudentMobileNo": "sample string 2",
        "PrimaryMobileNo": "sample string 3",
        "SecondaryMobileNo": "sample string 4",
        "WhatsAppMobileNo": "sample string 5",
        "Message": "sample string 6",
        "VendorMobileNo": "sample string 7",
        "EmployeeMobileNo": "sample string 8",
        "CustomerMobileNo": "sample string 9",
        "Type": 10
      },
      {
        "StudentName": "sample string 1",
        "StudentMobileNo": "sample string 2",
        "PrimaryMobileNo": "sample string 3",
        "SecondaryMobileNo": "sample string 4",
        "WhatsAppMobileNo": "sample string 5",
        "Message": "sample string 6",
        "VendorMobileNo": "sample string 7",
        "EmployeeMobileNo": "sample string 8",
        "CustomerMobileNo": "sample string 9",
        "Type": 10
      }
    ]
  },
  "NumberCount": 1
}

application/xml, text/xml

Sample:
<SMSController.WhatsAppMobileNumberList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Controllers">
  <NumberCount>1</NumberCount>
  <objMobileNumberDataList>
    <MobileNumberList>
      <SMSController.MobileNumberList>
        <CustomerMobileNo>sample string 9</CustomerMobileNo>
        <EmployeeMobileNo>sample string 8</EmployeeMobileNo>
        <Message>sample string 6</Message>
        <PrimaryMobileNo>sample string 3</PrimaryMobileNo>
        <SecondaryMobileNo>sample string 4</SecondaryMobileNo>
        <StudentMobileNo>sample string 2</StudentMobileNo>
        <StudentName>sample string 1</StudentName>
        <Type>10</Type>
        <VendorMobileNo>sample string 7</VendorMobileNo>
        <WhatsAppMobileNo>sample string 5</WhatsAppMobileNo>
      </SMSController.MobileNumberList>
      <SMSController.MobileNumberList>
        <CustomerMobileNo>sample string 9</CustomerMobileNo>
        <EmployeeMobileNo>sample string 8</EmployeeMobileNo>
        <Message>sample string 6</Message>
        <PrimaryMobileNo>sample string 3</PrimaryMobileNo>
        <SecondaryMobileNo>sample string 4</SecondaryMobileNo>
        <StudentMobileNo>sample string 2</StudentMobileNo>
        <StudentName>sample string 1</StudentName>
        <Type>10</Type>
        <VendorMobileNo>sample string 7</VendorMobileNo>
        <WhatsAppMobileNo>sample string 5</WhatsAppMobileNo>
      </SMSController.MobileNumberList>
    </MobileNumberList>
  </objMobileNumberDataList>
</SMSController.WhatsAppMobileNumberList>