NextPax Amenity Code (nextpax_amenity_code_v1)

This integration is included in WebhookDB Enterprise.

Replicate NextPax Amenity Codes into your database.

To get set up, run this code from the WebhookDB CLI:

webhookdb integrations create nextpax_amenity_code_v1

Source documentation for this API: https://developer.nextpax.app/portal/da/swagger#/

Features

Depends on
To use this replicator, you will need nextpax_auth_v1. You'll be prompted to create it if you haven't.
Supports Webhooks
Supports Backfilling
Enterprise Only
Yes

Schema

Tables replicated from NextPax Amenity Codes have this schema. Note that the data types listed are for Postgres; when replicating to other databases, other data types maybe used.

Column Type Indexed
pk bigint  
amenity_code text  
amenity_type text  
name text  
options jsonb  
row_updated_at timestamptz  
data* jsonb  

* The data column contains the raw payload from the webhook or API. In many cases there is no canonical form, like if a webhook and API request return two different versions of the same resource. In that case we try to keep the most coherent and detailed resource.”

Table definition

This definition can also be generated through webhookdb fixture nextpax_amenity_code_v1.

CREATE TABLE public.nextpax_amenity_code_v1_fixture (
  pk bigserial PRIMARY KEY,
  amenity_code text UNIQUE NOT NULL,
  amenity_type text,
  name text,
  options jsonb,
  row_updated_at timestamptz,
  data jsonb NOT NULL
);