POST api/VisitorGatePass/insertRecord

Request Information

URI Parameters

None.

Body Parameters

VisitorGatePass
NameDescriptionTypeAdditional information
VisitorGatepassId

decimal number

None.

BranchId

decimal number

None.

VisitorGatepassNumber

string

None.

EditReason

string

None.

CreatedBy

decimal number

None.

CreatedDate

date

None.

UpdatedBy

decimal number

None.

UpdatedDate

date

None.

Status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VisitorGatepassId": 1.0,
  "BranchId": 2.0,
  "VisitorGatepassNumber": "sample string 3",
  "EditReason": "sample string 4",
  "CreatedBy": 5.0,
  "CreatedDate": "2022-08-16T13:41:59.7821482+05:30",
  "UpdatedBy": 7.0,
  "UpdatedDate": "2022-08-16T13:41:59.7821482+05:30",
  "Status": "sample string 9"
}

application/xml, text/xml

Sample:
<VisitorGatePass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <BranchId>2</BranchId>
  <CreatedBy>5</CreatedBy>
  <CreatedDate>2022-08-16T13:41:59.7821482+05:30</CreatedDate>
  <EditReason>sample string 4</EditReason>
  <Status>sample string 9</Status>
  <UpdatedBy>7</UpdatedBy>
  <UpdatedDate>2022-08-16T13:41:59.7821482+05:30</UpdatedDate>
  <VisitorGatepassId>1</VisitorGatepassId>
  <VisitorGatepassNumber>sample string 3</VisitorGatepassNumber>
</VisitorGatePass>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VisitorGatePass'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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