Skip to main content

SmartCredentialsApi

MethodHTTP requestDescription
ActivateSmartCredentialUsingPUTPUT /api/web/v1/smartcredentials/{id}/activateActivate a smart credential
ChangeSmartCredentialStateUsingPUTPUT /api/web/v1/smartcredentials/{id}/changestateChange smart credential state
CompleteSignSmartCredentialUsingPUTPUT /api/web/v1/smartcredentials/{id}/completesignSmart credential complete signature
CreateSmartCredentialUsingPOSTPOST /api/web/v1/smartcredentialsCreate a smart credential
DeleteSmartCredentialUsingDELETEDELETE /api/web/v1/smartcredentials/{id}Delete a smart credential
ExportCertificateUsingGETGET /api/web/v1/smartcredentials/certificate/{id}/export/{format}Export a certificate from a smart credential
GetSCDefnByNameUsingPOSTPOST /api/web/v1/scdefns/nameGet a smart credential definition by name
GetSCDefnUsingGETGET /api/web/v1/scdefns/{id}Get a smart credential definition
GetSmartCredentialBySerialNumberUsingGETGET /api/web/v1/smartcredentials/serialnumber/{sernum}Get a smart credential by serial number
GetSmartCredentialUsingGETGET /api/web/v1/smartcredentials/{id}Get a smart credential
HoldCertificateUsingPUTPUT /api/web/v1/smartcredentials/certificate/{id}/holdHold a certificate from a smart credential
ListAllowedSCDefnsUsingGETGET /api/web/v1/scdefns/users/{userId}List allowed smart credential definitions
ListSCDefnsUsingGETGET /api/web/v1/scdefnsList smart credential definitions
RevokeCertificateUsingPUTPUT /api/web/v1/smartcredentials/certificate/{id}/revokeRevoke a certificate from a smart credential
StartSignSmartCredentialUsingPUTPUT /api/web/v1/smartcredentials/{id}/startsignSmart credential start signature
UnassignSmartCredentialUsingPUTPUT /api/web/v1/smartcredentials/{id}/unassignUnassign a smart credential
UnblockSmartCredentialUsingPUTPUT /api/web/v1/smartcredentials/{id}/unblockUnblock a smart credential
UnholdCertificateUsingPUTPUT /api/web/v1/smartcredentials/certificate/{id}/unholdUnhold a certificate from a smart credential
UpdateSmartCredentialUsingPUTPUT /api/web/v1/smartcredentials/{id}Update a smart credential

ActivateSmartCredentialUsingPUT

ActivateSmartCredentialResult ActivateSmartCredentialUsingPUT (string id, ActivateSmartCredentialParms activateSmartCredentialParms)

Activate a smart credential

Activate the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.

Using the ActivateSmartCredentialUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the smart credential to be activated.
activateSmartCredentialParmsActivateSmartCredentialParms

Return type

ActivateSmartCredentialResult

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

ChangeSmartCredentialStateUsingPUT

void ChangeSmartCredentialStateUsingPUT (string id, SmartCredentialChangeStateParms smartCredentialChangeStateParms)

Change smart credential state

Change the state of the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.

Example

Using the ChangeSmartCredentialStateUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the smart credential whose state is to be changed.
smartCredentialChangeStateParmsSmartCredentialChangeStateParms

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

CompleteSignSmartCredentialUsingPUT

SmartCredentialCompleteSignResponse CompleteSignSmartCredentialUsingPUT (string id, SmartCredentialCompleteSignParms smartCredentialCompleteSignParms)

Smart credential complete signature

Smart credential complete sign. Caller requires the SMARTCREDENTIALSSIGNATURE:ADD permission.

Example

Using the CompleteSignSmartCredentialUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the smart credential.
smartCredentialCompleteSignParmsSmartCredentialCompleteSignParms

Return type

SmartCredentialCompleteSignResponse

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

CreateSmartCredentialUsingPOST

SmartCredential CreateSmartCredentialUsingPOST (SmartCredentialParms smartCredentialParms)

Create a smart credential

Create a smart credential for a user. Caller requires the SMARTCREDENTIALS:ADD permission.

Example

Using the CreateSmartCredentialUsingPOSTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
smartCredentialParmsSmartCredentialParms

Return type

SmartCredential

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

DeleteSmartCredentialUsingDELETE

void DeleteSmartCredentialUsingDELETE (string id)

Delete a smart credential

Delete the specified smart credential. Caller requires the SMARTCREDENTIALS:REMOVE permission.

Example

Using the DeleteSmartCredentialUsingDELETEWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the smart credential to be deleted.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

ExportCertificateUsingGET

ExportCertificate ExportCertificateUsingGET (string id, string format)

Export a certificate from a smart credential

Export the specified certificate. Caller requires the SMARTCREDENTIALS:VIEW permission.

Example

Using the ExportCertificateUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the certificate to be exported.
formatstringThe format in which to export the certificate.

Return type

ExportCertificate

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

GetSCDefnByNameUsingPOST

SCDefn GetSCDefnByNameUsingPOST (SCDefnGetParms sCDefnGetParms)

Get a smart credential definition by name

Get the smart credential definition for the specified name. Caller requires the SCDEFNS:VIEW permission.

Example

Using the GetSCDefnByNameUsingPOSTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
sCDefnGetParmsSCDefnGetParms

Return type

SCDefn

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

GetSCDefnUsingGET

SCDefn GetSCDefnUsingGET (string id)

Get a smart credential definition

Get the smart credential definition for the specified UUID. Caller requires the SCDEFNS:VIEW permission.

Example

Using the GetSCDefnUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the smart credential definition to be retrieved.

Return type

SCDefn

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

GetSmartCredentialBySerialNumberUsingGET

SmartCredential GetSmartCredentialBySerialNumberUsingGET (string sernum)

Get a smart credential by serial number

Get the specified smart credential by serial number. Caller requires the SMARTCREDENTIALS:VIEW permission.

Example

Using the GetSmartCredentialBySerialNumberUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
sernumstringThe serial number of the smart credential to be retrieved.

Return type

SmartCredential

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

GetSmartCredentialUsingGET

SmartCredential GetSmartCredentialUsingGET (string id, bool? revocationInfo = null)

Get a smart credential

Get the specified smart credential. Caller requires the SMARTCREDENTIALS:VIEW permission.

Example

Using the GetSmartCredentialUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the smart credential to be retrieved.
revocationInfobool?Optional flag indicating if revocation inforamtion should be returned. Defaults to false if not specified.[optional] [default to false]

Return type

SmartCredential

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

HoldCertificateUsingPUT

void HoldCertificateUsingPUT (string id)

Hold a certificate from a smart credential

Hold the specified certificate. Caller requires the SMARTCREDENTIALS:EDIT permission.

Example

Using the HoldCertificateUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the certificate to be put on hold.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

ListAllowedSCDefnsUsingGET

List<SCDefn> ListAllowedSCDefnsUsingGET (string userId)

List allowed smart credential definitions

List allowed smart credential definitions. Caller requires the SCDEFNS:VIEW permission.

Example

Using the ListAllowedSCDefnsUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
userIdstringThe UUID of the user whose allowed smart credential definitions to be fetched.

Return type

List<SCDefn>

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

ListSCDefnsUsingGET

List<SCDefn> ListSCDefnsUsingGET ()

List smart credential definitions

List all the smart credential definition. Caller requires the SCDEFNS:VIEW permission.

Example

Using the ListSCDefnsUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

This endpoint does not need any parameter.

Return type

List<SCDefn>

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

RevokeCertificateUsingPUT

void RevokeCertificateUsingPUT (string id)

Revoke a certificate from a smart credential

Revoke the specified certificate. Caller requires the SMARTCREDENTIALS:EDIT permission.

Example

Using the RevokeCertificateUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the certificate to be revoked.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

StartSignSmartCredentialUsingPUT

SmartCredentialStartSignResponse StartSignSmartCredentialUsingPUT (string id, SmartCredentialStartSignParms smartCredentialStartSignParms)

Smart credential start signature

Smart credential start sign. Caller requires the SMARTCREDENTIALSSIGNATURE:ADD permission.

Example

Using the StartSignSmartCredentialUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the smart credential.
smartCredentialStartSignParmsSmartCredentialStartSignParms

Return type

SmartCredentialStartSignResponse

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

UnassignSmartCredentialUsingPUT

void UnassignSmartCredentialUsingPUT (string id)

Unassign a smart credential

Unassign the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.

Example

Using the UnassignSmartCredentialUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the smart credential to be unassigned.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

UnblockSmartCredentialUsingPUT

SmartCredentialUnblockResponse UnblockSmartCredentialUsingPUT (string id, SmartCredentialUnblockParms smartCredentialUnblockParms)

Unblock a smart credential

Unblock the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.

Example

Using the UnblockSmartCredentialUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the smart credential that is to be unblocked.
smartCredentialUnblockParmsSmartCredentialUnblockParms

Return type

SmartCredentialUnblockResponse

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

UnholdCertificateUsingPUT

void UnholdCertificateUsingPUT (string id)

Unhold a certificate from a smart credential

Unhold the specified certificate. Caller requires the SMARTCREDENTIALS:EDIT permission.

Example

Using the UnholdCertificateUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the certificate to be put removed from hold.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

UpdateSmartCredentialUsingPUT

void UpdateSmartCredentialUsingPUT (string id, SmartCredentialParms smartCredentialParms)

Update a smart credential

Update the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.

Example

Using the UpdateSmartCredentialUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
idstringThe UUID of the smart credential to be modified.
smartCredentialParmsSmartCredentialParms

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-