POST api/MRide/BookDriversTrainingSlots

Request Information

URI Parameters

None.

Body Parameters

Slot
NameDescriptionTypeAdditional information
CenterID

integer

None.

BookingDate

string

None.

BookingTime

string

None.

DriverID

integer

None.

ScheduleID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CenterID": 1,
  "BookingDate": "sample string 2",
  "BookingTime": "sample string 3",
  "DriverID": 4,
  "ScheduleID": 5
}

application/xml, text/xml

Sample:
<Slot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRide_API">
  <BookingDate>sample string 2</BookingDate>
  <BookingTime>sample string 3</BookingTime>
  <CenterID>1</CenterID>
  <DriverID>4</DriverID>
  <ScheduleID>5</ScheduleID>
</Slot>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IAsyncResult
NameDescriptionTypeAdditional information
IsCompleted

boolean

None.

AsyncWaitHandle

WaitHandle

None.

AsyncState

Object

None.

CompletedSynchronously

boolean

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.