POST api/driver/status

Request Information

URI Parameters

None.

Body Parameters

DriverStatusModel
NameDescriptionTypeAdditional information
DriverID

integer

None.

IsOnline

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DriverID": 1,
  "IsOnline": true
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.