AlbaApi

<back to all web services

ValidateNemIdRequestModel

The following routes are available for this service:
GET/nemidvalidatelogin
NemIDFlowResult Parameters:
NameParameterData TypeRequiredDescription
AuthenticationInfoformAuthenticationInfoNo
FlowResult Parameters:
NameParameterData TypeRequiredDescription
ClientFlowformClientFlowNo
StatusformFlowStatusNo
IsSuccessformboolNo
MessageformstringNo
UserMessageformstringNo
FlowErrorCodeformstringNo
FlowMessage Parameters:
NameParameterData TypeRequiredDescription
TimestampformstringNo
TransactionIdentifierformstringNo
ClientFlow Enum:
NemIDLogon med NemID
NemIDSignatureSignering med NemID
NemIDKeyFileLogon med NemID nøglefil
NemIDKeyFileSignatureSignering med NemID nøglefil
NL3SignatureSignering med NL3
InvalidUgyldig
LoadTestLoadTest
FlowStatus Enum:
Ok
UserCancel
ClientFlowError
FlowError
ValidationError
AuthenticationInfo Parameters:
NameParameterData TypeRequiredDescription
PidformstringNo
DnformstringNo
CommonNameformstringNo
RidformstringNo
CprformstringNo
CvrformstringNo
CompanyformstringNo
EmailformstringNo
SignedXmlformstringNo
IssuerDnformstringNo
IsYouthCertformboolNo
CertificateTypeformCertificateTypeNo
SubjectSerialNumberformstringNo
SignPropertiesformIList<SignProperty>No
RememberUserIdTokenformstringNo
LogonTypeformLogonTypeNo
CertificateSerialNumberformstringNo
ClientCertificateformbyte[]No
AuthorizedToRepresentformstringNo
CertificateType Enum:
Poces
Moces
Voces
Foces
SignProperty Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ValueformstringNo
LogonType Enum:
Otp
KeyFile
Unknown

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /nemidvalidatelogin HTTP/1.1 
Host: hcbtas-q-albamfs-api.azurewebsites.net 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"authenticationInfo":{"pid":"String","dn":"String","commonName":"String","rid":"String","cpr":"String","cvr":"String","company":"String","email":"String","signedXml":"String","issuerDn":"String","isYouthCert":false,"certificateType":"Poces","subjectSerialNumber":"String","rememberUserIdToken":"String","logonType":"Otp","certificateSerialNumber":"String","clientCertificate":"AA==","authorizedToRepresent":"String"},"clientFlow":"NemID","status":"Ok","isSuccess":true,"message":"String","userMessage":"String","flowErrorCode":"String","timestamp":"String","transactionIdentifier":"String"}