About the Centra category

Put topics about this connector package here.
Always check the ‘How to use the Alumio connector packages’ topic.

Extra information

System documentation: Centra API Reference

Setting up Centra GraphQL Client

Steps

  • In Alumio Dashboard, go to Clients > HTTP Client. Create a new HTTP Client and select Centra GraphQL Client as the prototype of the HTTP Client.
  • Fill in the Base URI and API Token.
  • Enable the logging if needed.
  • Save and Continue.

Subscribing to Entities from Centra GraphQL

Steps

  • Go to Connections → Incoming and create a new incoming configuration and select Centra - GraphQL Subscriber as the subscriber.
  • Add any Request URI that you need to add from the Base URI from Client.
  • Select the HTTP Method you want to subscribe to from Centra GraphQL (The default is POST).
  • Add any request data in the request parameter that you needed to subscribe to the entity.
  • You can optionally add a transformer to transform the request parameters into something you need.
  • Select the Centra GraphQL Client to use.

General Concept

We follow Centra GraphQL documentation on building this connector so you can easily use the connector based on Centra GraphQL API Reference.

Request URI

It’s the Endpoint you want to subscribe from Centra.

Request Method

It’s the HTTP Method that you want to use, we recommend using post as default method.

Request Parameters

These are the parameters you can provide to get the needed entity based on Centra GraphQL API Reference. Please look at the example below on how to fill the Request Parameters field when trying to fetch products using some query parameter.

Input Transformer

Any transformers set here will be executed after the Request Parameters are loaded. So, you basically can add any transformer to provide and transform the request parameters into anything you need either as path parameters and/or as query parameters of an entity.

HTTP Client

It’s the HTTP Client configuration or prototype you will use to access Centra GraphQL.

Publishing Entity to Centra GraphQL

Steps

  • Go to Connections → Outgoing, create a new outgoing configuration, and select Centra Publisher as the publisher.
  • Select the Request URI you want the data to be published.
  • Select the Request Method that you want the publisher to do with the data.
  • Add any request data in the request parameter that you needed to subscribe to the entity.
  • Select the HTTP Client to use.

General Concept

Like the subscriber, the publisher has similar methods on how to use it.

Request Parameters
Please refer to the entities in Management APIs from the Centra GraphQL API Reference page.

Please look at the example below. For example, we want to confirm an order with number 3957.

You can put the payload you want to send to Centra GraphQL into the Request Parameters .

HTTP Client

It’s the HTTP Client configuration or prototype you will use to access Centra GraphQL.