GET api/Admin/GetPunchDet

Request Information

URI Parameters

None.

Body Parameters

GetPunchModel
NameDescriptionTypeAdditional information
token

string

None.

schoolid

integer

None.

fdate

string

None.

tdate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "schoolid": 2,
  "fdate": "sample string 3",
  "tdate": "sample string 4"
}

text/html

Sample:
{"token":"sample string 1","schoolid":2,"fdate":"sample string 3","tdate":"sample string 4"}

application/xml, text/xml

Sample:
<GetPunchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smsapi.Models">
  <fdate>sample string 3</fdate>
  <schoolid>2</schoolid>
  <tdate>sample string 4</tdate>
  <token>sample string 1</token>
</GetPunchModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of GetPunchDet
NameDescriptionTypeAdditional information
empcode

string

None.

name

string

None.

punchtime

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "empcode": "sample string 1",
    "name": "sample string 2",
    "punchtime": "2025-10-25T08:11:59.3323811+05:30"
  },
  {
    "empcode": "sample string 1",
    "name": "sample string 2",
    "punchtime": "2025-10-25T08:11:59.3323811+05:30"
  }
]

text/html

Sample:
[{"empcode":"sample string 1","name":"sample string 2","punchtime":"2025-10-25T08:11:59.3323811+05:30"},{"empcode":"sample string 1","name":"sample string 2","punchtime":"2025-10-25T08:11:59.3323811+05:30"}]

application/xml, text/xml

Sample:
<ArrayOfGetPunchDet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smsapi.Models">
  <GetPunchDet>
    <empcode>sample string 1</empcode>
    <name>sample string 2</name>
    <punchtime>2025-10-25T08:11:59.3323811+05:30</punchtime>
  </GetPunchDet>
  <GetPunchDet>
    <empcode>sample string 1</empcode>
    <name>sample string 2</name>
    <punchtime>2025-10-25T08:11:59.3323811+05:30</punchtime>
  </GetPunchDet>
</ArrayOfGetPunchDet>