POST api/GatePassManagement/InsertGatePassCancelRequest
Request Information
URI Parameters
None.
Body Parameters
GatePassRequetSelectedDataView| Name | Description | Type | Additional information |
|---|---|---|---|
| islabour | string |
None. |
|
| contractorcode | integer |
None. |
|
| workoderordercode | integer |
None. |
|
| Plant_Code | integer |
None. |
|
| State_Code | integer |
None. |
|
| licensecode | integer |
None. |
|
| actlicensecode | integer |
None. |
|
| labourcovered | string |
None. |
|
| Job | string |
None. |
|
| wcpolicycode | integer |
None. |
|
| Expiredwcpolicycode | integer |
None. |
|
| companypolicyCode | integer |
None. |
|
| Labour_Codes | Collection of integer |
None. |
|
| Labour_Code | integer |
None. |
|
| RoleCode | integer |
None. |
|
| UserEmail | string |
None. |
|
| subContractorcode | integer |
None. |
|
| subworkoderordercode | integer |
None. |
|
| subPlant_Code | integer |
None. |
|
| sublicensecode | integer |
None. |
|
| Reqtype | integer |
None. |
|
| UserId | integer |
None. |
|
| Labour_Code_Print | integer |
None. |
|
| CardType | integer |
None. |
|
| UserIdc | integer |
None. |
|
| UserName | string |
None. |
|
| requestTypeCode | integer |
None. |
|
| Action | string |
None. |
|
| LabourCode | integer |
None. |
|
| labourcodes | string |
None. |
|
| Labourcodes | Collection of integer |
None. |
|
| ULC | integer |
None. |
|
| GatePassNo | integer |
None. |
|
| GatePassValidityDate | date |
None. |
|
| Section | integer |
None. |
|
| GatePassValidityDateHR | date |
None. |
|
| Comment | string |
None. |
|
| FitnessStatus | integer |
None. |
|
| Checkupdate | date |
None. |
|
| NextDuedate | date |
None. |
|
| NextScheduledate | date |
None. |
|
| From32 | string |
None. |
|
| From35 | string |
None. |
|
| XrayExaminationrequired | string |
None. |
|
| TreatmentDetails | string |
None. |
|
| XrayValidityDate | date |
None. |
|
| ExaminationDetails | string |
None. |
|
| EyeTestingValidityDate | date |
None. |
|
| NonHazardousDetails | string |
None. |
|
| ReExamingDate | date |
None. |
|
| InductionTraining | boolean |
None. |
|
| FNSTraningStatus | integer |
None. |
|
| FNSNextDuedate | date |
None. |
|
| FNSNextScheduledate | date |
None. |
|
| FNSIsFireFighter | boolean |
None. |
|
| Enrollment | boolean |
None. |
|
| Gatepassreturned | boolean |
None. |
|
| Gatepassissue | boolean |
None. |
|
| Gatepassdeactivated | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"islabour": "sample string 1",
"contractorcode": 1,
"workoderordercode": 1,
"Plant_Code": 1,
"State_Code": 1,
"licensecode": 1,
"actlicensecode": 1,
"labourcovered": "sample string 2",
"Job": "sample string 3",
"wcpolicycode": 1,
"Expiredwcpolicycode": 1,
"companypolicyCode": 1,
"Labour_Codes": [
1,
2
],
"Labour_Code": 1,
"RoleCode": 4,
"UserEmail": "sample string 5",
"subContractorcode": 1,
"subworkoderordercode": 1,
"subPlant_Code": 1,
"sublicensecode": 1,
"Reqtype": 6,
"UserId": 7,
"Labour_Code_Print": 1,
"CardType": 1,
"UserIdc": 8,
"UserName": "sample string 9",
"requestTypeCode": 10,
"Action": "sample string 11",
"LabourCode": 12,
"labourcodes": "sample string 13",
"Labourcodes": [
1,
1
],
"ULC": 14,
"GatePassNo": 15,
"GatePassValidityDate": "2026-06-19T07:45:45.9580497+00:00",
"Section": 16,
"GatePassValidityDateHR": "2026-06-19T07:45:45.9580497+00:00",
"Comment": "sample string 18",
"FitnessStatus": 19,
"Checkupdate": "2026-06-19T07:45:45.9580497+00:00",
"NextDuedate": "2026-06-19T07:45:45.9580497+00:00",
"NextScheduledate": "2026-06-19T07:45:45.9580497+00:00",
"From32": "sample string 20",
"From35": "sample string 21",
"XrayExaminationrequired": "sample string 22",
"TreatmentDetails": "sample string 23",
"XrayValidityDate": "2026-06-19T07:45:45.9580497+00:00",
"ExaminationDetails": "sample string 24",
"EyeTestingValidityDate": "2026-06-19T07:45:45.9580497+00:00",
"NonHazardousDetails": "sample string 25",
"ReExamingDate": "2026-06-19T07:45:45.9580497+00:00",
"InductionTraining": true,
"FNSTraningStatus": 27,
"FNSNextDuedate": "2026-06-19T07:45:45.9580497+00:00",
"FNSNextScheduledate": "2026-06-19T07:45:45.9580497+00:00",
"FNSIsFireFighter": true,
"Enrollment": true,
"Gatepassreturned": true,
"Gatepassissue": true,
"Gatepassdeactivated": true
}
application/xml, text/xml
Sample:
<GatePassRequetSelectedDataView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
<Action>sample string 11</Action>
<CardType>1</CardType>
<Checkupdate>2026-06-19T07:45:45.9580497+00:00</Checkupdate>
<Comment>sample string 18</Comment>
<Enrollment>true</Enrollment>
<ExaminationDetails>sample string 24</ExaminationDetails>
<Expiredwcpolicycode>1</Expiredwcpolicycode>
<EyeTestingValidityDate>2026-06-19T07:45:45.9580497+00:00</EyeTestingValidityDate>
<FNSIsFireFighter>true</FNSIsFireFighter>
<FNSNextDuedate>2026-06-19T07:45:45.9580497+00:00</FNSNextDuedate>
<FNSNextScheduledate>2026-06-19T07:45:45.9580497+00:00</FNSNextScheduledate>
<FNSTraningStatus>27</FNSTraningStatus>
<FitnessStatus>19</FitnessStatus>
<From32>sample string 20</From32>
<From35>sample string 21</From35>
<GatePassNo>15</GatePassNo>
<GatePassValidityDate>2026-06-19T07:45:45.9580497+00:00</GatePassValidityDate>
<GatePassValidityDateHR>2026-06-19T07:45:45.9580497+00:00</GatePassValidityDateHR>
<Gatepassdeactivated>true</Gatepassdeactivated>
<Gatepassissue>true</Gatepassissue>
<Gatepassreturned>true</Gatepassreturned>
<InductionTraining>true</InductionTraining>
<Job>sample string 3</Job>
<LabourCode>12</LabourCode>
<Labour_Code>1</Labour_Code>
<Labour_Code_Print>1</Labour_Code_Print>
<Labour_Codes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</Labour_Codes>
<Labourcodes xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:long>1</d2p1:long>
<d2p1:long>1</d2p1:long>
</Labourcodes>
<NextDuedate>2026-06-19T07:45:45.9580497+00:00</NextDuedate>
<NextScheduledate>2026-06-19T07:45:45.9580497+00:00</NextScheduledate>
<NonHazardousDetails>sample string 25</NonHazardousDetails>
<Plant_Code>1</Plant_Code>
<ReExamingDate>2026-06-19T07:45:45.9580497+00:00</ReExamingDate>
<Reqtype>6</Reqtype>
<RoleCode>4</RoleCode>
<Section>16</Section>
<State_Code>1</State_Code>
<TreatmentDetails>sample string 23</TreatmentDetails>
<ULC>14</ULC>
<UserEmail>sample string 5</UserEmail>
<UserId>7</UserId>
<UserIdc>8</UserIdc>
<UserName>sample string 9</UserName>
<XrayExaminationrequired>sample string 22</XrayExaminationrequired>
<XrayValidityDate>2026-06-19T07:45:45.9580497+00:00</XrayValidityDate>
<actlicensecode>1</actlicensecode>
<companypolicyCode>1</companypolicyCode>
<contractorcode>1</contractorcode>
<islabour>sample string 1</islabour>
<labourcodes>sample string 13</labourcodes>
<labourcovered>sample string 2</labourcovered>
<licensecode>1</licensecode>
<requestTypeCode>10</requestTypeCode>
<subContractorcode>1</subContractorcode>
<subPlant_Code>1</subPlant_Code>
<sublicensecode>1</sublicensecode>
<subworkoderordercode>1</subworkoderordercode>
<wcpolicycode>1</wcpolicycode>
<workoderordercode>1</workoderordercode>
</GatePassRequetSelectedDataView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>