SaveBusTripSerie

Description

Saves a BusTrip serie request and return the results (Validations)

Paths

Example

Example request object

{
  "BusTripSerie": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "SerieId": "00000000-0000-0000-0000-000000000000",
    "SerieNo": 0,
    "StartDate": "2024-12-03T18:13:33.3437774+01:00",
    "FromHour": "2024-12-03T18:13:33.3437774+01:00",
    "ToHour": "2024-12-03T18:13:33.3437774+01:00",
    "EndDate": "2024-12-03T18:13:33.3437774+01:00",
    "Iterations": 0,
    "FrequencyType": 0,
    "Frequency": {
      "DayFrequency": 0,
      "WeekFrequency": 0,
      "MonthFrequency": 0
    },
    "WeekPattern": null,
    "MonthPattern": {
      "DayOfTheWeek": 0,
      "DayOfTheMonth": 0
    },
    "YearPattern": {
      "DayOfTheWeek": 0,
      "DayOfTheMonth": 0,
      "MonthNumber": 0
    },
    "Dates": null,
    "Bustrips": null
  },
  "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

{
  "SaveBusTripSerieResult": {
    "BusTripSerie": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "SerieId": "00000000-0000-0000-0000-000000000000",
      "SerieNo": 0,
      "StartDate": "2024-12-03T18:13:33.359404+01:00",
      "FromHour": "2024-12-03T18:13:33.359404+01:00",
      "ToHour": "2024-12-03T18:13:33.359404+01:00",
      "EndDate": "2024-12-03T18:13:33.359404+01:00",
      "Iterations": 0,
      "FrequencyType": 0,
      "Frequency": null,
      "WeekPattern": null,
      "MonthPattern": null,
      "YearPattern": null,
      "Dates": null,
      "Bustrips": null
    },
    "BusTripValidationResults": null
  }
}

ShouldBeExecuted

Postdata

Response