Skip to main content

Logital authorization profiles API

How to read, create and update Logital authorization profiles with the REST API, the list you pick the Logital Profile field of a customer from, and the permissions the technical user needs.

Logital authorization profiles are the list you pick the Logital Profile field from in a customer's record (if the marina shows it in the form). With the REST API you can read, create and update them. You need the permission Customers and suppliers → Read to read and Customers and suppliers → Create or Customers and suppliers → Update to write. Roles are assigned as in How to create a role and a user; the technical user and the key are in Technical users and API keys: connecting an integration.

The endpoint for Logital authorization profiles is:

/rest/v1/logitalProfile

This resource does not appear in the list of /rest/v1/default/index: this is its address.

To read the profiles make a GET call to the endpoint. The ID of each profile is the one the customer's Logital Profile field stores.

Creating a new profile

To create a new profile make a POST call to the endpoint and write in the body a JSON with the profile's name:

{
    "name": "Nome del profilo"
}

The ID is assigned automatically by BlueShell.

Updating an existing profile

To update a profile make a PUT call to the endpoint and add the profile's ID in the URL, for example:

/rest/v1/logitalProfile/1

The body is the same as in the POST call, with the profile's name that will be updated with the new value.


Did this answer your question?