CancelBusTrip

Description

Cancels a BusTrip request.

Paths

Example

Example request object

{
  "CancelId": "00000000-0000-0000-0000-000000000000",
  "Context": {
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Language": "string_example",
    "ShopId": "00000000-0000-0000-0000-000000000000",
    "SessionId": "00000000-0000-0000-0000-000000000000",
    "Origin": 0,
    "Password": "string_example",
    "Encode": false,
    "AccessToken": "string_example"
  }
}

Example response object

{
  "CancelBusTripResult": {
    "BusTrip": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "BusTripNo": 0,
      "ShortName": null,
      "Description": null,
      "SeriesID": "00000000-0000-0000-0000-000000000000",
      "SeriesNo": 0,
      "Requestor": null,
      "ContactPerson": null,
      "DepartureAddress": null,
      "DepartureDateTime": "2024-11-23T08:56:16.6764183+01:00",
      "ArrivalAddress": null,
      "ArrivalDateTime": "2024-11-23T08:56:16.6764183+01:00",
      "TotalDistance": 0.0,
      "AlsoReturn": false,
      "ReturnDateTime": "2024-11-23T08:56:16.6764183+01:00",
      "ReturnedDateTime": "2024-11-23T08:56:16.6764183+01:00",
      "RequestDate": "2024-11-23T08:56:16.6764183+01:00",
      "NumPersons": 0,
      "NumCompanions": 0,
      "ExtraLuggage": false,
      "Comments": null,
      "Confirmed": false,
      "Status": 0,
      "ModifiedFromSeries": false,
      "IsTransfer": false
    },
    "BusTripValidationResults": null
  }
}

ShouldBeExecuted

Postdata

Response