http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json
Remote response schema, e.g. how MaaS-backend responds back to TSP
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Develop | No | Forbidden | Forbidden | tsp/webhooks-bookings-update/remote-response.json |
Property | Type | Group |
---|---|---|
cost | cost | http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta |
customer | customer | http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta |
id | uuid | http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta |
leg | leg | http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta |
meta | booking-meta | http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta |
state | enum |
http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta |
terms | terms | http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta |
token | token | http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta |
tspId | tspId | http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta |
cost
http://maasglobal.com/core/booking.json#/definitions/cost
customer
http://maasglobal.com/core/booking-option.json#/definitions/customer
id
http://maasglobal.com/core/components/units.json#/definitions/uuid
leg
http://maasglobal.com/core/booking-option.json#/definitions/leg
meta
http://maasglobal.com/core/booking-meta.json
state
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
RESERVED |
|
CONFIRMED |
|
ACTIVATED |
|
EXPIRED |
|
CANCELLED |
|
REJECTED |
terms
http://maasglobal.com/core/booking.json#/definitions/terms
token
http://maasglobal.com/core/booking.json#/definitions/token
tspId
http://maasglobal.com/core/booking.json#/definitions/tspId
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
booking | object |
Optional | No | remote-response (this schema) |
debug | object |
Optional | No | remote-response (this schema) |
booking
object
object
with following properties:
Property | Type | Required |
---|---|---|
cost |
Optional | |
customer |
Optional | |
id |
Optional | |
leg |
Optional | |
meta |
Optional | |
state |
Required | |
terms |
Optional | |
token |
Optional | |
tspId |
Required |
cost
http://maasglobal.com/core/booking.json#/definitions/cost
customer
http://maasglobal.com/core/booking-option.json#/definitions/customer
id
http://maasglobal.com/core/components/units.json#/definitions/uuid
leg
http://maasglobal.com/core/booking-option.json#/definitions/leg
meta
http://maasglobal.com/core/booking-meta.json
state
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
RESERVED |
|
CONFIRMED |
|
ACTIVATED |
|
EXPIRED |
|
CANCELLED |
|
REJECTED |
terms
http://maasglobal.com/core/booking.json#/definitions/terms
token
http://maasglobal.com/core/booking.json#/definitions/token
tspId
http://maasglobal.com/core/booking.json#/definitions/tspId
debug
object
object
with following properties:
| Property | Type | Required | | ——– | —- | ——– |