rental_item_events

Handle a rental item termination event

Changed on

Handle rental item termination events from PubSub

post/rentalitem/events/termination

Request

  • Base URL
    https://api.topi-staging.eu
  • URL
    https://api.topi-staging.eu/rentalitem/events/termination
  • Auth
    HTTP bearer

Query parameters

tokenstring required

Verification token sent as a query string

Example:abc123

Request body

deliveryAttemptinteger

The number of times the service has attempted to deliver a message.

subscriptionstring

The subscription name.

Example request

{
  "deliveryAttempt": 1,
  "message": {
    "attributes": {
      "abc123": "abc123"
    },
    "data": "abc123",
    "messageId": "abc123",
    "orderingKey": "abc123",
    "publishTime": "abc123"
  },
  "subscription": "abc123"
}

Response

OK response.

Changes

    • info

      api operation id rental_item_events.handleTermination removed and replaced with rental_item_events#handleTermination

    • info

      api operation id rental_item_events#handleTermination removed and replaced with rental_item_events.handleTermination