Download OpenAPI specification:
TOMP (Transport Operator Mobility Platform) API - A subset of the TOMP standard endpoints
Returns a booking for the given travel plan. This endpoint executes POST /planning/offers and POST /booking in one blow, the information provided should lead to only one possible offer, that is booked directly. The returned booking is still in PENDING state, you have to commit it. Unless 'AUTO_COMMIT' process identifier is applied. In that case the booking is in state 'CONFIRMED'.
| On-Behalf-Of | string When the request is made from or by an end-user, this header must contain a unique value identifying that end-user. Presence of this header on all applicable requests - even those that do not require or return user-specific information - is strongly recommended, as it informs traffic shaping and optimizations which will improve your own performance, as well as helping auditing and troubleshooting operations. It is not a requirement that the value reveals who the end-user is to Urban Sharing, only that it is a unique and stable value per end-user. Including the header, but with a non-unique value, will negatively impact performance. |
required | object (TompPlace) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (TompConnectedLegInfo) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| radius required | number <int32> >= 0 Maximum distance in meters a user wants to travel to reach the travel option | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (TompPlace) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| estimatedDistance required | number <int32> >= 0 instead of using the from/to construct, it is also possible to give an indication of the distance to travel. The process identifier 'USE_ESTIMATED_DISTANCE' is used to indicate this scenario. Also in meters | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| departureTime required | string <date-time> The intended departure time. If left out and no arrivalTime is set, the current time should be assumed. If only the arrival time is specified, this is an implicit request for a guaranteed arrival at that time. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| arrivalTime required | string <date-time> The intended arrival time, at the | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| nrOfTravelers required | number <int32> >= 1 The number of people that intend to travel, including the customer. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (TompTraveler) Extra information about the people that intend to travel if relevant, length must be less than or equal to nrOftravelers. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| useAssets required | Array of strings The specific asset(s) the user wishes to receive leg options for | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| userGroups required | Array of strings Id(s) of user groups that the user belongs to. This provides access to exclusive assets that are hidden to the public. Id's are agreed upon by TO and MP. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| useAssetTypes required | Array of strings The specific asset type(s) the user wishes to receive leg options for | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object dictionary for extra fields (bilatural agreements) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (TompCustomer) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| callbackUrl required | string The callback URL of the Maas Provider, to use as base url for callback, f.x. the POST legs/{id}/events and POST /bookings/{id}/events. Only to be provided when this deviates from standard or agreed URL. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "from": {
- "coordinates": {
- "lng": 6.169639,
- "lat": 52.253279,
- "alt": 0.1
}, - "name": "string",
- "stopReference": [
- {
- "type": "GTFS_STOP_ID",
- "id": "string",
- "country": "NL"
}
], - "stationId": "string",
- "physicalAddress": {
- "streetAddress": "example street 18, 2nd floor, 18-B33",
- "areaReference": "Smallcity, Pinetree county",
- "street": "string",
- "houseNumber": 0,
- "houseNumberAddition": "string",
- "addressAdditionalInfo": "string",
- "city": "string",
- "province": "string",
- "state": "string",
- "postalCode": "string",
- "country": "NL"
}, - "extraInfo": { }
}, - "previousLegInfo": {
- "provider": "string",
- "assetReference": "string",
- "assetTypeReference": "string"
}, - "radius": 0,
- "to": {
- "coordinates": {
- "lng": 6.169639,
- "lat": 52.253279,
- "alt": 0.1
}, - "name": "string",
- "stopReference": [
- {
- "type": "GTFS_STOP_ID",
- "id": "string",
- "country": "NL"
}
], - "stationId": "string",
- "physicalAddress": {
- "streetAddress": "example street 18, 2nd floor, 18-B33",
- "areaReference": "Smallcity, Pinetree county",
- "street": "string",
- "houseNumber": 0,
- "houseNumberAddition": "string",
- "addressAdditionalInfo": "string",
- "city": "string",
- "province": "string",
- "state": "string",
- "postalCode": "string",
- "country": "NL"
}, - "extraInfo": { }
}, - "estimatedDistance": 0,
- "departureTime": "2019-08-24T14:15:22Z",
- "arrivalTime": "2019-08-24T14:15:22Z",
- "nrOfTravelers": 1,
- "travelers": [
- {
- "isValidated": true,
- "age": 0,
- "referenceNumber": "string",
- "cardTypes": [
- {
- "type": "ID",
- "subType": "string",
- "assetClass": "AIR",
- "acceptors": [
- "string"
]
}
], - "licenseTypes": [
- {
- "assetClass": "AIR",
- "issuingCountry": "NL"
}
], - "requirements": {
- "abilities": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "bringAlong": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
]
}, - "knownIdentifier": "string",
- "knownIdentifierProvider": "string"
}
], - "useAssets": [
- "string"
], - "userGroups": [
- "string"
], - "useAssetTypes": [
- "string"
], - "extraInfo": { },
- "customer": {
- "isValidated": true,
- "age": 0,
- "referenceNumber": "string",
- "cardTypes": [
- {
- "type": "ID",
- "subType": "string",
- "assetClass": "AIR",
- "acceptors": [
- "string"
]
}
], - "licenseTypes": [
- {
- "assetClass": "AIR",
- "issuingCountry": "NL"
}
], - "requirements": { },
- "knownIdentifier": "string",
- "knownIdentifierProvider": "string",
- "id": "A0-123456",
- "externalId": "A0-123456",
- "travelerReference": "string",
- "initials": "string",
- "firstName": "John",
- "lastName": "Doe",
- "middleName": "von",
- "prefix": "string",
- "postfix": "string",
- "phones": [
- {
- "preferred": true,
- "number": "+31-48934758 or +(0075)-834923384 or 020 1234 1234",
- "kind": "LANDLINE",
- "type": "PRIVATE"
}
], - "email": "string",
- "birthDate": "2019-08-24",
- "placeOfBirth": "2019-08-24",
- "countryOfBirth": "NL",
- "address": {
- "streetAddress": "example street 18, 2nd floor, 18-B33",
- "areaReference": "Smallcity, Pinetree county",
- "street": "string",
- "houseNumber": 0,
- "houseNumberAddition": "string",
- "addressAdditionalInfo": "string",
- "city": "string",
- "province": "string",
- "state": "string",
- "postalCode": "string",
- "country": "NL"
}, - "photo": "string",
- "cards": [
- {
- "type": "ID",
- "cardNumber": "string",
- "subType": "string",
- "assetClass": "AIR",
- "acceptors": [
- "string"
], - "cardDescription": "string",
- "cardAdditionalNumber": "string",
- "validUntil": "2019-08-24",
- "country": "NL"
}
], - "licenses": [
- {
- "assetClass": "AIR",
- "issuingCountry": "NL",
- "number": 1287948792,
- "licenseCode": "D4",
- "validUntil": "2019-08-24"
}
], - "extraInfo": { }
}, - "callbackUrl": "string"
}{- "id": "string",
- "from": { },
- "callbackUrl": "string",
- "to": { },
- "customer": { },
- "extraInfo": { },
- "state": "NEW",
- "legs": [
- {
- "from": { },
- "id": "string",
- "to": { },
- "departureTime": "2019-08-24T14:15:22Z",
- "arrivalTime": "2019-08-24T14:15:22Z",
- "actualArrivalTime": "2019-08-24T14:15:22Z",
- "actualDepartureTime": "2019-08-24T14:15:22Z",
- "travelerReferenceNumbers": [
- "string"
], - "assetType": {
- "id": "string",
- "stationId": "string",
- "nrAvailable": 0,
- "assets": [
- {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- null
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}
], - "assetClass": "AIR",
- "assetSubClass": "string",
- "sharedProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}, - "applicablePricings": [
- {
- "planId": "freeplan1",
- "name": "Free Plan",
- "fare": {
- "estimated": true,
- "parts": [
- {
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL",
- "type": "FIXED",
- "kind": "DEFAULT",
- "unitType": "KM",
- "units": 0.1,
- "scaleFrom": 0.1,
- "scaleTo": 0.1,
- "scaleType": "KM",
- "name": "string",
- "class": "FARE",
- "minimumAmount": 9,
- "maximumAmount": 11,
- "assetState": "IN_USE",
- "meta": { }
}
], - "description": "string",
- "class": "string"
}, - "isTaxable": true,
- "description": "Unlimited plan for free bikes, as long as you don't break them!",
- "stationId": "string",
- "regionId": "string",
- "surgePricing": true
}
], - "defaultPricingPlan": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
]
}, - "legSequenceNumber": 0,
- "asset": {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}, - "pricing": { },
- "suboperator": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
], - "state": "NOT_STARTED",
- "departureDelay": 11112,
- "arrivalDelay": 11112,
- "distance": 7250,
- "progressGeometry": { },
- "ticket": { },
- "assetAccessData": { },
- "allAssetAccessData": [
- {
- "validFrom": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z",
- "tokenType": "tokenDefault",
- "tokenData": {
- "tokenType": "string",
- "url": "mp1.app://something/?auth=sdfkjhrkjsdf003df38=dfsdf",
- "knownParameters": [
- "return-url",
- "error-url",
- "error-code",
- "error-description"
]
}
}
], - "userCommunication": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING"
}
], - "memo": "string"
}
], - "pricing": { },
- "departureTime": "2019-08-24T14:15:22Z",
- "arrivalTime": "2019-08-24T14:15:22Z",
- "actualDepartureTime": "2019-08-24T14:15:22Z",
- "actualArrivalTime": "2019-08-24T14:15:22Z",
- "mainAssetType": {
- "id": "string",
- "stationId": "string",
- "nrAvailable": 0,
- "assets": [
- {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}
], - "assetClass": "AIR",
- "assetSubClass": "string",
- "sharedProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}, - "applicablePricings": [
- {
- "planId": "freeplan1",
- "name": "Free Plan",
- "fare": {
- "estimated": true,
- "parts": [
- {
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL",
- "type": "FIXED",
- "kind": "DEFAULT",
- "unitType": "KM",
- "units": 0.1,
- "scaleFrom": 0.1,
- "scaleTo": 0.1,
- "scaleType": "KM",
- "name": "string",
- "class": "FARE",
- "minimumAmount": 9,
- "maximumAmount": 11,
- "assetState": "IN_USE",
- "meta": { }
}
], - "description": "string",
- "class": "string"
}, - "isTaxable": true,
- "description": "Unlimited plan for free bikes, as long as you don't break them!",
- "stationId": "string",
- "regionId": "string",
- "surgePricing": true
}
], - "defaultPricingPlan": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
]
}, - "userCommunication": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING"
}
], - "memo": "string",
- "extraData": {
- "safeWaitTime": 0,
- "maxWaitTime": 0,
- "safeTravelTime": 0,
- "maxTravelTime": 0
}
}Returns the booking. See (3.5.2) in the process flow - booking. In the 'meta'-field the digital tickets can be returned (see (3.3) in the process flow - booking)
| id required | string Booking identifier |
| On-Behalf-Of | string When the request is made from or by an end-user, this header must contain a unique value identifying that end-user. Presence of this header on all applicable requests - even those that do not require or return user-specific information - is strongly recommended, as it informs traffic shaping and optimizations which will improve your own performance, as well as helping auditing and troubleshooting operations. It is not a requirement that the value reveals who the end-user is to Urban Sharing, only that it is a unique and stable value per end-user. Including the header, but with a non-unique value, will negatively impact performance. |
{- "id": "string",
- "from": { },
- "callbackUrl": "string",
- "to": { },
- "customer": { },
- "extraInfo": { },
- "state": "NEW",
- "legs": [
- {
- "from": { },
- "id": "string",
- "to": { },
- "departureTime": "2019-08-24T14:15:22Z",
- "arrivalTime": "2019-08-24T14:15:22Z",
- "actualArrivalTime": "2019-08-24T14:15:22Z",
- "actualDepartureTime": "2019-08-24T14:15:22Z",
- "travelerReferenceNumbers": [
- "string"
], - "assetType": {
- "id": "string",
- "stationId": "string",
- "nrAvailable": 0,
- "assets": [
- {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- null
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}
], - "assetClass": "AIR",
- "assetSubClass": "string",
- "sharedProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}, - "applicablePricings": [
- {
- "planId": "freeplan1",
- "name": "Free Plan",
- "fare": {
- "estimated": true,
- "parts": [
- {
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL",
- "type": "FIXED",
- "kind": "DEFAULT",
- "unitType": "KM",
- "units": 0.1,
- "scaleFrom": 0.1,
- "scaleTo": 0.1,
- "scaleType": "KM",
- "name": "string",
- "class": "FARE",
- "minimumAmount": 9,
- "maximumAmount": 11,
- "assetState": "IN_USE",
- "meta": { }
}
], - "description": "string",
- "class": "string"
}, - "isTaxable": true,
- "description": "Unlimited plan for free bikes, as long as you don't break them!",
- "stationId": "string",
- "regionId": "string",
- "surgePricing": true
}
], - "defaultPricingPlan": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
]
}, - "legSequenceNumber": 0,
- "asset": {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}, - "pricing": { },
- "suboperator": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
], - "state": "NOT_STARTED",
- "departureDelay": 11112,
- "arrivalDelay": 11112,
- "distance": 7250,
- "progressGeometry": { },
- "ticket": { },
- "assetAccessData": { },
- "allAssetAccessData": [
- {
- "validFrom": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z",
- "tokenType": "tokenDefault",
- "tokenData": {
- "tokenType": "string",
- "url": "mp1.app://something/?auth=sdfkjhrkjsdf003df38=dfsdf",
- "knownParameters": [
- "return-url",
- "error-url",
- "error-code",
- "error-description"
]
}
}
], - "userCommunication": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING"
}
], - "memo": "string"
}
], - "pricing": { },
- "departureTime": "2019-08-24T14:15:22Z",
- "arrivalTime": "2019-08-24T14:15:22Z",
- "actualDepartureTime": "2019-08-24T14:15:22Z",
- "actualArrivalTime": "2019-08-24T14:15:22Z",
- "mainAssetType": {
- "id": "string",
- "stationId": "string",
- "nrAvailable": 0,
- "assets": [
- {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}
], - "assetClass": "AIR",
- "assetSubClass": "string",
- "sharedProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}, - "applicablePricings": [
- {
- "planId": "freeplan1",
- "name": "Free Plan",
- "fare": {
- "estimated": true,
- "parts": [
- {
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL",
- "type": "FIXED",
- "kind": "DEFAULT",
- "unitType": "KM",
- "units": 0.1,
- "scaleFrom": 0.1,
- "scaleTo": 0.1,
- "scaleType": "KM",
- "name": "string",
- "class": "FARE",
- "minimumAmount": 9,
- "maximumAmount": 11,
- "assetState": "IN_USE",
- "meta": { }
}
], - "description": "string",
- "class": "string"
}, - "isTaxable": true,
- "description": "Unlimited plan for free bikes, as long as you don't break them!",
- "stationId": "string",
- "regionId": "string",
- "surgePricing": true
}
], - "defaultPricingPlan": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
]
}, - "userCommunication": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING"
}
], - "memo": "string",
- "extraData": {
- "safeWaitTime": 0,
- "maxWaitTime": 0,
- "safeTravelTime": 0,
- "maxTravelTime": 0
}
}Notification between MaaS provider and Transport operator in case of user no-show or if specific asset is not available or some other event occurs not covered by other API calls.
| id required | string Booking identifier |
| On-Behalf-Of | string When the request is made from or by an end-user, this header must contain a unique value identifying that end-user. Presence of this header on all applicable requests - even those that do not require or return user-specific information - is strongly recommended, as it informs traffic shaping and optimizations which will improve your own performance, as well as helping auditing and troubleshooting operations. It is not a requirement that the value reveals who the end-user is to Urban Sharing, only that it is a unique and stable value per end-user. Including the header, but with a non-unique value, will negatively impact performance. |
| type required | string Enum: "VEHICLE_NOT_AVAILABLE" "USER_NO_SHOW" "ETA" "MESSAGE_TO_DRIVER" "MESSAGE_TO_END_USER" "USER_OUT_OF_LIMITS" "OTHER" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| minutes required | number <int32> >= 0 in case of ETA, the number of minutes until arrival at the pickup location | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (TompAsset) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| comment required | string free text, should match Content-Language | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| legId required | string whenever the booking contains multiple legs, this field is mandatory and contain the id of the leg related to the notification. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "type": "VEHICLE_NOT_AVAILABLE",
- "minutes": 0,
- "asset": {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}, - "comment": "string",
- "legId": "string"
}{- "errorcode": 0,
- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string"
}All versions that are implemented on this URL are described in the result of this endpoint. It contains all versions and per version the endpoints, their status and the supported scenarios.
| On-Behalf-Of | string When the request is made from or by an end-user, this header must contain a unique value identifying that end-user. Presence of this header on all applicable requests - even those that do not require or return user-specific information - is strongly recommended, as it informs traffic shaping and optimizations which will improve your own performance, as well as helping auditing and troubleshooting operations. It is not a requirement that the value reveals who the end-user is to Urban Sharing, only that it is a unique and stable value per end-user. Including the header, but with a non-unique value, will negatively impact performance. |
[- {
- "version": "string",
- "baseUrl": "string",
- "endpoints": [
- {
- "method": "POST",
- "path": "/plannings/",
- "status": "NOT_IMPLEMENTED",
- "eventType": "PREPARE",
- "supportsPaging": true,
- "maxPageSize": 1,
- "externalType": "GBFS",
- "useAssetTypes": [
- "string"
], - "useAssets": [
- "string"
]
}
], - "scenarios": [
- "POSTPONED_COMMIT"
], - "processIdentifiers": { },
- "steps": {
- "planning": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING",
- "action": "RESULT_SHOWN"
}
], - "booking": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING",
- "action": "PENDING"
}
], - "onboarding": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING",
- "action": "SEND_PREPARE"
}
], - "offboarding": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING",
- "action": "SEND_START_FINISHING"
}
], - "pausing": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING",
- "action": "SEND_PAUSE"
}
], - "resuming": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING",
- "action": "UNLOCK_ASSET"
}
]
}
}
]Returns a list of available assets grouped by vehicle category.
| On-Behalf-Of | string When the request is made from or by an end-user, this header must contain a unique value identifying that end-user. Presence of this header on all applicable requests - even those that do not require or return user-specific information - is strongly recommended, as it informs traffic shaping and optimizations which will improve your own performance, as well as helping auditing and troubleshooting operations. It is not a requirement that the value reveals who the end-user is to Urban Sharing, only that it is a unique and stable value per end-user. Including the header, but with a non-unique value, will negatively impact performance. |
[- {
- "id": "string",
- "stationId": "string",
- "nrAvailable": 0,
- "assets": [
- {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}
], - "assetClass": "AIR",
- "assetSubClass": "string",
- "sharedProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}, - "applicablePricings": [
- {
- "planId": "freeplan1",
- "name": "Free Plan",
- "fare": {
- "estimated": true,
- "parts": [
- {
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL",
- "type": "FIXED",
- "kind": "DEFAULT",
- "unitType": "KM",
- "units": 0.1,
- "scaleFrom": 0.1,
- "scaleTo": 0.1,
- "scaleType": "KM",
- "name": "string",
- "class": "FARE",
- "minimumAmount": 9,
- "maximumAmount": 11,
- "assetState": "IN_USE",
- "meta": { }
}
], - "description": "string",
- "class": "string"
}, - "isTaxable": true,
- "description": "Unlimited plan for free bikes, as long as you don't break them!",
- "stationId": "string",
- "regionId": "string",
- "surgePricing": true
}
], - "defaultPricingPlan": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
]
}
]Returns bookable offers for the given travel plan. Start time can be defined, but is optional. If startTime is not provided, but required by the third party API, a default value of "Date.now()" is used. [from MaaS-API /listing]. During the routing phase this service can be used to check availability without any state changes. see (2.1) in the process flow - planning
| On-Behalf-Of | string When the request is made from or by an end-user, this header must contain a unique value identifying that end-user. Presence of this header on all applicable requests - even those that do not require or return user-specific information - is strongly recommended, as it informs traffic shaping and optimizations which will improve your own performance, as well as helping auditing and troubleshooting operations. It is not a requirement that the value reveals who the end-user is to Urban Sharing, only that it is a unique and stable value per end-user. Including the header, but with a non-unique value, will negatively impact performance. |
required | object (TompPlace) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (TompConnectedLegInfo) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| radius required | number <int32> >= 0 Maximum distance in meters a user wants to travel to reach the travel option | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (TompPlace) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| estimatedDistance required | number <int32> >= 0 instead of using the from/to construct, it is also possible to give an indication of the distance to travel. The process identifier 'USE_ESTIMATED_DISTANCE' is used to indicate this scenario. Also in meters | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| departureTime required | string <date-time> The intended departure time. If left out and no arrivalTime is set, the current time should be assumed. If only the arrival time is specified, this is an implicit request for a guaranteed arrival at that time. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| arrivalTime required | string <date-time> The intended arrival time, at the | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| nrOfTravelers required | number <int32> >= 1 The number of people that intend to travel, including the customer. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (TompTraveler) Extra information about the people that intend to travel if relevant, length must be less than or equal to nrOftravelers. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| useAssets required | Array of strings The specific asset(s) the user wishes to receive leg options for | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| userGroups required | Array of strings Id(s) of user groups that the user belongs to. This provides access to exclusive assets that are hidden to the public. Id's are agreed upon by TO and MP. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| useAssetTypes required | Array of strings The specific asset type(s) the user wishes to receive leg options for | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object dictionary for extra fields (bilatural agreements) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "from": {
- "coordinates": {
- "lng": 6.169639,
- "lat": 52.253279,
- "alt": 0.1
}, - "name": "string",
- "stopReference": [
- {
- "type": "GTFS_STOP_ID",
- "id": "string",
- "country": "NL"
}
], - "stationId": "string",
- "physicalAddress": {
- "streetAddress": "example street 18, 2nd floor, 18-B33",
- "areaReference": "Smallcity, Pinetree county",
- "street": "string",
- "houseNumber": 0,
- "houseNumberAddition": "string",
- "addressAdditionalInfo": "string",
- "city": "string",
- "province": "string",
- "state": "string",
- "postalCode": "string",
- "country": "NL"
}, - "extraInfo": { }
}, - "previousLegInfo": {
- "provider": "string",
- "assetReference": "string",
- "assetTypeReference": "string"
}, - "radius": 0,
- "to": {
- "coordinates": {
- "lng": 6.169639,
- "lat": 52.253279,
- "alt": 0.1
}, - "name": "string",
- "stopReference": [
- {
- "type": "GTFS_STOP_ID",
- "id": "string",
- "country": "NL"
}
], - "stationId": "string",
- "physicalAddress": {
- "streetAddress": "example street 18, 2nd floor, 18-B33",
- "areaReference": "Smallcity, Pinetree county",
- "street": "string",
- "houseNumber": 0,
- "houseNumberAddition": "string",
- "addressAdditionalInfo": "string",
- "city": "string",
- "province": "string",
- "state": "string",
- "postalCode": "string",
- "country": "NL"
}, - "extraInfo": { }
}, - "estimatedDistance": 0,
- "departureTime": "2019-08-24T14:15:22Z",
- "arrivalTime": "2019-08-24T14:15:22Z",
- "nrOfTravelers": 1,
- "travelers": [
- {
- "isValidated": true,
- "age": 0,
- "referenceNumber": "string",
- "cardTypes": [
- {
- "type": "ID",
- "subType": "string",
- "assetClass": "AIR",
- "acceptors": [
- "string"
]
}
], - "licenseTypes": [
- {
- "assetClass": "AIR",
- "issuingCountry": "NL"
}
], - "requirements": {
- "abilities": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "bringAlong": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
]
}, - "knownIdentifier": "string",
- "knownIdentifierProvider": "string"
}
], - "useAssets": [
- "string"
], - "userGroups": [
- "string"
], - "useAssetTypes": [
- "string"
], - "extraInfo": { }
}{- "validUntil": "2019-08-24T14:15:22Z",
- "options": [
- {
- "id": "string",
- "from": { },
- "callbackUrl": "string",
- "to": { },
- "customer": { },
- "extraInfo": { },
- "state": "NEW",
- "legs": [
- {
- "from": { },
- "id": "string",
- "to": { },
- "departureTime": "2019-08-24T14:15:22Z",
- "arrivalTime": "2019-08-24T14:15:22Z",
- "actualArrivalTime": "2019-08-24T14:15:22Z",
- "actualDepartureTime": "2019-08-24T14:15:22Z",
- "travelerReferenceNumbers": [
- "string"
], - "assetType": {
- "id": "string",
- "stationId": "string",
- "nrAvailable": 0,
- "assets": [
- {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": null,
- "description": null,
- "vehicleComponentName": null,
- "pictures": [ ]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- null
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- null
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- null
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}
], - "assetClass": "AIR",
- "assetSubClass": "string",
- "sharedProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- null
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}, - "applicablePricings": [
- {
- "planId": "freeplan1",
- "name": "Free Plan",
- "fare": {
- "estimated": true,
- "parts": [
- null
], - "description": "string",
- "class": "string"
}, - "isTaxable": true,
- "description": "Unlimited plan for free bikes, as long as you don't break them!",
- "stationId": "string",
- "regionId": "string",
- "surgePricing": true
}
], - "defaultPricingPlan": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
]
}, - "legSequenceNumber": 0,
- "asset": {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- null
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}, - "pricing": { },
- "suboperator": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
], - "state": "NOT_STARTED",
- "departureDelay": 11112,
- "arrivalDelay": 11112,
- "distance": 7250,
- "progressGeometry": { },
- "ticket": { },
- "assetAccessData": { },
- "allAssetAccessData": [
- {
- "validFrom": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z",
- "tokenType": "tokenDefault",
- "tokenData": {
- "tokenType": "string",
- "url": "mp1.app://something/?auth=sdfkjhrkjsdf003df38=dfsdf",
- "knownParameters": [
- "return-url",
- "error-url",
- "error-code",
- "error-description"
]
}
}
], - "userCommunication": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING"
}
], - "memo": "string"
}
], - "pricing": { },
- "departureTime": "2019-08-24T14:15:22Z",
- "arrivalTime": "2019-08-24T14:15:22Z",
- "actualDepartureTime": "2019-08-24T14:15:22Z",
- "actualArrivalTime": "2019-08-24T14:15:22Z",
- "mainAssetType": {
- "id": "string",
- "stationId": "string",
- "nrAvailable": 0,
- "assets": [
- {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- null
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}
], - "assetClass": "AIR",
- "assetSubClass": "string",
- "sharedProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}, - "applicablePricings": [
- {
- "planId": "freeplan1",
- "name": "Free Plan",
- "fare": {
- "estimated": true,
- "parts": [
- {
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL",
- "type": "FIXED",
- "kind": "DEFAULT",
- "unitType": "KM",
- "units": 0.1,
- "scaleFrom": 0.1,
- "scaleTo": 0.1,
- "scaleType": "KM",
- "name": "string",
- "class": "FARE",
- "minimumAmount": 9,
- "maximumAmount": 11,
- "assetState": "IN_USE",
- "meta": { }
}
], - "description": "string",
- "class": "string"
}, - "isTaxable": true,
- "description": "Unlimited plan for free bikes, as long as you don't break them!",
- "stationId": "string",
- "regionId": "string",
- "surgePricing": true
}
], - "defaultPricingPlan": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
]
}, - "userCommunication": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING"
}
], - "memo": "string",
- "extraData": {
- "safeWaitTime": 0,
- "maxWaitTime": 0,
- "safeTravelTime": 0,
- "maxTravelTime": 0
}
}
]
}Creates a request for support from end user via MP
| On-Behalf-Of | string When the request is made from or by an end-user, this header must contain a unique value identifying that end-user. Presence of this header on all applicable requests - even those that do not require or return user-specific information - is strongly recommended, as it informs traffic shaping and optimizations which will improve your own performance, as well as helping auditing and troubleshooting operations. It is not a requirement that the value reveals who the end-user is to Urban Sharing, only that it is a unique and stable value per end-user. Including the header, but with a non-unique value, will negatively impact performance. |
| id required | string the booking id | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| supportType required | string Enum: "BROKEN_DOWN" "NOT_AT_LOCATION" "MISSING_AFTER_PAUSE" "NOT_CLEAN" "NOT_AVAILABLE" "UNABLE_TO_OPEN" "UNABLE_TO_CLOSE" "API_TECHNICAL" "API_FUNCTIONAL" "ACCIDENT" "OTHER" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (TompPlace) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| time required | string <date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| priority required | string Enum: "ERROR_CANNOT_CONTINUE" "ERROR_CAN_CONTINUE" "DISTURBING_ISSUE" "QUESTION" "OTHER" the priority of the support request. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| contactInformationEndUser required | string contact information of the end user in case of direct response requests, like phone number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| comment required | string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| requestedResponseTime required | number <double> >= 0 time to respond in minutes. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (TompDamage) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| urls required | Array of strings urls to clarify the support request e.g. pictures showing damage | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| assetId required | string the (visual) ID on the asset, to report damage on an asset that hasn't been booked. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "id": "string",
- "supportType": "BROKEN_DOWN",
- "location": {
- "coordinates": {
- "lng": 6.169639,
- "lat": 52.253279,
- "alt": 0.1
}, - "name": "string",
- "stopReference": [
- {
- "type": "GTFS_STOP_ID",
- "id": "string",
- "country": "NL"
}
], - "stationId": "string",
- "physicalAddress": {
- "streetAddress": "example street 18, 2nd floor, 18-B33",
- "areaReference": "Smallcity, Pinetree county",
- "street": "string",
- "houseNumber": 0,
- "houseNumberAddition": "string",
- "addressAdditionalInfo": "string",
- "city": "string",
- "province": "string",
- "state": "string",
- "postalCode": "string",
- "country": "NL"
}, - "extraInfo": { }
}, - "time": "2019-08-24T14:15:22Z",
- "priority": "ERROR_CANNOT_CONTINUE",
- "contactInformationEndUser": "string",
- "comment": "string",
- "requestedResponseTime": 0.1,
- "damage": {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}, - "urls": [
- "string"
], - "assetId": "string"
}{- "status": "PROCESSING",
- "timeToResolution": 9,
- "order": 0,
- "comment": "string",
- "id": "string",
- "supportType": "BROKEN_DOWN",
- "location": {
- "coordinates": {
- "lng": 6.169639,
- "lat": 52.253279,
- "alt": 0.1
}, - "name": "string",
- "stopReference": [
- {
- "type": "GTFS_STOP_ID",
- "id": "string",
- "country": "NL"
}
], - "stationId": "string",
- "physicalAddress": {
- "streetAddress": "example street 18, 2nd floor, 18-B33",
- "areaReference": "Smallcity, Pinetree county",
- "street": "string",
- "houseNumber": 0,
- "houseNumberAddition": "string",
- "addressAdditionalInfo": "string",
- "city": "string",
- "province": "string",
- "state": "string",
- "postalCode": "string",
- "country": "NL"
}, - "extraInfo": { }
}, - "time": "2019-08-24T14:15:22Z",
- "priority": "ERROR_CANNOT_CONTINUE",
- "contactInformationEndUser": "string",
- "requestedResponseTime": 0.1,
- "damage": {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}, - "urls": [
- "string"
], - "assetId": "string"
}Gets the status report of the support request. Last status (highest order number) is the current status
| id required | string Booking identifier |
| On-Behalf-Of | string When the request is made from or by an end-user, this header must contain a unique value identifying that end-user. Presence of this header on all applicable requests - even those that do not require or return user-specific information - is strongly recommended, as it informs traffic shaping and optimizations which will improve your own performance, as well as helping auditing and troubleshooting operations. It is not a requirement that the value reveals who the end-user is to Urban Sharing, only that it is a unique and stable value per end-user. Including the header, but with a non-unique value, will negatively impact performance. |
[- {
- "status": "PROCESSING",
- "timeToResolution": 9,
- "order": 0,
- "comment": "string",
- "id": "string",
- "supportType": "BROKEN_DOWN",
- "location": {
- "coordinates": {
- "lng": 6.169639,
- "lat": 52.253279,
- "alt": 0.1
}, - "name": "string",
- "stopReference": [
- {
- "type": "GTFS_STOP_ID",
- "id": "string",
- "country": "NL"
}
], - "stationId": "string",
- "physicalAddress": {
- "streetAddress": "example street 18, 2nd floor, 18-B33",
- "areaReference": "Smallcity, Pinetree county",
- "street": "string",
- "houseNumber": 0,
- "houseNumberAddition": "string",
- "addressAdditionalInfo": "string",
- "city": "string",
- "province": "string",
- "state": "string",
- "postalCode": "string",
- "country": "NL"
}, - "extraInfo": { }
}, - "time": "2019-08-24T14:15:22Z",
- "priority": "ERROR_CANNOT_CONTINUE",
- "contactInformationEndUser": "string",
- "requestedResponseTime": 0.1,
- "damage": {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}, - "urls": [
- "string"
], - "assetId": "string"
}
]This endpoint must be used to alter the state of a leg. Operations: PREPARE the TO can send a message telling the MP that he is preparing the booked leg [To be implemented by the MP] (see (7.2) in the process flow - trip execution), ASSIGN_ASSET can assign an asset to a leg. Can be to assign an asset in case there is still an asset type assigned [Optionally implementable by the MP]. See (4.7) in the process flow - trip execution SET_IN_USE will activate the leg or resume the leg [TO and MP] (see (4.6) in process flow), TIME_EXTEND will be used to request an extension in time; the end user wants to use the asset longer, the time field contains the new end time, TIME_POSTPONE will be used to request a delay in the departure time, the end user wants to depart later, the time field contains the new departure time, PAUSE will pause the leg [TO and MP] (see (4.6) in process flow), OPEN_TRUNK request the TO to open up the trunk (of the scooter), e.g. to store the helmet START_FINISHING will start the end-of-leg [Optionally implementable by TO and MP], FINISH will end this leg (see (4.6) in process flow) [TO and MP]
| id required | string Leg identifier |
| On-Behalf-Of | string When the request is made from or by an end-user, this header must contain a unique value identifying that end-user. Presence of this header on all applicable requests - even those that do not require or return user-specific information - is strongly recommended, as it informs traffic shaping and optimizations which will improve your own performance, as well as helping auditing and troubleshooting operations. It is not a requirement that the value reveals who the end-user is to Urban Sharing, only that it is a unique and stable value per end-user. Including the header, but with a non-unique value, will negatively impact performance. |
| time required | string <date-time> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| event required | string Enum: "PREPARE" "ASSIGN_ASSET" "SET_IN_USE" "PAUSE" "OPEN_TRUNK" "START_FINISHING" "FINISH" "TIME_EXTEND" "TIME_POSTPONE" "CANCEL" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| comment required | string free text, should match Content-Language | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| url required | Array of strings urls to support the event e.g. pictures justifying the exit conditions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| userLocation required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (TompAsset) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "time": "2019-08-24T14:15:22Z",
- "event": "PREPARE",
- "comment": "string",
- "url": [
- "string"
], - "userLocation": { },
- "asset": {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}
}{- "from": { },
- "id": "string",
- "to": { },
- "departureTime": "2019-08-24T14:15:22Z",
- "arrivalTime": "2019-08-24T14:15:22Z",
- "actualArrivalTime": "2019-08-24T14:15:22Z",
- "actualDepartureTime": "2019-08-24T14:15:22Z",
- "travelerReferenceNumbers": [
- "string"
], - "assetType": {
- "id": "string",
- "stationId": "string",
- "nrAvailable": 0,
- "assets": [
- {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}
], - "assetClass": "AIR",
- "assetSubClass": "string",
- "sharedProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}, - "applicablePricings": [
- {
- "planId": "freeplan1",
- "name": "Free Plan",
- "fare": {
- "estimated": true,
- "parts": [
- {
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL",
- "type": "FIXED",
- "kind": "DEFAULT",
- "unitType": "KM",
- "units": 0.1,
- "scaleFrom": 0.1,
- "scaleTo": 0.1,
- "scaleType": "KM",
- "name": "string",
- "class": "FARE",
- "minimumAmount": 9,
- "maximumAmount": 11,
- "assetState": "IN_USE",
- "meta": { }
}
], - "description": "string",
- "class": "string"
}, - "isTaxable": true,
- "description": "Unlimited plan for free bikes, as long as you don't break them!",
- "stationId": "string",
- "regionId": "string",
- "surgePricing": true
}
], - "defaultPricingPlan": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
]
}, - "legSequenceNumber": 0,
- "asset": {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}, - "pricing": { },
- "suboperator": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
], - "state": "NOT_STARTED",
- "departureDelay": 11112,
- "arrivalDelay": 11112,
- "distance": 7250,
- "progressGeometry": { },
- "ticket": { },
- "assetAccessData": { },
- "allAssetAccessData": [
- {
- "validFrom": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z",
- "tokenType": "tokenDefault",
- "tokenData": {
- "tokenType": "string",
- "url": "mp1.app://something/?auth=sdfkjhrkjsdf003df38=dfsdf",
- "knownParameters": [
- "return-url",
- "error-url",
- "error-code",
- "error-description"
]
}
}
], - "userCommunication": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING"
}
], - "memo": "string"
}Retrieves the latest summary of the leg, being the execution of a portion of a journey travelled using one asset (vehicle). Every leg belongs to one booking, every booking has at least one leg. Where the booking describes the agreement between user/MP and TO, the leg describes the journey as it occurred. See (4.3) in the flow chart - trip execution
| id required | string Leg identifier |
| On-Behalf-Of | string When the request is made from or by an end-user, this header must contain a unique value identifying that end-user. Presence of this header on all applicable requests - even those that do not require or return user-specific information - is strongly recommended, as it informs traffic shaping and optimizations which will improve your own performance, as well as helping auditing and troubleshooting operations. It is not a requirement that the value reveals who the end-user is to Urban Sharing, only that it is a unique and stable value per end-user. Including the header, but with a non-unique value, will negatively impact performance. |
{- "from": { },
- "id": "string",
- "to": { },
- "departureTime": "2019-08-24T14:15:22Z",
- "arrivalTime": "2019-08-24T14:15:22Z",
- "actualArrivalTime": "2019-08-24T14:15:22Z",
- "actualDepartureTime": "2019-08-24T14:15:22Z",
- "travelerReferenceNumbers": [
- "string"
], - "assetType": {
- "id": "string",
- "stationId": "string",
- "nrAvailable": 0,
- "assets": [
- {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}
], - "assetClass": "AIR",
- "assetSubClass": "string",
- "sharedProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}, - "applicablePricings": [
- {
- "planId": "freeplan1",
- "name": "Free Plan",
- "fare": {
- "estimated": true,
- "parts": [
- {
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL",
- "type": "FIXED",
- "kind": "DEFAULT",
- "unitType": "KM",
- "units": 0.1,
- "scaleFrom": 0.1,
- "scaleTo": 0.1,
- "scaleType": "KM",
- "name": "string",
- "class": "FARE",
- "minimumAmount": 9,
- "maximumAmount": 11,
- "assetState": "IN_USE",
- "meta": { }
}
], - "description": "string",
- "class": "string"
}, - "isTaxable": true,
- "description": "Unlimited plan for free bikes, as long as you don't break them!",
- "stationId": "string",
- "regionId": "string",
- "surgePricing": true
}
], - "defaultPricingPlan": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
]
}, - "legSequenceNumber": 0,
- "asset": {
- "id": "string",
- "isReserved": true,
- "isReservedFrom": "2019-08-24T14:15:22Z",
- "isReservedTo": "2019-08-24T14:15:22Z",
- "isDisabled": true,
- "availableUntil": "2019-08-24T14:15:22Z",
- "mileage": 0.1,
- "stateOfCharge": 100,
- "maxRange": 100,
- "licensePlate": "string",
- "stationId": "string",
- "homeStationId": "string",
- "damages": [
- {
- "vehicleComponent": "FRONT",
- "description": "string",
- "vehicleComponentName": "string",
- "pictures": [
- "string"
]
}
], - "overriddenProperties": {
- "name": "string",
- "location": { },
- "brand": "string",
- "model": "string",
- "buildingYear": 0,
- "colour": "string",
- "maxSpeed": 0,
- "wheelCount": 0,
- "icon": "string",
- "accessMethods": [
- "DEEPLINK"
], - "fuel": "NONE",
- "propulsion": "MUSCLE",
- "energyLabel": "A",
- "ecoLabel": [
- {
- "countryCode": "NL",
- "ecoSticker": "string"
}
], - "co2PerKm": 0.1,
- "gears": 0,
- "gearbox": "MANUAL",
- "airConditioning": true,
- "cabrio": true,
- "towingHook": true,
- "winterTires": true,
- "nrOfDoors": 0,
- "nrOfHelmets": 0,
- "navigation": true,
- "cruiseControl": true,
- "persons": 1,
- "infantSeat": true,
- "pets": true,
- "smoking": true,
- "easyAccessibility": "LIFT",
- "ancillaries": [
- {
- "category": "string",
- "number": "st",
- "source": "string",
- "type": "string",
- "memo": "string",
- "variable-number": 0,
- "applicable-days": [
- "MO"
]
}
], - "regionId": "string",
- "cargo": "string",
- "cargoVolume": 0,
- "cargoLoad": 0,
- "travelAbroad": true,
- "undergroundParking": true,
- "helmetRequired": true,
- "defaultReserveTime": 0,
- "other": "string",
- "meta": { }
}
}, - "pricing": { },
- "suboperator": { },
- "conditions": [
- {
- "id": "deposit50eu",
- "conditionType": "string",
- "amount": 9.95,
- "amountExVat": 8.95,
- "currencyCode": "str",
- "vatRate": 21,
- "vatCountryCode": "NL"
}
], - "state": "NOT_STARTED",
- "departureDelay": 11112,
- "arrivalDelay": 11112,
- "distance": 7250,
- "progressGeometry": { },
- "ticket": { },
- "assetAccessData": { },
- "allAssetAccessData": [
- {
- "validFrom": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z",
- "tokenType": "tokenDefault",
- "tokenData": {
- "tokenType": "string",
- "url": "mp1.app://something/?auth=sdfkjhrkjsdf003df38=dfsdf",
- "knownParameters": [
- "return-url",
- "error-url",
- "error-code",
- "error-description"
]
}
}
], - "userCommunication": [
- {
- "type": "URL",
- "url": "string",
- "goal": "INSTRUCTIONS",
- "text": "string",
- "showTime": "PLANNING"
}
], - "memo": "string"
}