POST api/v2/Drivers/CancelFleetReservation

Request Information

URI Parameters

None.

Body Parameters

InputCancelReservation
NameDescriptionTypeAdditional information
UserID

integer

Required

SpotSubLetByID

integer

Required

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "SpotSubLetByID": 2,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<InputCancelReservation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input">
  <PageIndex>1</PageIndex>
  <PageSize>1</PageSize>
  <SpotSubLetByID>2</SpotSubLetByID>
  <UserID>1</UserID>
</InputCancelReservation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.