POST api/Employee/generate-onboard-otp
Request Information
URI Parameters
None.
Body Parameters
GenerateOTPModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | string |
None. |
|
| TripTypeId | integer |
None. |
|
| PickupShiftId | integer |
None. |
|
| DropShiftId | integer |
None. |
|
| RouteDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeId": "sample string 1",
"TripTypeId": 2,
"PickupShiftId": 1,
"DropShiftId": 1,
"RouteDate": "2026-09-30T12:59:54.5496173+05:30"
}
application/xml, text/xml
Sample:
<GenerateOTPModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VardaanCab.Domain.DTOAPI"> <DropShiftId>1</DropShiftId> <EmployeeId>sample string 1</EmployeeId> <PickupShiftId>1</PickupShiftId> <RouteDate>2026-09-30T12:59:54.5496173+05:30</RouteDate> <TripTypeId>2</TripTypeId> </GenerateOTPModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.