Thales Adaptive Connect Documentation Portal

SMDS Configuration APIs

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

APIs for SMDS (lifecycle: create, update, query, delete).

1. GSMA SGP.32 based eUICC API Endpoints

1.1. Get all SM-DS

This GET API is used get all SM-DS.

Http request
GET /eim/v1/smds
Content-Type: application/json
Content-Length: XXX

Sample Request:

Request URL: /eim/v1/smds
Request Method: GET
Request Headers: accept=application/json
Example For Get all SM-DS response body
[
    {
        "asn_port": "443",
        "json_port": "443",
        "binding_type": [
            "json",
            "asn"
        ],
        "default_binding": "ASN",
        "smds_fqdn": "icedemo-testlab.stg.ondemandconnectivity.com",
        "provisioning_mode": "MANUAL"
    }
]
Table 1. Response Fields
Parameter Name Data Type Presence Description

smds_fqdn

String

M

SMDP FQDN

asn_port

String

C

ASN port number. Required when binding_type includes ASN.

json_port

String

C

JSON port number. Required when binding_type includes JSON.

binding_type

Array of String

M

Supported binding types. Allowed values: ASN, JSON, or both.

default_binding

String

C

Default binding type. Required only when both ASN and JSON are configured in binding_type.

provisioning_mode

String

M

SM-DP configuration mode. Supported values: MANUAL or AUTODETECT.

Table 2. Success Response
Code Description

200

OK

Table 3. Error Response
Code Description

400

Bad Request (invalid parameter)

404

SMDP Configuration details Not Found!

500

Internal server error

1.2. Get a SMDS

This GET API is used to get specific SMDS details.

Http request
GET /eim/v1/smds/{smds_fqdn}
Content-Type: application/json
Content-Length: XXX

Sample Request:

Request URL: /eim/v1/smds/smdsname.prod.testing1.com
Request Method: GET
Request Headers: accept=application/json
Example For Get SMDS response body
{
    "asn_port": "80",
    "json_port": "80",
    "binding_type": [
        "ASN",
        "JSON"
    ],
    "default_binding": "ASN",
    "smds_fqdn": "smdsname.prod.testing1.com",
    "provisioning_mode": "MANUAL"
}
Table 4. Response Fields
Parameter Name Data Type Presence Description

smds_fqdn

String

M

SMDP FQDN

asn_port

String

C

ASN port number. Required when binding_type includes ASN.

json_port

String

C

JSON port number. Required when binding_type includes JSON.

binding_type

Array of String

M

Supported binding types. Allowed values: ASN, JSON, or both.

default_binding

String

C

Default binding type. Required only when both ASN and JSON are configured in binding_type.

provisioning_mode

String

M

SM-DP configuration mode. Supported values: MANUAL or AUTODETECT.

Table 5. Success Response
Code Description

200

SMDS Configuration details Found!

Table 6. Error Response
Code Description

400

Bad Request (invalid parameter)

404

SMDS Configuration details Not Found!

500

Internal server error

1.3. Creation of SMDS

This POST API is used to create SMDS.

Http request
POST /eim/v1/smds/
Content-Type: application/json
Content-Length: XXX
Table 7. Request Fields
Parameter Name Data Type Presence Description

smds_fqdn

String

M

SMDP FQDN

asn_port

String

C

ASN port number. Required when binding_type includes ASN.

json_port

String

C

JSON port number. Required when binding_type includes JSON.

binding_type

Array of String

M

Supported binding types. Allowed values: ASN, JSON, or both.

default_binding

String

C

Default binding type. Required only when both ASN and JSON are configured in binding_type.

Example For Create SMDS request body
{
    "smds_fqdn": "smdsname.prod.testing1.com",
    "asn_port":  "80",
    "json_port":  "80",
    "binding_type": [
        "ASN","JSON"
    ],
    "default_binding": "ASN"
}
Table 8. Success Response
Code Description

201

SMDS created successfully!

Table 9. Error Response
Code Description

400

Bad Request (invalid parameter)

409

Smds Configuration details Already Exist

500

Internal server error

1.4. Updating SMDS

This PATCH API is used for updating SMDS.

Http request
PATCH /eim/v1/smds/{smds_fqdn}
Content-Type: application/json
Content-Length: XXX

Sample Request:

Request URL: /eim/v1/smds/smdsname.prod.testing1.com
Request Method: PATCH
Request Headers: accept=application/json
Table 10. Request Fields
Parameter Name Data Type Presence Description

asn_port

String

C

ASN port number. Required when binding_type includes ASN.

json_port

String

C

JSON port number. Required when binding_type includes JSON.

binding_type

Array of String

M

Supported binding types. Allowed values: ASN, JSON, or both.

default_binding

String

C

Default binding type. Required only when both ASN and JSON are configured in binding_type.

Example For updating SMDS request body
{
    "asn_port":  "81",
    "json_port":  "81",
    "binding_type": [
        "ASN","JSON"
    ],
    "default_binding": "ASN"
}
Table 11. Success Response
Code Description

200

SMDS Configuration details Found!

Table 12. Error Response
Code Description

400

Bad Request (invalid parameter)

404

SMDS Configuration details Not Found!

500

Internal server error

1.5. Deleting SMDS

This DELETE API is used to delete SMDS.

Http request
DELETE /eim/v1/smds/{smds_fqdn}
Content-Type: application/json
Content-Length: XXX

Sample Request:

Request URL: /eim/v1/smds/smdsname.prod.testing1.com
Request Method: DELETE
Request Headers: accept=application/json
Table 13. Success Response
Code Description

200

SMDS Configuration Deleted!

Table 14. Error Response
Code Description

400

Bad Request (invalid parameter)

404

SMDS Configuration details Not Found!

500

Internal server error