Thales Adaptive Connect Documentation Portal

Connectivity Provider Configuration APIs

This API usage is available only for Thales Ops to manage platform configurations.

This API is applicable for both SGP.22 and SGP.32 based eUICCs.

1. Create Connectivity Provider

This POST API is used to create and configure a new Connectivity Provider (Fleet) in the system.

The Connectivity Provider represents an integration entity responsible for handling connectivity-related events and results. This API allows defining authentication details, exclusions, ncp_config and default status of the provider.

At any given time, only one connectivity provider can be configured as the default in the database.

1.1. HTTP Request

POST /order-scheduler/admin/v1/connectivity-providers

1.1.1. Query Parameters

None

1.1.2. Header Parameters

The request header content-type must be set to JSON.

Parameter Name Data Type Presence Description

Content-Type

String

M

Must be application/json

1.1.3. Request Body

The request body defines the details of the connectivity provider (fleet) to be created.

Parameter Name Data Type Presence Description

connectivity_provider_name

String

M

Unique name of the connectivity provider (fleet).

is_default

Boolean

M

Specifies whether this connectivity provider should be marked as the default one. Accepted values: true or false.

auth

Json

O

Defines the authentication mechanism and its configuration details. Refer to Auth Object.

exclusions

Json

O

Defines the events and results that should be excluded for this connectivity provider. Refer to Exclusions Object.

supported_euicc_types

Array of String

M

eUICC types supported by this connectivity provider. Allowed values: GSMA_SGP_22, GSMA_SGP_32. At least one value must be specified.

additional_info

Object (Map<String,String>)

O

Optional free-form key/value pairs associated with this connectivity provider (e.g., NSS-specific metadata).

ncp_config

Json

O

Defines the ncp_config for connectivity provider. Refer to ncp_config Object.

Example For Create Connectivity Provider (Bearer Type) request body
{
    "connectivity_provider_name": "XYZConnectivityProvider",
    "is_default": true,
    "supported_euicc_types": ["GSMA_SGP_32"],
    "auth": {
        "type": "BEARER",
        "params": {
            "client_id": "abc123",
            "client_secret": "xyz456",
            "grant_type": "client_credentials",
            "token_url": "XYZAuthTokenServer",
            "scope": "callback:receiver",
            "client_authentication": "client_secret_post"
        }
    },
    "exclusions": {
        "events": [
            "PROFILE_FALLBACK_EVENT",
            "IMEI_CHANGE_EVENT"
        ],
        "results": [
            "ENABLE_PROFILE_RESULT"
        ]
    },
    "ncp_config": {
        "get_order": { "enable": true, "send_result": true },
        "notification": { "enable": true, "send_result": true },
        "legacy_events": { "enable": false }
    }
}
Example For Create Connectivity Provider (Basic Type) request body
{
    "connectivity_provider_name": "XYZConnectivityProvider",
    "is_default": true,
    "supported_euicc_types": ["GSMA_SGP_32"],
    "auth": {
        "type": "BASIC",
        "params": {
            "username": "abc123",
            "password": "xyz456"
        }
    },
    "exclusions": {
        "events": [
            "PROFILE_FALLBACK_EVENT",
            "IMEI_CHANGE_EVENT"
        ],
        "results": [
            "ENABLE_PROFILE_RESULT"
        ]
    },
    "ncp_config": {
        "get_order": { "enable": false, "send_result": false },
        "notification": { "enable": true, "send_result": true },
        "legacy_events": { "enable": false }
    }
}
Example For Create Connectivity Provider (mTLS) request body
{
    "connectivity_provider_name": "XYZConnectivityProvider",
    "is_default": true
}
If the Authentication type is not provided, then the system will use mTLS (mutual TLS) for authentication by default.
1.1.3.1. Additional Info Object
The additional_info object is specific to GSMA_SGP_22 cards only.
Field Data Type Presence Description

hostname

String

O

The fully qualified domain name (FQDN) or hostname of the Fleet Manager server.

port

String

O

The HTTPS (TLS) port through which the TAC Server communicates with the Fleet Manager.

tls_server_certificate

String

O

Specifies the TLS server certificate associated with the Fleet Manager connection.

supported_api_version

String

O

Indicates the version of the API contract implemented by the Fleet Manager. Specifically used for v2 new cards.

use_v2_result_api

String

O

The flag Specifies whether the V2 result API is used.

Example For Create Connectivity Provider (GSMA SGP.22 Cards) request body
{
    "connectivity_provider_name": "CloudEnsNetworkConnectivityProviderTacDemo",
    "is_default": true,
    "supported_euicc_types": [
        "GSMA_SGP_22"
    ],
    "additional_info": {
        "hostname": "thales.com",
        "port": "443",
        "tls_server_certificate": "cert",
        "supported_api_version": "V2",
        "use_v2_result_api": "False"
    },
    "ncp_config": {
        "get_order": {
            "enable": true,
            "send_result": true
        },
        "notification": {
            "enable": false,
            "send_result": false
        },
        "legacy_events": {
            "enable": true
        }
    },
    "exclusions": {
        "events": [],
        "results": [],
        "rule": [
            "result"
        ],
        "unitary_provisioning": [
            "state_update"
        ]
    }
}
1.1.3.2. Auth Object

The auth object defines the authentication type and its associated configuration parameters.

Field Data Type Presence Description

type

String

M

Defines the authentication type. Supported value for this API: BEARER,BASIC.

params

Json

M

Holds the parameters required for the chosen authentication type.

Field Data Type Presence Description

client_id

String

M

OAuth2 client identifier.

client_secret

String

M

OAuth2 client secret.

grant_type

String

M

OAuth2 grant type. Must be client_credentials for machine-to-machine flows.

token_url

String

M

Token endpoint path relative to the NCP base URL used to fetch the access token.

scope

String

O

OAuth2 scope to include in the token request (e.g. callback:receiver). Omit if the auth server does not require a scope.

client_authentication

String

O

OAuth2 client authentication method. Accepted values: client_secret_basic (default) or client_secret_post.
client_secret_basic: credentials sent in Authorization: Basic header.
client_secret_post: credentials sent as form body parameters.

username

String

M (BASIC only)

Username for BASIC authentication.

password

String

M (BASIC only)

Password for BASIC authentication.

Example — BEARER with client_secret_post (credentials in form body)
{
    "params": {
        "client_id": "abc123",
        "client_secret": "xyz456",
        "grant_type": "client_credentials",
        "token_url": "v1/auth/token",
        "scope": "callback:receiver",
        "client_authentication": "client_secret_post"
    }
}
Example — BEARER with client_secret_basic (credentials in Authorization header)
{
    "params": {
        "client_id": "abc123",
        "client_secret": "xyz456",
        "grant_type": "client_credentials",
        "token_url": "v1/auth/token/basic",
        "client_authentication": "client_secret_basic"
    }
}
Example For BASIC Authentication Parameters
{
    "params": {
        "username": "abc123",
        "password": "xyz456"
    }
}
Usage Note:
  • The client_id and client_secret must be valid credentials for the external token server.

  • The grant_type defines the OAuth2 grant flow — use client_credentials for M2M.

  • The token_url is the token endpoint path relative to the NCP base URL.

  • The scope is optional — include only if the auth server requires it.

  • The client_authentication is optional. Default is client_secret_basic. Use client_secret_post if the auth server expects credentials in the request body.

  • The username and password are used for BASIC auth type only.

1.1.3.3. Exclusions Object

The exclusions block defines specific events and results that should not be sent to this Fleet.

Field Data Type Presence Description

events

Array of String

O

List of event types to be excluded (e.g., PROFILE_FALLBACK_EVENT, IMEI_CHANGE_EVENT).

results

Array of String

O

List of result types to be excluded (e.g., ENABLE_PROFILE_RESULT, DELETE_PROFILE_RESULT).

1.1.3.3.1. Custom exclusions:
Key Type Default Description

exclusions.events

Array of String

none

Event types this Connectivity Provider never wants to receive. ALL leaves out every event type from every call (get-order and notification).

exclusions.results

Array of String

none

Result types this Connectivity Provider never wants to receive. CANCELLED results can be excluded.

exclusions.unitary_provisioning

Array of String

none

Unitary provisioning steps this Connectivity Provider never wants to receive. Accepted values: state_update, event.

exclusions.rule

Array of String

none

Rule-linked card result types this Connectivity Provider never wants to receive. Accepted values: result.

Example For Exclusions Object
  {
      "exclusions": {
          "events": ["PROFILE_FALLBACK_EVENT"],
          "results": ["ENABLE_PROFILE_RESULT"],
          "unitary_provisioning": ["state_update", "event"],
          "rule": ["result"]
      }
}
1.1.3.4. ncp_config Object

The ncp_config is defined at connectivity provider level to configure publishing capabilities and exclusions for Fleet Manager calls. A key that is not sent takes its default when the Connectivity Provider is created, or keeps its stored value when the CP is patched (a PATCH never resets a key it does not send).

The old flat keys (enableNotification, enableGetOrderLookup, enableGetOrderLookupWithResults, enableNotificationWithEvents, enableGetOrderLookupWithLegacyEvents) are refused — sending them returns an error. Use the nested keys below.

Core keys — control which calls are made and what they may carry:

Key Type Default Description

get_order.enable

Boolean

true

Enables the getOrders lookup to Fleet Manager. When false, order-scheduler never forwards getOrders calls to Fleet Manager.

get_order.send_result

Boolean

false

When true, order results are included in the getOrders body sent to the Fleet Manager. Requires getOrder.enable = true.

notification.enable

Boolean

true

Enables async Notification delivery to this Fleet Manager. When false, notification from order-scheduler to Fleet Manager is disabled.

notification.send_result

Boolean

true

When true, order results are included in the Notification body sent to Fleet Manager. Requires notification.enable = true.

Custom key :

Key Type Default Description

legacy_events.enable

Boolean

true

When true, results of unitary orders for download, enable, delete profile and download-with-immediate-enable are also sent as events in legacy format. These generated events are sent even for a rule-linked card.

When notification.enable = false, any state_update delta falls back to the get-order channel.
When notification.enable = false and get_order.enable = false, When notification and get_order both are false, then nothing is sent to Fleet from TOS.

Example For ncp_config Object
{
    "ncp_config": {
        "get_order": {
            "enable": true,
            "send_result": false
        },
        "notification": {
            "enable": true,
            "send_result": true
        },
        "legacy_events": {
            "enable": false
        }
    },
    "exclusions": {
        "events": [],
        "results": [],
        "unitary_provisioning": ["state_update", "event"],
        "rule": ["result"]
    }
}

1.2. HTTP Response

1.2.1. Success Response

Code Description

201

Connectivity Provider created successfully!

1.2.1.1. Response Body
Parameter Name Data Type Description

message

String

Indicates the operation result message.

tenantId

String

Identifier of the tenant under which the connectivity provider is created.

object

Json

Contains details of the created connectivity provider.

Example For Create Connectivity Provider (Bearer Type) response body
{
    "message": "Connectivity Provider provisioned successfully",
    "tenantId": "3a8aa14b-09c0-3760-bf0c-93151120b014",
    "object": {
        "connectivity_provider_name": "XYZConnectivityProvider",
        "is_default": true,
        "supported_euicc_types": ["GSMA_SGP_32"],
        "auth": {
            "type": "BEARER",
            "params": {
                "client_id": "abc123",
                "client_secret": "xyz456",
                "grant_type": "client_credentials",
                "token_url": "XYZAuthTokenServer"
            }
        },
        "exclusions": {
            "events": [
                "PROFILE_FALLBACK_EVENT",
                "IMEI_CHANGE_EVENT"
            ],
            "results": [
                "ENABLE_PROFILE_RESULT"
            ]
        },
        "ncp_config": {
            "get_order": { "enable": true, "send_result": false },
            "notification": { "enable": true, "send_result": false }
        }
    }
}

1.2.2. Error Response

Code Description

400

Validation failed.

409

Connectivity Provider already exists.

500

Internal server error.

Example For Error Response
{
    "code": 1018009,
    "message": "Connectivity Provider already exists",
    "details": [
        {
            "message": "Connectivity Provider already exists for connectivityProviderName : Connectivity Provider with name 'XYZConnectivityProvider' already exists"
        }
    ]
}

2. Delete Connectivity Provider

This DELETE API is used to delete an existing Connectivity Provider (Fleet) from the system using connectivity provider name.

2.1. HTTP Request

DELETE /order-scheduler/admin/v1/connectivity-providers/{connectivity_provider_name}

2.1.1. Path Parameters

Parameter Name Data Type Presence Description

connectivity_provider_name

String

M

Unique name of the connectivity provider to delete.

2.1.2. Header Parameters

None

2.1.3. Request Body

None

2.2. HTTP Response

2.2.1. Success Response

Code Description

200

Connectivity Provider deleted successfully!

2.2.1.1. Response Body
Parameter Name Data Type Description

message

String

Indicates the operation result message.

tenantId

String

Identifier of the tenant under which the connectivity provider was deleted.

object

String

Name of the deleted connectivity provider.

Example For Successful Response
{
"message": "Connectivity Provider deleted successfully",
"tenantId": "3a8aa14b-09c0-3760-bf0c-93151120b014",
"object": "XYZConnectivityProvider"
}

2.2.2. Error Response

Code Description

400

Validation failed.

404

Connectivity Provider not found.

500

Internal server error.

Example For Error Response
{
    "code": 1018008,
    "message": "Connectivity Provider not found ",
    "details": [
        {
            "message": "Connectivity Provider not found  : XYZConnectivityProvider7"
        }
    ]
}

3. Update Connectivity Provider

This PATCH API is used to update the configuration details of an existing Connectivity Provider (Fleet) in the system.

3.1. HTTP Request

PATCH /order-scheduler/admin/v1/connectivity-providers/{connectivity_provider_name}

3.1.1. Path Parameters

Parameter Name Data Type Presence Description

connectivity_provider_name

String

M

Unique name of the connectivity provider to update.

3.1.2. Header Parameters

Parameter Name Data Type Presence Description

Content-Type

String

M

Must be application/json

3.1.3. Request Body

The request body contains one or more attributes of the connectivity provider to be updated. Fields not provided in the request remain unchanged.

Parameter Name Data Type Presence Description

is_default

Boolean

O

Specifies whether this connectivity provider should be marked as the default one. If another provider is already set as default, the request will fail.

auth

Json

O

Defines authentication details to be updated. Refer to Auth Object.

exclusions

Json

O

Defines events and results to exclude for this connectivity provider. Refer to Exclusions Object.

supported_euicc_types

Array of String

O

eUICC types supported by this connectivity provider. Allowed values: SGP.22, SGP.32.

additional_info

Object (Map<String,String>)

O

Optional free-form key/value pairs associated with this connectivity provider.

ncp_config

Json

O

Defines the ncp_config for this connectivity provider. Refer to ncp_config Object.

Example For Update Connectivity Provider Request Body
{
    "is_default": false,
    "supported_euicc_types": ["GSMA_SGP_32"],
    "auth": {
        "type": "BEARER",
        "params": {
            "client_id": "abc124",
            "client_secret": "xyz457",
            "grant_type": "client_credentials",
            "token_url": "XYZAuthTokenServer"
        }
    },
    "exclusions": {
        "events": [
            "PROFILE_FALLBACK_EVENT",
            "IMEI_CHANGE_EVENT"
        ],
        "results": [
            "DOWNLOAD_PROFILE_RESULT"
        ]
    },
    "ncp_config": {
        "get_order": {"enable": true, "send_result": false},
        "notification": {"enable": true, "send_result": true}
    }
}
Partial Update Examples

Update only exclusions

{
    "exclusions": {
        "events": [
            "PROFILE_FALLBACK_EVENT",
            "IMEI_CHANGE_EVENT"
        ],
        "results": [
            "ENABLE_PROFILE_RESULT"
        ]
    }
}

Update only ncp_config - This operation will overwrite the entire existing ncp_config object

{
    "ncp_config": {
        "get_order": {
            "enable": true,
            "send_result": false
        },
        "notification": {
            "enable": true,
            "send_result": true
        }
    }
}

Update only auth - either basic or bearer

{
    "auth": {
        "type": "BEARER",
        "params": {
            "client_id": "updatedClientId",
            "client_secret": "updatedSecret",
            "grant_type": "client_credentials",
            "token_url": "UpdatedTokenServer"
        }
    }
}

Update only is_default

{
    "is_default": true
}

3.2. HTTP Response

3.2.1. Success Response

Code Description

200

Connectivity Provider updated successfully!

3.2.1.1. Response Body
Parameter Name Data Type Description

message

String

Indicates the operation result message.

tenantId

String

Identifier of the tenant under which the connectivity provider was updated.

object

Json

Contains the details of the updated connectivity provider.

Example For Successful Response
{
    "message": "Connectivity Provider updated successfully",
    "tenantId": "3a8aa14b-09c0-3760-bf0c-93151120b014",
    "object": {
        "connectivity_provider_name": "XYZConnectivityProvider",
        "is_default": false,
        "supported_euicc_types": ["GSMA_SGP_32"],
        "auth": {
            "type": "BEARER",
            "params": {
                "client_id": "abc124",
                "client_secret": "xyz457",
                "grant_type": "client_credentials",
                "token_url": "XYZAuthTokenServer"
            }
        },
        "exclusions": {
            "events": [
                "PROFILE_FALLBACK_EVENT",
                "IMEI_CHANGE_EVENT"
            ],
            "results": [
                "DOWNLOAD_PROFILE_RESULT"
            ]
        },
        "ncp_config": {
            "get_order": {
                "enable": true,
                "send_result": false
            },
            "notification": {
                "enable": true,
                "send_result": true
            }
        }
    }
}

3.2.2. Error Response

Code Description

400

Validation failed. Also returned (code 1018018) when the Connectivity Provider is not provisioned for the card’s eUICC type.

404

Connectivity Provider not found.

409

Default Connectivity Provider conflict (another default already exists).

500

Internal server error.
Code 1018016: ncp_config is incomplete — a required key is missing.
Code 1018017: supported_euicc_types is not declared on the Connectivity Provider.

Table 1. Error Codes Summary
HTTP Code Error Code Name Description

500

1018016

CONNECTIVITY_PROVIDER_NCP_CONFIG_MISSING_EXCEPTION

"Connectivity Provider ncp_config is incomplete. Update the connectivity provider to set the missing key"

500

1018017

CONNECTIVITY_PROVIDER_MISCONFIGURED_EXCEPTION

"Connectivity Provider does not declare any supported eUICC type. Update the connectivity provider to set supported_euicc_types"

400

1018018

CONNECTIVITY_PROVIDER_EUICC_TYPE_NOT_SUPPORTED_EXCEPTION

"Connectivity Provider is not provisioned for the eUICC type of the request. Use a connectivity provider that supports it"

Example For Error Response (Validation)
{
    "code": 1018011,
    "message": "Connectivity Provider validation failed",
    "details": [
        {
            "message": "Connectivity Provider validation failed : Connectivity Provider Name in Path param does not match with Connectivity Provider name in request body : XYZConnectivityProvider1"
        }
    ]
}
Example For Error Response (Default Conflict)
{
    "code": 1018009,
    "message": "Connectivity Provider already exists",
    "details": [
        {
            "message": "Connectivity Provider already exists for connectivityProviderName : Another default Connectivity Provider already exists"
        }
    ]
}
Example For Error Response (eUICC type not supported)
{
    "code": 1018018,
    "message": "Connectivity Provider is not provisioned for the eUICC type of the request. Use a connectivity provider that supports it",
    "details": [
        {
            "message": "Connectivity Provider is not provisioned for the eUICC type of the request. Use a connectivity provider that supports it : connectivityProviderName : XYZConnectivityProvider, euiccType : GSMA_SGP_22"
        }
    ]
}

4. GET Connectivity Provider

This GET API is used to get Connectivity Provider (Fleet) detail.

4.1. HTTP Request

GET /order-scheduler/admin/v1/connectivity-providers/{connectivity_provider_name}

4.1.1. Path Parameters

Parameter Name Data Type Presence Description

connectivity_provider_name

String

M

Unique name of the connectivity provider to update.

4.1.2. Header Parameters

Parameter Name Data Type Presence Description

Content-Type

String

M

Must be application/json

4.2. HTTP Response

4.2.1. Success Response

Code Description

200

Connectivity Provider retrieved successfully!

4.2.1.1. Response Body
Parameter Name Data Type Description

message

String

Indicates the operation result message.

tenantId

String

Identifier of the tenant under which the connectivity provider was updated.

object

Json

Contains the details of the specific connectivity provider.

Example For Successful Response
{
    "message": "Connectivity Provider retrieved successfully",
    "tenantId": "3a8aa14b-09c0-3760-bf0c-93151120b014",
    "object": {
        "connectivity_provider_name": "XYZConnectivityProvider",
        "is_default": false,
        "supported_euicc_types": ["GSMA_SGP_32"],
        "auth": {
            "type": "BEARER",
            "params": {
                "client_id": "updatedClientId",
                "client_secret": "updatedSecret",
                "grant_type": "client_credentials",
                "token_url": "UpdatedTokenServer"
            }
        },
        "exclusions": {
            "events": [
                "PROFILE_FALLBACK_EVENT",
                "IMEI_CHANGE_EVENT"
            ],
            "results": [
                "ENABLE_PROFILE_RESULT"
            ]
        },
        "ncp_config": {
            "get_order": {
                "enable": true,
                "send_result": false
            },
            "notification": {
                "enable": false,
                "send_result": false
            }
        }
    }
}

4.2.2. Error Response

Code Description

400

Validation failed.

404

Connectivity Provider not found.

500

Internal server error.

5. GET ALL Connectivity Providers

This GET API is used to get Connectivity Provider (Fleet) detail.

5.1. HTTP Request

GET /order-scheduler/admin/v1/connectivity-providers

5.1.1. Header Parameters

Parameter Name Data Type Presence Description

Content-Type

String

M

Must be application/json

5.2. HTTP Response

5.2.1. Success Response

Code Description

200

All Connectivity Providers retrieved successfully!

5.2.1.1. Response Body
Parameter Name Data Type Description

message

String

Indicates the operation result message.

tenantId

String

Identifier of the tenant under which the connectivity provider was updated.

object

Json

Contains the details of the all the connectivity providers.

Example For Successful Response
{
    "message": "All Connectivity Providers retrieved successfully",
    "tenantId": "3a8aa14b-09c0-3760-bf0c-93151120b014",
    "object": [
        {
            "connectivity_provider_name": "CloudEnsNetworkConnectivityProviderTacDemo",
            "is_default": true,
            "supported_euicc_types": ["GSMA_SGP_22", "GSMA_SGP_32"],
            "auth": {
                "params": {}
            },
            "exclusions": {
                "events": [],
                "results": []
            },
            "ncp_config": {
                "get_order": {
                    "enable": true,
                    "send_result": false
                },
                "notification": {
                    "enable": true,
                    "send_result": true
                }
            }
        },
        {
            "connectivity_provider_name": "XYZConnectivityProvider",
            "is_default": false,
            "supported_euicc_types": ["GSMA_SGP_32"],
            "auth": {
                "type": "BEARER",
                "params": {
                    "client_id": "updatedClientId",
                    "client_secret": "updatedSecret",
                    "grant_type": "client_credentials",
                    "token_url": "UpdatedTokenServer"
                }
            },
            "exclusions": {
                "events": [
                    "PROFILE_FALLBACK_EVENT",
                    "IMEI_CHANGE_EVENT"
                ],
                "results": [
                    "ENABLE_PROFILE_RESULT"
                ]
            },
            "ncp_config": {
                "get_order": {
                    "enable": true,
                    "send_result": false
                },
                "notification": {
                    "enable": false,
                    "send_result": false
                }
            }
        }
    ]
}

5.2.2. Error Response

Code Description

400

Validation failed.

404

Connectivity Provider not found.

500

Internal server error.


Have feedback on this documentation? Send feedback