POST api/ReportManagement/getGatepassSummeryData

Request Information

URI Parameters

None.

Body Parameters

GatepassSummeryViewData
NameDescriptionTypeAdditional information
ContractorId

integer

None.

WorkType

integer

None.

StartDate

date

None.

EndDate

date

None.

DemandType

integer

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ContractorId": 1,
  "WorkType": 1,
  "StartDate": "2026-06-21T08:19:10.5183169+00:00",
  "EndDate": "2026-06-21T08:19:10.5183169+00:00",
  "DemandType": 3,
  "UserId": 1
}

application/xml, text/xml

Sample:
<GatepassSummeryViewData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
  <ContractorId>1</ContractorId>
  <DemandType>3</DemandType>
  <EndDate>2026-06-21T08:19:10.5183169+00:00</EndDate>
  <StartDate>2026-06-21T08:19:10.5183169+00:00</StartDate>
  <UserId>1</UserId>
  <WorkType>1</WorkType>
</GatepassSummeryViewData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GatepassSummeryViewResponseData
NameDescriptionTypeAdditional information
data

Collection of GatepassSummeryData

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "ContractorName": "sample string 1",
      "AppliecatonRequested": 1,
      "EicPending": 1,
      "EicApproved": 1,
      "ComPending": 1,
      "ComApproved": 1,
      "OHCPending": 1,
      "OHCApproved": 1,
      "FNSPending": 1,
      "FNSApproved": 1,
      "SecPending": 1,
      "SecApproved": 1,
      "Total": 1,
      "PendingorHold": 1
    },
    {
      "ContractorName": "sample string 1",
      "AppliecatonRequested": 1,
      "EicPending": 1,
      "EicApproved": 1,
      "ComPending": 1,
      "ComApproved": 1,
      "OHCPending": 1,
      "OHCApproved": 1,
      "FNSPending": 1,
      "FNSApproved": 1,
      "SecPending": 1,
      "SecApproved": 1,
      "Total": 1,
      "PendingorHold": 1
    }
  ]
}

application/xml, text/xml

Sample:
<GatepassSummeryViewResponseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
  <data>
    <GatepassSummeryData>
      <AppliecatonRequested>1</AppliecatonRequested>
      <ComApproved>1</ComApproved>
      <ComPending>1</ComPending>
      <ContractorName>sample string 1</ContractorName>
      <EicApproved>1</EicApproved>
      <EicPending>1</EicPending>
      <FNSApproved>1</FNSApproved>
      <FNSPending>1</FNSPending>
      <OHCApproved>1</OHCApproved>
      <OHCPending>1</OHCPending>
      <PendingorHold>1</PendingorHold>
      <SecApproved>1</SecApproved>
      <SecPending>1</SecPending>
      <Total>1</Total>
    </GatepassSummeryData>
    <GatepassSummeryData>
      <AppliecatonRequested>1</AppliecatonRequested>
      <ComApproved>1</ComApproved>
      <ComPending>1</ComPending>
      <ContractorName>sample string 1</ContractorName>
      <EicApproved>1</EicApproved>
      <EicPending>1</EicPending>
      <FNSApproved>1</FNSApproved>
      <FNSPending>1</FNSPending>
      <OHCApproved>1</OHCApproved>
      <OHCPending>1</OHCPending>
      <PendingorHold>1</PendingorHold>
      <SecApproved>1</SecApproved>
      <SecPending>1</SecPending>
      <Total>1</Total>
    </GatepassSummeryData>
  </data>
</GatepassSummeryViewResponseData>