Validate CustomerInfo & Login As guest Role

Description

The validateCustomerInfoAndLoginAsGuestRole endpoint is used to log a user into the VELA application by verifying the customer information.

Request

Endpoint

    /ui/v1/validateCustomerInfoAndLoginAsGuestRole

Method

    POST  

Header

    Content-Type: application/json
    Authorization: Digest nonce="0cada2c21ae94896", nl="16", token="480771ff499c028178f560e395bb0d21"  

Header Attributes

ELEMENT DESCRIPTION FORMAT
Content-Type Required

Specifies the media type of the request body.
application/json
Authorization Required

Authentication information used to authorize the request.

The Digest authorization header contains the nonce, nonce length (nl), and token.
Digest nonce="{nonce}", nl="{nonceLength}", token="{token}"
• nonce Required

Unique value used as part of the request authentication.
e.g., 0bafa2c21ae94792
• nl Required

Nonce Length. Specifies the length of the nonce value.
e.g., 19
• token Required

token is the MD5 of (Merchant Code : Secret : DATE in UTC : Nonce : Nonce Length).
MD5 hash

Request Body

{
    "customerNumber": "",
    "invoiceNumber": "1000000163",
    "salesOrderNumber": "",
    "patientMRN": "",
    "patientID": "",
    "missingKitPatientID": "",
    "sensorNumber": "",
    "appointmentNumber": "",
    "accountNumber": "",
    "billingZipCode": "",
    "nextGenBillingZipCode": "",
    "accessionNumber": "",
    "uiType": "OneUI",
    "geolocation": "{\"city\":\"Johns Creek\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1789680523332,\"location\":{\"latitude\":34.05808293170804,\"longitude\":-84.15395392370243,\"address\":\"11370 Gates Terrace, Johns Creek, GA 30097, USA\",\"placeId\":\"ChIJyyXVTP2Y9YgR9U4l646K3Uk\",\"altitude\":null,\"accuracy_radius\":115,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America New_York\"},\"userAgent\":\"Mozilla 5.0  Windows NT 10.0; Win64; x64  AppleWebKit 537.36  KHTML, like Gecko  Chrome 152.0.0.0 Safari 537.36\",\"ip\":\"71.140.147.103\",\"remoteHost\":\"\"}",
    "mobile": "",
    "mobileCountryCallingCodeId": 1,
    "mobilePhoneCarrierType": {
        "name": "UNKNOWN",
        "emailDomain": ""
    },
    "merchantCode": "vela"
    "customer": {
        "customerNumber": "40000",
        "dateOfBirthString": null,
        "checkInDateString": null,
        "customerType": {
            "name": "BUSINESS"
        }
    }
}

Response

{
    "message": {
        "code": "122",
        "type": {
            "name": "SUCCESS"
        },
        "include_i_icon": false,
        "description": "GUEST_USER_LOGIN_SUCCESS",
        "parameters": null
    },
    "locationPath": null,
    "userId": 666,
    "cardNotPresentChannelId": 72,
    "cardPresentChannelId": null,
    "forceChangePasswordInd": false,
    "userLocale": null,
    "passwordExpiryDaysIn": null,
    "securityQuestionsEnrolledInd": false,
    "userEmail": null,
    "mobile": null,
    "uiType": null,
    "createdUserId": null,
    "unpaidInvoiceCount": null,
    "acceptTermsOfUseAgreementInd": false,
    "acceptPrivacyPolicyAgreementInd": false,
    "roleType": null,
    "paymentAction": {
        "name": "SALE"
    },
    "merchantId": 42,
    "customerId": null,
    "invoiceNumber": "EMPTY",
    "sessionId": "34FD784330612AB9F31ADE54895FD893",
    "totalActivePaymentMethods": null,
    "loyaltyStatus": {
        "name": "NOT_APPLICABLE"
    },
    "loyaltyRewardsNumber": null,
    "totalOutstandingLoyaltyPoints": null,
    "numberOfNotifications": null
}

Updated As Of Version 7.2.0.0