SaveBusTrip

Description

Saves a BusTrip request and return the results (Validations)

Paths

Example

Example request object

{
  "BusTrip": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "BusTripNo": 0,
    "ShortName": "string_example",
    "Description": "string_example",
    "SeriesID": "00000000-0000-0000-0000-000000000000",
    "SeriesNo": 0,
    "Requestor": {
      "ActivationId": null,
      "Address": null,
      "BankAccount": null,
      "BirthDate": null,
      "CellPhone": null,
      "Code": null,
      "Comments": null,
      "Credential": null,
      "Email": null,
      "Gender": 0,
      "Id": "00000000-0000-0000-0000-000000000000",
      "IsBlocked": false,
      "Language": null,
      "Name": null,
      "NationalNumber": null,
      "Phone": null,
      "Picture": null,
      "ResetPasswordId": null,
      "Settings": null,
      "Contacts": null,
      "Type": 0,
      "Parent": false,
      "Disabled": false,
      "HeadOfFamily": false,
      "Relations": null,
      "Info1": null,
      "Info2": null,
      "Info3": null,
      "Info4": null,
      "Info5": null,
      "ExternalMasterID": null,
      "ParentRelations": null,
      "InvoiceAddressId": null,
      "PictureUrl": null,
      "Status": null,
      "Title": null,
      "IBAN": null,
      "BIC": null,
      "AllowEdit": false,
      "IsWebBlocked": false,
      "Group": null,
      "Doctor": null,
      "Website": null,
      "ClubInfo": null,
      "Email2": null,
      "Phone2": null,
      "PasswordIsChangedByUserOnWeb": false,
      "ExternCustomerNumber": null,
      "LastPasswordUpdate": null,
      "TotalLlvCredits": 0.0,
      "VatNumber": null,
      "EnterpriseNumber": null,
      "BlockSynchronisation": false,
      "Student": false,
      "CapScanAddress": null,
      "UserComments": null,
      "CreationDate": null,
      "LastUpdate": null,
      "UseSeasonPlanning": false,
      "Company": null,
      "CompanyPeople": null,
      "Nationality": null,
      "Function": null
    },
    "ContactPerson": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Title": null,
      "Initials": null,
      "Name": null,
      "Function": null,
      "FunctionComments": null,
      "Location": null,
      "Telephone1": null,
      "Telephone2": null,
      "Telephone3": null,
      "Fax": null,
      "Email": null,
      "Comment": null,
      "RegisterNumber": null,
      "IsGeneral": false,
      "IsInvoice": false,
      "IsReservation": false,
      "IsMailing": false,
      "Disabled": false,
      "Gender": 0,
      "BirthDate": null,
      "Image": null,
      "ImageUrl": null,
      "IsTicketing": false,
      "IsLetting": false,
      "IsExhibitions": false,
      "IsEmployee": false,
      "IsAdministrator": false,
      "Credential": null,
      "Relations": null,
      "LinkedPersonId": "00000000-0000-0000-0000-000000000000",
      "Language": null,
      "IsMailingAllowed": false,
      "PersonId": "00000000-0000-0000-0000-000000000000"
    },
    "DepartureAddress": {
      "Box": null,
      "Country": null,
      "Number": null,
      "Street": null,
      "Town": null,
      "ZipCode": null,
      "LocationName": null,
      "CountryDescription": null,
      "LocationId": null,
      "Telephone": null,
      "Email": null
    },
    "DepartureDateTime": "2024-12-03T18:16:03.2804206+01:00",
    "ArrivalAddress": {
      "Box": null,
      "Country": null,
      "Number": null,
      "Street": null,
      "Town": null,
      "ZipCode": null,
      "LocationName": null,
      "CountryDescription": null,
      "LocationId": null,
      "Telephone": null,
      "Email": null
    },
    "ArrivalDateTime": "2024-12-03T18:16:03.2804206+01:00",
    "TotalDistance": 0.0,
    "AlsoReturn": false,
    "ReturnDateTime": "2024-12-03T18:16:03.2804206+01:00",
    "ReturnedDateTime": "2024-12-03T18:16:03.2804206+01:00",
    "RequestDate": "2024-12-03T18:16:03.2804206+01:00",
    "NumPersons": 0,
    "NumCompanions": 0,
    "ExtraLuggage": false,
    "Comments": "string_example",
    "Confirmed": false,
    "Status": 0,
    "ModifiedFromSeries": false,
    "IsTransfer": false
  },
  "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

{
  "SaveBusTripResult": {
    "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-12-03T18:16:03.3116725+01:00",
      "ArrivalAddress": null,
      "ArrivalDateTime": "2024-12-03T18:16:03.3116725+01:00",
      "TotalDistance": 0.0,
      "AlsoReturn": false,
      "ReturnDateTime": "2024-12-03T18:16:03.3116725+01:00",
      "ReturnedDateTime": "2024-12-03T18:16:03.3116725+01:00",
      "RequestDate": "2024-12-03T18:16:03.3116725+01:00",
      "NumPersons": 0,
      "NumCompanions": 0,
      "ExtraLuggage": false,
      "Comments": null,
      "Confirmed": false,
      "Status": 0,
      "ModifiedFromSeries": false,
      "IsTransfer": false
    },
    "BusTripValidationResults": null
  }
}

ShouldBeExecuted

Postdata

Response