GET api/SMS/{district}/{blocktype}/{block}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
district

string

None.

blocktype

string

None.

block

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of otplog
NameDescriptionTypeAdditional information
id

integer

None.

mobileno

string

None.

otp

string

None.

response

string

None.

createdon

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "mobileno": "sample string 2",
    "otp": "sample string 3",
    "response": "sample string 4",
    "createdon": "2022-10-05T10:15:51.0881661+05:30"
  },
  {
    "id": 1,
    "mobileno": "sample string 2",
    "otp": "sample string 3",
    "response": "sample string 4",
    "createdon": "2022-10-05T10:15:51.0881661+05:30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfotplog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <otplog>
    <createdon>2022-10-05T10:15:51.0881661+05:30</createdon>
    <id>1</id>
    <mobileno>sample string 2</mobileno>
    <otp>sample string 3</otp>
    <response>sample string 4</response>
  </otplog>
  <otplog>
    <createdon>2022-10-05T10:15:51.0881661+05:30</createdon>
    <id>1</id>
    <mobileno>sample string 2</mobileno>
    <otp>sample string 3</otp>
    <response>sample string 4</response>
  </otplog>
</ArrayOfotplog>