POST api/BusAttendance/insertRecord/Scan

Request Information

URI Parameters

None.

Body Parameters

BusAttendance
NameDescriptionTypeAdditional information
AdmissionId

integer

None.

BranchId

integer

None.

BusId

integer

None.

TripType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AdmissionId": 1,
  "BranchId": 2,
  "BusId": 3,
  "TripType": 4
}

application/xml, text/xml

Sample:
<BusAttendance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <AdmissionId>1</AdmissionId>
  <BranchId>2</BranchId>
  <BusId>3</BusId>
  <TripType>4</TripType>
</BusAttendance>

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 'BusAttendance'.

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>