POST api/SaveGatePass

Request Information

URI Parameters

None.

Body Parameters

GatePassMobileModel
NameDescriptionTypeAdditional information
VisitorGatePassId

integer

None.

VisitorTypeId

integer

None.

FullName

string

None.

ContactNo

string

None.

EmployeeId

integer

None.

Address

string

None.

Purpose

string

None.

VisitorImagePath

string

None.

GatePassNo

string

None.

InDate

date

None.

ConnectionString

string

None.

SchoolCode

string

None.

SchoolId

integer

None.

YearId

integer

None.

PlayerId

string

None.

StudentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "VisitorGatePassId": 1,
  "VisitorTypeId": 2,
  "FullName": "sample string 3",
  "ContactNo": "sample string 4",
  "EmployeeId": 5,
  "Address": "sample string 6",
  "Purpose": "sample string 7",
  "VisitorImagePath": "sample string 8",
  "GatePassNo": "sample string 9",
  "InDate": "2025-12-06T08:05:50.1661668+05:30",
  "ConnectionString": "sample string 11",
  "SchoolCode": "sample string 12",
  "SchoolId": 13,
  "YearId": 14,
  "PlayerId": "sample string 15",
  "StudentId": 16
}

application/xml, text/xml

Sample:
<GatePassMobileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <Address>sample string 6</Address>
  <ConnectionString>sample string 11</ConnectionString>
  <ContactNo>sample string 4</ContactNo>
  <EmployeeId>5</EmployeeId>
  <FullName>sample string 3</FullName>
  <GatePassNo>sample string 9</GatePassNo>
  <InDate>2025-12-06T08:05:50.1661668+05:30</InDate>
  <PlayerId>sample string 15</PlayerId>
  <Purpose>sample string 7</Purpose>
  <SchoolCode>sample string 12</SchoolCode>
  <SchoolId>13</SchoolId>
  <StudentId>16</StudentId>
  <VisitorGatePassId>1</VisitorGatePassId>
  <VisitorImagePath>sample string 8</VisitorImagePath>
  <VisitorTypeId>2</VisitorTypeId>
  <YearId>14</YearId>
</GatePassMobileModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.