POST api/LabourManagement/UpdateGatepassstatus

Request Information

URI Parameters

None.

Body Parameters

LabourListGatePassStatusView
NameDescriptionTypeAdditional information
CardNumber

string

None.

Labour_Code

integer

None.

Request_Code

integer

None.

IsGatePassIssued

boolean

None.

IsGatepassReturn

boolean

None.

IsGatepassDeactive

boolean

None.

IsEnrolled

boolean

None.

GatePassValidityDateHR

date

None.

Comment

string

None.

RoleCode

string

None.

requestTypeCode

integer

None.

LabourCode

integer

None.

Action

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CardNumber": "sample string 1",
  "Labour_Code": 2,
  "Request_Code": 3,
  "IsGatePassIssued": true,
  "IsGatepassReturn": true,
  "IsGatepassDeactive": true,
  "IsEnrolled": true,
  "GatePassValidityDateHR": "2026-06-19T07:46:12.6351257+00:00",
  "Comment": "sample string 9",
  "RoleCode": "sample string 10",
  "requestTypeCode": 11,
  "LabourCode": 12,
  "Action": "sample string 13"
}

application/xml, text/xml

Sample:
<LabourListGatePassStatusView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
  <Action>sample string 13</Action>
  <CardNumber>sample string 1</CardNumber>
  <Comment>sample string 9</Comment>
  <GatePassValidityDateHR>2026-06-19T07:46:12.6351257+00:00</GatePassValidityDateHR>
  <IsEnrolled>true</IsEnrolled>
  <IsGatePassIssued>true</IsGatePassIssued>
  <IsGatepassDeactive>true</IsGatepassDeactive>
  <IsGatepassReturn>true</IsGatepassReturn>
  <LabourCode>12</LabourCode>
  <Labour_Code>2</Labour_Code>
  <Request_Code>3</Request_Code>
  <RoleCode>sample string 10</RoleCode>
  <requestTypeCode>11</requestTypeCode>
</LabourListGatePassStatusView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>