Create an endpoint

Now that data sources have been onboarded, we are ready to create an endpoint and build a pipeline using one of these data sources. With Xapix, you can create REST and SOAP endpoints as well as Kafka event streams and Azure Eventhub event streams

Xapix provides several ways of making endpoints. You can automatically generate an endpoint from a REST or SOAP data source. You can manually create an endpoint by selecting an HTTP method (get, post, put, patch, delete) and providing an address to the data source.

For now we use the automatic generation of an endpoint.

For information about manually creating an endpoint, see REST endpoints.

Let's create an endpoint directly from a data source using a data source's options menu. Xapix creates a one-to-one mapping from a data source to a new endpoint. Using the data source findEngineByID, the following endpoint is automatically created.

/xapix-io-api-data/vehicle-demo/engines/{engine_id}.json

On each data source listed on the Available Data Sources page is a dropdown menu. This menu includes an option to automatically create an endpoint.

Create mapping with data source
Pipeline dashboard showing automatically generated endpoint

A key feature of the Pipeline dashboard is using drag and drop to map attributes in one unit to parameters in another unit. You simply drag an attribute from a unit over to a placeholder for a parameter in a second unit.

Step

Description

1

Click Data Sources from the Home menu. This lists the available data sources to your project.

2

Locate the data source findEngineById in the list of data sources.

3

Click the down arrow at the end of a data source row to reveal the Options menu for the selected data source.

4

Click Create mapping with Data Source. Xapix then generates an endpoint and a pipeline.

Next step
Next step

To continue, see View mappings.