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/costcustomer
http://maasglobal.com/core/booking-option.json#/definitions/customerid
http://maasglobal.com/core/components/units.json#/definitions/uuidleg
http://maasglobal.com/core/booking-option.json#/definitions/legmeta
http://maasglobal.com/core/booking-meta.jsonstate
enumThe 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/termstoken
http://maasglobal.com/core/booking.json#/definitions/tokentspId
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
objectobject 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/costcustomer
http://maasglobal.com/core/booking-option.json#/definitions/customerid
http://maasglobal.com/core/components/units.json#/definitions/uuidleg
http://maasglobal.com/core/booking-option.json#/definitions/legmeta
http://maasglobal.com/core/booking-meta.jsonstate
enumThe 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/termstoken
http://maasglobal.com/core/booking.json#/definitions/tokentspId
http://maasglobal.com/core/booking.json#/definitions/tspIddebug
objectobject with following properties:
| Property | Type | Required | | ——– | —- | ——– |